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.

DeleteIdentityPolicyInput

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

type DeleteIdentityPolicyInput struct { Identity *string `type:"string" required:"true"` PolicyName *string `min:"1" type:"string" required:"true"` }

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

Identity

Type: *string

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: 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

PolicyName

Type: *string

The name of the policy to be deleted.

PolicyName is a required field

Method

GoString

func (s DeleteIdentityPolicyInput) GoString() string

GoString returns the string representation

SetIdentity

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

SetIdentity sets the Identity field's value.

SetPolicyName

func (s *DeleteIdentityPolicyInput) SetPolicyName(v string) *DeleteIdentityPolicyInput

SetPolicyName sets the PolicyName field's value.

String

func (s DeleteIdentityPolicyInput) String() string

String returns the string representation

Validate

func (s *DeleteIdentityPolicyInput) Validate() error

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

On this page: