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

Description

Use this request to opt in a phone number that is opted out, which enables you to resume sending SMS messages to the number.

You can opt in a phone number only once every 30 days.

Synopsis

Creating a Request

data OptInPhoneNumber Source #

Input for the OptInPhoneNumber action.

See: newOptInPhoneNumber smart constructor.

Constructors

OptInPhoneNumber' 

Fields

Instances

Instances details
Eq OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Read OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Show OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Generic OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Associated Types

type Rep OptInPhoneNumber :: Type -> Type #

NFData OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Methods

rnf :: OptInPhoneNumber -> () #

Hashable OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

AWSRequest OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Associated Types

type AWSResponse OptInPhoneNumber #

ToHeaders OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

ToPath OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

ToQuery OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

type Rep OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

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

Defined in Amazonka.SNS.OptInPhoneNumber

newOptInPhoneNumber Source #

Create a value of OptInPhoneNumber 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:OptInPhoneNumber', optInPhoneNumber_phoneNumber - The phone number to opt in. Use E.164 format.

Request Lenses

optInPhoneNumber_phoneNumber :: Lens' OptInPhoneNumber Text Source #

The phone number to opt in. Use E.164 format.

Destructuring the Response

data OptInPhoneNumberResponse Source #

The response for the OptInPhoneNumber action.

See: newOptInPhoneNumberResponse smart constructor.

Constructors

OptInPhoneNumberResponse' 

Fields

Instances

Instances details
Eq OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Read OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Show OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Generic OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Associated Types

type Rep OptInPhoneNumberResponse :: Type -> Type #

NFData OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

type Rep OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

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

newOptInPhoneNumberResponse Source #

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

Response Lenses