amazonka-sns-1.6.0: 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.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 # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

Data GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.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 # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

Show GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

Generic GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

Associated Types

type Rep GetSMSAttributes :: * -> * #

Hashable GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

AWSRequest GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

Associated Types

type Rs GetSMSAttributes :: * #

ToHeaders GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

ToPath GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

ToQuery GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

NFData GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

Methods

rnf :: GetSMSAttributes -> () #

type Rep GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

type Rep GetSMSAttributes = D1 (MetaData "GetSMSAttributes" "Network.AWS.SNS.GetSMSAttributes" "amazonka-sns-1.6.0-HtFY9r81ykN4UA9Dx2hCIO" True) (C1 (MetaCons "GetSMSAttributes'" PrefixI True) (S1 (MetaSel (Just "_gsmsaAttributes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))
type Rs GetSMSAttributes # 
Instance details

Defined in Network.AWS.SNS.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 # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

Data GetSMSAttributesResponse # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

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 # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

Show GetSMSAttributesResponse # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

Generic GetSMSAttributesResponse # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

Associated Types

type Rep GetSMSAttributesResponse :: * -> * #

NFData GetSMSAttributesResponse # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

type Rep GetSMSAttributesResponse # 
Instance details

Defined in Network.AWS.SNS.GetSMSAttributes

type Rep GetSMSAttributesResponse = D1 (MetaData "GetSMSAttributesResponse" "Network.AWS.SNS.GetSMSAttributes" "amazonka-sns-1.6.0-HtFY9r81ykN4UA9Dx2hCIO" False) (C1 (MetaCons "GetSMSAttributesResponse'" PrefixI True) (S1 (MetaSel (Just "_gsmsarsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_gsmsarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.