{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-start-policy-generation-response-schema.json",
  "title": "StartPolicyGenerationResponse",
  "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/StartPolicyGenerationResponse",
  "type": "object",
  "properties": {
    "policyEngineId": {
      "type": "string",
      "description": "The identifier of the policy engine associated with the started policy generation."
    },
    "policyGenerationId": {
      "type": "string",
      "description": "The unique identifier assigned to the policy generation request for tracking progress."
    },
    "name": {
      "type": "string",
      "description": "The customer-assigned name for the policy generation request."
    },
    "policyGenerationArn": {
      "type": "string",
      "description": "The ARN of the created policy generation request."
    },
    "resource": {
      "$ref": "#/$defs/Resource"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the policy generation request was created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the policy generation was last updated."
    },
    "status": {
      "type": "string",
      "enum": [
        "GENERATING",
        "GENERATED",
        "GENERATE_FAILED",
        "DELETE_FAILED"
      ],
      "description": "The initial status of the policy generation request."
    },
    "findings": {
      "type": "string",
      "description": "Initial findings from the 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"
  ],
  "$defs": {
    "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."
    }
  }
}