Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Responds to an authentication challenge, as an administrator.
- adminRespondToAuthChallenge :: Text -> Text -> ChallengeNameType -> AdminRespondToAuthChallenge
- data AdminRespondToAuthChallenge
- artacChallengeResponses :: Lens' AdminRespondToAuthChallenge (HashMap Text Text)
- artacSession :: Lens' AdminRespondToAuthChallenge (Maybe Text)
- artacUserPoolId :: Lens' AdminRespondToAuthChallenge Text
- artacClientId :: Lens' AdminRespondToAuthChallenge Text
- artacChallengeName :: Lens' AdminRespondToAuthChallenge ChallengeNameType
- adminRespondToAuthChallengeResponse :: Int -> AdminRespondToAuthChallengeResponse
- data AdminRespondToAuthChallengeResponse
- artacrsChallengeName :: Lens' AdminRespondToAuthChallengeResponse (Maybe ChallengeNameType)
- artacrsChallengeParameters :: Lens' AdminRespondToAuthChallengeResponse (HashMap Text Text)
- artacrsAuthenticationResult :: Lens' AdminRespondToAuthChallengeResponse (Maybe AuthenticationResultType)
- artacrsSession :: Lens' AdminRespondToAuthChallengeResponse (Maybe Text)
- artacrsResponseStatus :: Lens' AdminRespondToAuthChallengeResponse Int
Creating a Request
adminRespondToAuthChallenge Source #
Creates a value of AdminRespondToAuthChallenge
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdminRespondToAuthChallenge Source #
The request to respond to the authentication challenge, as an administrator.
See: adminRespondToAuthChallenge
smart constructor.
Request Lenses
artacChallengeResponses :: Lens' AdminRespondToAuthChallenge (HashMap Text Text) Source #
The challenge response.
artacSession :: Lens' AdminRespondToAuthChallenge (Maybe Text) Source #
The session.
artacUserPoolId :: Lens' AdminRespondToAuthChallenge Text Source #
The ID of the Amazon Cognito user pool.
artacClientId :: Lens' AdminRespondToAuthChallenge Text Source #
The client ID.
artacChallengeName :: Lens' AdminRespondToAuthChallenge ChallengeNameType Source #
The name of the challenge.
Destructuring the Response
adminRespondToAuthChallengeResponse Source #
Creates a value of AdminRespondToAuthChallengeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdminRespondToAuthChallengeResponse Source #
Responds to the authentication challenge, as an administrator.
See: adminRespondToAuthChallengeResponse
smart constructor.
Response Lenses
artacrsChallengeName :: Lens' AdminRespondToAuthChallengeResponse (Maybe ChallengeNameType) Source #
The name of the challenge.
artacrsChallengeParameters :: Lens' AdminRespondToAuthChallengeResponse (HashMap Text Text) Source #
The challenge parameters.
artacrsAuthenticationResult :: Lens' AdminRespondToAuthChallengeResponse (Maybe AuthenticationResultType) Source #
Undocumented member.
artacrsSession :: Lens' AdminRespondToAuthChallengeResponse (Maybe Text) Source #
The session.
artacrsResponseStatus :: Lens' AdminRespondToAuthChallengeResponse Int Source #
The response status code.