Class: Aws::SES::Types::PutIdentityPolicyRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ses/types.rb

Overview

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/dg/sending-authorization.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#identityString

The identity to which that the policy applies. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: ‘[email protected]`, `example.com`, `arn:aws:ses:us-east-1:123456789012:identity/example.com`.

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

Returns:

  • (String)


3025
3026
3027
3028
3029
3030
3031
# File 'lib/aws-sdk-ses/types.rb', line 3025

class PutIdentityPolicyRequest < Struct.new(
  :identity,
  :policy_name,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#policyString

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]: docs.aws.amazon.com/ses/latest/dg/sending-authorization-policies.html

Returns:

  • (String)


3025
3026
3027
3028
3029
3030
3031
# File 'lib/aws-sdk-ses/types.rb', line 3025

class PutIdentityPolicyRequest < Struct.new(
  :identity,
  :policy_name,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of the policy.

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

Returns:

  • (String)


3025
3026
3027
3028
3029
3030
3031
# File 'lib/aws-sdk-ses/types.rb', line 3025

class PutIdentityPolicyRequest < Struct.new(
  :identity,
  :policy_name,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end