aws_sdk_costexplorer/client/
get_commitment_purchase_analysis.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetCommitmentPurchaseAnalysis`](crate::operation::get_commitment_purchase_analysis::builders::GetCommitmentPurchaseAnalysisFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`GetCommitmentPurchaseAnalysisOutput`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput) with field(s):
8    ///   - [`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>
9    ///   - [`analysis_completion_time(Option<String>)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::analysis_completion_time): <p>The completion time of the analysis.</p>
10    ///   - [`analysis_started_time(String)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::analysis_started_time): <p>The start time of the analysis.</p>
11    ///   - [`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>
12    ///   - [`analysis_status(AnalysisStatus)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::analysis_status): <p>The status of the analysis.</p>
13    ///   - [`error_code(Option<ErrorCode>)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::error_code): <p>The error code used for the analysis.</p>
14    ///   - [`analysis_details(Option<AnalysisDetails>)`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisOutput::analysis_details): <p>Details about the analysis.</p>
15    ///   - [`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>
16    /// - On failure, responds with [`SdkError<GetCommitmentPurchaseAnalysisError>`](crate::operation::get_commitment_purchase_analysis::GetCommitmentPurchaseAnalysisError)
17    pub fn get_commitment_purchase_analysis(
18        &self,
19    ) -> crate::operation::get_commitment_purchase_analysis::builders::GetCommitmentPurchaseAnalysisFluentBuilder {
20        crate::operation::get_commitment_purchase_analysis::builders::GetCommitmentPurchaseAnalysisFluentBuilder::new(self.handle.clone())
21    }
22}