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 |
Resends the confirmation (for confirmation of registration) to a specific user in the user pool.
- resendConfirmationCode :: Text -> Text -> ResendConfirmationCode
- data ResendConfirmationCode
- rccSecretHash :: Lens' ResendConfirmationCode (Maybe Text)
- rccClientId :: Lens' ResendConfirmationCode Text
- rccUsername :: Lens' ResendConfirmationCode Text
- resendConfirmationCodeResponse :: Int -> ResendConfirmationCodeResponse
- data ResendConfirmationCodeResponse
- rccrsCodeDeliveryDetails :: Lens' ResendConfirmationCodeResponse (Maybe CodeDeliveryDetailsType)
- rccrsResponseStatus :: Lens' ResendConfirmationCodeResponse Int
Creating a Request
resendConfirmationCode Source #
Creates a value of ResendConfirmationCode
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResendConfirmationCode Source #
Represents the request to resend the confirmation code.
See: resendConfirmationCode
smart constructor.
Request Lenses
rccSecretHash :: Lens' ResendConfirmationCode (Maybe Text) Source #
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
rccClientId :: Lens' ResendConfirmationCode Text Source #
The ID of the client associated with the user pool.
rccUsername :: Lens' ResendConfirmationCode Text Source #
The user name of the user to whom you wish to resend a confirmation code.
Destructuring the Response
resendConfirmationCodeResponse Source #
Creates a value of ResendConfirmationCodeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResendConfirmationCodeResponse Source #
The response from the server when the Amazon Cognito service makes the request to resend a confirmation code.
See: resendConfirmationCodeResponse
smart constructor.
Response Lenses
rccrsCodeDeliveryDetails :: Lens' ResendConfirmationCodeResponse (Maybe CodeDeliveryDetailsType) Source #
Undocumented member.
rccrsResponseStatus :: Lens' ResendConfirmationCodeResponse Int Source #
The response status code.