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 [`DeleteNamespace`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`namespace_name(impl Into<String>)`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::namespace_name) / [`set_namespace_name(Option<String>)`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::set_namespace_name): <p>The name of the namespace to delete.</p>
    ///   - [`final_snapshot_name(impl Into<String>)`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::final_snapshot_name) / [`set_final_snapshot_name(Option<String>)`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::set_final_snapshot_name): <p>The name of the snapshot to be created before the namespace is deleted.</p>
    ///   - [`final_snapshot_retention_period(i32)`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::final_snapshot_retention_period) / [`set_final_snapshot_retention_period(Option<i32>)`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::set_final_snapshot_retention_period): <p>How long to retain the final snapshot.</p>
    /// - On success, responds with [`DeleteNamespaceOutput`](crate::operation::delete_namespace::DeleteNamespaceOutput) with field(s):
    ///   - [`namespace(Option<Namespace>)`](crate::operation::delete_namespace::DeleteNamespaceOutput::namespace): <p>The deleted namespace object.</p>
    /// - On failure, responds with [`SdkError<DeleteNamespaceError>`](crate::operation::delete_namespace::DeleteNamespaceError)
    pub fn delete_namespace(&self) -> crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder {
        crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::new(self.handle.clone())
    }
}