Module Values.UpdateChannelRequestSource

Updates a channel's configuration. Live channels cannot be updated. You must stop the ongoing stream, update the channel, and restart the stream for the changes to take effect.

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

    ARN of the channel to be updated.

    *)
  2. name : ChannelName.t option;
    (*

    Channel name.

    *)
  3. latencyMode : ChannelLatencyMode.t option;
    (*

    Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers.

    *)
  4. type_ : ChannelType.t option;
    (*

    Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.

    *)
  5. authorized : Boolean.t option;
    (*

    Whether the channel is private (enabled for playback authorization).

    *)
  6. recordingConfigurationArn : ChannelRecordingConfigurationArn.t option;
    (*

    Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.

    *)
  7. insecureIngest : Boolean.t option;
    (*

    Whether the channel allows insecure RTMP and SRT ingest. Default: false.

    *)
  8. preset : TranscodePreset.t option;
    (*

    Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string ("").

    *)
  9. playbackRestrictionPolicyArn : ChannelPlaybackRestrictionPolicyArn.t option;
    (*

    Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.

    *)
  10. multitrackInputConfiguration : MultitrackInputConfiguration.t option;
    (*

    Object specifying multitrack input configuration. Default: no multitrack input configuration is specified.

    *)
  11. containerFormat : ContainerFormat.t option;
    (*

    Indicates which content-packaging format is used (MPEG-TS or fMP4). If multitrackInputConfiguration is specified and enabled is true, then containerFormat is required and must be set to FRAGMENTED_MP4. Otherwise, containerFormat may be set to TS or FRAGMENTED_MP4. Default: TS.

    *)
  12. adConfigurationArn : ChannelAdConfigurationArn.t option;
    (*

    ARN of the ad configuration associated with the channel.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?latencyMode:??? -> ?type_:??? -> ?authorized:??? -> ?recordingConfigurationArn:??? -> ?insecureIngest:??? -> ?preset:??? -> ?playbackRestrictionPolicyArn:??? -> ?multitrackInputConfiguration:??? -> ?containerFormat:??? -> ?adConfigurationArn:??? -> arn:ChannelArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of ChannelArn.t | `Structure of (string * [> `Boolean of IsMultitrackInputEnabled.t | `Enum of string ]) list ]) 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