| 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 |
Network.AWS.SNS.OptInPhoneNumber
Description
Use this request to opt in a phone number that is opted out, which enables you to resume sending SMS messages to the number.
You can opt in a phone number only once every 30 days.
Creating a Request
Arguments
| :: Text | |
| -> OptInPhoneNumber |
Creates a value of OptInPhoneNumber with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oipnPhoneNumber- The phone number to opt in.
data OptInPhoneNumber Source #
Input for the OptInPhoneNumber action.
See: optInPhoneNumber smart constructor.
Instances
Request Lenses
oipnPhoneNumber :: Lens' OptInPhoneNumber Text Source #
The phone number to opt in.
Destructuring the Response
optInPhoneNumberResponse Source #
Arguments
| :: Int | |
| -> OptInPhoneNumberResponse |
Creates a value of OptInPhoneNumberResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oipnrsResponseStatus- -- | The response status code.
data OptInPhoneNumberResponse Source #
The response for the OptInPhoneNumber action.
See: optInPhoneNumberResponse smart constructor.
Response Lenses
oipnrsResponseStatus :: Lens' OptInPhoneNumberResponse Int Source #
- - | The response status code.