libZSservicesZSamazonka-connectZSamazonka-connect
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.Connect.ListPhoneNumbers

Description

Provides information about the phone numbers for the specified Amazon Connect instance.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

This operation returns paginated results.

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.Connect.ListPhoneNumbers

Read ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

Show ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

Generic ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

Associated Types

type Rep ListPhoneNumbers :: Type -> Type #

NFData ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

Methods

rnf :: ListPhoneNumbers -> () #

Hashable ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

AWSPager ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

AWSRequest ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

Associated Types

type AWSResponse ListPhoneNumbers #

ToHeaders ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

ToPath ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

ToQuery ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

type Rep ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

type Rep ListPhoneNumbers = D1 ('MetaData "ListPhoneNumbers" "Amazonka.Connect.ListPhoneNumbers" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListPhoneNumbers'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "phoneNumberTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumberType])) :*: S1 ('MetaSel ('Just "phoneNumberCountryCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumberCountryCode]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListPhoneNumbers Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

newListPhoneNumbers 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:phoneNumberTypes:ListPhoneNumbers', listPhoneNumbers_phoneNumberTypes - The type of phone number.

$sel:phoneNumberCountryCodes:ListPhoneNumbers', listPhoneNumbers_phoneNumberCountryCodes - The ISO country code.

$sel:nextToken:ListPhoneNumbers', listPhoneNumbers_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

$sel:maxResults:ListPhoneNumbers', listPhoneNumbers_maxResults - The maximum number of results to return per page.

$sel:instanceId:ListPhoneNumbers', listPhoneNumbers_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

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

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

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

The maximum number of results to return per page.

listPhoneNumbers_instanceId :: Lens' ListPhoneNumbers Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Destructuring the Response

data ListPhoneNumbersResponse Source #

See: newListPhoneNumbersResponse smart constructor.

Constructors

ListPhoneNumbersResponse' 

Fields

Instances

Instances details
Eq ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

Read ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

Show ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

Generic ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

Associated Types

type Rep ListPhoneNumbersResponse :: Type -> Type #

NFData ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

type Rep ListPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPhoneNumbers

type Rep ListPhoneNumbersResponse = D1 ('MetaData "ListPhoneNumbersResponse" "Amazonka.Connect.ListPhoneNumbers" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListPhoneNumbersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumberSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumberSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:phoneNumberSummaryList:ListPhoneNumbersResponse', listPhoneNumbersResponse_phoneNumberSummaryList - Information about the phone numbers.

$sel:nextToken:ListPhoneNumbers', listPhoneNumbersResponse_nextToken - If there are additional results, this is the token for the next set of results.

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

Response Lenses

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

If there are additional results, this is the token for the next set of results.