1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRoom`](crate::operation::get_room::builders::GetRoomFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_room::builders::GetRoomFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_room::builders::GetRoomFluentBuilder::set_identifier):<br>required: **true**<br><p>Identifier of the room for which the configuration is to be retrieved. Currently this must be an ARN.</p><br>
    /// - On success, responds with [`GetRoomOutput`](crate::operation::get_room::GetRoomOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_room::GetRoomOutput::arn): <p>Room ARN, from the request (if <code>identifier</code> was an ARN).</p>
    ///   - [`id(Option<String>)`](crate::operation::get_room::GetRoomOutput::id): <p>Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_room::GetRoomOutput::name): <p>Room name. The value does not need to be unique.</p>
    ///   - [`create_time(Option<DateTime>)`](crate::operation::get_room::GetRoomOutput::create_time): <p>Time when the room was created. This is an ISO 8601 timestamp; <i>note that this is returned as a string</i>.</p>
    ///   - [`update_time(Option<DateTime>)`](crate::operation::get_room::GetRoomOutput::update_time): <p>Time of the room’s last update. This is an ISO 8601 timestamp; <i>note that this is returned as a string</i>.</p>
    ///   - [`maximum_message_rate_per_second(Option<i32>)`](crate::operation::get_room::GetRoomOutput::maximum_message_rate_per_second): <p>Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.</p>
    ///   - [`maximum_message_length(Option<i32>)`](crate::operation::get_room::GetRoomOutput::maximum_message_length): <p>Maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.</p>
    ///   - [`message_review_handler(Option<MessageReviewHandler>)`](crate::operation::get_room::GetRoomOutput::message_review_handler): <p>Configuration information for optional review of messages.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_room::GetRoomOutput::tags): <p>Tags attached to the resource. Array of maps, each of the form <code>string:string (key:value)</code>.</p>
    ///   - [`logging_configuration_identifiers(Option<Vec::<String>>)`](crate::operation::get_room::GetRoomOutput::logging_configuration_identifiers): <p>Array of logging configurations attached to the room.</p>
    /// - On failure, responds with [`SdkError<GetRoomError>`](crate::operation::get_room::GetRoomError)
    pub fn get_room(&self) -> crate::operation::get_room::builders::GetRoomFluentBuilder {
        crate::operation::get_room::builders::GetRoomFluentBuilder::new(self.handle.clone())
    }
}