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