{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-msk/json-schema/amazon-msk-list-channels-response-schema.json",
  "title": "ListChannelsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-msk-channels-api-openapi.yml#/components/schemas/ListChannelsResponse",
  "type": "object",
  "properties": {
    "Channels": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ChannelInfo"
      },
      "description": "The list of channels in the cluster."
    },
    "NextToken": {
      "type": "string",
      "description": "If the response from ListChannels is truncated, this token is included. Send it as the nextToken parameter on a subsequent ListChannels call to retrieve the next page."
    }
  },
  "$defs": {
    "ChannelInfo": {
      "type": "object",
      "properties": {
        "ChannelArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) that uniquely identifies the channel."
        },
        "ChannelName": {
          "type": "string",
          "description": "The name of the channel."
        },
        "Status": {
          "type": "string",
          "enum": [
            "CREATING",
            "ACTIVE",
            "UPDATING",
            "DELETING",
            "FAILED",
            "SUSPENDING",
            "SUSPENDED"
          ],
          "description": "The current lifecycle state of the channel."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time when the channel was created."
        },
        "DestinationType": {
          "type": "string",
          "enum": [
            "ICEBERG",
            "S3"
          ],
          "description": "The type of destination configured for the channel."
        },
        "ClusterOperationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the in-flight cluster operation. Returned only while the channel is in CREATING, UPDATING, or DELETING."
        }
      },
      "required": [
        "ChannelArn",
        "ChannelName",
        "Status",
        "CreationTime",
        "DestinationType"
      ]
    }
  }
}