Amazon Comprehend · Schema

PutResourcePolicyRequest

PutResourcePolicyRequest schema

Machine-LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
ResourceArn object
ResourcePolicy object
PolicyRevisionId object
View JSON Schema on GitHub

JSON Schema

openapi.yml-put-resource-policy-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-schema/openapi.yml-put-resource-policy-request-schema.json",
  "title": "PutResourcePolicyRequest",
  "description": "PutResourcePolicyRequest schema",
  "type": "object",
  "properties": {
    "ResourceArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ComprehendModelArn"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the custom model to attach the policy to."
        }
      ]
    },
    "ResourcePolicy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Policy"
        },
        {
          "description": "<p>The JSON resource-based policy to attach to your custom model. Provide your JSON as a UTF-8 encoded string without line breaks. To provide valid JSON for your policy, enclose the attribute names and values in double quotes. If the JSON body is also enclosed in double quotes, then you must escape the double quotes that are inside the policy:</p> <p> <code>\"{\\\"attribute\\\": \\\"value\\\", \\\"attribute\\\": [\\\"value\\\"]}\"</code> </p> <p>To avoid escaping quotes, you can use single quotes to enclose the policy and double quotes to enclose the JSON names and values:</p> <p> <code>'{\"attribute\": \"value\", \"attribute\": [\"value\"]}'</code> </p>"
        }
      ]
    },
    "PolicyRevisionId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyRevisionId"
        },
        {
          "description": "The revision ID that Amazon Comprehend assigned to the policy that you are updating. If you are creating a new policy that has no prior version, don't use this parameter. Amazon Comprehend creates the revision ID for you."
        }
      ]
    }
  },
  "required": [
    "ResourceArn",
    "ResourcePolicy"
  ]
}

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/openapi.yml-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 email required.

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