Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the settings for sending SMS messages from your account.
These settings are set with the SetSMSAttributes
action.
Synopsis
- getSMSAttributes :: GetSMSAttributes
- data GetSMSAttributes
- gsmsaAttributes :: Lens' GetSMSAttributes [Text]
- getSMSAttributesResponse :: Int -> GetSMSAttributesResponse
- data GetSMSAttributesResponse
- gsmsarsAttributes :: Lens' GetSMSAttributesResponse (HashMap Text Text)
- gsmsarsResponseStatus :: Lens' GetSMSAttributesResponse Int
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 asMonthlySpendLimit
, 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
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:
gsmsarsAttributes
- The SMS attribute names and their values.gsmsarsResponseStatus
- -- | The response status code.
data GetSMSAttributesResponse Source #
The response from the GetSMSAttributes
request.
See: getSMSAttributesResponse
smart constructor.
Instances
Response Lenses
gsmsarsAttributes :: Lens' GetSMSAttributesResponse (HashMap Text Text) Source #
The SMS attribute names and their values.
gsmsarsResponseStatus :: Lens' GetSMSAttributesResponse Int Source #
- - | The response status code.