Paws::SES::PutIdentityPolicy - Arguments for method PutIdentityPolicy on Paws::SES


This class represents the parameters used for calling the method PutIdentityPolicy on the Amazon Simple Email Service service. Use the attributes of this class as arguments to method PutIdentityPolicy.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutIdentityPolicy.


    my $email = Paws->service('SES');
    # PutIdentityPolicy
    # The following example adds a sending authorization policy to an identity:
    my $PutIdentityPolicyResponse = $email->PutIdentityPolicy(
      'Identity' => '',
      'Policy' =>
      'PolicyName' => 'MyPolicy'

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED Identity => Str

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:,, arn:aws:ses:us-east-1:123456789012:identity/

To successfully call this API, you must own the identity.

REQUIRED Policy => Str

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 (

REQUIRED PolicyName => Str

The name of the policy.

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


This class forms part of Paws, documenting arguments for method PutIdentityPolicy in Paws::SES


The source code is located here:

Please report bugs to: