Amazon X-Ray · Schema

PutResourcePolicyRequest

PutResourcePolicyRequest schema from Amazon X-Ray API

Application PerformanceDebuggingDistributed TracingMonitoringObservability

Properties

Name Type Description
PolicyName object
PolicyDocument object
PolicyRevisionId object
BypassPolicyLockoutCheck object
View JSON Schema on GitHub

JSON Schema

xray-put-resource-policy-request-schema.json Raw ↑
{
  "type": "object",
  "required": [
    "PolicyName",
    "PolicyDocument"
  ],
  "title": "PutResourcePolicyRequest",
  "properties": {
    "PolicyName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyName"
        },
        {
          "description": "The name of the resource policy. Must be unique within a specific Amazon Web Services account."
        }
      ]
    },
    "PolicyDocument": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyDocument"
        },
        {
          "description": "The resource policy document, which can be up to 5kb in size."
        }
      ]
    },
    "PolicyRevisionId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyRevisionId"
        },
        {
          "description": "<p>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.</p> <p>If the policy revision id does not match the latest revision id, the operation will fail with an <code>InvalidPolicyRevisionIdException</code> exception. You can also provide a <code>PolicyRevisionId</code> of 0. In this case, the operation will fail with an <code>InvalidPolicyRevisionIdException</code> exception if a resource policy with the same name already exists. </p>"
        }
      ]
    },
    "BypassPolicyLockoutCheck": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Boolean"
        },
        {
          "description": "<p>A flag to indicate whether to bypass the resource policy lockout safety check.</p> <important> <p>Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately.</p> </important> <p>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 <code>PutResourcePolicy</code> request.</p> <p>The default value is false.</p>"
        }
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-xray/refs/heads/main/json-schema/xray-put-resource-policy-request-schema.json",
  "description": "PutResourcePolicyRequest schema from Amazon X-Ray API"
}

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/xray-put-resource-policy-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

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. See our Privacy Policy and Terms.

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