{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kinesis/json-schema/kinesis-update-channel-input-schema.json",
  "title": "UpdateChannelInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kinesis-channel-api-openapi.yml#/components/schemas/UpdateChannelInput",
  "type": "object",
  "properties": {
    "ChannelARN": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the channel to update."
    },
    "S3DestinationConfiguration": {
      "$ref": "#/$defs/S3DestinationUpdateInput"
    },
    "S3TablesDestinationConfiguration": {
      "$ref": "#/$defs/S3TablesDestinationUpdateInput"
    },
    "LoggingConfiguration": {
      "$ref": "#/$defs/ChannelLoggingUpdateInput"
    }
  },
  "required": [
    "ChannelARN"
  ],
  "$defs": {
    "ChannelLoggingUpdateInput": {
      "type": "object",
      "properties": {
        "CloudWatchLogs": {
          "$ref": "#/$defs/CloudWatchLogsUpdateInput"
        }
      },
      "required": [
        "CloudWatchLogs"
      ]
    },
    "CloudWatchLogsUpdateInput": {
      "type": "object",
      "properties": {
        "Enabled": {
          "type": "boolean",
          "description": "Specifies whether logging to Amazon CloudWatch Logs is enabled."
        },
        "LogGroupName": {
          "type": "string",
          "description": "The name of the Amazon CloudWatch Logs log group."
        },
        "LogStreamName": {
          "type": "string",
          "description": "The name of the Amazon CloudWatch Logs log stream."
        }
      },
      "required": [
        "Enabled"
      ]
    },
    "S3DestinationUpdateInput": {
      "type": "object",
      "properties": {
        "DataFreshnessInSeconds": {
          "type": "integer",
          "description": "The maximum age, in seconds, of undelivered data before the channel delivers it to the destination."
        }
      },
      "required": [
        "DataFreshnessInSeconds"
      ]
    },
    "S3TablesDestinationUpdateInput": {
      "type": "object",
      "properties": {
        "DataFreshnessInSeconds": {
          "type": "integer",
          "description": "The maximum age, in seconds, of undelivered data before the channel delivers it to the destination."
        }
      },
      "required": [
        "DataFreshnessInSeconds"
      ]
    }
  }
}