pub struct UpdateEventDataStore<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateEventDataStore
.
Updates an event data store. The required EventDataStore
value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod
is in days, and valid values are integers between 90 and 2555. By default, TerminationProtection
is enabled. AdvancedEventSelectors
includes or excludes management and data events in your event data store; for more information about AdvancedEventSelectors
, see PutEventSelectorsRequest$AdvancedEventSelectors
.
Implementations
impl<C, M, R> UpdateEventDataStore<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateEventDataStore<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateEventDataStoreOutput, SdkError<UpdateEventDataStoreError>> where
R::Policy: SmithyRetryPolicy<UpdateEventDataStoreInputOperationOutputAlias, UpdateEventDataStoreOutput, UpdateEventDataStoreError, UpdateEventDataStoreInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateEventDataStoreOutput, SdkError<UpdateEventDataStoreError>> where
R::Policy: SmithyRetryPolicy<UpdateEventDataStoreInputOperationOutputAlias, UpdateEventDataStoreOutput, UpdateEventDataStoreError, UpdateEventDataStoreInputOperationRetryAlias>,
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.
The ARN (or the ID suffix of the ARN) of the event data store that you want to update.
The ARN (or the ID suffix of the ARN) of the event data store that you want to update.
Appends an item to AdvancedEventSelectors
.
To override the contents of this collection use set_advanced_event_selectors
.
The advanced event selectors used to select events for the event data store.
The advanced event selectors used to select events for the event data store.
Specifies whether an event data store collects events from all regions, or only from the region in which it was created.
Specifies whether an event data store collects events from all regions, or only from the region in which it was 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, in days.
The retention period, in days.
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateEventDataStore<C, M, R>
impl<C, M, R> Send for UpdateEventDataStore<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateEventDataStore<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateEventDataStore<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateEventDataStore<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