1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetPricingPlan`](crate::operation::get_pricing_plan::builders::GetPricingPlanFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_pricing_plan::builders::GetPricingPlanFluentBuilder::send) it.
    /// - On success, responds with [`GetPricingPlanOutput`](crate::operation::get_pricing_plan::GetPricingPlanOutput) with field(s):
    ///   - [`current_pricing_plan(Option<PricingPlan>)`](crate::operation::get_pricing_plan::GetPricingPlanOutput::current_pricing_plan): <p>The chosen pricing plan for the current billing cycle.</p>
    ///   - [`pending_pricing_plan(Option<PricingPlan>)`](crate::operation::get_pricing_plan::GetPricingPlanOutput::pending_pricing_plan): <p>The pending pricing plan.</p>
    /// - On failure, responds with [`SdkError<GetPricingPlanError>`](crate::operation::get_pricing_plan::GetPricingPlanError)
    pub fn get_pricing_plan(
        &self,
    ) -> crate::operation::get_pricing_plan::builders::GetPricingPlanFluentBuilder {
        crate::operation::get_pricing_plan::builders::GetPricingPlanFluentBuilder::new(
            self.handle.clone(),
        )
    }
}