amazonka-sns-1.6.1: Amazon Simple Notification Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SNS.OptInPhoneNumber

Contents

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

optInPhoneNumber Source #

Creates a value of OptInPhoneNumber with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data OptInPhoneNumber Source #

Input for the OptInPhoneNumber action.

See: optInPhoneNumber smart constructor.

Instances
Eq OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Data OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OptInPhoneNumber -> c OptInPhoneNumber #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OptInPhoneNumber #

toConstr :: OptInPhoneNumber -> Constr #

dataTypeOf :: OptInPhoneNumber -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OptInPhoneNumber) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OptInPhoneNumber) #

gmapT :: (forall b. Data b => b -> b) -> OptInPhoneNumber -> OptInPhoneNumber #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OptInPhoneNumber -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OptInPhoneNumber -> r #

gmapQ :: (forall d. Data d => d -> u) -> OptInPhoneNumber -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OptInPhoneNumber -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OptInPhoneNumber -> m OptInPhoneNumber #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OptInPhoneNumber -> m OptInPhoneNumber #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OptInPhoneNumber -> m OptInPhoneNumber #

Read OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Show OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Generic OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Associated Types

type Rep OptInPhoneNumber :: Type -> Type #

Hashable OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

AWSRequest OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Associated Types

type Rs OptInPhoneNumber :: Type #

ToHeaders OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

ToPath OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

ToQuery OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

NFData OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Methods

rnf :: OptInPhoneNumber -> () #

type Rep OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

type Rep OptInPhoneNumber = D1 (MetaData "OptInPhoneNumber" "Network.AWS.SNS.OptInPhoneNumber" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" True) (C1 (MetaCons "OptInPhoneNumber'" PrefixI True) (S1 (MetaSel (Just "_oipnPhoneNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs OptInPhoneNumber Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Request Lenses

oipnPhoneNumber :: Lens' OptInPhoneNumber Text Source #

The phone number to opt in.

Destructuring the Response

optInPhoneNumberResponse Source #

Creates a value of OptInPhoneNumberResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data OptInPhoneNumberResponse Source #

The response for the OptInPhoneNumber action.

See: optInPhoneNumberResponse smart constructor.

Instances
Eq OptInPhoneNumberResponse Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Data OptInPhoneNumberResponse Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OptInPhoneNumberResponse -> c OptInPhoneNumberResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OptInPhoneNumberResponse #

toConstr :: OptInPhoneNumberResponse -> Constr #

dataTypeOf :: OptInPhoneNumberResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OptInPhoneNumberResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OptInPhoneNumberResponse) #

gmapT :: (forall b. Data b => b -> b) -> OptInPhoneNumberResponse -> OptInPhoneNumberResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OptInPhoneNumberResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OptInPhoneNumberResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> OptInPhoneNumberResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OptInPhoneNumberResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OptInPhoneNumberResponse -> m OptInPhoneNumberResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OptInPhoneNumberResponse -> m OptInPhoneNumberResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OptInPhoneNumberResponse -> m OptInPhoneNumberResponse #

Read OptInPhoneNumberResponse Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Show OptInPhoneNumberResponse Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Generic OptInPhoneNumberResponse Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

Associated Types

type Rep OptInPhoneNumberResponse :: Type -> Type #

NFData OptInPhoneNumberResponse Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

type Rep OptInPhoneNumberResponse Source # 
Instance details

Defined in Network.AWS.SNS.OptInPhoneNumber

type Rep OptInPhoneNumberResponse = D1 (MetaData "OptInPhoneNumberResponse" "Network.AWS.SNS.OptInPhoneNumber" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" True) (C1 (MetaCons "OptInPhoneNumberResponse'" PrefixI True) (S1 (MetaSel (Just "_oipnrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses