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.AdminInitiateAuth

Contents

Description

Initiates the authentication flow, as an administrator.

Synopsis

Creating a Request

adminInitiateAuth Source #

Creates a value of AdminInitiateAuth with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AdminInitiateAuth Source #

Initiates the authorization request, as an administrator.

See: adminInitiateAuth smart constructor.

Instances

Eq AdminInitiateAuth Source # 
Data AdminInitiateAuth Source # 

Methods

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

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

toConstr :: AdminInitiateAuth -> Constr #

dataTypeOf :: AdminInitiateAuth -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AdminInitiateAuth -> () #

AWSRequest AdminInitiateAuth Source # 
ToPath AdminInitiateAuth Source # 
ToHeaders AdminInitiateAuth Source # 
ToQuery AdminInitiateAuth Source # 
type Rep AdminInitiateAuth Source # 
type Rep AdminInitiateAuth = D1 (MetaData "AdminInitiateAuth" "Network.AWS.CognitoIdentityProvider.AdminInitiateAuth" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" False) (C1 (MetaCons "AdminInitiateAuth'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aiaClientMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) (S1 (MetaSel (Just Symbol "_aiaAuthParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_aiaUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_aiaClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text))) (S1 (MetaSel (Just Symbol "_aiaAuthFlow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AuthFlowType))))))
type Rs AdminInitiateAuth Source # 

Request Lenses

aiaAuthParameters :: Lens' AdminInitiateAuth (HashMap Text Text) Source #

The authentication parameters.

aiaUserPoolId :: Lens' AdminInitiateAuth Text Source #

The ID of the Amazon Cognito user pool.

Destructuring the Response

adminInitiateAuthResponse Source #

Creates a value of AdminInitiateAuthResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AdminInitiateAuthResponse Source #

Initiates the authentication response, as an administrator.

See: adminInitiateAuthResponse smart constructor.

Instances

Eq AdminInitiateAuthResponse Source # 
Data AdminInitiateAuthResponse Source # 

Methods

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

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

toConstr :: AdminInitiateAuthResponse -> Constr #

dataTypeOf :: AdminInitiateAuthResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AdminInitiateAuthResponse Source # 
Show AdminInitiateAuthResponse Source # 
Generic AdminInitiateAuthResponse Source # 
NFData AdminInitiateAuthResponse Source # 
type Rep AdminInitiateAuthResponse Source # 
type Rep AdminInitiateAuthResponse = D1 (MetaData "AdminInitiateAuthResponse" "Network.AWS.CognitoIdentityProvider.AdminInitiateAuth" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" False) (C1 (MetaCons "AdminInitiateAuthResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aiarsChallengeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ChallengeNameType))) (S1 (MetaSel (Just Symbol "_aiarsChallengeParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_aiarsAuthenticationResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AuthenticationResultType))) ((:*:) (S1 (MetaSel (Just Symbol "_aiarsSession") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aiarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

Response Lenses