Amazon Cognito · JSON Structure

Cognito Identity Get Identity Pool Roles Response Structure

Returned in response to a successful GetIdentityPoolRoles operation.

Type: object Properties: 3
AuthenticationAuthorizationIdentityIdentity ProviderOIDC

GetIdentityPoolRolesResponse is a JSON Structure definition published by Amazon Cognito, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

IdentityPoolId Roles RoleMappings

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "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\"."
        }
      ]
    }
  },
  "description": "Returned in response to a successful <code>GetIdentityPoolRoles</code> operation.",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-structure/cognito-identity-get-identity-pool-roles-response-structure.json",
  "name": "GetIdentityPoolRolesResponse"
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/cognito-identity-get-identity-pool-roles-response-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.