putConfigurationSetArchivingOptions
inline suspend fun SesV2Client.putConfigurationSetArchivingOptions(crossinline block: PutConfigurationSetArchivingOptionsRequest.Builder.() -> Unit): PutConfigurationSetArchivingOptionsResponse
Associate the configuration set with a MailManager archive. When you send email using the SendEmail
or SendBulkEmail
operations the message as it will be given to the receiving SMTP server will be archived, along with the recipient information.
Samples
fun main() {
//sampleStart
// This example associates an archive arn with a configuration set.
val resp = sesV2Client.putConfigurationSetArchivingOptions {
configurationSetName = "sample-configuration-name"
archiveArn = "arn:aws:ses:us-west-2:123456789012:mailmanager-archive/a-abcdefghijklmnopqrstuvwxyz"
}
//sampleEnd
}