libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.ListPhoneNumbers

Description

Lists the phone numbers for the specified Amazon Chime account, Amazon Chime user, Amazon Chime Voice Connector, or Amazon Chime Voice Connector group.

Synopsis

Creating a Request

data ListPhoneNumbers Source #

See: newListPhoneNumbers smart constructor.

Constructors

ListPhoneNumbers' 

Fields

Instances

Instances details
Eq ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

Read ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

Show ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

Generic ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

Associated Types

type Rep ListPhoneNumbers :: Type -> Type #

NFData ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

Methods

rnf :: ListPhoneNumbers -> () #

Hashable ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

AWSRequest ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

Associated Types

type AWSResponse ListPhoneNumbers #

ToHeaders ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

ToPath ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

ToQuery ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

type Rep ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

type AWSResponse ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

newListPhoneNumbers :: ListPhoneNumbers Source #

Create a value of ListPhoneNumbers 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:status:ListPhoneNumbers', listPhoneNumbers_status - The phone number status.

$sel:filterName:ListPhoneNumbers', listPhoneNumbers_filterName - The filter to use to limit the number of results.

$sel:productType:ListPhoneNumbers', listPhoneNumbers_productType - The phone number product type.

$sel:nextToken:ListPhoneNumbers', listPhoneNumbers_nextToken - The token to use to retrieve the next page of results.

$sel:filterValue:ListPhoneNumbers', listPhoneNumbers_filterValue - The value to use for the filter.

$sel:maxResults:ListPhoneNumbers', listPhoneNumbers_maxResults - The maximum number of results to return in a single call.

Request Lenses

listPhoneNumbers_filterName :: Lens' ListPhoneNumbers (Maybe PhoneNumberAssociationName) Source #

The filter to use to limit the number of results.

listPhoneNumbers_nextToken :: Lens' ListPhoneNumbers (Maybe Text) Source #

The token to use to retrieve the next page of results.

listPhoneNumbers_maxResults :: Lens' ListPhoneNumbers (Maybe Natural) Source #

The maximum number of results to return in a single call.

Destructuring the Response

data ListPhoneNumbersResponse Source #

See: newListPhoneNumbersResponse smart constructor.

Constructors

ListPhoneNumbersResponse' 

Fields

Instances

Instances details
Eq ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

Show ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

Generic ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

Associated Types

type Rep ListPhoneNumbersResponse :: Type -> Type #

NFData ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

type Rep ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Chime.ListPhoneNumbers

type Rep ListPhoneNumbersResponse = D1 ('MetaData "ListPhoneNumbersResponse" "Amazonka.Chime.ListPhoneNumbers" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "ListPhoneNumbersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumber])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPhoneNumbersResponse Source #

Create a value of ListPhoneNumbersResponse 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:ListPhoneNumbers', listPhoneNumbersResponse_nextToken - The token to use to retrieve the next page of results.

$sel:phoneNumbers:ListPhoneNumbersResponse', listPhoneNumbersResponse_phoneNumbers - The phone number details.

$sel:httpStatus:ListPhoneNumbersResponse', listPhoneNumbersResponse_httpStatus - The response's http status code.

Response Lenses

listPhoneNumbersResponse_nextToken :: Lens' ListPhoneNumbersResponse (Maybe Text) Source #

The token to use to retrieve the next page of results.