{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-list-policy-grants-input-schema.json",
  "title": "ListPolicyGrantsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datazone-operations-api-openapi.yml#/components/schemas/ListPolicyGrantsInput",
  "type": "object",
  "properties": {
    "domainIdentifier": {
      "type": "string",
      "description": "The ID of the domain where you want to list policy grants."
    },
    "entityType": {
      "type": "string",
      "enum": [
        "DOMAIN_UNIT",
        "ENVIRONMENT_BLUEPRINT_CONFIGURATION",
        "ENVIRONMENT_PROFILE",
        "ASSET_TYPE"
      ],
      "description": "The type of entity for which you want to list policy grants."
    },
    "entityIdentifier": {
      "type": "string",
      "description": "The ID of the entity for which you want to list policy grants."
    },
    "policyType": {
      "type": "string",
      "enum": [
        "CREATE_DOMAIN_UNIT",
        "OVERRIDE_DOMAIN_UNIT_OWNERS",
        "ADD_TO_PROJECT_MEMBER_POOL",
        "OVERRIDE_PROJECT_OWNERS",
        "CREATE_GLOSSARY",
        "CREATE_FORM_TYPE",
        "CREATE_ASSET_TYPE",
        "CREATE_PROJECT",
        "CREATE_ENVIRONMENT_PROFILE",
        "DELEGATE_CREATE_ENVIRONMENT_PROFILE",
        "CREATE_ENVIRONMENT",
        "CREATE_ENVIRONMENT_FROM_BLUEPRINT",
        "CREATE_PROJECT_FROM_PROJECT_PROFILE",
        "USE_ASSET_TYPE"
      ],
      "description": "The type of policy that you want to list."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of grants to return in a single call to ListPolicyGrants. When the number of grants to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListPolicyGrants to list the next set of grants."
    },
    "nextToken": {
      "type": "string",
      "description": "When the number of grants is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of grants, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListPolicyGrants to list the next set of grants."
    }
  },
  "required": [
    "domainIdentifier",
    "entityType",
    "entityIdentifier",
    "policyType"
  ]
}