Copyright | (c) 2013-2021 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 |
Returns the settings for sending SMS messages from your account.
These settings are set with the SetSMSAttributes
action.
Synopsis
- data GetSMSAttributes = GetSMSAttributes' {
- attributes :: Maybe [Text]
- newGetSMSAttributes :: GetSMSAttributes
- getSMSAttributes_attributes :: Lens' GetSMSAttributes (Maybe [Text])
- data GetSMSAttributesResponse = GetSMSAttributesResponse' {
- attributes :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newGetSMSAttributesResponse :: Int -> GetSMSAttributesResponse
- getSMSAttributesResponse_attributes :: Lens' GetSMSAttributesResponse (Maybe (HashMap Text Text))
- getSMSAttributesResponse_httpStatus :: Lens' GetSMSAttributesResponse Int
Creating a Request
data GetSMSAttributes Source #
The input for the GetSMSAttributes
request.
See: newGetSMSAttributes
smart constructor.
GetSMSAttributes' | |
|
Instances
newGetSMSAttributes :: GetSMSAttributes Source #
Create a value of GetSMSAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:GetSMSAttributes'
, getSMSAttributes_attributes
- 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.
Request Lenses
getSMSAttributes_attributes :: Lens' GetSMSAttributes (Maybe [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
data GetSMSAttributesResponse Source #
The response from the GetSMSAttributes
request.
See: newGetSMSAttributesResponse
smart constructor.
GetSMSAttributesResponse' | |
|
Instances
newGetSMSAttributesResponse Source #
Create a value of GetSMSAttributesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:GetSMSAttributes'
, getSMSAttributesResponse_attributes
- The SMS attribute names and their values.
$sel:httpStatus:GetSMSAttributesResponse'
, getSMSAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
getSMSAttributesResponse_attributes :: Lens' GetSMSAttributesResponse (Maybe (HashMap Text Text)) Source #
The SMS attribute names and their values.
getSMSAttributesResponse_httpStatus :: Lens' GetSMSAttributesResponse Int Source #
The response's http status code.