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.ListSMSSandboxPhoneNumbers

Description

Lists the calling account's current verified and pending destination phone numbers in the SMS sandbox.

When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSMSSandboxPhoneNumbers Source #

See: newListSMSSandboxPhoneNumbers smart constructor.

Constructors

ListSMSSandboxPhoneNumbers' 

Fields

Instances

Instances details
Eq ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Read ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Show ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Generic ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Associated Types

type Rep ListSMSSandboxPhoneNumbers :: Type -> Type #

NFData ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Hashable ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

AWSPager ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

AWSRequest ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

ToHeaders ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

ToPath ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

ToQuery ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

type Rep ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

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

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

newListSMSSandboxPhoneNumbers :: ListSMSSandboxPhoneNumbers Source #

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

$sel:maxResults:ListSMSSandboxPhoneNumbers', listSMSSandboxPhoneNumbers_maxResults - The maximum number of phone numbers to return.

Request Lenses

listSMSSandboxPhoneNumbers_nextToken :: Lens' ListSMSSandboxPhoneNumbers (Maybe Text) Source #

Token that the previous ListSMSSandboxPhoneNumbersInput request returns.

Destructuring the Response

data ListSMSSandboxPhoneNumbersResponse Source #

Constructors

ListSMSSandboxPhoneNumbersResponse' 

Fields

Instances

Instances details
Eq ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Read ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Show ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Generic ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Associated Types

type Rep ListSMSSandboxPhoneNumbersResponse :: Type -> Type #

NFData ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

type Rep ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

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

newListSMSSandboxPhoneNumbersResponse Source #

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

$sel:httpStatus:ListSMSSandboxPhoneNumbersResponse', listSMSSandboxPhoneNumbersResponse_httpStatus - The response's http status code.

$sel:phoneNumbers:ListSMSSandboxPhoneNumbersResponse', listSMSSandboxPhoneNumbersResponse_phoneNumbers - A list of the calling account's pending and verified phone numbers.

Response Lenses

listSMSSandboxPhoneNumbersResponse_nextToken :: Lens' ListSMSSandboxPhoneNumbersResponse (Maybe Text) Source #

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

listSMSSandboxPhoneNumbersResponse_phoneNumbers :: Lens' ListSMSSandboxPhoneNumbersResponse [SMSSandboxPhoneNumber] Source #

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