Skip to content

Create Email Identity Policy

sesv2_create_email_identity_policy R Documentation

Creates the specified sending authorization policy for the given identity (an email address or a domain)

Description

Creates the specified sending authorization policy for the given identity (an email address or a domain).

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.

Usage

sesv2_create_email_identity_policy(EmailIdentity, PolicyName, Policy)

Arguments

EmailIdentity

[required] The email identity.

PolicyName

[required] The name of the policy.

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

Policy

[required] The text of the policy in JSON format. The policy cannot exceed 4 KB.

For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.

Value

An empty list.

Request syntax

svc$create_email_identity_policy(
  EmailIdentity = "string",
  PolicyName = "string",
  Policy = "string"
)