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

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Data UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

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

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Show UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Generic UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Associated Types

type Rep UpdateUserPool :: Type -> Type #

Hashable UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

ToJSON UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

AWSRequest UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Associated Types

type Rs UpdateUserPool :: Type #

ToHeaders UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

ToPath UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

ToQuery UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

NFData UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Methods

rnf :: UpdateUserPool -> () #

type Rep UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

type Rep UpdateUserPool = D1 (MetaData "UpdateUserPool" "Network.AWS.CognitoIdentityProvider.UpdateUserPool" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "UpdateUserPool'" PrefixI True) ((((S1 (MetaSel (Just "_uupUserPoolTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_uupVerificationMessageTemplate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VerificationMessageTemplateType))) :*: (S1 (MetaSel (Just "_uupEmailVerificationMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uupSmsAuthenticationMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_uupUserPoolAddOns") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserPoolAddOnsType)) :*: S1 (MetaSel (Just "_uupEmailVerificationSubject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_uupEmailConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EmailConfigurationType)) :*: S1 (MetaSel (Just "_uupSmsVerificationMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 (MetaSel (Just "_uupMFAConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserPoolMFAType)) :*: S1 (MetaSel (Just "_uupLambdaConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LambdaConfigType))) :*: (S1 (MetaSel (Just "_uupSmsConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SmsConfigurationType)) :*: S1 (MetaSel (Just "_uupAdminCreateUserConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdminCreateUserConfigType)))) :*: ((S1 (MetaSel (Just "_uupDeviceConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceConfigurationType)) :*: S1 (MetaSel (Just "_uupAutoVerifiedAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [VerifiedAttributeType]))) :*: (S1 (MetaSel (Just "_uupPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserPoolPolicyType)) :*: S1 (MetaSel (Just "_uupUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs UpdateUserPool Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Request Lenses

uupUserPoolTags :: Lens' UpdateUserPool (HashMap Text Text) Source #

The cost allocation tags for the user pool. For more information, see Adding Cost Allocation Tags to Your User Pool

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.

uupUserPoolAddOns :: Lens' UpdateUserPool (Maybe UserPoolAddOnsType) Source #

Used to enable advanced security risk detection. Set the key AdvancedSecurityMode to the value AUDIT.

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

The subject of the email verification 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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Data UpdateUserPoolResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

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

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Show UpdateUserPoolResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Generic UpdateUserPoolResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Associated Types

type Rep UpdateUserPoolResponse :: Type -> Type #

NFData UpdateUserPoolResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

Methods

rnf :: UpdateUserPoolResponse -> () #

type Rep UpdateUserPoolResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.UpdateUserPool

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

Response Lenses