Module Values.UpdateEventDataStoreResponseSource

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.

Sourcetype nonrec t = {
  1. eventDataStoreArn : EventDataStoreArn.t option;
    (*

    The ARN of the event data store.

    *)
  2. name : EventDataStoreName.t option;
    (*

    The name of the event data store.

    *)
  3. status : EventDataStoreStatus.t option;
    (*

    The status of an event data store.

    *)
  4. advancedEventSelectors : AdvancedEventSelectors.t option;
    (*

    The advanced event selectors that are applied to the event data store.

    *)
  5. multiRegionEnabled : Boolean.t option;
    (*

    Indicates whether the event data store includes events from all Regions, or only from the Region in which it was created.

    *)
  6. organizationEnabled : Boolean.t option;
    (*

    Indicates whether an event data store is collecting logged events for an organization in Organizations.

    *)
  7. retentionPeriod : RetentionPeriod.t option;
    (*

    The retention period, in days.

    *)
  8. terminationProtectionEnabled : TerminationProtectionEnabled.t option;
    (*

    Indicates whether termination protection is enabled for the event data store.

    *)
  9. createdTimestamp : Date.t option;
    (*

    The timestamp that shows when an event data store was first created.

    *)
  10. updatedTimestamp : Date.t option;
    (*

    The timestamp that shows when the event data store was last updated. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

    *)
  11. kmsKeyId : EventDataStoreKmsKeyId.t option;
    (*

    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

    *)
  12. billingMode : BillingMode.t option;
    (*

    The billing mode for the event data store.

    *)
  13. federationStatus : FederationStatus.t option;
    (*

    Indicates the Lake query federation status. The status is ENABLED if Lake query federation is enabled, or DISABLED if Lake query federation is disabled. You cannot delete an event data store if the FederationStatus is ENABLED.

    *)
  14. federationRoleArn : FederationRoleArn.t option;
    (*

    If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.

    *)
}
Sourcetype nonrec error = [
  1. | `CloudTrailAccessNotEnabledException of CloudTrailAccessNotEnabledException.t
  2. | `ConflictException of ConflictException.t
  3. | `EventDataStoreARNInvalidException of EventDataStoreARNInvalidException.t
  4. | `EventDataStoreAlreadyExistsException of EventDataStoreAlreadyExistsException.t
  5. | `EventDataStoreHasOngoingImportException of EventDataStoreHasOngoingImportException.t
  6. | `EventDataStoreNotFoundException of EventDataStoreNotFoundException.t
  7. | `InactiveEventDataStoreException of InactiveEventDataStoreException.t
  8. | `InsufficientDependencyServiceAccessPermissionException of InsufficientDependencyServiceAccessPermissionException.t
  9. | `InsufficientEncryptionPolicyException of InsufficientEncryptionPolicyException.t
  10. | `InvalidEventSelectorsException of InvalidEventSelectorsException.t
  11. | `InvalidInsightSelectorsException of InvalidInsightSelectorsException.t
  12. | `InvalidKmsKeyIdException of InvalidKmsKeyIdException.t
  13. | `InvalidParameterException of InvalidParameterException.t
  14. | `KmsException of KmsException.t
  15. | `KmsKeyNotFoundException of KmsKeyNotFoundException.t
  16. | `NoManagementAccountSLRExistsException of NoManagementAccountSLRExistsException.t
  17. | `NotOrganizationMasterAccountException of NotOrganizationMasterAccountException.t
  18. | `OperationNotPermittedException of OperationNotPermittedException.t
  19. | `OrganizationNotInAllFeaturesModeException of OrganizationNotInAllFeaturesModeException.t
  20. | `OrganizationsNotInUseException of OrganizationsNotInUseException.t
  21. | `ThrottlingException of ThrottlingException.t
  22. | `UnsupportedOperationException of UnsupportedOperationException.t
  23. | `Unknown_operation_error of string * string option
]
Sourceval make : ?eventDataStoreArn:??? -> ?name:??? -> ?status:??? -> ?advancedEventSelectors:??? -> ?multiRegionEnabled:??? -> ?organizationEnabled:??? -> ?retentionPeriod:??? -> ?terminationProtectionEnabled:??? -> ?createdTimestamp:??? -> ?updatedTimestamp:??? -> ?kmsKeyId:??? -> ?billingMode:??? -> ?federationStatus:??? -> ?federationRoleArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CloudTrailAccessNotEnabledException of unit | `ConflictException of unit | `EventDataStoreARNInvalidException of unit | `EventDataStoreAlreadyExistsException of unit | `EventDataStoreHasOngoingImportException of unit | `EventDataStoreNotFoundException of unit | `InactiveEventDataStoreException of unit | `InsufficientDependencyServiceAccessPermissionException of unit | `InsufficientEncryptionPolicyException of unit | `InvalidEventSelectorsException of unit | `InvalidInsightSelectorsException of unit | `InvalidKmsKeyIdException of unit | `InvalidParameterException of unit | `KmsException of unit | `KmsKeyNotFoundException of unit | `NoManagementAccountSLRExistsException of unit | `NotOrganizationMasterAccountException of unit | `OperationNotPermittedException of unit | `OrganizationNotInAllFeaturesModeException of unit | `OrganizationsNotInUseException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CloudTrailAccessNotEnabledException of unit | `ConflictException of unit | `EventDataStoreARNInvalidException of unit | `EventDataStoreAlreadyExistsException of unit | `EventDataStoreHasOngoingImportException of unit | `EventDataStoreNotFoundException of unit | `InactiveEventDataStoreException of unit | `InsufficientDependencyServiceAccessPermissionException of unit | `InsufficientEncryptionPolicyException of unit | `InvalidEventSelectorsException of unit | `InvalidInsightSelectorsException of unit | `InvalidKmsKeyIdException of unit | `InvalidParameterException of unit | `KmsException of unit | `KmsKeyNotFoundException of unit | `NoManagementAccountSLRExistsException of unit | `NotOrganizationMasterAccountException of unit | `OperationNotPermittedException of unit | `OrganizationNotInAllFeaturesModeException of unit | `OrganizationsNotInUseException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of RetentionPeriod.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of OperatorValue.t ] list | `String of SelectorField.t ]) list ] list | `String of SelectorName.t ]) list ] list | `String of EventDataStoreArn.t | `Timestamp of Date.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t