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