1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListChannelModerators`](crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`channel_arn(impl Into<String>)`](crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder::channel_arn) / [`set_channel_arn(Option<String>)`](crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder::set_channel_arn): <p>The ARN of the channel.</p>
    ///   - [`max_results(i32)`](crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder::set_max_results): <p>The maximum number of moderators that you want returned.</p>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder::set_next_token): <p>The token passed by previous API calls until all requested moderators are returned.</p>
    ///   - [`chime_bearer(impl Into<String>)`](crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder::chime_bearer) / [`set_chime_bearer(Option<String>)`](crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder::set_chime_bearer): <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
    /// - On success, responds with [`ListChannelModeratorsOutput`](crate::operation::list_channel_moderators::ListChannelModeratorsOutput) with field(s):
    ///   - [`channel_arn(Option<String>)`](crate::operation::list_channel_moderators::ListChannelModeratorsOutput::channel_arn): <p>The ARN of the channel.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_channel_moderators::ListChannelModeratorsOutput::next_token): <p>The token passed by previous API calls until all requested moderators are returned.</p>
    ///   - [`channel_moderators(Option<Vec<ChannelModeratorSummary>>)`](crate::operation::list_channel_moderators::ListChannelModeratorsOutput::channel_moderators): <p>The information about and names of each moderator.</p>
    /// - On failure, responds with [`SdkError<ListChannelModeratorsError>`](crate::operation::list_channel_moderators::ListChannelModeratorsError)
    pub fn list_channel_moderators(
        &self,
    ) -> crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder
    {
        crate::operation::list_channel_moderators::builders::ListChannelModeratorsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}