{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-eventbridge/json-schema/amazon-eventbridge-describe-replay-response-schema.json",
  "title": "DescribeReplayResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-eventbridge-replay-api-openapi.yml#/components/schemas/DescribeReplayResponse",
  "type": "object",
  "properties": {
    "ReplayName": {
      "type": "string",
      "description": "The name of the replay."
    },
    "ReplayArn": {
      "type": "string",
      "description": "The ARN of the replay."
    },
    "Description": {
      "type": "string",
      "description": "The description of the replay."
    },
    "State": {
      "type": "string",
      "enum": [
        "STARTING",
        "RUNNING",
        "CANCELLING",
        "COMPLETED",
        "CANCELLED",
        "FAILED"
      ],
      "description": "The current state of the replay."
    },
    "StateReason": {
      "type": "string",
      "description": "The reason that the replay is in the current state."
    },
    "EventSourceArn": {
      "type": "string",
      "description": "The ARN of the archive events were replayed from."
    },
    "Destination": {
      "$ref": "#/$defs/ReplayDestination"
    },
    "EventStartTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time stamp of the first event that was last replayed from the archive."
    },
    "EventEndTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time stamp for the last event that was replayed from the archive."
    },
    "EventLastReplayedTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the event was last replayed."
    },
    "ReplayStartTime": {
      "type": "string",
      "format": "date-time",
      "description": "A time stamp for the time that the replay started."
    },
    "ReplayEndTime": {
      "type": "string",
      "format": "date-time",
      "description": "A time stamp for the time that the replay stopped."
    }
  },
  "$defs": {
    "ReplayDestination": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The ARN of the event bus to replay event to. You can replay events only to the event bus specified to create the archive."
        },
        "FilterArns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of ARNs for rules to replay events to."
        }
      },
      "required": [
        "Arn"
      ]
    }
  }
}