amazonka-ses-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SES.ListIdentities

Description

Returns a list containing all of the identities (email addresses and domains) for your AWS account in the current AWS Region, regardless of verification status.

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

This operation returns paginated results.

Synopsis

Creating a Request

data ListIdentities Source #

Represents a request to return a list of all identities (email addresses and domains) that you have attempted to verify under your AWS account, regardless of verification status.

See: newListIdentities smart constructor.

Constructors

ListIdentities' 

Fields

  • identityType :: Maybe IdentityType

    The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.

  • maxItems :: Maybe Int

    The maximum number of identities per page. Possible values are 1-1000 inclusive.

  • nextToken :: Maybe Text

    The token to use for pagination.

Instances

Instances details
ToHeaders ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

ToPath ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

ToQuery ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

AWSPager ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

AWSRequest ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

Associated Types

type AWSResponse ListIdentities #

Generic ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

Associated Types

type Rep ListIdentities :: Type -> Type #

Read ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

Show ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

NFData ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

Methods

rnf :: ListIdentities -> () #

Eq ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

Hashable ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

type AWSResponse ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

type Rep ListIdentities Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

type Rep ListIdentities = D1 ('MetaData "ListIdentities" "Amazonka.SES.ListIdentities" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "ListIdentities'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IdentityType)) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListIdentities :: ListIdentities Source #

Create a value of ListIdentities 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:identityType:ListIdentities', listIdentities_identityType - The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.

$sel:maxItems:ListIdentities', listIdentities_maxItems - The maximum number of identities per page. Possible values are 1-1000 inclusive.

ListIdentities, listIdentities_nextToken - The token to use for pagination.

Request Lenses

listIdentities_identityType :: Lens' ListIdentities (Maybe IdentityType) Source #

The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.

listIdentities_maxItems :: Lens' ListIdentities (Maybe Int) Source #

The maximum number of identities per page. Possible values are 1-1000 inclusive.

listIdentities_nextToken :: Lens' ListIdentities (Maybe Text) Source #

The token to use for pagination.

Destructuring the Response

data ListIdentitiesResponse Source #

A list of all identities that you have attempted to verify under your AWS account, regardless of verification status.

See: newListIdentitiesResponse smart constructor.

Constructors

ListIdentitiesResponse' 

Fields

Instances

Instances details
Generic ListIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

Associated Types

type Rep ListIdentitiesResponse :: Type -> Type #

Read ListIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

Show ListIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

NFData ListIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

Methods

rnf :: ListIdentitiesResponse -> () #

Eq ListIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

type Rep ListIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SES.ListIdentities

type Rep ListIdentitiesResponse = D1 ('MetaData "ListIdentitiesResponse" "Amazonka.SES.ListIdentities" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "ListIdentitiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "identities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newListIdentitiesResponse Source #

Create a value of ListIdentitiesResponse 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:

ListIdentities, listIdentitiesResponse_nextToken - The token used for pagination.

$sel:httpStatus:ListIdentitiesResponse', listIdentitiesResponse_httpStatus - The response's http status code.

$sel:identities:ListIdentitiesResponse', listIdentitiesResponse_identities - A list of identities.

Response Lenses