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

Contents

Description

Allows the developer to update the specified user pool client and password policy.

Synopsis

Creating a Request

updateUserPoolClient #

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

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

data UpdateUserPoolClient #

Represents the request to update the user pool client.

See: updateUserPoolClient smart constructor.

Instances

Eq UpdateUserPoolClient # 
Data UpdateUserPoolClient # 

Methods

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

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

toConstr :: UpdateUserPoolClient -> Constr #

dataTypeOf :: UpdateUserPoolClient -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateUserPoolClient # 
Show UpdateUserPoolClient # 
Generic UpdateUserPoolClient # 
Hashable UpdateUserPoolClient # 
ToJSON UpdateUserPoolClient # 
NFData UpdateUserPoolClient # 

Methods

rnf :: UpdateUserPoolClient -> () #

AWSRequest UpdateUserPoolClient # 
ToQuery UpdateUserPoolClient # 
ToPath UpdateUserPoolClient # 
ToHeaders UpdateUserPoolClient # 
type Rep UpdateUserPoolClient # 
type Rep UpdateUserPoolClient = D1 (MetaData "UpdateUserPoolClient" "Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient" "amazonka-cognito-idp-1.4.5-FSH4ePU3ZIwKGfg2fnU2v3" False) (C1 (MetaCons "UpdateUserPoolClient'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uupcRefreshTokenValidity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_uupcExplicitAuthFlows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ExplicitAuthFlowsType]))) (S1 (MetaSel (Just Symbol "_uupcWriteAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uupcReadAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_uupcClientName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_uupcUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_uupcClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)))))))
type Rs UpdateUserPoolClient # 

Request Lenses

uupcRefreshTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural) #

The validity of the refresh token.

uupcWriteAttributes :: Lens' UpdateUserPoolClient [Text] #

The writeable attributes of the user pool.

uupcReadAttributes :: Lens' UpdateUserPoolClient [Text] #

The read-only attributes of the user pool.

uupcClientName :: Lens' UpdateUserPoolClient (Maybe Text) #

The client name from the update user pool client request.

uupcUserPoolId :: Lens' UpdateUserPoolClient Text #

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

uupcClientId :: Lens' UpdateUserPoolClient Text #

The ID of the client associated with the user pool.

Destructuring the Response

updateUserPoolClientResponse #

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

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

data UpdateUserPoolClientResponse #

Represents the response from the server to the request to update the user pool client.

See: updateUserPoolClientResponse smart constructor.

Instances

Eq UpdateUserPoolClientResponse # 
Data UpdateUserPoolClientResponse # 

Methods

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

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

toConstr :: UpdateUserPoolClientResponse -> Constr #

dataTypeOf :: UpdateUserPoolClientResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateUserPoolClientResponse # 
Show UpdateUserPoolClientResponse # 
Generic UpdateUserPoolClientResponse # 
NFData UpdateUserPoolClientResponse # 
type Rep UpdateUserPoolClientResponse # 
type Rep UpdateUserPoolClientResponse = D1 (MetaData "UpdateUserPoolClientResponse" "Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient" "amazonka-cognito-idp-1.4.5-FSH4ePU3ZIwKGfg2fnU2v3" False) (C1 (MetaCons "UpdateUserPoolClientResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uupcrsUserPoolClient") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserPoolClientType))) (S1 (MetaSel (Just Symbol "_uupcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

uupcrsUserPoolClient :: Lens' UpdateUserPoolClientResponse (Maybe UserPoolClientType) #

The user pool client value from the response from the server when an update user pool client request is made.