We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
Use a bare-bones client and the command you need to make an API call.
import { MediaTailorClient, DeleteProgramCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import// const { MediaTailorClient, DeleteProgramCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS importconst client = new MediaTailorClient(config);const input = { // DeleteProgramRequest ChannelName: "STRING_VALUE", // required ProgramName: "STRING_VALUE", // required};const command = new DeleteProgramCommand(input);const response = await client.send(command);// {};
DeleteProgramCommandInput
DeleteProgramCommandOutput
input
response
config
MediaTailorServiceException
Base exception class for all service exceptions from MediaTailor service.
Readonly
Static
Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteProgramCommandInput
Returns
DeleteProgramCommandOutput
See
input
shape.response
shape.config
shape.Throws
MediaTailorServiceException
Base exception class for all service exceptions from MediaTailor service.