{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-list-security-policies-request-schema.json",
  "title": "ListSecurityPoliciesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-security-policy-api-openapi.yml#/components/schemas/ListSecurityPoliciesRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of policy."
    },
    "resource": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Resource filters (can be collection or indexes) that policies can apply to."
    },
    "nextToken": {
      "type": "string",
      "description": "If your initial ListSecurityPolicies operation returns a nextToken, you can include the returned nextToken in subsequent ListSecurityPolicies operations, which returns results in the next page."
    },
    "maxResults": {
      "type": "integer",
      "description": "An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 20."
    }
  },
  "required": [
    "type"
  ]
}