aws_sdk_costexplorer/client/get_commitment_purchase_analysis.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetCommitmentPurchaseAnalysis`](crate::operation::get_commitment_purchase_analysis::builders::GetCommitmentPurchaseAnalysisFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`analysis_id(impl Into<String>)`](crate::operation::get_commitment_purchase_analysis::builders::GetCommitmentPurchaseAnalysisFluentBuilder::analysis_id) / [`set_analysis_id(Option<String>)`](crate::operation::get_commitment_purchase_analysis::builders::GetCommitmentPurchaseAnalysisFluentBuilder::set_analysis_id):<br>required: **true**<br><p>The analysis ID that's associated with the commitment purchase analysis.</p><br>
/// - On success, responds with [`GetCommitmentPurchaseAnalysisOutput`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput) with field(s):
/// - [`estimated_completion_time(String)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::estimated_completion_time): <p>The estimated time for when the analysis will complete.</p>
/// - [`analysis_completion_time(Option<String>)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::analysis_completion_time): <p>The completion time of the analysis.</p>
/// - [`analysis_started_time(String)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::analysis_started_time): <p>The start time of the analysis.</p>
/// - [`analysis_id(String)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::analysis_id): <p>The analysis ID that's associated with the commitment purchase analysis.</p>
/// - [`analysis_status(AnalysisStatus)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::analysis_status): <p>The status of the analysis.</p>
/// - [`error_code(Option<ErrorCode>)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::error_code): <p>The error code used for the analysis.</p>
/// - [`analysis_details(Option<AnalysisDetails>)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::analysis_details): <p>Details about the analysis.</p>
/// - [`commitment_purchase_analysis_configuration(Option<CommitmentPurchaseAnalysisConfiguration>)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::commitment_purchase_analysis_configuration): <p>The configuration for the commitment purchase analysis.</p>
/// - On failure, responds with [`SdkError<GetCommitmentPurchaseAnalysisError>`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisError)
pub fn get_commitment_purchase_analysis(
&self,
) -> crate::operation::get_commitment_purchase_analysis::builders::GetCommitmentPurchaseAnalysisFluentBuilder {
crate::operation::get_commitment_purchase_analysis::builders::GetCommitmentPurchaseAnalysisFluentBuilder::new(self.handle.clone())
}
}