aws_sdk_bcmpricingcalculator/client/
update_bill_estimate.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 [`UpdateBillEstimate`](crate::operation::update_bill_estimate::builders::UpdateBillEstimateFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::update_bill_estimate::builders::UpdateBillEstimateFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_bill_estimate::builders::UpdateBillEstimateFluentBuilder::set_identifier):<br>required: **true**<br><p>The unique identifier of the bill estimate to update.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::update_bill_estimate::builders::UpdateBillEstimateFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_bill_estimate::builders::UpdateBillEstimateFluentBuilder::set_name):<br>required: **false**<br><p>The new name for the bill estimate.</p><br>
8    ///   - [`expires_at(DateTime)`](crate::operation::update_bill_estimate::builders::UpdateBillEstimateFluentBuilder::expires_at) / [`set_expires_at(Option<DateTime>)`](crate::operation::update_bill_estimate::builders::UpdateBillEstimateFluentBuilder::set_expires_at):<br>required: **false**<br><p>The new expiration date for the bill estimate.</p><br>
9    /// - On success, responds with [`UpdateBillEstimateOutput`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput) with field(s):
10    ///   - [`id(String)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::id): <p>The unique identifier of the updated bill estimate.</p>
11    ///   - [`name(Option<String>)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::name): <p>The updated name of the bill estimate.</p>
12    ///   - [`status(Option<BillEstimateStatus>)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::status): <p>The current status of the updated bill estimate.</p>
13    ///   - [`failure_message(Option<String>)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::failure_message): <p>An error message if the bill estimate update failed.</p>
14    ///   - [`bill_interval(Option<BillInterval>)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::bill_interval): <p>The time period covered by the updated bill estimate.</p>
15    ///   - [`cost_summary(Option<BillEstimateCostSummary>)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::cost_summary): <p>A summary of the updated estimated costs.</p>
16    ///   - [`created_at(Option<DateTime>)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::created_at): <p>The timestamp when the bill estimate was originally created.</p>
17    ///   - [`expires_at(Option<DateTime>)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::expires_at): <p>The updated expiration timestamp for the bill estimate.</p>
18    ///   - [`group_sharing_preference(Option<GroupSharingPreferenceEnum>)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::group_sharing_preference): <p>The setting for the reserved instance and savings plan group sharing used in this estimate.</p>
19    ///   - [`cost_category_group_sharing_preference_arn(Option<String>)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::cost_category_group_sharing_preference_arn): <p>The arn of the cost category used in the reserved and prioritized group sharing.</p>
20    ///   - [`cost_category_group_sharing_preference_effective_date(Option<DateTime>)`](crate::operation::update_bill_estimate::UpdateBillEstimateOutput::cost_category_group_sharing_preference_effective_date): <p>Timestamp of the effective date of the cost category used in the group sharing settings.</p>
21    /// - On failure, responds with [`SdkError<UpdateBillEstimateError>`](crate::operation::update_bill_estimate::UpdateBillEstimateError)
22    pub fn update_bill_estimate(&self) -> crate::operation::update_bill_estimate::builders::UpdateBillEstimateFluentBuilder {
23        crate::operation::update_bill_estimate::builders::UpdateBillEstimateFluentBuilder::new(self.handle.clone())
24    }
25}