aws_sdk_chime/client/get_room.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetRoom`](crate::operation::get_room::builders::GetRoomFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_id(impl Into<String>)`](crate::operation::get_room::builders::GetRoomFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_room::builders::GetRoomFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Chime account ID.</p><br>
7 /// - [`room_id(impl Into<String>)`](crate::operation::get_room::builders::GetRoomFluentBuilder::room_id) / [`set_room_id(Option<String>)`](crate::operation::get_room::builders::GetRoomFluentBuilder::set_room_id):<br>required: **true**<br><p>The room ID.</p><br>
8 /// - On success, responds with [`GetRoomOutput`](crate::operation::get_room::GetRoomOutput) with field(s):
9 /// - [`room(Option<Room>)`](crate::operation::get_room::GetRoomOutput::room): <p>The room details.</p>
10 /// - On failure, responds with [`SdkError<GetRoomError>`](crate::operation::get_room::GetRoomError)
11 pub fn get_room(&self) -> crate::operation::get_room::builders::GetRoomFluentBuilder {
12 crate::operation::get_room::builders::GetRoomFluentBuilder::new(self.handle.clone())
13 }
14}