1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteChannelModerator`](crate::operation::delete_channel_moderator::builders::DeleteChannelModeratorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`channel_arn(impl Into<String>)`](crate::operation::delete_channel_moderator::builders::DeleteChannelModeratorFluentBuilder::channel_arn) / [`set_channel_arn(Option<String>)`](crate::operation::delete_channel_moderator::builders::DeleteChannelModeratorFluentBuilder::set_channel_arn):<br>required: **true**<br><p>The ARN of the channel.</p><br>
    ///   - [`channel_moderator_arn(impl Into<String>)`](crate::operation::delete_channel_moderator::builders::DeleteChannelModeratorFluentBuilder::channel_moderator_arn) / [`set_channel_moderator_arn(Option<String>)`](crate::operation::delete_channel_moderator::builders::DeleteChannelModeratorFluentBuilder::set_channel_moderator_arn):<br>required: **true**<br><p>The ARN of the moderator being deleted.</p><br>
    ///   - [`chime_bearer(impl Into<String>)`](crate::operation::delete_channel_moderator::builders::DeleteChannelModeratorFluentBuilder::chime_bearer) / [`set_chime_bearer(Option<String>)`](crate::operation::delete_channel_moderator::builders::DeleteChannelModeratorFluentBuilder::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 [`DeleteChannelModeratorOutput`](crate::operation::delete_channel_moderator::DeleteChannelModeratorOutput)
    /// - On failure, responds with [`SdkError<DeleteChannelModeratorError>`](crate::operation::delete_channel_moderator::DeleteChannelModeratorError)
    #[deprecated(note = "Replaced by DeleteChannelModerator in the Amazon Chime SDK Messaging Namespace")]
    pub fn delete_channel_moderator(&self) -> crate::operation::delete_channel_moderator::builders::DeleteChannelModeratorFluentBuilder {
        crate::operation::delete_channel_moderator::builders::DeleteChannelModeratorFluentBuilder::new(self.handle.clone())
    }
}