aws_sdk_appsync/client/
delete_channel_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 [`DeleteChannelNamespace`](crate::operation::delete_channel_namespace::builders::DeleteChannelNamespaceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`api_id(impl Into<String>)`](crate::operation::delete_channel_namespace::builders::DeleteChannelNamespaceFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::delete_channel_namespace::builders::DeleteChannelNamespaceFluentBuilder::set_api_id):<br>required: **true**<br><p>The ID of the <code>Api</code> associated with the <code>ChannelNamespace</code>.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::delete_channel_namespace::builders::DeleteChannelNamespaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_channel_namespace::builders::DeleteChannelNamespaceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the <code>ChannelNamespace</code>.</p><br>
8    /// - On success, responds with [`DeleteChannelNamespaceOutput`](crate::operation::delete_channel_namespace::DeleteChannelNamespaceOutput)
9    /// - On failure, responds with [`SdkError<DeleteChannelNamespaceError>`](crate::operation::delete_channel_namespace::DeleteChannelNamespaceError)
10    pub fn delete_channel_namespace(&self) -> crate::operation::delete_channel_namespace::builders::DeleteChannelNamespaceFluentBuilder {
11        crate::operation::delete_channel_namespace::builders::DeleteChannelNamespaceFluentBuilder::new(self.handle.clone())
12    }
13}