Smaws_Client_CloudTrail.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 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, data, or network activity 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.
val request :
Smaws_Lib.Context.t ->
Types.update_event_data_store_request ->
(Types.update_event_data_store_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailAccessNotEnabledException of
Types.cloud_trail_access_not_enabled_exception
| `EventDataStoreAlreadyExistsException of
Types.event_data_store_already_exists_exception
| `EventDataStoreARNInvalidException of
Types.event_data_store_arn_invalid_exception
| `EventDataStoreHasOngoingImportException of
Types.event_data_store_has_ongoing_import_exception
| `EventDataStoreNotFoundException of
Types.event_data_store_not_found_exception
| `InactiveEventDataStoreException of
Types.inactive_event_data_store_exception
| `InsufficientDependencyServiceAccessPermissionException of
Types.insufficient_dependency_service_access_permission_exception
| `InsufficientEncryptionPolicyException of
Types.insufficient_encryption_policy_exception
| `InvalidEventSelectorsException of
Types.invalid_event_selectors_exception
| `InvalidInsightSelectorsException of
Types.invalid_insight_selectors_exception
| `InvalidKmsKeyIdException of Types.invalid_kms_key_id_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `KmsException of Types.kms_exception
| `KmsKeyNotFoundException of Types.kms_key_not_found_exception
| `NoManagementAccountSLRExistsException of
Types.no_management_account_slr_exists_exception
| `NotOrganizationMasterAccountException of
Types.not_organization_master_account_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `OrganizationNotInAllFeaturesModeException of
Types.organization_not_in_all_features_mode_exception
| `OrganizationsNotInUseException of
Types.organizations_not_in_use_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ])
Stdlib.result