aws_sdk_iotthingsgraph/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 takes no input, just [`send`](crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::send) it.
6    /// - On success, responds with [`DeleteNamespaceOutput`](crate::operation::delete_namespace::DeleteNamespaceOutput) with field(s):
7    ///   - [`namespace_arn(Option<String>)`](crate::operation::delete_namespace::DeleteNamespaceOutput::namespace_arn): <p>The ARN of the namespace to be deleted.</p>
8    ///   - [`namespace_name(Option<String>)`](crate::operation::delete_namespace::DeleteNamespaceOutput::namespace_name): <p>The name of the namespace to be deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteNamespaceError>`](crate::operation::delete_namespace::DeleteNamespaceError)
10    #[deprecated(note = "since: 2022-08-30")]
11    pub fn delete_namespace(&self) -> crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder {
12        crate::operation::delete_namespace::builders::DeleteNamespaceFluentBuilder::new(self.handle.clone())
13    }
14}