Module Values.CreateChannelRequestSource

Creates a new channel and an associated stream key to start streaming.

Sourcetype nonrec t = {
  1. name : ChannelName.t option;
    (*

    Channel name.

    *)
  2. 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. Default: LOW.

    *)
  3. 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.

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

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

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

    Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).

    *)
  6. tags : Tags.t option;
    (*

    Array of 1-50 maps, each of the form string:string (key:value). See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

    *)
  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. Default: "" (empty string, no playback restriction policy is applied).

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