aws_sdk_billingconductor/client/
update_pricing_plan.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 [`UpdatePricingPlan`](crate::operation::update_pricing_plan::builders::UpdatePricingPlanFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::update_pricing_plan::builders::UpdatePricingPlanFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::update_pricing_plan::builders::UpdatePricingPlanFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the pricing plan that you're updating.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::update_pricing_plan::builders::UpdatePricingPlanFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_pricing_plan::builders::UpdatePricingPlanFluentBuilder::set_name):<br>required: **false**<br><p>The name of the pricing plan. The name must be unique to each pricing plan.</p><br>
8    ///   - [`description(impl Into<String>)`](crate::operation::update_pricing_plan::builders::UpdatePricingPlanFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_pricing_plan::builders::UpdatePricingPlanFluentBuilder::set_description):<br>required: **false**<br><p>The description of the pricing plan.</p><br>
9    /// - On success, responds with [`UpdatePricingPlanOutput`](crate::operation::update_pricing_plan::UpdatePricingPlanOutput) with field(s):
10    ///   - [`arn(Option<String>)`](crate::operation::update_pricing_plan::UpdatePricingPlanOutput::arn): <p>The Amazon Resource Name (ARN) of the updated pricing plan.</p>
11    ///   - [`name(Option<String>)`](crate::operation::update_pricing_plan::UpdatePricingPlanOutput::name): <p>The name of the pricing plan. The name must be unique to each pricing plan.</p>
12    ///   - [`description(Option<String>)`](crate::operation::update_pricing_plan::UpdatePricingPlanOutput::description): <p>The new description for the pricing rule.</p>
13    ///   - [`size(i64)`](crate::operation::update_pricing_plan::UpdatePricingPlanOutput::size): <p>The pricing rules count that's currently associated with this pricing plan list.</p>
14    ///   - [`last_modified_time(i64)`](crate::operation::update_pricing_plan::UpdatePricingPlanOutput::last_modified_time): <p>The most recent time when the pricing plan was modified.</p>
15    /// - On failure, responds with [`SdkError<UpdatePricingPlanError>`](crate::operation::update_pricing_plan::UpdatePricingPlanError)
16    pub fn update_pricing_plan(&self) -> crate::operation::update_pricing_plan::builders::UpdatePricingPlanFluentBuilder {
17        crate::operation::update_pricing_plan::builders::UpdatePricingPlanFluentBuilder::new(self.handle.clone())
18    }
19}