aws_sdk_cloudtrail/client/get_event_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 [`GetEventConfiguration`](crate::operation::get_event_configuration::builders::GetEventConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`trail_name(impl Into<String>)`](crate::operation::get_event_configuration::builders::GetEventConfigurationFluentBuilder::trail_name) / [`set_trail_name(Option<String>)`](crate::operation::get_event_configuration::builders::GetEventConfigurationFluentBuilder::set_trail_name):<br>required: **false**<br><p>The name of the trail for which you want to retrieve event configuration settings.</p><br>
7 /// - [`event_data_store(impl Into<String>)`](crate::operation::get_event_configuration::builders::GetEventConfigurationFluentBuilder::event_data_store) / [`set_event_data_store(Option<String>)`](crate::operation::get_event_configuration::builders::GetEventConfigurationFluentBuilder::set_event_data_store):<br>required: **false**<br><p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which you want to retrieve event configuration settings.</p><br>
8 /// - On success, responds with [`GetEventConfigurationOutput`](crate::operation::get_event_configuration::GetEventConfigurationOutput) with field(s):
9 /// - [`trail_arn(Option<String>)`](crate::operation::get_event_configuration::GetEventConfigurationOutput::trail_arn): <p>The Amazon Resource Name (ARN) of the trail for which the event configuration settings are returned.</p>
10 /// - [`event_data_store_arn(Option<String>)`](crate::operation::get_event_configuration::GetEventConfigurationOutput::event_data_store_arn): <p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which the event configuration settings are returned.</p>
11 /// - [`max_event_size(Option<MaxEventSize>)`](crate::operation::get_event_configuration::GetEventConfigurationOutput::max_event_size): <p>The maximum allowed size for events stored in the specified event data store.</p>
12 /// - [`context_key_selectors(Option<Vec::<ContextKeySelector>>)`](crate::operation::get_event_configuration::GetEventConfigurationOutput::context_key_selectors): <p>The list of context key selectors that are configured for the event data store.</p>
13 /// - [`aggregation_configurations(Option<Vec::<AggregationConfiguration>>)`](crate::operation::get_event_configuration::GetEventConfigurationOutput::aggregation_configurations): <p>The list of aggregation configurations that are configured for the trail.</p>
14 /// - On failure, responds with [`SdkError<GetEventConfigurationError>`](crate::operation::get_event_configuration::GetEventConfigurationError)
15 pub fn get_event_configuration(&self) -> crate::operation::get_event_configuration::builders::GetEventConfigurationFluentBuilder {
16 crate::operation::get_event_configuration::builders::GetEventConfigurationFluentBuilder::new(self.handle.clone())
17 }
18}