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

Description

Verifies a destination phone number with a one-time password (OTP) for the calling account.

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.

Synopsis

Creating a Request

data VerifySMSSandboxPhoneNumber Source #

See: newVerifySMSSandboxPhoneNumber smart constructor.

Constructors

VerifySMSSandboxPhoneNumber' 

Fields

Instances

Instances details
Eq VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Read VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Show VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Generic VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Associated Types

type Rep VerifySMSSandboxPhoneNumber :: Type -> Type #

NFData VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Hashable VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

AWSRequest VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

ToHeaders VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

ToPath VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

ToQuery VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

type Rep VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

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

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

newVerifySMSSandboxPhoneNumber Source #

Create a value of VerifySMSSandboxPhoneNumber 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:phoneNumber:VerifySMSSandboxPhoneNumber', verifySMSSandboxPhoneNumber_phoneNumber - The destination phone number to verify.

$sel:oneTimePassword:VerifySMSSandboxPhoneNumber', verifySMSSandboxPhoneNumber_oneTimePassword - The OTP sent to the destination number from the CreateSMSSandBoxPhoneNumber call.

Request Lenses

verifySMSSandboxPhoneNumber_oneTimePassword :: Lens' VerifySMSSandboxPhoneNumber Text Source #

The OTP sent to the destination number from the CreateSMSSandBoxPhoneNumber call.

Destructuring the Response

data VerifySMSSandboxPhoneNumberResponse Source #

The destination phone number's verification status.

See: newVerifySMSSandboxPhoneNumberResponse smart constructor.

Constructors

VerifySMSSandboxPhoneNumberResponse' 

Fields

Instances

Instances details
Eq VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Read VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Show VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Generic VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

NFData VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

type Rep VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

type Rep VerifySMSSandboxPhoneNumberResponse = D1 ('MetaData "VerifySMSSandboxPhoneNumberResponse" "Amazonka.SNS.VerifySMSSandboxPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "VerifySMSSandboxPhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newVerifySMSSandboxPhoneNumberResponse Source #

Create a value of VerifySMSSandboxPhoneNumberResponse 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:httpStatus:VerifySMSSandboxPhoneNumberResponse', verifySMSSandboxPhoneNumberResponse_httpStatus - The response's http status code.

Response Lenses