aws_sdk_appsync/client/
get_channel_namespace.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetChannelNamespace`](crate::operation::get_channel_namespace::builders::GetChannelNamespaceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetChannelNamespaceOutput`](crate::operation::get_channel_namespace::GetChannelNamespaceOutput) with field(s):
    ///   - [`channel_namespace(Option<ChannelNamespace>)`](crate::operation::get_channel_namespace::GetChannelNamespaceOutput::channel_namespace): <p>The <code>ChannelNamespace</code> object.</p>
    /// - On failure, responds with [`SdkError<GetChannelNamespaceError>`](crate::operation::get_channel_namespace::GetChannelNamespaceError)
    pub fn get_channel_namespace(&self) -> crate::operation::get_channel_namespace::builders::GetChannelNamespaceFluentBuilder {
        crate::operation::get_channel_namespace::builders::GetChannelNamespaceFluentBuilder::new(self.handle.clone())
    }
}