Values.CreateChannelRequestSourceCreate a channel to start receiving content streams. The channel represents the input to MediaPackage for incoming live content from an encoder such as AWS Elemental MediaLive. The channel receives content, and after packaging it, outputs it through an origin endpoint to downstream devices (such as video players or CDNs) that request the content. You can create only one channel with each request. We recommend that you spread out channels between channel groups, such as putting redundant channels in the same AWS Region in different channel groups.
type nonrec t = {channelGroupName : ResourceName.t;The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
*)channelName : ResourceName.t;The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. You can't change the name after you create the channel.
*)clientToken : IdempotencyToken.t option;A unique, case-sensitive token that you provide to ensure the idempotency of the request.
*)inputType : InputType.t option;The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior. The allowed values are: HLS - The HLS streaming specification (which defines M3U8 manifests and TS segments). CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
*)description : ResourceDescription.t option;Enter any descriptive text that helps you to identify the channel.
*)inputSwitchConfiguration : InputSwitchConfiguration.t option;The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF.
*)outputHeaderConfiguration : OutputHeaderConfiguration.t option;The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF.
*)}val make :
?clientToken:??? ->
?inputType:??? ->
?description:??? ->
?inputSwitchConfiguration:??? ->
?outputHeaderConfiguration:??? ->
?tags:??? ->
channelGroupName:ResourceName.t ->
channelName:ResourceName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of ResourceName.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of InputSwitchConfigurationPreferredInputInteger.t ])
list ])
list ]