Struct rusoto_ses::PutIdentityPolicyRequest [] [src]

pub struct PutIdentityPolicyRequest {
    pub identity: Identity,
    pub policy: Policy,
    pub policy_name: PolicyName,
}

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.

Fields

The identity to which the policy will apply. 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.

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.

The name of the policy.

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

Trait Implementations

impl Default for PutIdentityPolicyRequest
[src]

Returns the "default value" for a type. Read more

impl Debug for PutIdentityPolicyRequest
[src]

Formats the value using the given formatter.

impl Clone for PutIdentityPolicyRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more