Skip to content

Gets the roles for an identity pool

Description

Gets the roles for an identity pool.

You must use Amazon Web Services developer credentials to call this operation.

Usage

cognitoidentity_get_identity_pool_roles(IdentityPoolId)

Arguments

  • IdentityPoolId

    [required] An identity pool ID in the format REGION:GUID.

Value

A list with the following syntax:

list(
  IdentityPoolId = "string",
  Roles = list(
    "string"
  ),
  RoleMappings = list(
    list(
      Type = "Token"|"Rules",
      AmbiguousRoleResolution = "AuthenticatedRole"|"Deny",
      RulesConfiguration = list(
        Rules = list(
          list(
            Claim = "string",
            MatchType = "Equals"|"Contains"|"StartsWith"|"NotEqual",
            Value = "string",
            RoleARN = "string"
          )
        )
      )
    )
  )
)

Request syntax

svc$get_identity_pool_roles(
  IdentityPoolId = "string"
)