class Aws::SES::Types::PutIdentityPolicyRequest

Represents a request to add or update a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the [Amazon SES Developer Guide].

[1]: docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html

@note When making an API call, you may pass PutIdentityPolicyRequest

data as a hash:

    {
      identity: "Identity", # required
      policy_name: "PolicyName", # required
      policy: "Policy", # required
    }

@!attribute [rw] identity

The identity that the policy will apply to. You can specify an
identity by using its name or by using its Amazon Resource Name
(ARN). Examples: `user@example.com`, `example.com`,
`arn:aws:ses:us-east-1:123456789012:identity/example.com`.

To successfully call this API, you must own the identity.
@return [String]

@!attribute [rw] policy_name

The name of the policy.

The policy name cannot exceed 64 characters and can only include
alphanumeric characters, dashes, and underscores.
@return [String]

@!attribute [rw] policy

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][1].

[1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-policies.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicyRequest AWS API Documentation

Constants

SENSITIVE