Skip to content

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

Description

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

Usage

cognitoidentity_set_principal_tag_attribute_map(IdentityPoolId,
  IdentityProviderName, UseDefaults, PrincipalTags)

Arguments

  • IdentityPoolId

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

  • IdentityProviderName

    [required] The provider name you want to use for attribute mappings.

  • UseDefaults

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

  • PrincipalTags

    You can use this operation to add principal tags.

Value

A list with the following syntax:

list(
  IdentityPoolId = "string",
  IdentityProviderName = "string",
  UseDefaults = TRUE|FALSE,
  PrincipalTags = list(
    "string"
  )
)

Request syntax

svc$set_principal_tag_attribute_map(
  IdentityPoolId = "string",
  IdentityProviderName = "string",
  UseDefaults = TRUE|FALSE,
  PrincipalTags = list(
    "string"
  )
)