Smaws_Client_SES.UpdateConfigurationSetSendingEnabledEnables or disables email sending for messages sent using a specific configuration set in a given Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce on complaint rate) exceed certain thresholds.
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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_configuration_set_sending_enabled_request ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ConfigurationSetDoesNotExistException of
Types.configuration_set_does_not_exist_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_configuration_set_sending_enabled_request ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ConfigurationSetDoesNotExistException of
Types.configuration_set_does_not_exist_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result