| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SNS.GetSMSAttributes
Description
Returns the settings for sending SMS messages from your Amazon Web Services 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.
Constructors
| GetSMSAttributes' | |
Fields
| |
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:
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.
Constructors
| GetSMSAttributesResponse' | |
Fields
| |
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:
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.