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

Contents

Description

Updates the specified user pool with the specified attributes.

Synopsis

Creating a Request

updateUserPool Source #

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

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

data UpdateUserPool Source #

Represents the request to update the user pool.

See: updateUserPool smart constructor.

Instances

Eq UpdateUserPool Source # 
Data UpdateUserPool Source # 

Methods

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

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

toConstr :: UpdateUserPool -> Constr #

dataTypeOf :: UpdateUserPool -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateUserPool Source # 
Show UpdateUserPool Source # 
Generic UpdateUserPool Source # 

Associated Types

type Rep UpdateUserPool :: * -> * #

Hashable UpdateUserPool Source # 
ToJSON UpdateUserPool Source # 
NFData UpdateUserPool Source # 

Methods

rnf :: UpdateUserPool -> () #

AWSRequest UpdateUserPool Source # 
ToPath UpdateUserPool Source # 
ToHeaders UpdateUserPool Source # 
ToQuery UpdateUserPool Source # 
type Rep UpdateUserPool Source # 
type Rep UpdateUserPool = D1 (MetaData "UpdateUserPool" "Network.AWS.CognitoIdentityProvider.UpdateUserPool" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" False) (C1 (MetaCons "UpdateUserPool'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uupEmailVerificationMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_uupSmsAuthenticationMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uupEmailVerificationSubject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_uupEmailConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EmailConfigurationType))) ((:*:) (S1 (MetaSel (Just Symbol "_uupSmsVerificationMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uupMFAConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserPoolMFAType)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uupLambdaConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LambdaConfigType))) ((:*:) (S1 (MetaSel (Just Symbol "_uupSmsConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SmsConfigurationType))) (S1 (MetaSel (Just Symbol "_uupAdminCreateUserConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdminCreateUserConfigType))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uupDeviceConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceConfigurationType))) (S1 (MetaSel (Just Symbol "_uupAutoVerifiedAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [VerifiedAttributeType])))) ((:*:) (S1 (MetaSel (Just Symbol "_uupPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserPoolPolicyType))) (S1 (MetaSel (Just Symbol "_uupUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs UpdateUserPool Source # 

Request Lenses

uupEmailVerificationMessage :: Lens' UpdateUserPool (Maybe Text) Source #

The contents of the email verification message.

uupSmsAuthenticationMessage :: Lens' UpdateUserPool (Maybe Text) Source #

The contents of the SMS authentication message.

uupEmailVerificationSubject :: Lens' UpdateUserPool (Maybe Text) Source #

The subject of the email verfication message.

uupSmsVerificationMessage :: Lens' UpdateUserPool (Maybe Text) Source #

A container with information about the SMS verification message.

uupMFAConfiguration :: Lens' UpdateUserPool (Maybe UserPoolMFAType) Source #

Can be one of the following values: * OFF - MFA tokens are not required and cannot be specified during user registration. * ON - MFA tokens are required for all user registrations. You can only specify required when you are initially creating a user pool. * OPTIONAL - Users have the option when registering to create an MFA token.

uupLambdaConfig :: Lens' UpdateUserPool (Maybe LambdaConfigType) Source #

The AWS Lambda configuration information from the request to update the user pool.

uupAdminCreateUserConfig :: Lens' UpdateUserPool (Maybe AdminCreateUserConfigType) Source #

The configuration for AdminCreateUser requests.

uupAutoVerifiedAttributes :: Lens' UpdateUserPool [VerifiedAttributeType] Source #

The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.

uupPolicies :: Lens' UpdateUserPool (Maybe UserPoolPolicyType) Source #

A container with the policies you wish to update in a user pool.

uupUserPoolId :: Lens' UpdateUserPool Text Source #

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

Destructuring the Response

updateUserPoolResponse Source #

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

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

data UpdateUserPoolResponse Source #

Represents the response from the server when you make a request to update the user pool.

See: updateUserPoolResponse smart constructor.

Instances

Eq UpdateUserPoolResponse Source # 
Data UpdateUserPoolResponse Source # 

Methods

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

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

toConstr :: UpdateUserPoolResponse -> Constr #

dataTypeOf :: UpdateUserPoolResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateUserPoolResponse Source # 
Show UpdateUserPoolResponse Source # 
Generic UpdateUserPoolResponse Source # 
NFData UpdateUserPoolResponse Source # 

Methods

rnf :: UpdateUserPoolResponse -> () #

type Rep UpdateUserPoolResponse Source # 
type Rep UpdateUserPoolResponse = D1 (MetaData "UpdateUserPoolResponse" "Network.AWS.CognitoIdentityProvider.UpdateUserPool" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" True) (C1 (MetaCons "UpdateUserPoolResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_uuprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses