Jump to Content

Class UpdateChannelCommandProtected

Updates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

Example

Use a bare-bones client and the command you need to make an API call.

import { MediaTailorClient, UpdateChannelCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
// const { MediaTailorClient, UpdateChannelCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
const client = new MediaTailorClient(config);
const input = { // UpdateChannelRequest
ChannelName: "STRING_VALUE", // required
FillerSlate: { // SlateSource
SourceLocationName: "STRING_VALUE",
VodSourceName: "STRING_VALUE",
},
Outputs: [ // RequestOutputs // required
{ // RequestOutputItem
DashPlaylistSettings: { // DashPlaylistSettings
ManifestWindowSeconds: Number("int"),
MinBufferTimeSeconds: Number("int"),
MinUpdatePeriodSeconds: Number("int"),
SuggestedPresentationDelaySeconds: Number("int"),
},
HlsPlaylistSettings: { // HlsPlaylistSettings
ManifestWindowSeconds: Number("int"),
},
ManifestName: "STRING_VALUE", // required
SourceGroup: "STRING_VALUE", // required
},
],
};
const command = new UpdateChannelCommand(input);
const response = await client.send(command);

Param

UpdateChannelCommandInput

Returns

UpdateChannelCommandOutput

See

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<UpdateChannelCommandInput, UpdateChannelCommandOutput>

Methods