| 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.WAFV2.Types.CaptchaResponse
Description
Documentation
data CaptchaResponse Source #
The result from the inspection of the web request for a valid CAPTCHA
token.
See: newCaptchaResponse smart constructor.
Constructors
| CaptchaResponse' | |
Fields
| |
Instances
newCaptchaResponse :: CaptchaResponse Source #
Create a value of CaptchaResponse 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:failureReason:CaptchaResponse', captchaResponse_failureReason - The reason for failure, populated when the evaluation of the token
fails.
$sel:responseCode:CaptchaResponse', captchaResponse_responseCode - The HTTP response code indicating the status of the CAPTCHA token in
the web request. If the token is missing, invalid, or expired, this code
is 405 Method Not Allowed.
$sel:solveTimestamp:CaptchaResponse', captchaResponse_solveTimestamp - The time that the CAPTCHA was last solved for the supplied token.
captchaResponse_failureReason :: Lens' CaptchaResponse (Maybe FailureReason) Source #
The reason for failure, populated when the evaluation of the token fails.
captchaResponse_responseCode :: Lens' CaptchaResponse (Maybe Int) Source #
The HTTP response code indicating the status of the CAPTCHA token in
the web request. If the token is missing, invalid, or expired, this code
is 405 Method Not Allowed.
captchaResponse_solveTimestamp :: Lens' CaptchaResponse (Maybe Integer) Source #
The time that the CAPTCHA was last solved for the supplied token.