{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-kendra/json-schema/amazon-kendra-describe-rescore-execution-plan-response-schema.json",
  "title": "DescribeRescoreExecutionPlanResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-kendra-rescore-execution-plan-api-openapi.yml#/components/schemas/DescribeRescoreExecutionPlanResponse",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "The identifier of the rescore execution plan."
    },
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the rescore execution plan."
    },
    "Name": {
      "type": "string",
      "description": "The name for the rescore execution plan."
    },
    "Description": {
      "type": "string",
      "description": "The description for the rescore execution plan."
    },
    "CapacityUnits": {
      "$ref": "#/$defs/KendraRankingCapacityUnitsConfiguration"
    },
    "CreatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The Unix timestamp of when the rescore execution plan was created."
    },
    "UpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The Unix timestamp of when the rescore execution plan was last updated."
    },
    "Status": {
      "type": "string",
      "enum": [
        "CREATING",
        "UPDATING",
        "ACTIVE",
        "DELETING",
        "FAILED"
      ],
      "description": "The current status of the rescore execution plan. When the value is ACTIVE, the rescore execution plan is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why."
    },
    "ErrorMessage": {
      "type": "string",
      "description": "When the Status field value is FAILED, the ErrorMessage field contains a message that explains why."
    }
  },
  "$defs": {
    "KendraRankingCapacityUnitsConfiguration": {
      "type": "object",
      "properties": {
        "RescoreCapacityUnits": {
          "type": "integer",
          "description": "The amount of extra capacity for your rescore execution plan. A single extra capacity unit for a rescore execution plan provides 0.01 rescore requests per second. You can add up to 1000 extra capacity units."
        }
      },
      "required": [
        "RescoreCapacityUnits"
      ]
    }
  }
}