{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kinesis/json-schema/kinesis-list-channels-output-schema.json",
  "title": "ListChannelsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kinesis-channel-api-openapi.yml#/components/schemas/ListChannelsOutput",
  "type": "object",
  "properties": {
    "ChannelSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ChannelSummary"
      },
      "description": "A list of channel summaries."
    },
    "NextToken": {
      "type": "string",
      "description": "The pagination token to use in a subsequent call to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "required": [
    "ChannelSummaries"
  ],
  "$defs": {
    "ChannelStreamIdentifier": {
      "type": "object",
      "properties": {
        "StreamARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the source Kinesis data stream."
        },
        "StreamCreationTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the source stream was created."
        }
      },
      "required": [
        "StreamARN",
        "StreamCreationTimestamp"
      ]
    },
    "ChannelSummary": {
      "type": "object",
      "properties": {
        "ChannelName": {
          "type": "string",
          "description": "The name of the channel."
        },
        "ChannelARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the channel."
        },
        "ChannelId": {
          "type": "string",
          "description": "The unique identifier of the channel."
        },
        "ChannelStatus": {
          "type": "string",
          "enum": [
            "CREATING",
            "ACTIVE",
            "UPDATING",
            "DELETING",
            "FAILED"
          ],
          "description": "The current status of the channel. Valid values: CREATING - The channel is being created. ACTIVE - The channel is ready to deliver records. UPDATING - The channel configuration is being updated. DELETING - The channel is being deleted. FAILED - See ChannelStatusReason for the failure cause."
        },
        "ChannelStatusReason": {
          "type": "string",
          "description": "A message describing the reason for a FAILED status."
        },
        "ChannelCreationTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the channel was created."
        },
        "ChannelDestinationType": {
          "type": "string",
          "enum": [
            "S3",
            "S3_TABLES"
          ],
          "description": "The destination type of the channel. Valid values: S3 - Delivery to a general purpose Amazon S3 bucket. S3_TABLES - Delivery to streaming tables on Apache Iceberg."
        },
        "Streams": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ChannelStreamIdentifier"
          },
          "description": "The source streams associated with the channel."
        }
      },
      "required": [
        "ChannelName",
        "ChannelARN",
        "ChannelId",
        "ChannelStatus",
        "ChannelCreationTimestamp",
        "ChannelDestinationType",
        "Streams"
      ]
    }
  }
}