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
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteApp`](crate::operation::delete_app::builders::DeleteAppFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_id(impl Into<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app to delete. You can identify the app by either its ID or its Amazon Resource Name (ARN). If you provide both, they must refer to the same app.<br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_identifier):<br>required: **false**<br>The Amazon Resource Name (ARN) of the app. You can identify the app by either its ID or its ARN. If you provide both, they must refer to the same app. A sandbox ARN names the app's sandbox; if you also send scope, the two must name the same environment.<br>
    ///   - [`scope(RequestScope)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::scope) / [`set_scope(Option<RequestScope>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_scope):<br>required: **false**<br>The environment to act on: live or sandbox. Optional. You can name the environment with this member, with a sandbox resource ARN, or both; if you send both they must name the same environment, or the request is rejected.<br>
    /// - On success, responds with [`DeleteAppOutput`](crate::operation::delete_app::DeleteAppOutput) with field(s):
    ///   - [`app_id(String)`](crate::operation::delete_app::DeleteAppOutput::app_id): The ID of the deleted app.
    ///   - [`status(AppStatus)`](crate::operation::delete_app::DeleteAppOutput::status): The resource status after deletion.
    ///   - [`arn(Option<String>)`](crate::operation::delete_app::DeleteAppOutput::arn): The resource ARN of the deleted app.
    /// - On failure, responds with [`SdkError<DeleteAppError>`](crate::operation::delete_app::DeleteAppError)
    pub fn delete_app(&self) -> crate::operation::delete_app::builders::DeleteAppFluentBuilder {
        crate::operation::delete_app::builders::DeleteAppFluentBuilder::new(self.handle.clone())
    }
}