aws_sdk_chime/client/get_bot.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 [`GetBot`](crate::operation::get_bot::builders::GetBotFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_id(impl Into<String>)`](crate::operation::get_bot::builders::GetBotFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_bot::builders::GetBotFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Chime account ID.</p><br>
7 /// - [`bot_id(impl Into<String>)`](crate::operation::get_bot::builders::GetBotFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::get_bot::builders::GetBotFluentBuilder::set_bot_id):<br>required: **true**<br><p>The bot ID.</p><br>
8 /// - On success, responds with [`GetBotOutput`](crate::operation::get_bot::GetBotOutput) with field(s):
9 /// - [`bot(Option<Bot>)`](crate::operation::get_bot::GetBotOutput::bot): <p>The chat bot details.</p>
10 /// - On failure, responds with [`SdkError<GetBotError>`](crate::operation::get_bot::GetBotError)
11 pub fn get_bot(&self) -> crate::operation::get_bot::builders::GetBotFluentBuilder {
12 crate::operation::get_bot::builders::GetBotFluentBuilder::new(self.handle.clone())
13 }
14}