Class: Aws::SES::Types::DeleteIdentityPolicyRequest

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

Overview

Note:

When making an API call, you may pass DeleteIdentityPolicyRequest data as a hash:

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

Represents a request to delete 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

Instance Attribute Summary collapse

Instance Attribute Details

#identityString

The identity that is associated with the policy that you want to delete. You can specify the 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 API, you must own the identity.

Returns:

  • (String)


1170
1171
1172
1173
1174
# File 'lib/aws-sdk-ses/types.rb', line 1170

class DeleteIdentityPolicyRequest < Struct.new(
  :identity,
  :policy_name)
  include Aws::Structure
end

#policy_nameString

The name of the policy to be deleted.

Returns:

  • (String)


1170
1171
1172
1173
1174
# File 'lib/aws-sdk-ses/types.rb', line 1170

class DeleteIdentityPolicyRequest < Struct.new(
  :identity,
  :policy_name)
  include Aws::Structure
end