| 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.ChallengeResponse
Description
Synopsis
- data ChallengeResponse = ChallengeResponse' {}
- newChallengeResponse :: ChallengeResponse
- challengeResponse_failureReason :: Lens' ChallengeResponse (Maybe FailureReason)
- challengeResponse_responseCode :: Lens' ChallengeResponse (Maybe Int)
- challengeResponse_solveTimestamp :: Lens' ChallengeResponse (Maybe Integer)
Documentation
data ChallengeResponse Source #
The result from the inspection of the web request for a valid challenge token.
See: newChallengeResponse smart constructor.
Constructors
| ChallengeResponse' | |
Fields
| |
Instances
newChallengeResponse :: ChallengeResponse Source #
Create a value of ChallengeResponse 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:ChallengeResponse', challengeResponse_failureReason - The reason for failure, populated when the evaluation of the token
fails.
$sel:responseCode:ChallengeResponse', challengeResponse_responseCode - The HTTP response code indicating the status of the challenge token in
the web request. If the token is missing, invalid, or expired, this code
is 202 Request Accepted.
$sel:solveTimestamp:ChallengeResponse', challengeResponse_solveTimestamp - The time that the challenge was last solved for the supplied token.
challengeResponse_failureReason :: Lens' ChallengeResponse (Maybe FailureReason) Source #
The reason for failure, populated when the evaluation of the token fails.
challengeResponse_responseCode :: Lens' ChallengeResponse (Maybe Int) Source #
The HTTP response code indicating the status of the challenge token in
the web request. If the token is missing, invalid, or expired, this code
is 202 Request Accepted.
challengeResponse_solveTimestamp :: Lens' ChallengeResponse (Maybe Integer) Source #
The time that the challenge was last solved for the supplied token.