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.VerifyOTPMessage
Description
Verify an OTP
Synopsis
- data VerifyOTPMessage = VerifyOTPMessage' {}
- newVerifyOTPMessage :: Text -> VerifyOTPMessageRequestParameters -> VerifyOTPMessage
- verifyOTPMessage_applicationId :: Lens' VerifyOTPMessage Text
- verifyOTPMessage_verifyOTPMessageRequestParameters :: Lens' VerifyOTPMessage VerifyOTPMessageRequestParameters
- data VerifyOTPMessageResponse = VerifyOTPMessageResponse' {}
- newVerifyOTPMessageResponse :: Int -> VerificationResponse -> VerifyOTPMessageResponse
- verifyOTPMessageResponse_httpStatus :: Lens' VerifyOTPMessageResponse Int
- verifyOTPMessageResponse_verificationResponse :: Lens' VerifyOTPMessageResponse VerificationResponse
Creating a Request
data VerifyOTPMessage Source #
See: newVerifyOTPMessage
smart constructor.
Constructors
VerifyOTPMessage' | |
Fields
|
Instances
Arguments
:: Text | |
-> VerifyOTPMessageRequestParameters | |
-> VerifyOTPMessage |
Create a value of VerifyOTPMessage
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:
VerifyOTPMessage
, verifyOTPMessage_applicationId
- The unique ID of your Amazon Pinpoint application.
$sel:verifyOTPMessageRequestParameters:VerifyOTPMessage'
, verifyOTPMessage_verifyOTPMessageRequestParameters
- Undocumented member.
Request Lenses
verifyOTPMessage_applicationId :: Lens' VerifyOTPMessage Text Source #
The unique ID of your Amazon Pinpoint application.
verifyOTPMessage_verifyOTPMessageRequestParameters :: Lens' VerifyOTPMessage VerifyOTPMessageRequestParameters Source #
Undocumented member.
Destructuring the Response
data VerifyOTPMessageResponse Source #
See: newVerifyOTPMessageResponse
smart constructor.
Constructors
VerifyOTPMessageResponse' | |
Fields
|
Instances
newVerifyOTPMessageResponse Source #
Arguments
:: Int | |
-> VerificationResponse | |
-> VerifyOTPMessageResponse |
Create a value of VerifyOTPMessageResponse
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:VerifyOTPMessageResponse'
, verifyOTPMessageResponse_httpStatus
- The response's http status code.
$sel:verificationResponse:VerifyOTPMessageResponse'
, verifyOTPMessageResponse_verificationResponse
- Undocumented member.
Response Lenses
verifyOTPMessageResponse_httpStatus :: Lens' VerifyOTPMessageResponse Int Source #
The response's http status code.
verifyOTPMessageResponse_verificationResponse :: Lens' VerifyOTPMessageResponse VerificationResponse Source #
Undocumented member.