libZSservicesZSamazonka-sesZSamazonka-ses
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SES.ListIdentityPolicies

Description

Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This API returns only a list. If you want the actual policy content, you can use GetIdentityPolicies.

This API is for the identity owner only. If you have not verified the identity, this API will return an error.

Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Synopsis

Creating a Request

data ListIdentityPolicies Source #

Represents a request to return a list of sending authorization policies that are attached to 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.

See: newListIdentityPolicies smart constructor.

Constructors

ListIdentityPolicies' 

Fields

  • identity :: Text

    The identity that is associated with the policy for which the policies will be listed. 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.

Instances

Instances details
Eq ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

Read ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

Show ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

Generic ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

Associated Types

type Rep ListIdentityPolicies :: Type -> Type #

NFData ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

Methods

rnf :: ListIdentityPolicies -> () #

Hashable ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

AWSRequest ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

Associated Types

type AWSResponse ListIdentityPolicies #

ToHeaders ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

ToPath ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

ToQuery ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

type Rep ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

type Rep ListIdentityPolicies = D1 ('MetaData "ListIdentityPolicies" "Amazonka.SES.ListIdentityPolicies" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "ListIdentityPolicies'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListIdentityPolicies Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

newListIdentityPolicies Source #

Create a value of ListIdentityPolicies with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:identity:ListIdentityPolicies', listIdentityPolicies_identity - The identity that is associated with the policy for which the policies will be listed. 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.

Request Lenses

listIdentityPolicies_identity :: Lens' ListIdentityPolicies Text Source #

The identity that is associated with the policy for which the policies will be listed. 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.

Destructuring the Response

data ListIdentityPoliciesResponse Source #

A list of names of sending authorization policies that apply to an identity.

See: newListIdentityPoliciesResponse smart constructor.

Constructors

ListIdentityPoliciesResponse' 

Fields

Instances

Instances details
Eq ListIdentityPoliciesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

Read ListIdentityPoliciesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

Show ListIdentityPoliciesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

Generic ListIdentityPoliciesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

Associated Types

type Rep ListIdentityPoliciesResponse :: Type -> Type #

NFData ListIdentityPoliciesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

type Rep ListIdentityPoliciesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentityPolicies

type Rep ListIdentityPoliciesResponse = D1 ('MetaData "ListIdentityPoliciesResponse" "Amazonka.SES.ListIdentityPolicies" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "ListIdentityPoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "policyNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newListIdentityPoliciesResponse Source #

Create a value of ListIdentityPoliciesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:ListIdentityPoliciesResponse', listIdentityPoliciesResponse_httpStatus - The response's http status code.

$sel:policyNames:ListIdentityPoliciesResponse', listIdentityPoliciesResponse_policyNames - A list of names of policies that apply to the specified identity.

Response Lenses

listIdentityPoliciesResponse_policyNames :: Lens' ListIdentityPoliciesResponse [Text] Source #

A list of names of policies that apply to the specified identity.