verifyDomainIdentity
inline suspend fun SesClient.verifyDomainIdentity(crossinline block: VerifyDomainIdentityRequest.Builder.() -> Unit): VerifyDomainIdentityResponse
Adds a domain to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it. For more information about verifying domains, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Samples
fun main() {
//sampleStart
// The following example starts the domain verification process with Amazon SES
val resp = sesClient.verifyDomainIdentity {
domain = "example.com"
}
//sampleEnd
}