pub struct CreateEventDataStore<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateEventDataStore
.
Creates a new event data store.
Implementations
impl<C, M, R> CreateEventDataStore<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateEventDataStore<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateEventDataStoreOutput, SdkError<CreateEventDataStoreError>> where
R::Policy: SmithyRetryPolicy<CreateEventDataStoreInputOperationOutputAlias, CreateEventDataStoreOutput, CreateEventDataStoreError, CreateEventDataStoreInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateEventDataStoreOutput, SdkError<CreateEventDataStoreError>> where
R::Policy: SmithyRetryPolicy<CreateEventDataStoreInputOperationOutputAlias, CreateEventDataStoreOutput, CreateEventDataStoreError, CreateEventDataStoreInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Appends an item to AdvancedEventSelectors
.
To override the contents of this collection use set_advanced_event_selectors
.
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.
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 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.
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.
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.
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.
Appends an item to TagsList
.
To override the contents of this collection use set_tags_list
.
A list of tags.
A list of tags.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateEventDataStore<C, M, R>
impl<C, M, R> Send for CreateEventDataStore<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateEventDataStore<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateEventDataStore<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateEventDataStore<C, M, R>
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