aws_sdk_quicksight/client/
delete_namespace.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteNamespace`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID for the Amazon Web Services account that you want to delete the Amazon QuickSight namespace from.</p><br>
7    ///   - [`namespace(impl Into<String>)`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::set_namespace):<br>required: **true**<br><p>The namespace that you want to delete.</p><br>
8    /// - On success, responds with [`DeleteNamespaceOutput`](crate::operation::delete_namespace::DeleteNamespaceOutput) with field(s):
9    ///   - [`request_id(Option<String>)`](crate::operation::delete_namespace::DeleteNamespaceOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
10    ///   - [`status(i32)`](crate::operation::delete_namespace::DeleteNamespaceOutput::status): <p>The HTTP status of the request.</p>
11    /// - On failure, responds with [`SdkError<DeleteNamespaceError>`](crate::operation::delete_namespace::DeleteNamespaceError)
12    pub fn delete_namespace(&self) -> crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder {
13        crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::new(self.handle.clone())
14    }
15}