Amazon Cognito · Schema

GetIdentityPoolRolesResponse

Returned in response to a successful GetIdentityPoolRoles operation.

AuthenticationIdentityOAuthOIDCSAMLUser ManagementFederated Identity

Properties

Name Type Description
IdentityPoolId object
Roles object
RoleMappings object
View JSON Schema on GitHub

JSON Schema

identity-pools-get-identity-pool-roles-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-schema/identity-pools-get-identity-pool-roles-response-schema.json",
  "title": "GetIdentityPoolRolesResponse",
  "description": "Returned in response to a successful <code>GetIdentityPoolRoles</code> operation.",
  "type": "object",
  "properties": {
    "IdentityPoolId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IdentityPoolId"
        },
        {
          "description": "An identity pool ID in the format REGION:GUID."
        }
      ]
    },
    "Roles": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RolesMap"
        },
        {
          "description": "The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported."
        }
      ]
    },
    "RoleMappings": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RoleMappingMap"
        },
        {
          "description": "How users for a specific identity provider are to mapped to roles. This is a String-to-<a>RoleMapping</a> object map. The string identifies the identity provider, for example, \"graph.facebook.com\" or \"cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id\"."
        }
      ]
    }
  }
}