{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-list-policy-engines-response-schema.json",
  "title": "ListPolicyEnginesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-policy-engines-api-openapi.yml#/components/schemas/ListPolicyEnginesResponse",
  "type": "object",
  "properties": {
    "policyEngines": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PolicyEngine"
      },
      "description": "An array of policy engine objects that exist in the account. Each policy engine object contains the engine metadata, status, and key identifiers for further operations."
    },
    "nextToken": {
      "type": "string",
      "description": "A pagination token that can be used in subsequent ListPolicyEngines calls to retrieve additional results. This token is only present when there are more results available."
    }
  },
  "required": [
    "policyEngines"
  ],
  "$defs": {
    "PolicyEngine": {
      "type": "object",
      "properties": {
        "policyEngineId": {
          "type": "string",
          "description": "The unique identifier for the policy engine. This system-generated identifier consists of the user name plus a 10-character generated suffix and serves as the primary key for policy engine operations."
        },
        "name": {
          "type": "string",
          "description": "The customer-assigned immutable name for the policy engine. This human-readable identifier must be unique within the account and cannot exceed 48 characters."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the policy engine was originally created. This is automatically set by the service and used for auditing and lifecycle management."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the policy engine was last modified. This tracks the most recent changes to the policy engine configuration or metadata."
        },
        "policyEngineArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the policy engine. This globally unique identifier can be used for cross-service references and IAM policy statements."
        },
        "status": {
          "type": "string",
          "enum": [
            "CREATING",
            "ACTIVE",
            "UPDATING",
            "DELETING",
            "CREATE_FAILED",
            "UPDATE_FAILED",
            "DELETE_FAILED"
          ],
          "description": "The current status of the policy engine."
        },
        "encryptionKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data."
        },
        "description": {
          "type": "string",
          "description": "A human-readable description of the policy engine's purpose and scope. Limited to 4,096 characters, this helps administrators understand the policy engine's role in the overall governance strategy."
        },
        "statusReasons": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Additional information about the policy engine status. This provides details about any failures or the current state of the policy engine lifecycle."
        }
      },
      "required": [
        "policyEngineId",
        "name",
        "createdAt",
        "updatedAt",
        "policyEngineArn",
        "status",
        "statusReasons"
      ]
    }
  }
}