Module Values.CreateRealtimeLogConfigRequestSource

Creates a real-time log configuration. After you create a real-time log configuration, you can attach it to one or more cache behaviors to send real-time log data to the specified Amazon Kinesis data stream. For more information about real-time log configurations, see Real-time logs in the Amazon CloudFront Developer Guide.

Sourcetype nonrec t = {
  1. endPoints : EndPointList.t;
    (*

    Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

    *)
  2. fields : FieldList.t;
    (*

    A list of fields to include in each real-time log record. For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.

    *)
  3. name : String_.t;
    (*

    A unique name to identify this real-time log configuration.

    *)
  4. samplingRate : Long.t;
    (*

    The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.

    *)
}
Sourceval context_ : string
Sourceval make : endPoints:EndPointList.t -> fields:FieldList.t -> name:String_.t -> samplingRate:Long.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t | `Structure of (string * [> `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ]) list ] list | `Long of Long.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t