Jump to Content

New API Documentation - Developer Preview Available

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.

Class DeleteLiveSourceCommandProtected

The live source to delete.

Example

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

import { MediaTailorClient, DeleteLiveSourceCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
// const { MediaTailorClient, DeleteLiveSourceCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
const client = new MediaTailorClient(config);
const input = { // DeleteLiveSourceRequest
LiveSourceName: "STRING_VALUE", // required
SourceLocationName: "STRING_VALUE", // required
};
const command = new DeleteLiveSourceCommand(input);
const response = await client.send(command);
// {};

Param

DeleteLiveSourceCommandInput

Returns

DeleteLiveSourceCommandOutput

See

Throws

MediaTailorServiceException

Base exception class for all service exceptions from MediaTailor service.

Hierarchy

Constructors

Properties

Methods