aws_sdk_appsync/client/
list_channel_namespaces.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 [`ListChannelNamespaces`](crate::operation::list_channel_namespaces::builders::ListChannelNamespacesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_channel_namespaces::builders::ListChannelNamespacesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`api_id(impl Into<String>)`](crate::operation::list_channel_namespaces::builders::ListChannelNamespacesFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::list_channel_namespaces::builders::ListChannelNamespacesFluentBuilder::set_api_id):<br>required: **true**<br><p>The <code>Api</code> ID.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_channel_namespaces::builders::ListChannelNamespacesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_channel_namespaces::builders::ListChannelNamespacesFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::list_channel_namespaces::builders::ListChannelNamespacesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_channel_namespaces::builders::ListChannelNamespacesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results that you want the request to return.</p><br>
10    /// - On success, responds with [`ListChannelNamespacesOutput`](crate::operation::list_channel_namespaces::ListChannelNamespacesOutput) with field(s):
11    ///   - [`channel_namespaces(Option<Vec::<ChannelNamespace>>)`](crate::operation::list_channel_namespaces::ListChannelNamespacesOutput::channel_namespaces): <p>The <code>ChannelNamespace</code> objects.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_channel_namespaces::ListChannelNamespacesOutput::next_token): <p>An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.</p>
13    /// - On failure, responds with [`SdkError<ListChannelNamespacesError>`](crate::operation::list_channel_namespaces::ListChannelNamespacesError)
14    pub fn list_channel_namespaces(&self) -> crate::operation::list_channel_namespaces::builders::ListChannelNamespacesFluentBuilder {
15        crate::operation::list_channel_namespaces::builders::ListChannelNamespacesFluentBuilder::new(self.handle.clone())
16    }
17}