amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CognitoIdentityProvider.AddCustomAttributes

Description

Adds additional user attributes to the user pool schema.

Synopsis

Creating a Request

data AddCustomAttributes Source #

Represents the request to add custom attributes.

See: newAddCustomAttributes smart constructor.

Constructors

AddCustomAttributes' 

Fields

Instances

Instances details
ToJSON AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

ToHeaders AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

ToPath AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

ToQuery AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

AWSRequest AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

Associated Types

type AWSResponse AddCustomAttributes #

Generic AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

Associated Types

type Rep AddCustomAttributes :: Type -> Type #

Read AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

Show AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

NFData AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

Methods

rnf :: AddCustomAttributes -> () #

Eq AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

Hashable AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

type AWSResponse AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

type Rep AddCustomAttributes Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

type Rep AddCustomAttributes = D1 ('MetaData "AddCustomAttributes" "Amazonka.CognitoIdentityProvider.AddCustomAttributes" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "AddCustomAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "customAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty SchemaAttributeType))))

newAddCustomAttributes Source #

Create a value of AddCustomAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

AddCustomAttributes, addCustomAttributes_userPoolId - The user pool ID for the user pool where you want to add custom attributes.

$sel:customAttributes:AddCustomAttributes', addCustomAttributes_customAttributes - An array of custom attributes, such as Mutable and Name.

Request Lenses

addCustomAttributes_userPoolId :: Lens' AddCustomAttributes Text Source #

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

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

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

Destructuring the Response

data AddCustomAttributesResponse Source #

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

See: newAddCustomAttributesResponse smart constructor.

Constructors

AddCustomAttributesResponse' 

Fields

Instances

Instances details
Generic AddCustomAttributesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

Associated Types

type Rep AddCustomAttributesResponse :: Type -> Type #

Read AddCustomAttributesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

Show AddCustomAttributesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

NFData AddCustomAttributesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

Eq AddCustomAttributesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

type Rep AddCustomAttributesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AddCustomAttributes

type Rep AddCustomAttributesResponse = D1 ('MetaData "AddCustomAttributesResponse" "Amazonka.CognitoIdentityProvider.AddCustomAttributes" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "AddCustomAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddCustomAttributesResponse Source #

Create a value of AddCustomAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:AddCustomAttributesResponse', addCustomAttributesResponse_httpStatus - The response's http status code.

Response Lenses