Copyright | (c) 2013-2018 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 |
Resends the confirmation (for confirmation of registration) to a specific user in the user pool.
- resendConfirmationCode :: Text -> Text -> ResendConfirmationCode
- data ResendConfirmationCode
- rccAnalyticsMetadata :: Lens' ResendConfirmationCode (Maybe AnalyticsMetadataType)
- rccUserContextData :: Lens' ResendConfirmationCode (Maybe UserContextDataType)
- 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:
rccAnalyticsMetadata
- The Amazon Pinpoint analytics metadata for collecting metrics forResendConfirmationCode
calls.rccUserContextData
- Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.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.
Request Lenses
rccAnalyticsMetadata :: Lens' ResendConfirmationCode (Maybe AnalyticsMetadataType) Source #
The Amazon Pinpoint analytics metadata for collecting metrics for ResendConfirmationCode
calls.
rccUserContextData :: Lens' ResendConfirmationCode (Maybe UserContextDataType) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
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:
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.
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.