| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CognitoIdentityProvider.ResendConfirmationCode
Description
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 #
Arguments
| :: Text | |
| -> Text | |
| -> ResendConfirmationCode |
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:
rccSecretHash- 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- The ID of the client associated with the user pool.rccUsername- The user name of the user to whom you wish to resend a confirmation code.
data ResendConfirmationCode Source #
Represents the request to resend the confirmation code.
See: resendConfirmationCode smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> ResendConfirmationCodeResponse |
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:
rccrsCodeDeliveryDetails- The code delivery details returned by the server in response to the request to resend the confirmation code.rccrsResponseStatus- -- | The response status code.
data ResendConfirmationCodeResponse Source #
The response from the server when the Amazon Cognito Your User Pools service makes the request to resend a confirmation code.
See: resendConfirmationCodeResponse smart constructor.
Instances
Response Lenses
rccrsCodeDeliveryDetails :: Lens' ResendConfirmationCodeResponse (Maybe CodeDeliveryDetailsType) Source #
The code delivery details returned by the server in response to the request to resend the confirmation code.
rccrsResponseStatus :: Lens' ResendConfirmationCodeResponse Int Source #
- - | The response status code.