aws_sdk_cloudtrail/client/get_event_data_store.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 [`GetEventDataStore`](crate::operation::get_event_data_store::builders::GetEventDataStoreFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`event_data_store(impl Into<String>)`](crate::operation::get_event_data_store::builders::GetEventDataStoreFluentBuilder::event_data_store) / [`set_event_data_store(Option<String>)`](crate::operation::get_event_data_store::builders::GetEventDataStoreFluentBuilder::set_event_data_store):<br>required: **true**<br><p>The ARN (or ID suffix of the ARN) of the event data store about which you want information.</p><br>
7 /// - On success, responds with [`GetEventDataStoreOutput`](crate::operation::get_event_data_store::GetEventDataStoreOutput) with field(s):
8 /// - [`event_data_store_arn(Option<String>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::event_data_store_arn): <p>The event data store Amazon Resource Number (ARN).</p>
9 /// - [`name(Option<String>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::name): <p>The name of the event data store.</p>
10 /// - [`status(Option<EventDataStoreStatus>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::status): <p>The status of an event data store.</p>
11 /// - [`advanced_event_selectors(Option<Vec::<AdvancedEventSelector>>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::advanced_event_selectors): <p>The advanced event selectors used to select events for the data store.</p>
12 /// - [`multi_region_enabled(Option<bool>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::multi_region_enabled): <p>Indicates whether the event data store includes events from all Regions, or only from the Region in which it was created.</p>
13 /// - [`organization_enabled(Option<bool>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::organization_enabled): <p>Indicates whether an event data store is collecting logged events for an organization in Organizations.</p>
14 /// - [`retention_period(Option<i32>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::retention_period): <p>The retention period of the event data store, in days.</p>
15 /// - [`termination_protection_enabled(Option<bool>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::termination_protection_enabled): <p>Indicates that termination protection is enabled.</p>
16 /// - [`created_timestamp(Option<DateTime>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::created_timestamp): <p>The timestamp of the event data store's creation.</p>
17 /// - [`updated_timestamp(Option<DateTime>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::updated_timestamp): <p>Shows the time that an event data store was updated, if applicable. <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in <code>CreatedTimestamp</code>.</p>
18 /// - [`kms_key_id(Option<String>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::kms_key_id): <p>Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format.</p> <p><code>arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012</code></p>
19 /// - [`billing_mode(Option<BillingMode>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::billing_mode): <p>The billing mode for the event data store.</p>
20 /// - [`federation_status(Option<FederationStatus>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::federation_status): <p>Indicates the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html">Lake query federation</a> status. The status is <code>ENABLED</code> if Lake query federation is enabled, or <code>DISABLED</code> if Lake query federation is disabled. You cannot delete an event data store if the <code>FederationStatus</code> is <code>ENABLED</code>.</p>
21 /// - [`federation_role_arn(Option<String>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::federation_role_arn): <p>If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.</p>
22 /// - [`partition_keys(Option<Vec::<PartitionKey>>)`](crate::operation::get_event_data_store::GetEventDataStoreOutput::partition_keys): <p>The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes event data into partitions based on values derived from partition keys.</p>
23 /// - On failure, responds with [`SdkError<GetEventDataStoreError>`](crate::operation::get_event_data_store::GetEventDataStoreError)
24 pub fn get_event_data_store(&self) -> crate::operation::get_event_data_store::builders::GetEventDataStoreFluentBuilder {
25 crate::operation::get_event_data_store::builders::GetEventDataStoreFluentBuilder::new(self.handle.clone())
26 }
27}