{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-list-realtime-log-configs-result-schema.json",
  "title": "ListRealtimeLogConfigsResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-realtime-log-config-api-openapi.yml#/components/schemas/ListRealtimeLogConfigsResult",
  "type": "object",
  "properties": {
    "RealtimeLogConfigs": {
      "$ref": "#/$defs/RealtimeLogConfigs"
    }
  },
  "$defs": {
    "EndPoint": {
      "type": "object",
      "properties": {
        "StreamType": {
          "type": "string",
          "description": "The type of data stream where you are sending real-time log data. The only valid value is Kinesis."
        },
        "KinesisStreamConfig": {
          "$ref": "#/$defs/KinesisStreamConfig"
        }
      },
      "required": [
        "StreamType"
      ]
    },
    "KinesisStreamConfig": {
      "type": "object",
      "properties": {
        "RoleARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream. For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide."
        },
        "StreamARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data."
        }
      },
      "required": [
        "RoleARN",
        "StreamARN"
      ]
    },
    "RealtimeLogConfig": {
      "type": "object",
      "properties": {
        "ARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of this real-time log configuration."
        },
        "Name": {
          "type": "string",
          "description": "The unique name of this real-time log configuration."
        },
        "SamplingRate": {
          "type": "integer",
          "description": "The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive."
        },
        "EndPoints": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EndPoint"
          },
          "description": "Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration."
        },
        "Fields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream. For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide."
        }
      },
      "required": [
        "ARN",
        "Name",
        "SamplingRate",
        "EndPoints",
        "Fields"
      ]
    },
    "RealtimeLogConfigs": {
      "type": "object",
      "properties": {
        "MaxItems": {
          "type": "integer",
          "description": "The maximum number of real-time log configurations requested."
        },
        "Items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RealtimeLogConfig"
          },
          "description": "Contains the list of real-time log configurations."
        },
        "IsTruncated": {
          "type": "boolean",
          "description": "A flag that indicates whether there are more real-time log configurations than are contained in this list."
        },
        "Marker": {
          "type": "string",
          "description": "This parameter indicates where this list of real-time log configurations begins. This list includes real-time log configurations that occur after the marker."
        },
        "NextMarker": {
          "type": "string",
          "description": "If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing real-time log configurations where you left off."
        }
      },
      "required": [
        "MaxItems",
        "IsTruncated",
        "Marker"
      ]
    }
  }
}