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

  • acaUserPoolId - The user pool ID for the user pool where you want to add custom attributes.
  • acaCustomAttributes - An array of custom attributes, such as Mutable and Name.

data AddCustomAttributes Source #

Represents the request to add custom attributes.

See: addCustomAttributes smart constructor.

Instances
Eq AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

Data AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

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

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

Show AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

Generic AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

Associated Types

type Rep AddCustomAttributes :: Type -> Type #

Hashable AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

ToJSON AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

AWSRequest AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

Associated Types

type Rs AddCustomAttributes :: Type #

ToHeaders AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

ToPath AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

ToQuery AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

NFData AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

Methods

rnf :: AddCustomAttributes -> () #

type Rep AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

type Rep AddCustomAttributes = D1 (MetaData "AddCustomAttributes" "Network.AWS.CognitoIdentityProvider.AddCustomAttributes" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "AddCustomAttributes'" PrefixI True) (S1 (MetaSel (Just "_acaUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_acaCustomAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 SchemaAttributeType))))
type Rs AddCustomAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

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

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

Data AddCustomAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

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

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

Show AddCustomAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

Generic AddCustomAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

Associated Types

type Rep AddCustomAttributesResponse :: Type -> Type #

NFData AddCustomAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

type Rep AddCustomAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AddCustomAttributes

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

Response Lenses