// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateChannelModerator`](crate::operation::create_channel_moderator::builders::CreateChannelModeratorFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`channel_arn(impl Into<String>)`](crate::operation::create_channel_moderator::builders::CreateChannelModeratorFluentBuilder::channel_arn) / [`set_channel_arn(Option<String>)`](crate::operation::create_channel_moderator::builders::CreateChannelModeratorFluentBuilder::set_channel_arn):<br>required: **true**<br><p>The ARN of the channel.</p><br>
/// - [`channel_moderator_arn(impl Into<String>)`](crate::operation::create_channel_moderator::builders::CreateChannelModeratorFluentBuilder::channel_moderator_arn) / [`set_channel_moderator_arn(Option<String>)`](crate::operation::create_channel_moderator::builders::CreateChannelModeratorFluentBuilder::set_channel_moderator_arn):<br>required: **true**<br><p>The ARN of the moderator.</p><br>
/// - [`chime_bearer(impl Into<String>)`](crate::operation::create_channel_moderator::builders::CreateChannelModeratorFluentBuilder::chime_bearer) / [`set_chime_bearer(Option<String>)`](crate::operation::create_channel_moderator::builders::CreateChannelModeratorFluentBuilder::set_chime_bearer):<br>required: **false**<br><p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p><br>
/// - On success, responds with [`CreateChannelModeratorOutput`](crate::operation::create_channel_moderator::CreateChannelModeratorOutput) with field(s):
/// - [`channel_arn(Option<String>)`](crate::operation::create_channel_moderator::CreateChannelModeratorOutput::channel_arn): <p>The ARN of the channel.</p>
/// - [`channel_moderator(Option<Identity>)`](crate::operation::create_channel_moderator::CreateChannelModeratorOutput::channel_moderator): <p>The ARNs of the channel and the moderator.</p>
/// - On failure, responds with [`SdkError<CreateChannelModeratorError>`](crate::operation::create_channel_moderator::CreateChannelModeratorError)
#[deprecated(note = "Replaced by CreateChannelModerator in the Amazon Chime SDK Messaging Namespace")]
pub fn create_channel_moderator(&self) -> crate::operation::create_channel_moderator::builders::CreateChannelModeratorFluentBuilder {
crate::operation::create_channel_moderator::builders::CreateChannelModeratorFluentBuilder::new(self.handle.clone())
}
}