aws_sdk_appsync/client/
get_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 [`GetChannelNamespace`](crate::operation::get_channel_namespace::builders::GetChannelNamespaceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`api_id(impl Into<String>)`](crate::operation::get_channel_namespace::builders::GetChannelNamespaceFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::get_channel_namespace::builders::GetChannelNamespaceFluentBuilder::set_api_id):<br>required: **true**<br><p>The <code>Api</code> ID.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::get_channel_namespace::builders::GetChannelNamespaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_channel_namespace::builders::GetChannelNamespaceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the <code>ChannelNamespace</code>.</p><br>
8    /// - On success, responds with [`GetChannelNamespaceOutput`](crate::operation::get_channel_namespace::GetChannelNamespaceOutput) with field(s):
9    ///   - [`channel_namespace(Option<ChannelNamespace>)`](crate::operation::get_channel_namespace::GetChannelNamespaceOutput::channel_namespace): <p>The <code>ChannelNamespace</code> object.</p>
10    /// - On failure, responds with [`SdkError<GetChannelNamespaceError>`](crate::operation::get_channel_namespace::GetChannelNamespaceError)
11    pub fn get_channel_namespace(&self) -> crate::operation::get_channel_namespace::builders::GetChannelNamespaceFluentBuilder {
12        crate::operation::get_channel_namespace::builders::GetChannelNamespaceFluentBuilder::new(self.handle.clone())
13    }
14}