#[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
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.
A list of tags.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEventDataStore, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEventDataStore, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateEventDataStore
>
Creates a new builder-style object to manufacture CreateEventDataStoreInput
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateEventDataStoreInput
impl Send for CreateEventDataStoreInput
impl Sync for CreateEventDataStoreInput
impl Unpin for CreateEventDataStoreInput
impl UnwindSafe for CreateEventDataStoreInput
Blanket Implementations
Mutably borrows from an owned value. Read more
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