libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
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.SESV2.ListContactLists

Description

Lists all of the contact lists available.

Synopsis

Creating a Request

data ListContactLists Source #

See: newListContactLists smart constructor.

Constructors

ListContactLists' 

Fields

  • nextToken :: Maybe Text

    A string token indicating that there might be additional contact lists available to be listed. Use the token provided in the Response to use in the subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.

  • pageSize :: Maybe Int

    Maximum number of contact lists to return at once. Use this parameter to paginate results. If additional contact lists exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional lists.

Instances

Instances details
Eq ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

Read ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

Show ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

Generic ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

Associated Types

type Rep ListContactLists :: Type -> Type #

NFData ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

Methods

rnf :: ListContactLists -> () #

Hashable ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

AWSRequest ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

Associated Types

type AWSResponse ListContactLists #

ToHeaders ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

ToPath ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

ToQuery ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

type Rep ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

type Rep ListContactLists = D1 ('MetaData "ListContactLists" "Amazonka.SESV2.ListContactLists" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "ListContactLists'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))
type AWSResponse ListContactLists Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

newListContactLists :: ListContactLists Source #

Create a value of ListContactLists 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:nextToken:ListContactLists', listContactLists_nextToken - A string token indicating that there might be additional contact lists available to be listed. Use the token provided in the Response to use in the subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.

$sel:pageSize:ListContactLists', listContactLists_pageSize - Maximum number of contact lists to return at once. Use this parameter to paginate results. If additional contact lists exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional lists.

Request Lenses

listContactLists_nextToken :: Lens' ListContactLists (Maybe Text) Source #

A string token indicating that there might be additional contact lists available to be listed. Use the token provided in the Response to use in the subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.

listContactLists_pageSize :: Lens' ListContactLists (Maybe Int) Source #

Maximum number of contact lists to return at once. Use this parameter to paginate results. If additional contact lists exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional lists.

Destructuring the Response

data ListContactListsResponse Source #

See: newListContactListsResponse smart constructor.

Constructors

ListContactListsResponse' 

Fields

  • nextToken :: Maybe Text

    A string token indicating that there might be additional contact lists available to be listed. Copy this token to a subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.

  • contactLists :: Maybe [ContactList]

    The available contact lists.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListContactListsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

Read ListContactListsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

Show ListContactListsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

Generic ListContactListsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

Associated Types

type Rep ListContactListsResponse :: Type -> Type #

NFData ListContactListsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

type Rep ListContactListsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListContactLists

type Rep ListContactListsResponse = D1 ('MetaData "ListContactListsResponse" "Amazonka.SESV2.ListContactLists" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "ListContactListsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contactLists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ContactList])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListContactListsResponse Source #

Create a value of ListContactListsResponse 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:nextToken:ListContactLists', listContactListsResponse_nextToken - A string token indicating that there might be additional contact lists available to be listed. Copy this token to a subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.

$sel:contactLists:ListContactListsResponse', listContactListsResponse_contactLists - The available contact lists.

$sel:httpStatus:ListContactListsResponse', listContactListsResponse_httpStatus - The response's http status code.

Response Lenses

listContactListsResponse_nextToken :: Lens' ListContactListsResponse (Maybe Text) Source #

A string token indicating that there might be additional contact lists available to be listed. Copy this token to a subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.