Amazon X-Ray · JSON Structure

Xray Put Resource Policy Request Structure

PutResourcePolicyRequest schema from Amazon X-Ray API

Type: object Properties: 4 Required: 2
Application PerformanceDebuggingDistributed TracingMonitoringObservability

PutResourcePolicyRequest is a JSON Structure definition published by Amazon X-Ray, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PolicyName PolicyDocument PolicyRevisionId BypassPolicyLockoutCheck

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "required": [
    "PolicyName",
    "PolicyDocument"
  ],
  "name": "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-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-xray/refs/heads/main/json-structure/xray-put-resource-policy-request-structure.json",
  "description": "PutResourcePolicyRequest schema from Amazon X-Ray API"
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/xray-put-resource-policy-request-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.