amazonka-cognito-idp-1.4.3: 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.UpdateUserAttributes

Contents

Description

Allows a user to update a specific attribute (one at a time).

Synopsis

Creating a Request

updateUserAttributes :: UpdateUserAttributes Source #

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

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

data UpdateUserAttributes Source #

Represents the request to update user attributes.

See: updateUserAttributes smart constructor.

Instances

Eq UpdateUserAttributes Source # 
Data UpdateUserAttributes Source # 

Methods

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

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

toConstr :: UpdateUserAttributes -> Constr #

dataTypeOf :: UpdateUserAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateUserAttributes -> () #

AWSRequest UpdateUserAttributes Source # 
ToPath UpdateUserAttributes Source # 
ToHeaders UpdateUserAttributes Source # 
ToQuery UpdateUserAttributes Source # 
type Rep UpdateUserAttributes Source # 
type Rep UpdateUserAttributes = D1 (MetaData "UpdateUserAttributes" "Network.AWS.CognitoIdentityProvider.UpdateUserAttributes" "amazonka-cognito-idp-1.4.3-C4aYmxMInTgGoQbrVLGYa0" False) (C1 (MetaCons "UpdateUserAttributes'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uuaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) (S1 (MetaSel (Just Symbol "_uuaUserAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [AttributeType]))))
type Rs UpdateUserAttributes Source # 

Request Lenses

uuaAccessToken :: Lens' UpdateUserAttributes (Maybe Text) Source #

The access token for the request to update user attributes.

uuaUserAttributes :: Lens' UpdateUserAttributes [AttributeType] Source #

An array of name-value pairs representing user attributes.

Destructuring the Response

updateUserAttributesResponse Source #

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

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

data UpdateUserAttributesResponse Source #

Represents the response from the server for the request to update user attributes.

See: updateUserAttributesResponse smart constructor.

Instances

Eq UpdateUserAttributesResponse Source # 
Data UpdateUserAttributesResponse Source # 

Methods

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

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

toConstr :: UpdateUserAttributesResponse -> Constr #

dataTypeOf :: UpdateUserAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateUserAttributesResponse Source # 
Show UpdateUserAttributesResponse Source # 
Generic UpdateUserAttributesResponse Source # 
NFData UpdateUserAttributesResponse Source # 
type Rep UpdateUserAttributesResponse Source # 
type Rep UpdateUserAttributesResponse = D1 (MetaData "UpdateUserAttributesResponse" "Network.AWS.CognitoIdentityProvider.UpdateUserAttributes" "amazonka-cognito-idp-1.4.3-C4aYmxMInTgGoQbrVLGYa0" False) (C1 (MetaCons "UpdateUserAttributesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uuarsCodeDeliveryDetailsList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CodeDeliveryDetailsType]))) (S1 (MetaSel (Just Symbol "_uuarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

uuarsCodeDeliveryDetailsList :: Lens' UpdateUserAttributesResponse [CodeDeliveryDetailsType] Source #

The code delivery details list from the server for the request to update user attributes.