aws_sdk_bcmpricingcalculator/client/get_bill_scenario.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 [`GetBillScenario`](crate::operation::get_bill_scenario::builders::GetBillScenarioFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identifier(impl Into<String>)`](crate::operation::get_bill_scenario::builders::GetBillScenarioFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_bill_scenario::builders::GetBillScenarioFluentBuilder::set_identifier):<br>required: **true**<br><p>The unique identifier of the bill scenario to retrieve.</p><br>
7 /// - On success, responds with [`GetBillScenarioOutput`](crate::operation::get_bill_scenario::GetBillScenarioOutput) with field(s):
8 /// - [`id(String)`](crate::operation::get_bill_scenario::GetBillScenarioOutput::id): <p>The unique identifier of the retrieved bill scenario.</p>
9 /// - [`name(Option<String>)`](crate::operation::get_bill_scenario::GetBillScenarioOutput::name): <p>The name of the retrieved bill scenario.</p>
10 /// - [`bill_interval(Option<BillInterval>)`](crate::operation::get_bill_scenario::GetBillScenarioOutput::bill_interval): <p>The time period covered by the bill scenario.</p>
11 /// - [`status(Option<BillScenarioStatus>)`](crate::operation::get_bill_scenario::GetBillScenarioOutput::status): <p>The current status of the bill scenario.</p>
12 /// - [`created_at(Option<DateTime>)`](crate::operation::get_bill_scenario::GetBillScenarioOutput::created_at): <p>The timestamp when the bill scenario was created.</p>
13 /// - [`expires_at(Option<DateTime>)`](crate::operation::get_bill_scenario::GetBillScenarioOutput::expires_at): <p>The timestamp when the bill scenario will expire.</p>
14 /// - [`failure_message(Option<String>)`](crate::operation::get_bill_scenario::GetBillScenarioOutput::failure_message): <p>An error message if the bill scenario retrieval failed.</p>
15 /// - [`group_sharing_preference(Option<GroupSharingPreferenceEnum>)`](crate::operation::get_bill_scenario::GetBillScenarioOutput::group_sharing_preference): <p>The setting for the reserved instance and savings plan group sharing used in this estimate.</p>
16 /// - [`cost_category_group_sharing_preference_arn(Option<String>)`](crate::operation::get_bill_scenario::GetBillScenarioOutput::cost_category_group_sharing_preference_arn): <p>The arn of the cost category used in the reserved and prioritized group sharing.</p>
17 /// - On failure, responds with [`SdkError<GetBillScenarioError>`](crate::operation::get_bill_scenario::GetBillScenarioError)
18 pub fn get_bill_scenario(&self) -> crate::operation::get_bill_scenario::builders::GetBillScenarioFluentBuilder {
19 crate::operation::get_bill_scenario::builders::GetBillScenarioFluentBuilder::new(self.handle.clone())
20 }
21}