Smaws_Client_SES.CreateConfigurationSetEventDestinationCreates a configuration set event destination.
When you create or update an event destination, you must provide one, and only one, destination. The destination can be CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).
An event destination is the Amazon Web Services service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ConfigurationSetDoesNotExistException of
Types.configuration_set_does_not_exist_exception
| `EventDestinationAlreadyExistsException of
Types.event_destination_already_exists_exception
| `InvalidCloudWatchDestinationException of
Types.invalid_cloud_watch_destination_exception
| `InvalidFirehoseDestinationException of
Types.invalid_firehose_destination_exception
| `InvalidSNSDestinationException of Types.invalid_sns_destination_exception
| `LimitExceededException of Types.limit_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_configuration_set_event_destination_request ->
(Types.create_configuration_set_event_destination_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ConfigurationSetDoesNotExistException of
Types.configuration_set_does_not_exist_exception
| `EventDestinationAlreadyExistsException of
Types.event_destination_already_exists_exception
| `InvalidCloudWatchDestinationException of
Types.invalid_cloud_watch_destination_exception
| `InvalidFirehoseDestinationException of
Types.invalid_firehose_destination_exception
| `InvalidSNSDestinationException of
Types.invalid_sns_destination_exception
| `LimitExceededException of Types.limit_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_configuration_set_event_destination_request ->
(Types.create_configuration_set_event_destination_response
Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ConfigurationSetDoesNotExistException of
Types.configuration_set_does_not_exist_exception
| `EventDestinationAlreadyExistsException of
Types.event_destination_already_exists_exception
| `InvalidCloudWatchDestinationException of
Types.invalid_cloud_watch_destination_exception
| `InvalidFirehoseDestinationException of
Types.invalid_firehose_destination_exception
| `InvalidSNSDestinationException of
Types.invalid_sns_destination_exception
| `LimitExceededException of Types.limit_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result