| 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.Pinpoint.SendOTPMessage
Description
Send an OTP message
Synopsis
- data SendOTPMessage = SendOTPMessage' {}
- newSendOTPMessage :: Text -> SendOTPMessageRequestParameters -> SendOTPMessage
- sendOTPMessage_applicationId :: Lens' SendOTPMessage Text
- sendOTPMessage_sendOTPMessageRequestParameters :: Lens' SendOTPMessage SendOTPMessageRequestParameters
- data SendOTPMessageResponse = SendOTPMessageResponse' {}
- newSendOTPMessageResponse :: Int -> MessageResponse -> SendOTPMessageResponse
- sendOTPMessageResponse_httpStatus :: Lens' SendOTPMessageResponse Int
- sendOTPMessageResponse_messageResponse :: Lens' SendOTPMessageResponse MessageResponse
Creating a Request
data SendOTPMessage Source #
See: newSendOTPMessage smart constructor.
Constructors
| SendOTPMessage' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> SendOTPMessageRequestParameters | |
| -> SendOTPMessage |
Create a value of SendOTPMessage 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:
SendOTPMessage, sendOTPMessage_applicationId - The unique ID of your Amazon Pinpoint application.
$sel:sendOTPMessageRequestParameters:SendOTPMessage', sendOTPMessage_sendOTPMessageRequestParameters - Undocumented member.
Request Lenses
sendOTPMessage_applicationId :: Lens' SendOTPMessage Text Source #
The unique ID of your Amazon Pinpoint application.
sendOTPMessage_sendOTPMessageRequestParameters :: Lens' SendOTPMessage SendOTPMessageRequestParameters Source #
Undocumented member.
Destructuring the Response
data SendOTPMessageResponse Source #
See: newSendOTPMessageResponse smart constructor.
Constructors
| SendOTPMessageResponse' | |
Fields
| |
Instances
newSendOTPMessageResponse Source #
Arguments
| :: Int | |
| -> MessageResponse | |
| -> SendOTPMessageResponse |
Create a value of SendOTPMessageResponse 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:httpStatus:SendOTPMessageResponse', sendOTPMessageResponse_httpStatus - The response's http status code.
$sel:messageResponse:SendOTPMessageResponse', sendOTPMessageResponse_messageResponse - Undocumented member.
Response Lenses
sendOTPMessageResponse_httpStatus :: Lens' SendOTPMessageResponse Int Source #
The response's http status code.
sendOTPMessageResponse_messageResponse :: Lens' SendOTPMessageResponse MessageResponse Source #
Undocumented member.