Class: Aws::SES::Types::GetIdentityPoliciesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SES::Types::GetIdentityPoliciesRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ses/types.rb
Overview
When making an API call, you may pass GetIdentityPoliciesRequest data as a hash:
{
identity: "Identity", # required
policy_names: ["PolicyName"], # required
}
Represents a request to return the requested sending authorization policies 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
-
#identity ⇒ String
The identity for which the policies will be retrieved.
-
#policy_names ⇒ Array<String>
A list of the names of policies to be retrieved.
Instance Attribute Details
#identity ⇒ String
The identity for which the policies will be retrieved. 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 API, you must own the identity.
1982 1983 1984 1985 1986 |
# File 'lib/aws-sdk-ses/types.rb', line 1982 class GetIdentityPoliciesRequest < Struct.new( :identity, :policy_names) include Aws::Structure end |
#policy_names ⇒ Array<String>
A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do not know the names of the policies that are attached to the identity, you can use ‘ListIdentityPolicies`.
1982 1983 1984 1985 1986 |
# File 'lib/aws-sdk-ses/types.rb', line 1982 class GetIdentityPoliciesRequest < Struct.new( :identity, :policy_names) include Aws::Structure end |