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

Contents

Description

Adds additional user attributes to the user pool schema.

Synopsis

Creating a Request

addCustomAttributes Source #

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

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

data AddCustomAttributes Source #

Represents the request to add custom attributes.

See: addCustomAttributes smart constructor.

Instances

Eq AddCustomAttributes Source # 
Data AddCustomAttributes Source # 

Methods

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

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

toConstr :: AddCustomAttributes -> Constr #

dataTypeOf :: AddCustomAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AddCustomAttributes -> () #

AWSRequest AddCustomAttributes Source # 
ToPath AddCustomAttributes Source # 
ToHeaders AddCustomAttributes Source # 
ToQuery AddCustomAttributes Source # 
type Rep AddCustomAttributes Source # 
type Rep AddCustomAttributes = D1 (MetaData "AddCustomAttributes" "Network.AWS.CognitoIdentityProvider.AddCustomAttributes" "amazonka-cognito-idp-1.4.3-C4aYmxMInTgGoQbrVLGYa0" False) (C1 (MetaCons "AddCustomAttributes'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_acaUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_acaCustomAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 SchemaAttributeType)))))
type Rs AddCustomAttributes Source # 

Request Lenses

acaUserPoolId :: Lens' AddCustomAttributes Text Source #

The user pool ID for the user pool where you want to add custom attributes.

acaCustomAttributes :: Lens' AddCustomAttributes (NonEmpty SchemaAttributeType) Source #

An array of custom attributes, such as Mutable and Name.

Destructuring the Response

addCustomAttributesResponse Source #

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

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

data AddCustomAttributesResponse Source #

Represents the response from the server for the request to add custom attributes.

See: addCustomAttributesResponse smart constructor.

Instances

Eq AddCustomAttributesResponse Source # 
Data AddCustomAttributesResponse Source # 

Methods

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

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

toConstr :: AddCustomAttributesResponse -> Constr #

dataTypeOf :: AddCustomAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddCustomAttributesResponse Source # 
Show AddCustomAttributesResponse Source # 
Generic AddCustomAttributesResponse Source # 
NFData AddCustomAttributesResponse Source # 
type Rep AddCustomAttributesResponse Source # 
type Rep AddCustomAttributesResponse = D1 (MetaData "AddCustomAttributesResponse" "Network.AWS.CognitoIdentityProvider.AddCustomAttributes" "amazonka-cognito-idp-1.4.3-C4aYmxMInTgGoQbrVLGYa0" True) (C1 (MetaCons "AddCustomAttributesResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_acarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses