{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-msk/json-schema/amazon-msk-update-channel-request-schema.json",
  "title": "UpdateChannelRequest",
  "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/UpdateChannelRequest",
  "type": "object",
  "properties": {
    "ChannelArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) that uniquely identifies the channel."
    },
    "ClusterArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) that uniquely identifies the cluster."
    },
    "IcebergDestinationUpdate": {
      "$ref": "#/$defs/IcebergDestinationUpdate"
    },
    "S3DestinationUpdate": {
      "$ref": "#/$defs/S3DestinationUpdate"
    }
  },
  "required": [
    "ChannelArn",
    "ClusterArn"
  ],
  "$defs": {
    "IcebergDestinationUpdate": {
      "type": "object",
      "properties": {
        "DataFreshnessInSeconds": {
          "type": "integer",
          "description": "The maximum time, in seconds, that records buffer in MSK before being flushed to the destination. Allowed range: 300 to 900."
        }
      },
      "required": [
        "DataFreshnessInSeconds"
      ]
    },
    "S3DestinationUpdate": {
      "type": "object",
      "properties": {
        "DataFreshnessInSeconds": {
          "type": "integer",
          "description": "The maximum time, in seconds, that records buffer in MSK before being flushed to the destination. Allowed range: 300 to 900."
        }
      },
      "required": [
        "DataFreshnessInSeconds"
      ]
    }
  }
}