Amazon X-Ray · Schema

PutResourcePolicyRequest

Application PerformanceAmazon Web ServicesDebuggingDeveloper ToolsDistributed TracingMonitoringObservability

Properties

Name Type Description
PolicyName string The name of the resource policy. Must be unique within a specific Amazon Web Services account.
PolicyDocument string The resource policy document, which can be up to 5kb in size.
PolicyRevisionId string Specifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id. The revision id
BypassPolicyLockoutCheck boolean A flag to indicate whether to bypass the resource policy lockout safety check. Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscr
View JSON Schema on GitHub

JSON Schema

amazon-xray-put-resource-policy-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-xray/json-schema/amazon-xray-put-resource-policy-request-schema.json",
  "title": "PutResourcePolicyRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-xray-putresourcepolicy-api-openapi.yml#/components/schemas/PutResourcePolicyRequest",
  "type": "object",
  "properties": {
    "PolicyName": {
      "type": "string",
      "description": "The name of the resource policy. Must be unique within a specific Amazon Web Services account."
    },
    "PolicyDocument": {
      "type": "string",
      "description": "The resource policy document, which can be up to 5kb in size."
    },
    "PolicyRevisionId": {
      "type": "string",
      "description": "Specifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id. The revision id is unique to each policy in the account. If the policy revision id does not match the latest revision id, the operation will fail with an InvalidPolicyRevisionIdException exception. You can also provide a PolicyRevisionId of 0. In this case, the operation will fail with an InvalidPolicyRevisionIdException exception if a resource policy with the same name already exists."
    },
    "BypassPolicyLockoutCheck": {
      "type": "boolean",
      "description": "A flag to indicate whether to bypass the resource policy lockout safety check. Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately. Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent PutResourcePolicy request. The default value is false."
    }
  },
  "required": [
    "PolicyName",
    "PolicyDocument"
  ]
}

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-xray-put-resource-policy-request"
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.