v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142311090.8 KB

You can use this operation to use default (username and clientID) attribute or custom attribute mappings.

post/#X-Amz-Target=AWSCognitoIdentityService.SetPrincipalTagAttributeMap

Headers

X-Amz-Target'AWSCognitoIdentityService.SetPrincipalTagAttributeMap' required

Request body

IdentityPoolIdstring required

The ID of the Identity Pool you want to set attribute mappings for.

IdentityProviderNamestring required

The provider name you want to use for attribute mappings.

UseDefaultsboolean

You can use this operation to use default (username and clientID) attribute mappings.

PrincipalTagsobject

You can use this operation to add principal tags.

Response

Success

IdentityPoolIdstring

The ID of the Identity Pool you want to set attribute mappings for.

IdentityProviderNamestring

The provider name you want to use for attribute mappings.

UseDefaultsboolean

You can use this operation to select default (username and clientID) attribute mappings.

PrincipalTagsobject

You can use this operation to add principal tags. The <code>PrincipalTags</code>operation enables you to reference user attributes in your IAM permissions policy.