amazonka-cognito-idp-1.4.5: Amazon Cognito Identity Provider SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

Contents

Description

Resends the confirmation (for confirmation of registration) to a specific user in the user pool.

Synopsis

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:

  • 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

Eq ResendConfirmationCode Source # 
Data ResendConfirmationCode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResendConfirmationCode -> c ResendConfirmationCode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResendConfirmationCode #

toConstr :: ResendConfirmationCode -> Constr #

dataTypeOf :: ResendConfirmationCode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResendConfirmationCode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResendConfirmationCode) #

gmapT :: (forall b. Data b => b -> b) -> ResendConfirmationCode -> ResendConfirmationCode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResendConfirmationCode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResendConfirmationCode -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResendConfirmationCode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResendConfirmationCode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResendConfirmationCode -> m ResendConfirmationCode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResendConfirmationCode -> m ResendConfirmationCode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResendConfirmationCode -> m ResendConfirmationCode #

Read ResendConfirmationCode Source # 
Show ResendConfirmationCode Source # 
Generic ResendConfirmationCode Source # 
Hashable ResendConfirmationCode Source # 
ToJSON ResendConfirmationCode Source # 
NFData ResendConfirmationCode Source # 

Methods

rnf :: ResendConfirmationCode -> () #

AWSRequest ResendConfirmationCode Source # 
ToPath ResendConfirmationCode Source # 
ToHeaders ResendConfirmationCode Source # 
ToQuery ResendConfirmationCode Source # 
type Rep ResendConfirmationCode Source # 
type Rep ResendConfirmationCode = D1 (MetaData "ResendConfirmationCode" "Network.AWS.CognitoIdentityProvider.ResendConfirmationCode" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" False) (C1 (MetaCons "ResendConfirmationCode'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rccSecretHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_rccClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text))) (S1 (MetaSel (Just Symbol "_rccUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text))))))
type Rs ResendConfirmationCode Source # 

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 Your User Pools service makes the request to resend a confirmation code.

See: resendConfirmationCodeResponse smart constructor.

Instances

Eq ResendConfirmationCodeResponse Source # 
Data ResendConfirmationCodeResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResendConfirmationCodeResponse -> c ResendConfirmationCodeResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResendConfirmationCodeResponse #

toConstr :: ResendConfirmationCodeResponse -> Constr #

dataTypeOf :: ResendConfirmationCodeResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResendConfirmationCodeResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResendConfirmationCodeResponse) #

gmapT :: (forall b. Data b => b -> b) -> ResendConfirmationCodeResponse -> ResendConfirmationCodeResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResendConfirmationCodeResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResendConfirmationCodeResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResendConfirmationCodeResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResendConfirmationCodeResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResendConfirmationCodeResponse -> m ResendConfirmationCodeResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResendConfirmationCodeResponse -> m ResendConfirmationCodeResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResendConfirmationCodeResponse -> m ResendConfirmationCodeResponse #

Read ResendConfirmationCodeResponse Source # 
Show ResendConfirmationCodeResponse Source # 
Generic ResendConfirmationCodeResponse Source # 
NFData ResendConfirmationCodeResponse Source # 
type Rep ResendConfirmationCodeResponse Source # 
type Rep ResendConfirmationCodeResponse = D1 (MetaData "ResendConfirmationCodeResponse" "Network.AWS.CognitoIdentityProvider.ResendConfirmationCode" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" False) (C1 (MetaCons "ResendConfirmationCodeResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rccrsCodeDeliveryDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CodeDeliveryDetailsType))) (S1 (MetaSel (Just Symbol "_rccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

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.