libZSservicesZSamazonka-snsZSamazonka-sns
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.SNS.ListOriginationNumbers

Description

Lists the calling account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOriginationNumbers Source #

See: newListOriginationNumbers smart constructor.

Constructors

ListOriginationNumbers' 

Fields

Instances

Instances details
Eq ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Read ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Show ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Generic ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Associated Types

type Rep ListOriginationNumbers :: Type -> Type #

NFData ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Methods

rnf :: ListOriginationNumbers -> () #

Hashable ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

AWSPager ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

AWSRequest ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Associated Types

type AWSResponse ListOriginationNumbers #

ToHeaders ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

ToPath ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

ToQuery ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

type Rep ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

type Rep ListOriginationNumbers = D1 ('MetaData "ListOriginationNumbers" "Amazonka.SNS.ListOriginationNumbers" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListOriginationNumbers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

newListOriginationNumbers :: ListOriginationNumbers Source #

Create a value of ListOriginationNumbers 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:ListOriginationNumbers', listOriginationNumbers_nextToken - Token that the previous ListOriginationNumbers request returns.

$sel:maxResults:ListOriginationNumbers', listOriginationNumbers_maxResults - The maximum number of origination numbers to return.

Request Lenses

listOriginationNumbers_nextToken :: Lens' ListOriginationNumbers (Maybe Text) Source #

Token that the previous ListOriginationNumbers request returns.

listOriginationNumbers_maxResults :: Lens' ListOriginationNumbers (Maybe Natural) Source #

The maximum number of origination numbers to return.

Destructuring the Response

data ListOriginationNumbersResponse Source #

See: newListOriginationNumbersResponse smart constructor.

Constructors

ListOriginationNumbersResponse' 

Fields

Instances

Instances details
Eq ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Read ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Show ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Generic ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Associated Types

type Rep ListOriginationNumbersResponse :: Type -> Type #

NFData ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

type Rep ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

type Rep ListOriginationNumbersResponse = D1 ('MetaData "ListOriginationNumbersResponse" "Amazonka.SNS.ListOriginationNumbers" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListOriginationNumbersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumberInformation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListOriginationNumbersResponse Source #

Create a value of ListOriginationNumbersResponse 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:ListOriginationNumbers', listOriginationNumbersResponse_nextToken - A NextToken string is returned when you call the ListOriginationNumbers operation if additional pages of records are available.

$sel:phoneNumbers:ListOriginationNumbersResponse', listOriginationNumbersResponse_phoneNumbers - A list of the calling account's verified and pending origination numbers.

$sel:httpStatus:ListOriginationNumbersResponse', listOriginationNumbersResponse_httpStatus - The response's http status code.

Response Lenses

listOriginationNumbersResponse_nextToken :: Lens' ListOriginationNumbersResponse (Maybe Text) Source #

A NextToken string is returned when you call the ListOriginationNumbers operation if additional pages of records are available.

listOriginationNumbersResponse_phoneNumbers :: Lens' ListOriginationNumbersResponse (Maybe [PhoneNumberInformation]) Source #

A list of the calling account's verified and pending origination numbers.