deleteIdentityPolicy

Deletes the specified sending authorization policy for the given identity (an email address or a domain). This operation returns successfully even if a policy with the specified name does not exist.

This operation is for the identity owner only. If you have not verified the identity, it returns an error.

Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Samples


fun main() { 
   //sampleStart 
   // The following example deletes a sending authorization policy for an identity
sesClient.deleteIdentityPolicy {
    identity = "user@example.com"
    policyName = "MyPolicy"
} 
   //sampleEnd
}