NAME

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

DESCRIPTION

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.

SYNOPSIS

    my $email = Paws->service('SES');
    # PutIdentityPolicy
    # The following example adds a sending authorization policy to an identity:
    my $PutIdentityPolicyResponse = $email->PutIdentityPolicy(
      'Identity' => 'example.com',
      'Policy' =>
'{"Version":"2008-10-17","Statement":[{"Sid":"stmt1469123904194","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789012:root"},"Action":["ses:SendEmail","ses:SendRawEmail"],"Resource":"arn:aws:ses:us-east-1:EXAMPLE65304:identity/example.com"}]}',
      '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 https://docs.aws.amazon.com/goto/WebAPI/email/PutIdentityPolicy

ATTRIBUTES

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: 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.

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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-policies.html).

REQUIRED PolicyName => Str

The name of the policy.

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

SEE ALSO

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

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues