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