amazonka-sesv2-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.SESV2.ListEmailIdentities

Description

Returns a list of all of the email identities that are associated with your Amazon Web Services account. An identity can be either an email address or a domain. This operation returns identities that are verified as well as those that aren't. This operation returns identities that are associated with Amazon SES and Amazon Pinpoint.

Synopsis

Creating a Request

data ListEmailIdentities Source #

A request to list all of the email identities associated with your Amazon Web Services account. This list includes identities that you've already verified, identities that are unverified, and identities that were verified in the past, but are no longer verified.

See: newListEmailIdentities smart constructor.

Constructors

ListEmailIdentities' 

Fields

  • nextToken :: Maybe Text

    A token returned from a previous call to ListEmailIdentities to indicate the position in the list of identities.

  • pageSize :: Maybe Int

    The number of results to show in a single call to ListEmailIdentities. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.

    The value you specify has to be at least 0, and can be no more than 1000.

Instances

Instances details
ToHeaders ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

ToPath ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

ToQuery ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

AWSRequest ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

Associated Types

type AWSResponse ListEmailIdentities #

Generic ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

Associated Types

type Rep ListEmailIdentities :: Type -> Type #

Read ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

Show ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

NFData ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

Methods

rnf :: ListEmailIdentities -> () #

Eq ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

Hashable ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

type AWSResponse ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

type Rep ListEmailIdentities Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

type Rep ListEmailIdentities = D1 ('MetaData "ListEmailIdentities" "Amazonka.SESV2.ListEmailIdentities" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "ListEmailIdentities'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newListEmailIdentities :: ListEmailIdentities Source #

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

ListEmailIdentities, listEmailIdentities_nextToken - A token returned from a previous call to ListEmailIdentities to indicate the position in the list of identities.

$sel:pageSize:ListEmailIdentities', listEmailIdentities_pageSize - The number of results to show in a single call to ListEmailIdentities. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.

The value you specify has to be at least 0, and can be no more than 1000.

Request Lenses

listEmailIdentities_nextToken :: Lens' ListEmailIdentities (Maybe Text) Source #

A token returned from a previous call to ListEmailIdentities to indicate the position in the list of identities.

listEmailIdentities_pageSize :: Lens' ListEmailIdentities (Maybe Int) Source #

The number of results to show in a single call to ListEmailIdentities. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.

The value you specify has to be at least 0, and can be no more than 1000.

Destructuring the Response

data ListEmailIdentitiesResponse Source #

A list of all of the identities that you've attempted to verify, regardless of whether or not those identities were successfully verified.

See: newListEmailIdentitiesResponse smart constructor.

Constructors

ListEmailIdentitiesResponse' 

Fields

  • emailIdentities :: Maybe [IdentityInfo]

    An array that includes all of the email identities associated with your Amazon Web Services account.

  • nextToken :: Maybe Text

    A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to ListEmailIdentities, and pass this token in the NextToken parameter.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListEmailIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

Associated Types

type Rep ListEmailIdentitiesResponse :: Type -> Type #

Read ListEmailIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

Show ListEmailIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

NFData ListEmailIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

Eq ListEmailIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

type Rep ListEmailIdentitiesResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListEmailIdentities

type Rep ListEmailIdentitiesResponse = D1 ('MetaData "ListEmailIdentitiesResponse" "Amazonka.SESV2.ListEmailIdentities" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "ListEmailIdentitiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "emailIdentities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IdentityInfo])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEmailIdentitiesResponse Source #

Create a value of ListEmailIdentitiesResponse 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:emailIdentities:ListEmailIdentitiesResponse', listEmailIdentitiesResponse_emailIdentities - An array that includes all of the email identities associated with your Amazon Web Services account.

ListEmailIdentities, listEmailIdentitiesResponse_nextToken - A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to ListEmailIdentities, and pass this token in the NextToken parameter.

$sel:httpStatus:ListEmailIdentitiesResponse', listEmailIdentitiesResponse_httpStatus - The response's http status code.

Response Lenses

listEmailIdentitiesResponse_emailIdentities :: Lens' ListEmailIdentitiesResponse (Maybe [IdentityInfo]) Source #

An array that includes all of the email identities associated with your Amazon Web Services account.

listEmailIdentitiesResponse_nextToken :: Lens' ListEmailIdentitiesResponse (Maybe Text) Source #

A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to ListEmailIdentities, and pass this token in the NextToken parameter.