1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RedactChannelMessage`](crate::operation::redact_channel_message::builders::RedactChannelMessageFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`channel_arn(impl Into<String>)`](crate::operation::redact_channel_message::builders::RedactChannelMessageFluentBuilder::channel_arn) / [`set_channel_arn(Option<String>)`](crate::operation::redact_channel_message::builders::RedactChannelMessageFluentBuilder::set_channel_arn):<br>required: **true**<br><p>The ARN of the channel containing the messages that you want to redact.</p><br>
    ///   - [`message_id(impl Into<String>)`](crate::operation::redact_channel_message::builders::RedactChannelMessageFluentBuilder::message_id) / [`set_message_id(Option<String>)`](crate::operation::redact_channel_message::builders::RedactChannelMessageFluentBuilder::set_message_id):<br>required: **true**<br><p>The ID of the message being redacted.</p><br>
    ///   - [`chime_bearer(impl Into<String>)`](crate::operation::redact_channel_message::builders::RedactChannelMessageFluentBuilder::chime_bearer) / [`set_chime_bearer(Option<String>)`](crate::operation::redact_channel_message::builders::RedactChannelMessageFluentBuilder::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 [`RedactChannelMessageOutput`](crate::operation::redact_channel_message::RedactChannelMessageOutput) with field(s):
    ///   - [`channel_arn(Option<String>)`](crate::operation::redact_channel_message::RedactChannelMessageOutput::channel_arn): <p>The ARN of the channel containing the messages that you want to redact.</p>
    ///   - [`message_id(Option<String>)`](crate::operation::redact_channel_message::RedactChannelMessageOutput::message_id): <p>The ID of the message being redacted.</p>
    /// - On failure, responds with [`SdkError<RedactChannelMessageError>`](crate::operation::redact_channel_message::RedactChannelMessageError)
    #[deprecated(note = "Replaced by RedactChannelMessage in the Amazon Chime SDK Messaging Namespace")]
    pub fn redact_channel_message(&self) -> crate::operation::redact_channel_message::builders::RedactChannelMessageFluentBuilder {
        crate::operation::redact_channel_message::builders::RedactChannelMessageFluentBuilder::new(self.handle.clone())
    }
}