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

Contents

Description

Creates the user pool client.

Synopsis

Creating a Request

createUserPoolClient Source #

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

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

data CreateUserPoolClient Source #

Represents the request to create a user pool client.

See: createUserPoolClient smart constructor.

Instances

Eq CreateUserPoolClient Source # 
Data CreateUserPoolClient Source # 

Methods

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

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

toConstr :: CreateUserPoolClient -> Constr #

dataTypeOf :: CreateUserPoolClient -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreateUserPoolClient -> () #

AWSRequest CreateUserPoolClient Source # 
ToPath CreateUserPoolClient Source # 
ToHeaders CreateUserPoolClient Source # 
ToQuery CreateUserPoolClient Source # 
type Rep CreateUserPoolClient Source # 
type Rep CreateUserPoolClient = D1 (MetaData "CreateUserPoolClient" "Network.AWS.CognitoIdentityProvider.CreateUserPoolClient" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" False) (C1 (MetaCons "CreateUserPoolClient'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cupcRefreshTokenValidity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_cupcExplicitAuthFlows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ExplicitAuthFlowsType]))) (S1 (MetaSel (Just Symbol "_cupcGenerateSecret") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cupcWriteAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_cupcReadAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_cupcUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cupcClientName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs CreateUserPoolClient Source # 

Request Lenses

cupcGenerateSecret :: Lens' CreateUserPoolClient (Maybe Bool) Source #

Boolean to specify whether you want to generate a secret for the user pool client being created.

cupcUserPoolId :: Lens' CreateUserPoolClient Text Source #

The user pool ID for the user pool where you want to create a user pool client.

cupcClientName :: Lens' CreateUserPoolClient Text Source #

The client name for the user pool client you would like to create.

Destructuring the Response

createUserPoolClientResponse Source #

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

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

data CreateUserPoolClientResponse Source #

Represents the response from the server to create a user pool client.

See: createUserPoolClientResponse smart constructor.

Instances

Eq CreateUserPoolClientResponse Source # 
Data CreateUserPoolClientResponse Source # 

Methods

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

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

toConstr :: CreateUserPoolClientResponse -> Constr #

dataTypeOf :: CreateUserPoolClientResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses