{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-get-event-stream-response-schema.json",
  "title": "GetEventStreamResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-event-streams-api-openapi.yml#/components/schemas/GetEventStreamResponse",
  "type": "object",
  "properties": {
    "DomainName": {
      "type": "string",
      "description": "The unique name of the domain."
    },
    "EventStreamArn": {
      "type": "string",
      "description": "A unique identifier for the event stream."
    },
    "CreatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the export was created."
    },
    "State": {
      "type": "string",
      "enum": [
        "RUNNING",
        "STOPPED"
      ],
      "description": "The operational state of destination stream for export."
    },
    "StoppedSince": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the State changed to STOPPED."
    },
    "DestinationDetails": {
      "$ref": "#/$defs/EventStreamDestinationDetails"
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags used to organize, track, or control access for this resource."
    }
  },
  "required": [
    "DomainName",
    "EventStreamArn",
    "CreatedAt",
    "State",
    "DestinationDetails"
  ],
  "$defs": {
    "EventStreamDestinationDetails": {
      "type": "object",
      "properties": {
        "Uri": {
          "type": "string",
          "description": "The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name."
        },
        "Status": {
          "type": "string",
          "enum": [
            "HEALTHY",
            "UNHEALTHY"
          ],
          "description": "The status of enabling the Kinesis stream as a destination for export."
        },
        "UnhealthySince": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the status last changed to UNHEALHY."
        },
        "Message": {
          "type": "string",
          "description": "The human-readable string that corresponds to the error or success while enabling the streaming destination."
        }
      },
      "required": [
        "Uri",
        "Status"
      ]
    }
  }
}