restore_event_data_store¶
Operation¶
restore_event_data_store
¶
restore_event_data_store(request: RestoreEventDataStoreInput | RestoreEventDataStoreInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[RestoreEventDataStoreInputDict]) -> RestoreEventDataStoreOutput
Warning
CloudTrail Lake will no longer be open to new customers starting May 31, 2026. If you would like to use CloudTrail Lake, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see CloudTrail Lake availability change.
Restores a deleted event data store specified by EventDataStore, which
accepts an event data store ARN. You can only restore a deleted event
data store within the seven-day wait period after deletion. Restoring an
event data store can take several minutes, depending on the size of the
event data store.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
RestoreEventDataStoreInput | RestoreEventDataStoreInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[RestoreEventDataStoreInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
RestoreEventDataStoreOutput
|
An instance of |
restore_event_data_store
async
¶
restore_event_data_store(request: RestoreEventDataStoreInput | RestoreEventDataStoreInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[RestoreEventDataStoreInputDict]) -> RestoreEventDataStoreOutput
Warning
CloudTrail Lake will no longer be open to new customers starting May 31, 2026. If you would like to use CloudTrail Lake, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see CloudTrail Lake availability change.
Restores a deleted event data store specified by EventDataStore, which
accepts an event data store ARN. You can only restore a deleted event
data store within the seven-day wait period after deletion. Restoring an
event data store can take several minutes, depending on the size of the
event data store.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
RestoreEventDataStoreInput | RestoreEventDataStoreInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[RestoreEventDataStoreInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
RestoreEventDataStoreOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
Output¶
RestoreEventDataStoreOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for RestoreEventDataStoreOutput structure.
Attributes¶
advanced_event_selectors
class-attribute
instance-attribute
¶
advanced_event_selectors: list[AdvancedEventSelector] | None = ...
The advanced event selectors that were used to select events.
billing_mode
class-attribute
instance-attribute
¶
billing_mode: str | None = ...
The billing mode for the event data store.
created_timestamp
class-attribute
instance-attribute
¶
created_timestamp: datetime | None = ...
The timestamp of an event data store's creation.
event_data_store_arn
class-attribute
instance-attribute
¶
event_data_store_arn: str | None = ...
The event data store ARN.
kms_key_id
class-attribute
instance-attribute
¶
kms_key_id: str | None = ...
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.
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
multi_region_enabled
class-attribute
instance-attribute
¶
multi_region_enabled: bool | None = ...
Indicates whether the event data store is collecting events from all Regions, or only from the Region in which the event data store was created.
organization_enabled
class-attribute
instance-attribute
¶
organization_enabled: bool | None = ...
Indicates whether an event data store is collecting logged events for an organization in Organizations.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
retention_period
class-attribute
instance-attribute
¶
retention_period: int | None = ...
The retention period, in days.
status
class-attribute
instance-attribute
¶
status: str | None = ...
The status of the event data store.