{
  "info": {
    "_postman_id": "de995798-1445-4a42-b3c6-4534fdba991a",
    "name": "Amazon Cognito Identity #X Amz Target=AWSCognitoIdentityProviderService.AddCustomAttributes #X Amz Target=AWSCognitoIdentityProviderService.AddCustomAttributes #X Amz Target=AWSCognitoIdentityService.GetIdentityPoolRoles API",
    "description": "<fullname>Amazon Cognito Federated Identities</fullname> <p>Amazon Cognito Federated Identities is a web service that delivers scoped temporary credentials to mobile devices and other untrusted environments. It uniquely identifies a device and supplies the user with a consistent identity over the lifetime of an application.</p> <p>Using Amazon Cognito Federated Identities, you can enable authentication with one or more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon Cognito user pool, and you can also choose to support unauthenticated access from your app. Cognito delivers a unique identifier for each user and acts as an OpenID token provider trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS credentials.</p> <p>For a description of the authentication flow from the Amazon Cognito Developer Guide see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html\">Authentication Flow</a>.</p> <p>For more information see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html\">Amazon Cognito Federated Identities</a>.</p>\n\nContact Support:\n Name: Mike Ralphson\n Email: mike.ralphson@gmail.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T10:18:50.000Z",
    "updatedAt": "2026-07-28T10:18:50.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-de995798-1445-4a42-b3c6-4534fdba991a"
  },
  "item": [
    {
      "name": "#X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles",
      "item": [
        {
          "name": "Amazon Cognito Get Identity Pool Roles",
          "id": "021d3cfd-5f0a-4475-b847-868a06b70545",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "description": "(Required) ",
                "key": "X-Amz-Target",
                "value": "AWSCognitoIdentityService.GetIdentityPoolRoles"
              },
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdentityPoolId\": \"R2x_qDezu:2e023036b\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/#X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "hash": "X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles"
            },
            "description": "<p>Gets the roles for an identity pool.</p> <p>You must use AWS Developer credentials to call this API.</p>"
          },
          "response": [
            {
              "id": "b5adafe6-6854-4bc8-a1e2-dabcc937e1f4",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "AWSCognitoIdentityService.GetIdentityPoolRoles"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"IdentityPoolId\": \"R2x_qDezu:2e023036b\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"IdentityPoolId\": \"j7r:6c189a-88\",\n  \"Roles\": {\n    \"id84\": \"<string>\"\n  },\n  \"RoleMappings\": {\n    \"minim4\": {\n      \"Type\": \"Rules\",\n      \"AmbiguousRoleResolution\": \"Deny\",\n      \"RulesConfiguration\": {\n        \"Rules\": [\n          {\n            \"Claim\": \"{pN\",\n            \"MatchType\": \"NotEqual\",\n            \"Value\": \"<string>\",\n            \"RoleARN\": \"<string>\"\n          }\n        ]\n      }\n    },\n    \"ullamco_56\": {\n      \"Type\": \"Rules\",\n      \"AmbiguousRoleResolution\": \"AuthenticatedRole\",\n      \"RulesConfiguration\": {\n        \"Rules\": [\n          {\n            \"Claim\": \"PP}\",\n            \"MatchType\": \"StartsWith\",\n            \"Value\": \"<string>\",\n            \"RoleARN\": \"<string>\"\n          }\n        ]\n      }\n    },\n    \"do6\": {\n      \"Type\": \"Rules\",\n      \"AmbiguousRoleResolution\": \"AuthenticatedRole\",\n      \"RulesConfiguration\": {\n        \"Rules\": [\n          {\n            \"Claim\": \"SM\",\n            \"MatchType\": \"Equals\",\n            \"Value\": \"<string>\",\n            \"RoleARN\": \"<string>\"\n          }\n        ]\n      }\n    },\n    \"eae4\": {\n      \"Type\": \"Rules\",\n      \"AmbiguousRoleResolution\": \"AuthenticatedRole\",\n      \"RulesConfiguration\": {\n        \"Rules\": [\n          {\n            \"Claim\": \"LLSM{PS\",\n            \"MatchType\": \"Contains\",\n            \"Value\": \"<string>\",\n            \"RoleARN\": \"<string>\"\n          }\n        ]\n      }\n    },\n    \"id_b7_\": {\n      \"Type\": \"Token\",\n      \"AmbiguousRoleResolution\": \"AuthenticatedRole\",\n      \"RulesConfiguration\": {\n        \"Rules\": [\n          {\n            \"Claim\": \"N\",\n            \"MatchType\": \"StartsWith\",\n            \"Value\": \"<string>\",\n            \"RoleARN\": \"<string>\"\n          }\n        ]\n      }\n    },\n    \"ullamco_61\": {\n      \"Type\": \"Token\",\n      \"AmbiguousRoleResolution\": \"Deny\",\n      \"RulesConfiguration\": {\n        \"Rules\": [\n          {\n            \"Claim\": \"pppSLMSN{}\",\n            \"MatchType\": \"StartsWith\",\n            \"Value\": \"<string>\",\n            \"RoleARN\": \"<string>\"\n          }\n        ]\n      }\n    }\n  }\n}",
              "createdAt": "2026-07-28T10:18:50.000Z",
              "updatedAt": "2026-07-28T10:18:50.000Z",
              "uid": "35240-b5adafe6-6854-4bc8-a1e2-dabcc937e1f4"
            },
            {
              "id": "c139b92a-0ca5-43a1-8cf6-394641583bde",
              "name": "InvalidParameterException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "AWSCognitoIdentityService.GetIdentityPoolRoles"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"IdentityPoolId\": \"R2x_qDezu:2e023036b\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:18:50.000Z",
              "updatedAt": "2026-07-28T10:18:50.000Z",
              "uid": "35240-c139b92a-0ca5-43a1-8cf6-394641583bde"
            },
            {
              "id": "8ea599f0-561e-4703-a32a-206d608d9960",
              "name": "ResourceNotFoundException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "AWSCognitoIdentityService.GetIdentityPoolRoles"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"IdentityPoolId\": \"R2x_qDezu:2e023036b\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:18:50.000Z",
              "updatedAt": "2026-07-28T10:18:50.000Z",
              "uid": "35240-8ea599f0-561e-4703-a32a-206d608d9960"
            },
            {
              "id": "8167d638-aa12-4cac-8c42-904d6eb73a96",
              "name": "NotAuthorizedException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "AWSCognitoIdentityService.GetIdentityPoolRoles"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"IdentityPoolId\": \"R2x_qDezu:2e023036b\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:18:50.000Z",
              "updatedAt": "2026-07-28T10:18:50.000Z",
              "uid": "35240-8167d638-aa12-4cac-8c42-904d6eb73a96"
            },
            {
              "id": "dbf4b02d-8116-4891-812f-c774f09f7001",
              "name": "ResourceConflictException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "AWSCognitoIdentityService.GetIdentityPoolRoles"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"IdentityPoolId\": \"R2x_qDezu:2e023036b\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:18:50.000Z",
              "updatedAt": "2026-07-28T10:18:50.000Z",
              "uid": "35240-dbf4b02d-8116-4891-812f-c774f09f7001"
            },
            {
              "id": "1b54bf78-d671-4b2c-94b1-f2185c548407",
              "name": "TooManyRequestsException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "AWSCognitoIdentityService.GetIdentityPoolRoles"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"IdentityPoolId\": \"R2x_qDezu:2e023036b\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:18:50.000Z",
              "updatedAt": "2026-07-28T10:18:50.000Z",
              "uid": "35240-1b54bf78-d671-4b2c-94b1-f2185c548407"
            },
            {
              "id": "744721d8-c07e-4297-abcb-11c3ec09277d",
              "name": "InternalErrorException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "AWSCognitoIdentityService.GetIdentityPoolRoles"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"IdentityPoolId\": \"R2x_qDezu:2e023036b\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=AWSCognitoIdentityService.GetIdentityPoolRoles"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:18:50.000Z",
              "updatedAt": "2026-07-28T10:18:50.000Z",
              "uid": "35240-744721d8-c07e-4297-abcb-11c3ec09277d"
            }
          ],
          "createdAt": "2026-07-28T10:18:50.000Z",
          "updatedAt": "2026-07-28T10:18:50.000Z",
          "uid": "35240-021d3cfd-5f0a-4475-b847-868a06b70545"
        }
      ],
      "id": "b4a72175-2080-441a-802c-149282eeffbd",
      "createdAt": "2026-07-28T10:18:50.000Z",
      "updatedAt": "2026-07-28T10:18:50.000Z",
      "uid": "35240-b4a72175-2080-441a-802c-149282eeffbd"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "us-east-1"
    },
    {
      "key": "baseUrl",
      "value": "http://cognito-identity.{{region}}.amazonaws.com"
    }
  ]
}