Protected
Updates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
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 importconst 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);
UpdateChannelCommandInput
UpdateChannelCommandOutput
input
response
config
Readonly
Static
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.
Param
UpdateChannelCommandInput
Returns
UpdateChannelCommandOutput
See
input
shape.response
shape.config
shape.