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 #

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 #

The input for the GetSMSAttributes request.

See: getSMSAttributes smart constructor.

Instances

Eq GetSMSAttributes # 
Data GetSMSAttributes # 

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 # 
Show GetSMSAttributes # 
Generic GetSMSAttributes # 
Hashable GetSMSAttributes # 
NFData GetSMSAttributes # 

Methods

rnf :: GetSMSAttributes -> () #

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

Request Lenses

gsmsaAttributes :: Lens' GetSMSAttributes [Text] #

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 #

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 #

The response from the GetSMSAttributes request.

See: getSMSAttributesResponse smart constructor.

Instances

Eq GetSMSAttributesResponse # 
Data GetSMSAttributesResponse # 

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 # 
Show GetSMSAttributesResponse # 
Generic GetSMSAttributesResponse # 
NFData GetSMSAttributesResponse # 
type Rep GetSMSAttributesResponse # 
type Rep GetSMSAttributesResponse = D1 (MetaData "GetSMSAttributesResponse" "Network.AWS.SNS.GetSMSAttributes" "amazonka-sns-1.4.5-5x1MjGFUMvV6p7MfMkg43e" 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) #

The SMS attribute names and their values.

gsmsarsResponseStatus :: Lens' GetSMSAttributesResponse Int #

  • - | The response status code.