#[non_exhaustive]
pub struct CreateEventDataStoreInput { pub name: Option<String>, pub advanced_event_selectors: Option<Vec<AdvancedEventSelector>>, pub multi_region_enabled: Option<bool>, pub organization_enabled: Option<bool>, pub retention_period: Option<i32>, pub termination_protection_enabled: Option<bool>, pub tags_list: Option<Vec<Tag>>, }

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
name: Option<String>

The name of the event data store.

advanced_event_selectors: Option<Vec<AdvancedEventSelector>>

The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.

multi_region_enabled: Option<bool>

Specifies whether the event data store includes events from all regions, or only from the region in which the event data store is created.

organization_enabled: Option<bool>

Specifies whether an event data store collects events logged for an organization in Organizations.

retention_period: Option<i32>

The retention period of the event data store, in days. You can set a retention period of up to 2555 days, the equivalent of seven years.

termination_protection_enabled: Option<bool>

Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you cannot delete the event data store until termination protection is disabled.

tags_list: Option<Vec<Tag>>

A list of tags.

Implementations

Consumes the builder and constructs an Operation<CreateEventDataStore>

Creates a new builder-style object to manufacture CreateEventDataStoreInput

The name of the event data store.

The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.

Specifies whether the event data store includes events from all regions, or only from the region in which the event data store is created.

Specifies whether an event data store collects events logged for an organization in Organizations.

The retention period of the event data store, in days. You can set a retention period of up to 2555 days, the equivalent of seven years.

Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you cannot delete the event data store until termination protection is disabled.

A list of tags.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more