AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetIdentityPoliciesInput

import "github.com/aws/aws-sdk-go/service/ses"

type GetIdentityPoliciesInput struct { Identity *string `type:"string" required:"true"` PolicyNames []*string `type:"list" required:"true"` }

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

Identity

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

Identity is a required field

PolicyNames

Type: []*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.

PolicyNames is a required field

Method

GoString

func (s GetIdentityPoliciesInput) GoString() string

GoString returns the string representation

SetIdentity

func (s *GetIdentityPoliciesInput) SetIdentity(v string) *GetIdentityPoliciesInput

SetIdentity sets the Identity field's value.

SetPolicyNames

func (s *GetIdentityPoliciesInput) SetPolicyNames(v []*string) *GetIdentityPoliciesInput

SetPolicyNames sets the PolicyNames field's value.

String

func (s GetIdentityPoliciesInput) String() string

String returns the string representation

Validate

func (s *GetIdentityPoliciesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: