Module Values.CreateEventDataStoreResponseSource

Creates a new 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 event data store creation.

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

    The advanced event selectors that were used to select the events for the data store.

    *)
  5. 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.

    *)
  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 of an event data store, in days.

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

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

    *)
  9. tagsList : TagsList.t option;
  10. createdTimestamp : Date.t option;
    (*

    The timestamp that shows when the event data store was created.

    *)
  11. 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.

    *)
  12. 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

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

    The billing mode for the event data store.

    *)
}
Sourcetype nonrec error = [
  1. | `CloudTrailAccessNotEnabledException of CloudTrailAccessNotEnabledException.t
  2. | `ConflictException of ConflictException.t
  3. | `EventDataStoreAlreadyExistsException of EventDataStoreAlreadyExistsException.t
  4. | `EventDataStoreMaxLimitExceededException of EventDataStoreMaxLimitExceededException.t
  5. | `InsufficientDependencyServiceAccessPermissionException of InsufficientDependencyServiceAccessPermissionException.t
  6. | `InsufficientEncryptionPolicyException of InsufficientEncryptionPolicyException.t
  7. | `InvalidEventSelectorsException of InvalidEventSelectorsException.t
  8. | `InvalidKmsKeyIdException of InvalidKmsKeyIdException.t
  9. | `InvalidParameterException of InvalidParameterException.t
  10. | `InvalidTagParameterException of InvalidTagParameterException.t
  11. | `KmsException of KmsException.t
  12. | `KmsKeyNotFoundException of KmsKeyNotFoundException.t
  13. | `NoManagementAccountSLRExistsException of NoManagementAccountSLRExistsException.t
  14. | `NotOrganizationMasterAccountException of NotOrganizationMasterAccountException.t
  15. | `OperationNotPermittedException of OperationNotPermittedException.t
  16. | `OrganizationNotInAllFeaturesModeException of OrganizationNotInAllFeaturesModeException.t
  17. | `OrganizationsNotInUseException of OrganizationsNotInUseException.t
  18. | `ThrottlingException of ThrottlingException.t
  19. | `UnsupportedOperationException of UnsupportedOperationException.t
  20. | `Unknown_operation_error of string * string option
]
Sourceval make : ?eventDataStoreArn:??? -> ?name:??? -> ?status:??? -> ?advancedEventSelectors:??? -> ?multiRegionEnabled:??? -> ?organizationEnabled:??? -> ?retentionPeriod:??? -> ?terminationProtectionEnabled:??? -> ?tagsList:??? -> ?createdTimestamp:??? -> ?updatedTimestamp:??? -> ?kmsKeyId:??? -> ?billingMode:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
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