Skip to content

/AWS1/CL_CGP=>ADDCUSTOMATTRIBUTES()

About AddCustomAttributes

Adds additional user attributes to the user pool schema.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

Method Signature

IMPORTING

Required arguments:

IV_USERPOOLID TYPE /AWS1/CGPUSERPOOLIDTYPE /AWS1/CGPUSERPOOLIDTYPE

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

IT_CUSTOMATTRIBUTES TYPE /AWS1/CL_CGPSCHEMAATTRTYPE=>TT_CUSTOMATTRIBUTESLISTTYPE TT_CUSTOMATTRIBUTESLISTTYPE

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CGPADDCUSTOMATTRSRSP /AWS1/CL_CGPADDCUSTOMATTRSRSP