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 [`DeleteApp`](crate::operation::delete_app::builders::DeleteAppFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_arn(impl Into<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::app_arn) / [`set_app_arn(Option<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_app_arn):<br>required: **true**<br><p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p><br>
    ///   - [`force_delete(bool)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::force_delete) / [`set_force_delete(Option<bool>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_force_delete):<br>required: **false**<br><p>A boolean option to force the deletion of an Resilience Hub application.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_client_token):<br>required: **false**<br><p>Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.</p><br>
    /// - On success, responds with [`DeleteAppOutput`](crate::operation::delete_app::DeleteAppOutput) with field(s):
    ///   - [`app_arn(String)`](crate::operation::delete_app::DeleteAppOutput::app_arn): <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p>
    /// - 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())
    }
}