delete_email_identity_policy

SESV2.Client.delete_email_identity_policy(**kwargs)

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

Note

This API is for the identity owner only. If you have not verified the identity, this API will return 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.

See also: AWS API Documentation

Request Syntax

response = client.delete_email_identity_policy(
    EmailIdentity='string',
    PolicyName='string'
)
Parameters
  • EmailIdentity (string) --

    [REQUIRED]

    The email identity.

  • PolicyName (string) --

    [REQUIRED]

    The name of the policy.

    The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

    An HTTP 200 response if the request succeeds, or an error message if the request fails.

Exceptions

  • SESV2.Client.exceptions.NotFoundException
  • SESV2.Client.exceptions.TooManyRequestsException
  • SESV2.Client.exceptions.BadRequestException