{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-list-policy-generations-response-schema.json",
  "title": "ListPolicyGenerationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-policy-generations-api-openapi.yml#/components/schemas/ListPolicyGenerationsResponse",
  "type": "object",
  "properties": {
    "policyGenerations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PolicyGeneration"
      },
      "description": "An array of policy generation objects that match the specified criteria."
    },
    "nextToken": {
      "type": "string",
      "description": "A pagination token for retrieving additional policy generations if more results are available."
    }
  },
  "required": [
    "policyGenerations"
  ],
  "$defs": {
    "PolicyGeneration": {
      "type": "object",
      "properties": {
        "policyEngineId": {
          "type": "string",
          "description": "The identifier of the policy engine associated with this generation request."
        },
        "policyGenerationId": {
          "type": "string",
          "description": "The unique identifier for this policy generation request."
        },
        "name": {
          "type": "string",
          "description": "The customer-assigned name for this policy generation request."
        },
        "policyGenerationArn": {
          "type": "string",
          "description": "The ARN of this policy generation request."
        },
        "resource": {
          "$ref": "#/$defs/Resource"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when this policy generation request was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when this policy generation was last updated."
        },
        "status": {
          "type": "string",
          "enum": [
            "GENERATING",
            "GENERATED",
            "GENERATE_FAILED",
            "DELETE_FAILED"
          ],
          "description": "The current status of this policy generation request."
        },
        "findings": {
          "type": "string",
          "description": "Findings and insights from this policy generation process."
        },
        "statusReasons": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Additional information about the generation status."
        }
      },
      "required": [
        "policyEngineId",
        "policyGenerationId",
        "name",
        "policyGenerationArn",
        "resource",
        "createdAt",
        "updatedAt",
        "status",
        "statusReasons"
      ]
    },
    "Resource": {
      "type": "object",
      "properties": {
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the resource. This globally unique identifier specifies the exact resource that policies will be evaluated against for access control decisions."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}