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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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:

  • rccAnalyticsMetadata - The Amazon Pinpoint analytics metadata for collecting metrics for ResendConfirmationCode 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.

Instances
Eq ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

Data ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

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 #

Show ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

Generic ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

Associated Types

type Rep ResendConfirmationCode :: Type -> Type #

Hashable ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

ToJSON ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

AWSRequest ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

Associated Types

type Rs ResendConfirmationCode :: Type #

ToHeaders ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

ToPath ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

ToQuery ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

NFData ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

Methods

rnf :: ResendConfirmationCode -> () #

type Rep ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

type Rep ResendConfirmationCode = D1 (MetaData "ResendConfirmationCode" "Network.AWS.CognitoIdentityProvider.ResendConfirmationCode" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "ResendConfirmationCode'" PrefixI True) ((S1 (MetaSel (Just "_rccAnalyticsMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AnalyticsMetadataType)) :*: S1 (MetaSel (Just "_rccUserContextData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserContextDataType))) :*: (S1 (MetaSel (Just "_rccSecretHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 (MetaSel (Just "_rccClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 (MetaSel (Just "_rccUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text))))))
type Rs ResendConfirmationCode Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

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:

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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

Data ResendConfirmationCodeResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

Show ResendConfirmationCodeResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

Generic ResendConfirmationCodeResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

Associated Types

type Rep ResendConfirmationCodeResponse :: Type -> Type #

NFData ResendConfirmationCodeResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

type Rep ResendConfirmationCodeResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

type Rep ResendConfirmationCodeResponse = D1 (MetaData "ResendConfirmationCodeResponse" "Network.AWS.CognitoIdentityProvider.ResendConfirmationCode" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "ResendConfirmationCodeResponse'" PrefixI True) (S1 (MetaSel (Just "_rccrsCodeDeliveryDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CodeDeliveryDetailsType)) :*: S1 (MetaSel (Just "_rccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.