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 [`ArchivePlan`](crate::operation::archive_plan::builders::ArchivePlanFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_id(impl Into<String>)`](crate::operation::archive_plan::builders::ArchivePlanFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::archive_plan::builders::ArchivePlanFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app.<br>
    ///   - [`plan_id(impl Into<String>)`](crate::operation::archive_plan::builders::ArchivePlanFluentBuilder::plan_id) / [`set_plan_id(Option<String>)`](crate::operation::archive_plan::builders::ArchivePlanFluentBuilder::set_plan_id):<br>required: **true**<br>The identifier of the plan. We generate this value when you create the plan. It is unique within the app and is never reused. Treat it as opaque.<br>
    /// - On success, responds with [`ArchivePlanOutput`](crate::operation::archive_plan::ArchivePlanOutput) with field(s):
    ///   - [`app_id(String)`](crate::operation::archive_plan::ArchivePlanOutput::app_id): The ID of the app the archived plan belonged to.
    ///   - [`plan_id(String)`](crate::operation::archive_plan::ArchivePlanOutput::plan_id): The server-generated identifier of the archived plan.
    /// - On failure, responds with [`SdkError<ArchivePlanError>`](crate::operation::archive_plan::ArchivePlanError)
    pub fn archive_plan(&self) -> crate::operation::archive_plan::builders::ArchivePlanFluentBuilder {
        crate::operation::archive_plan::builders::ArchivePlanFluentBuilder::new(self.handle.clone())
    }
}