updateConfigurationSetSendingEnabled
inline suspend fun SesClient.updateConfigurationSetSendingEnabled(crossinline block: UpdateConfigurationSetSendingEnabledRequest.Builder.() -> Unit): UpdateConfigurationSetSendingEnabledResponse
Enables 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.
Samples
fun main() {
//sampleStart
// Set the sending enabled flag for a specific configuration set.
sesClient.updateConfigurationSetSendingEnabled {
configurationSetName = "foo"
enabled = true
}
//sampleEnd
}