Smaws_Client_CloudTrail.UpdateEventDataStore
val request :
Smaws_Lib.Context.t ->
update_event_data_store_request ->
(update_event_data_store_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailAccessNotEnabledException of
cloud_trail_access_not_enabled_exception
| `EventDataStoreAlreadyExistsException of
event_data_store_already_exists_exception
| `EventDataStoreARNInvalidException of
event_data_store_arn_invalid_exception
| `EventDataStoreHasOngoingImportException of
event_data_store_has_ongoing_import_exception
| `EventDataStoreNotFoundException of event_data_store_not_found_exception
| `InactiveEventDataStoreException of inactive_event_data_store_exception
| `InsufficientDependencyServiceAccessPermissionException of
insufficient_dependency_service_access_permission_exception
| `InsufficientEncryptionPolicyException of
insufficient_encryption_policy_exception
| `InvalidEventSelectorsException of invalid_event_selectors_exception
| `InvalidInsightSelectorsException of invalid_insight_selectors_exception
| `InvalidKmsKeyIdException of invalid_kms_key_id_exception
| `InvalidParameterException of invalid_parameter_exception
| `KmsException of kms_exception
| `KmsKeyNotFoundException of kms_key_not_found_exception
| `NoManagementAccountSLRExistsException of
no_management_account_slr_exists_exception
| `NotOrganizationMasterAccountException of
not_organization_master_account_exception
| `OperationNotPermittedException of operation_not_permitted_exception
| `OrganizationNotInAllFeaturesModeException of
organization_not_in_all_features_mode_exception
| `OrganizationsNotInUseException of organizations_not_in_use_exception
| `UnsupportedOperationException of unsupported_operation_exception ])
Stdlib.result
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 7 and 3653 if the BillingMode
is set to EXTENDABLE_RETENTION_PRICING
, or between 7 and 2557 if BillingMode
is set to FIXED_RETENTION_PRICING
. By default, TerminationProtection
is enabled.
For event data stores for CloudTrail events, AdvancedEventSelectors
includes or excludes management or data events in your event data store. For more information about AdvancedEventSelectors
, see AdvancedEventSelectors.
For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, AdvancedEventSelectors
includes events of that type in your event data store.