cloneReceiptRuleSet
inline suspend fun SesClient.cloneReceiptRuleSet(crossinline block: CloneReceiptRuleSetRequest.Builder.() -> Unit): CloneReceiptRuleSetResponse
Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.
For information about setting up 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 creates a receipt rule set by cloning an existing one
sesClient.cloneReceiptRuleSet {
ruleSetName = "RuleSetToCreate"
originalRuleSetName = "RuleSetToClone"
}
//sampleEnd
}