{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudtrail/json-schema/amazon-cloudtrail-update-channel-response-schema.json",
  "title": "UpdateChannelResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudtrail-channel-api-openapi.yml#/components/schemas/UpdateChannelResponse",
  "type": "object",
  "properties": {
    "ChannelArn": {
      "type": "string",
      "description": "The ARN of the channel that was updated."
    },
    "Name": {
      "type": "string",
      "description": "The name of the channel that was updated."
    },
    "Source": {
      "type": "string",
      "description": "The event source of the channel that was updated."
    },
    "Destinations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Destination"
      },
      "description": "The event data stores that log events arriving through the channel."
    }
  },
  "$defs": {
    "Destination": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "EVENT_DATA_STORE",
            "AWS_SERVICE"
          ],
          "description": "The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is EVENT_DATA_STORE. For service-linked channels, the value is AWS_SERVICE."
        },
        "Location": {
          "type": "string",
          "description": "For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel. For service-linked channels, the location is the name of the Amazon Web Services service."
        }
      },
      "required": [
        "Type",
        "Location"
      ]
    }
  }
}