Module Smaws_Client_CloudTrail.CreateChannel

Creates a channel for CloudTrail to ingest events from a partner or external source. After you create a channel, a CloudTrail Lake event data store can log events from the partner or source that you specify.

val request : Smaws_Lib.Context.t -> Types.create_channel_request -> (Types.create_channel_response, [> Smaws_Lib.Protocols.AwsJson.error | `ChannelAlreadyExistsException of Types.channel_already_exists_exception | `ChannelMaxLimitExceededException of Types.channel_max_limit_exceeded_exception | `EventDataStoreARNInvalidException of Types.event_data_store_arn_invalid_exception | `EventDataStoreNotFoundException of Types.event_data_store_not_found_exception | `InactiveEventDataStoreException of Types.inactive_event_data_store_exception | `InvalidEventDataStoreCategoryException of Types.invalid_event_data_store_category_exception | `InvalidParameterException of Types.invalid_parameter_exception | `InvalidSourceException of Types.invalid_source_exception | `InvalidTagParameterException of Types.invalid_tag_parameter_exception | `OperationNotPermittedException of Types.operation_not_permitted_exception | `TagsLimitExceededException of Types.tags_limit_exceeded_exception | `UnsupportedOperationException of Types.unsupported_operation_exception ]) Stdlib.result