BatchGetPolicyOutput

AuthorizationAmazon Web ServicesPermissionsSecurity

Properties

Name Type Description
results array Information about the policies listed in the request that were successfully returned. These results are returned in the order they were requested.
errors array Information about the policies from the request that resulted in an error. These results are returned in the order they were requested.
View JSON Schema on GitHub

JSON Schema

amazon-verified-permissions-batch-get-policy-output-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-verified-permissions/json-schema/amazon-verified-permissions-batch-get-policy-output-schema.json",
  "title": "BatchGetPolicyOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-verified-permissions-batchgetpolicy-api-openapi.yml#/components/schemas/BatchGetPolicyOutput",
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchGetPolicyOutputItem"
      },
      "description": "Information about the policies listed in the request that were successfully returned. These results are returned in the order they were requested."
    },
    "errors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchGetPolicyErrorItem"
      },
      "description": "Information about the policies from the request that resulted in an error. These results are returned in the order they were requested."
    }
  },
  "required": [
    "results",
    "errors"
  ],
  "$defs": {
    "BatchGetPolicyErrorItem": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "POLICY_STORE_NOT_FOUND",
            "POLICY_NOT_FOUND",
            "POLICY_STORE_ALIAS_NOT_FOUND"
          ],
          "description": "The error code that was returned."
        },
        "policyStoreId": {
          "type": "string",
          "description": "The identifier of the policy store associated with the failed request."
        },
        "policyId": {
          "type": "string",
          "description": "The identifier of the policy associated with the failed request."
        },
        "message": {
          "type": "string",
          "description": "A detailed error message."
        }
      },
      "required": [
        "code",
        "policyStoreId",
        "policyId",
        "message"
      ]
    },
    "BatchGetPolicyOutputItem": {
      "type": "object",
      "properties": {
        "policyStoreId": {
          "type": "string",
          "description": "The identifier of the policy store where the policy you want information about is stored."
        },
        "policyId": {
          "type": "string",
          "description": "The identifier of the policy you want information about."
        },
        "policyType": {
          "type": "string",
          "enum": [
            "STATIC",
            "TEMPLATE_LINKED"
          ],
          "description": "The type of the policy. This is one of the following values: STATIC TEMPLATE_LINKED"
        },
        "definition": {
          "$ref": "#/$defs/PolicyDefinitionDetail"
        },
        "createdDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the policy was created."
        },
        "lastUpdatedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the policy was most recently updated."
        },
        "name": {
          "type": "string",
          "description": "The name of the policy, if one was assigned when the policy was created or last updated."
        }
      },
      "required": [
        "policyStoreId",
        "policyId",
        "policyType",
        "definition",
        "createdDate",
        "lastUpdatedDate"
      ]
    },
    "EntityIdentifier": {
      "type": "object",
      "properties": {
        "entityType": {
          "type": "string",
          "description": "The type of an entity. Example: \"entityType\":\"typeName\""
        },
        "entityId": {
          "type": "string",
          "description": "The identifier of an entity. \"entityId\":\"identifier\""
        }
      },
      "required": [
        "entityType",
        "entityId"
      ]
    },
    "PolicyDefinitionDetail": {
      "type": "object",
      "properties": {
        "static": {
          "$ref": "#/$defs/StaticPolicyDefinitionDetail"
        },
        "templateLinked": {
          "$ref": "#/$defs/TemplateLinkedPolicyDefinitionDetail"
        }
      },
      "description": "Exactly one member is set."
    },
    "StaticPolicyDefinitionDetail": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "A description of the static policy."
        },
        "statement": {
          "type": "string",
          "description": "The content of the static policy written in the Cedar policy language."
        }
      },
      "required": [
        "statement"
      ]
    },
    "TemplateLinkedPolicyDefinitionDetail": {
      "type": "object",
      "properties": {
        "policyTemplateId": {
          "type": "string",
          "description": "The unique identifier of the policy template used to create this policy."
        },
        "principal": {
          "$ref": "#/$defs/EntityIdentifier"
        },
        "resource": {
          "$ref": "#/$defs/EntityIdentifier"
        }
      },
      "required": [
        "policyTemplateId"
      ]
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/amazon-verified-permissions-batch-get-policy-output"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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