aws_sdk_redshift/client/deregister_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 [`DeregisterNamespace`](crate::operation::deregister_namespace::builders::DeregisterNamespaceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`namespace_identifier(NamespaceIdentifierUnion)`](crate::operation::deregister_namespace::builders::DeregisterNamespaceFluentBuilder::namespace_identifier) / [`set_namespace_identifier(Option<NamespaceIdentifierUnion>)`](crate::operation::deregister_namespace::builders::DeregisterNamespaceFluentBuilder::set_namespace_identifier):<br>required: **true**<br><p>The unique identifier of the cluster or serverless namespace that you want to deregister.</p><br>
7 /// - [`consumer_identifiers(impl Into<String>)`](crate::operation::deregister_namespace::builders::DeregisterNamespaceFluentBuilder::consumer_identifiers) / [`set_consumer_identifiers(Option<Vec::<String>>)`](crate::operation::deregister_namespace::builders::DeregisterNamespaceFluentBuilder::set_consumer_identifiers):<br>required: **true**<br><p>An array containing the ID of the consumer account that you want to deregister the cluster or serverless namespace from.</p><br>
8 /// - On success, responds with [`DeregisterNamespaceOutput`](crate::operation::deregister_namespace::DeregisterNamespaceOutput) with field(s):
9 /// - [`status(Option<NamespaceRegistrationStatus>)`](crate::operation::deregister_namespace::DeregisterNamespaceOutput::status): <p>The registration status of the cluster or serverless namespace.</p>
10 /// - On failure, responds with [`SdkError<DeregisterNamespaceError>`](crate::operation::deregister_namespace::DeregisterNamespaceError)
11 pub fn deregister_namespace(&self) -> crate::operation::deregister_namespace::builders::DeregisterNamespaceFluentBuilder {
12 crate::operation::deregister_namespace::builders::DeregisterNamespaceFluentBuilder::new(self.handle.clone())
13 }
14}