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

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

Network.AWS.SNS.GetSMSAttributes

Contents

Description

Returns the settings for sending SMS messages from your account.

These settings are set with the SetSMSAttributes action.

Synopsis

Creating a Request

getSMSAttributes :: GetSMSAttributes Source #

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

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

  • gsmsaAttributes - A list of the individual attribute names, such as MonthlySpendLimit , for which you want values. For all attribute names, see SetSMSAttributes . If you don't use this parameter, Amazon SNS returns all SMS attributes.

data GetSMSAttributes Source #

The input for the GetSMSAttributes request.

See: getSMSAttributes smart constructor.

Instances

Eq GetSMSAttributes Source # 
Data GetSMSAttributes Source # 

Methods

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

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

toConstr :: GetSMSAttributes -> Constr #

dataTypeOf :: GetSMSAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSMSAttributes Source # 
Show GetSMSAttributes Source # 
Generic GetSMSAttributes Source # 
Hashable GetSMSAttributes Source # 
NFData GetSMSAttributes Source # 

Methods

rnf :: GetSMSAttributes -> () #

AWSRequest GetSMSAttributes Source # 
ToPath GetSMSAttributes Source # 
ToHeaders GetSMSAttributes Source # 
ToQuery GetSMSAttributes Source # 
type Rep GetSMSAttributes Source # 
type Rep GetSMSAttributes = D1 (MetaData "GetSMSAttributes" "Network.AWS.SNS.GetSMSAttributes" "amazonka-sns-1.4.5-7z1IKGgp5pQiBwmhfc0Yz" True) (C1 (MetaCons "GetSMSAttributes'" PrefixI True) (S1 (MetaSel (Just Symbol "_gsmsaAttributes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))
type Rs GetSMSAttributes Source # 

Request Lenses

gsmsaAttributes :: Lens' GetSMSAttributes [Text] Source #

A list of the individual attribute names, such as MonthlySpendLimit , for which you want values. For all attribute names, see SetSMSAttributes . If you don't use this parameter, Amazon SNS returns all SMS attributes.

Destructuring the Response

getSMSAttributesResponse Source #

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

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

data GetSMSAttributesResponse Source #

The response from the GetSMSAttributes request.

See: getSMSAttributesResponse smart constructor.

Instances

Eq GetSMSAttributesResponse Source # 
Data GetSMSAttributesResponse Source # 

Methods

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

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

toConstr :: GetSMSAttributesResponse -> Constr #

dataTypeOf :: GetSMSAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSMSAttributesResponse Source # 
Show GetSMSAttributesResponse Source # 
Generic GetSMSAttributesResponse Source # 
NFData GetSMSAttributesResponse Source # 
type Rep GetSMSAttributesResponse Source # 
type Rep GetSMSAttributesResponse = D1 (MetaData "GetSMSAttributesResponse" "Network.AWS.SNS.GetSMSAttributes" "amazonka-sns-1.4.5-7z1IKGgp5pQiBwmhfc0Yz" False) (C1 (MetaCons "GetSMSAttributesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gsmsarsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) (S1 (MetaSel (Just Symbol "_gsmsarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

gsmsarsAttributes :: Lens' GetSMSAttributesResponse (HashMap Text Text) Source #

The SMS attribute names and their values.