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 import const client = new MediaTailorClient(config); const command = new DeleteProgramCommand(input); const response = await client.send(command);
DeleteProgramCommandInput for command's input shape.
input
DeleteProgramCommandOutput for command's response shape.
response
config for MediaTailorClient's config shape.
config
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 import const client = new MediaTailorClient(config); const command = new DeleteProgramCommand(input); const response = await client.send(command);
DeleteProgramCommandInput for command's
input
shape.DeleteProgramCommandOutput for command's
response
shape.config for MediaTailorClient's
config
shape.