setActiveReceiptRuleSet
inline suspend fun SesClient.setActiveReceiptRuleSet(crossinline block: SetActiveReceiptRuleSetRequest.Builder.() -> Unit): SetActiveReceiptRuleSetResponse
Sets the specified receipt rule set as the active receipt rule set.
To disable your email-receiving through Amazon SES completely, you can call this operation with RuleSetName
set to null.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Samples
fun main() {
//sampleStart
// The following example sets the active receipt rule set
sesClient.setActiveReceiptRuleSet {
ruleSetName = "RuleSetToActivate"
}
//sampleEnd
}