aws-sdk-appmonetization 1.0.0

AWS SDK for AWS App Monetization
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdatePlan`](crate::operation::update_plan::builders::UpdatePlanFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_id(impl Into<String>)`](crate::operation::update_plan::builders::UpdatePlanFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::update_plan::builders::UpdatePlanFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app.<br>
    ///   - [`plan_id(impl Into<String>)`](crate::operation::update_plan::builders::UpdatePlanFluentBuilder::plan_id) / [`set_plan_id(Option<String>)`](crate::operation::update_plan::builders::UpdatePlanFluentBuilder::set_plan_id):<br>required: **true**<br>The identifier of the plan. AWS App Monetization generates this value when you create the plan. It is unique within the app and is never reused. Treat it as opaque.<br>
    ///   - [`definition(PlanDefinition)`](crate::operation::update_plan::builders::UpdatePlanFluentBuilder::definition) / [`set_definition(Option<PlanDefinition>)`](crate::operation::update_plan::builders::UpdatePlanFluentBuilder::set_definition):<br>required: **true**<br>The plan's updated pricing and packaging definition.<br>
    /// - On success, responds with [`UpdatePlanOutput`](crate::operation::update_plan::UpdatePlanOutput) with field(s):
    ///   - [`plan(Option<Plan>)`](crate::operation::update_plan::UpdatePlanOutput::plan): The updated plan.
    /// - On failure, responds with [`SdkError<UpdatePlanError>`](crate::operation::update_plan::UpdatePlanError)
    pub fn update_plan(&self) -> crate::operation::update_plan::builders::UpdatePlanFluentBuilder {
        crate::operation::update_plan::builders::UpdatePlanFluentBuilder::new(self.handle.clone())
    }
}