Module Values.InsertAdBreakRequestSource

Inserts an ad marker in the playlist for the specified channel and duration using the ad configuration associated with the channel. Note: AWS Elemental MediaTailor (EMT), the service that handles ad requests, provides CloudWatch metrics to help you monitor the success or failure of each InsertAdBreak operation. See Monitoring AWS Elemental MediaTailor with Amazon CloudWatch metrics in the AWS Elemental MediaTailor User Guide for details on available metrics.

Sourcetype nonrec t = {
  1. channelArn : ChannelArn.t;
    (*

    ARN of the channel into which the ad break is inserted.

    *)
  2. durationSeconds : AdDurationSeconds.t;
    (*

    Maximum duration of the ad break, in seconds.

    *)
}
Sourceval context_ : string
Sourceval make : channelArn:ChannelArn.t -> durationSeconds:AdDurationSeconds.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of AdDurationSeconds.t | `String of ChannelArn.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