CreatePolicyOutput

AuthorizationAmazon Web ServicesPermissionsSecurity

Properties

Name Type Description
policyStoreId string The ID of the policy store that contains the new policy.
policyId string The unique ID of the new policy.
policyType string The policy type of the new policy.
principal object
resource object
actions array The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
createdDate string The date and time the policy was originally created.
lastUpdatedDate string The date and time the policy was last updated.
effect string The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
View JSON Schema on GitHub

JSON Schema

amazon-verified-permissions-create-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-create-policy-output-schema.json",
  "title": "CreatePolicyOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-verified-permissions-createpolicy-api-openapi.yml#/components/schemas/CreatePolicyOutput",
  "type": "object",
  "properties": {
    "policyStoreId": {
      "type": "string",
      "description": "The ID of the policy store that contains the new policy."
    },
    "policyId": {
      "type": "string",
      "description": "The unique ID of the new policy."
    },
    "policyType": {
      "type": "string",
      "enum": [
        "STATIC",
        "TEMPLATE_LINKED"
      ],
      "description": "The policy type of the new policy."
    },
    "principal": {
      "$ref": "#/$defs/EntityIdentifier"
    },
    "resource": {
      "$ref": "#/$defs/EntityIdentifier"
    },
    "actions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ActionIdentifier"
      },
      "description": "The action that a policy permits or forbids. For example, {\"actions\": [{\"actionId\": \"ViewPhoto\", \"actionType\": \"PhotoFlash::Action\"}, {\"entityID\": \"SharePhoto\", \"entityType\": \"PhotoFlash::Action\"}]}."
    },
    "createdDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the policy was originally created."
    },
    "lastUpdatedDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the policy was last updated."
    },
    "effect": {
      "type": "string",
      "enum": [
        "Permit",
        "Forbid"
      ],
      "description": "The effect of the decision that a policy returns to an authorization request. For example, \"effect\": \"Permit\"."
    }
  },
  "required": [
    "policyStoreId",
    "policyId",
    "policyType",
    "createdDate",
    "lastUpdatedDate"
  ],
  "$defs": {
    "ActionIdentifier": {
      "type": "object",
      "properties": {
        "actionType": {
          "type": "string",
          "description": "The type of an action."
        },
        "actionId": {
          "type": "string",
          "description": "The ID of an action."
        }
      },
      "required": [
        "actionType",
        "actionId"
      ]
    },
    "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"
      ]
    }
  }
}

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-create-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.