CloudTrailClient.update_event_data_store
rboto-cloudtrail==0.4.0 · Service index · Types
Model summary (excerpt): 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 . Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters...
Install and imports
from rboto import CloudTrailClient
from collections.abc import Sequence
from rboto_cloudtrail.types import (
AdvancedEventSelector,
BillingMode,
UpdateEventDataStoreOutput,
)
Signature
async def update_event_data_store(
*,
event_data_store: str,
name: str | None = None,
advanced_event_selectors: Sequence[AdvancedEventSelector] | None = None,
multi_region_enabled: bool | None = None,
organization_enabled: bool | None = None,
retention_period: int | None = None,
termination_protection_enabled: bool | None = None,
kms_key_id: str | None = None,
billing_mode: BillingMode | None = None,
) -> UpdateEventDataStoreOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
event_data_store |
Yes | The ARN (or the ID suffix of the ARN) of the event data store that you want to update. |
name |
No | The event data store name. |
advanced_event_selectors |
No | The advanced event selectors used to select events for the event data store. You can configure up to five advanced event selectors for each event data store. |
multi_region_enabled |
No | Specifies whether an event data store collects events from all Regions, or only from the Region in which it was created. |
organization_enabled |
No | Specifies whether an event data store collects events logged for an organization in Organizations. Only the management account for the organization can convert an organization event data store to a non-organization event data store, or convert a non-organization event data store to an organization event data store. |
retention_period |
No | The retention period of the event data store, in days. If BillingMode is set to EXTENDABLE_RETENTION_PRICING , you can set a retention period of up to 3653 days, the equivalent of 10 years. If BillingMode is set to FIXED_RETENTION_PRICING , you can set a retention period of up to 2557 days, the equivalent of seven years. CloudTrail Lake determines whether to retain an event by checking if the... |
termination_protection_enabled |
No | Indicates that termination protection is enabled and the event data store cannot be automatically deleted. |
kms_key_id |
No | Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by alias/ , a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users... |
billing_mode |
No | You can't change the billing mode from EXTENDABLE_RETENTION_PRICING to FIXED_RETENTION_PRICING . If BillingMode is set to EXTENDABLE_RETENTION_PRICING and you want to use FIXED_RETENTION_PRICING instead, you'll need to stop ingestion on the event data store and create a new event data store that uses FIXED_RETENTION_PRICING . The billing mode for the event data store determines the cost for... |
Output
UpdateEventDataStoreOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
event_data_store_arn |
str | None |
Always present | — |
name |
str | None |
Always present | — |
status |
EventDataStoreStatusOutput | None |
Always present | EventDataStoreStatusOutput |
advanced_event_selectors |
list[AdvancedEventSelectorOutput] | None |
Always present | AdvancedEventSelectorOutput |
multi_region_enabled |
bool | None |
Always present | — |
organization_enabled |
bool | None |
Always present | — |
retention_period |
int | None |
Always present | — |
termination_protection_enabled |
bool | None |
Always present | — |
created_timestamp |
str | None |
Always present | — |
updated_timestamp |
str | None |
Always present | — |
kms_key_id |
str | None |
Always present | — |
billing_mode |
BillingModeOutput | None |
Always present | BillingModeOutput |
federation_status |
FederationStatusOutput | None |
Always present | FederationStatusOutput |
federation_role_arn |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
AdvancedEventSelector, BillingMode, UpdateEventDataStoreOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_cloudtrail.exceptions:
CloudTrailAccessNotEnabledError, ConflictError, EventDataStoreARNInvalidError, EventDataStoreAlreadyExistsError, EventDataStoreHasOngoingImportError, EventDataStoreNotFoundError, InactiveEventDataStoreError, InsufficientDependencyServiceAccessPermissionError, InsufficientEncryptionPolicyError, InvalidEventSelectorsError, InvalidInsightSelectorsError, InvalidKmsKeyIdError, InvalidParameterError, KmsError, KmsKeyNotFoundError, NoManagementAccountSLRExistsError, NotOrganizationMasterAccountError, OperationNotPermittedError, OrganizationNotInAllFeaturesModeError, OrganizationsNotInUseError, ThrottlingError, UnsupportedOperationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.