Values.CreateEventDataStoreResponseSourceCreates a new event data store.
type nonrec t = {eventDataStoreArn : EventDataStoreArn.t option;The ARN of the event data store.
*)name : EventDataStoreName.t option;The name of the event data store.
*)status : EventDataStoreStatus.t option;The status of event data store creation.
*)advancedEventSelectors : AdvancedEventSelectors.t option;The advanced event selectors that were used to select the events for the data store.
*)multiRegionEnabled : Boolean.t option;Indicates whether the event data store collects events from all Regions, or only from the Region in which it was created.
*)organizationEnabled : Boolean.t option;Indicates whether an event data store is collecting logged events for an organization in Organizations.
*)retentionPeriod : RetentionPeriod.t option;The retention period of an event data store, in days.
*)terminationProtectionEnabled : TerminationProtectionEnabled.t option;Indicates whether termination protection is enabled for the event data store.
*)createdTimestamp : Date.t option;The timestamp that shows when the event data store was created.
*)updatedTimestamp : Date.t option;The timestamp that shows when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
*)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
*)billingMode : BillingMode.t option;The billing mode for the event data store.
*)}type nonrec error = [ | `CloudTrailAccessNotEnabledException of CloudTrailAccessNotEnabledException.t| `ConflictException of ConflictException.t| `EventDataStoreAlreadyExistsException of EventDataStoreAlreadyExistsException.t| `EventDataStoreMaxLimitExceededException of
EventDataStoreMaxLimitExceededException.t| `InsufficientDependencyServiceAccessPermissionException of
InsufficientDependencyServiceAccessPermissionException.t| `InsufficientEncryptionPolicyException of
InsufficientEncryptionPolicyException.t| `InvalidEventSelectorsException of InvalidEventSelectorsException.t| `InvalidKmsKeyIdException of InvalidKmsKeyIdException.t| `InvalidParameterException of InvalidParameterException.t| `InvalidTagParameterException of InvalidTagParameterException.t| `KmsException of KmsException.t| `KmsKeyNotFoundException of KmsKeyNotFoundException.t| `NoManagementAccountSLRExistsException of
NoManagementAccountSLRExistsException.t| `NotOrganizationMasterAccountException of
NotOrganizationMasterAccountException.t| `OperationNotPermittedException of OperationNotPermittedException.t| `OrganizationNotInAllFeaturesModeException of
OrganizationNotInAllFeaturesModeException.t| `OrganizationsNotInUseException of OrganizationsNotInUseException.t| `ThrottlingException of ThrottlingException.t| `UnsupportedOperationException of UnsupportedOperationException.t| `Unknown_operation_error of string * string option ]val make :
?eventDataStoreArn:??? ->
?name:??? ->
?status:??? ->
?advancedEventSelectors:??? ->
?multiRegionEnabled:??? ->
?organizationEnabled:??? ->
?retentionPeriod:??? ->
?terminationProtectionEnabled:??? ->
?tagsList:??? ->
?createdTimestamp:??? ->
?updatedTimestamp:??? ->
?kmsKeyId:??? ->
?billingMode:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `CloudTrailAccessNotEnabledException of unit
| `ConflictException of unit
| `EventDataStoreAlreadyExistsException of unit
| `EventDataStoreMaxLimitExceededException of unit
| `InsufficientDependencyServiceAccessPermissionException of unit
| `InsufficientEncryptionPolicyException of unit
| `InvalidEventSelectorsException of unit
| `InvalidKmsKeyIdException of unit
| `InvalidParameterException of unit
| `InvalidTagParameterException 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 ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `CloudTrailAccessNotEnabledException of unit
| `ConflictException of unit
| `EventDataStoreAlreadyExistsException of unit
| `EventDataStoreMaxLimitExceededException of unit
| `InsufficientDependencyServiceAccessPermissionException of unit
| `InsufficientEncryptionPolicyException of unit
| `InvalidEventSelectorsException of unit
| `InvalidKmsKeyIdException of unit
| `InvalidParameterException of unit
| `InvalidTagParameterException 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 ]val 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 ]