{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-describe-resource-policies-request-schema.json",
  "title": "DescribeResourcePoliciesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-resource-policy-api-openapi.yml#/components/schemas/DescribeResourcePoliciesRequest",
  "type": "object",
  "properties": {
    "nextToken": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "description": "The maximum number of resource policies to be displayed with one call of this API."
    },
    "resourceArn": {
      "type": "string",
      "description": "The ARN of the CloudWatch Logs resource for which to query the resource policy."
    },
    "policyScope": {
      "type": "string",
      "enum": [
        "ACCOUNT",
        "RESOURCE"
      ],
      "description": "Specifies the scope of the resource policy. Valid values are ACCOUNT or RESOURCE. When not specified, defaults to ACCOUNT."
    }
  }
}