updateAccountSendingEnabled
inline suspend fun SesClient.updateAccountSendingEnabled(crossinline block: UpdateAccountSendingEnabledRequest.Builder.() -> Unit): UpdateAccountSendingEnabledResponse
Enables or disables email sending across your entire Amazon SES account in the current Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending across your Amazon SES account in a given Amazon Web Services Region when reputation metrics (such as your bounce or complaint rates) reach certain thresholds.
You can execute this operation no more than once per second.
Samples
fun main() {
//sampleStart
// The following example updated the sending status for this account.
sesClient.updateAccountSendingEnabled {
enabled = true
}
//sampleEnd
}