Module Smaws_Client_CloudTrail.StartEventDataStoreIngestion

Starts the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To start ingestion, the event data store Status must be STOPPED_INGESTION and the eventCategory must be Management, Data, NetworkActivity, or ConfigurationItem.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `EventDataStoreARNInvalidException of Types.event_data_store_arn_invalid_exception | `EventDataStoreNotFoundException of Types.event_data_store_not_found_exception | `InsufficientDependencyServiceAccessPermissionException of Types.insufficient_dependency_service_access_permission_exception | `InvalidEventDataStoreCategoryException of Types.invalid_event_data_store_category_exception | `InvalidEventDataStoreStatusException of Types.invalid_event_data_store_status_exception | `InvalidParameterException of Types.invalid_parameter_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 | `UnsupportedOperationException of Types.unsupported_operation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.start_event_data_store_ingestion_request -> (Types.start_event_data_store_ingestion_response, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `EventDataStoreARNInvalidException of Types.event_data_store_arn_invalid_exception | `EventDataStoreNotFoundException of Types.event_data_store_not_found_exception | `InsufficientDependencyServiceAccessPermissionException of Types.insufficient_dependency_service_access_permission_exception | `InvalidEventDataStoreCategoryException of Types.invalid_event_data_store_category_exception | `InvalidEventDataStoreStatusException of Types.invalid_event_data_store_status_exception | `InvalidParameterException of Types.invalid_parameter_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 | `UnsupportedOperationException of Types.unsupported_operation_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.start_event_data_store_ingestion_request -> (Types.start_event_data_store_ingestion_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `EventDataStoreARNInvalidException of Types.event_data_store_arn_invalid_exception | `EventDataStoreNotFoundException of Types.event_data_store_not_found_exception | `InsufficientDependencyServiceAccessPermissionException of Types.insufficient_dependency_service_access_permission_exception | `InvalidEventDataStoreCategoryException of Types.invalid_event_data_store_category_exception | `InvalidEventDataStoreStatusException of Types.invalid_event_data_store_status_exception | `InvalidParameterException of Types.invalid_parameter_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 | `UnsupportedOperationException of Types.unsupported_operation_exception ] * Smaws_Lib.Response.metadata) Stdlib.result