Skip to content

/AWS1/CL_MD2=>CREATECHANNEL()

About CreateChannel

Create 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.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELGROUPNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

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.

IV_CHANNELNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

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.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/MD2IDEMPOTENCYTOKEN /AWS1/MD2IDEMPOTENCYTOKEN

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

IV_DESCRIPTION TYPE /AWS1/MD2RESOURCEDESCRIPTION /AWS1/MD2RESOURCEDESCRIPTION

Enter any descriptive text that helps you to identify the channel.

IT_TAGS TYPE /AWS1/CL_MD2TAGMAP_W=>TT_TAGMAP TT_TAGMAP

A comma-separated list of tag key:value pairs that you define. For example:

"Key1": "Value1",

"Key2": "Value2"

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MD2CREATECHANNELRSP /AWS1/CL_MD2CREATECHANNELRSP