- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
DeleteLiveSourceCommand
The live source to delete.
Example Syntax
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);
// {};
DeleteLiveSourceCommand Input
See DeleteLiveSourceCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
LiveSourceName Required | string | undefined | The name of the live source. |
SourceLocationName Required | string | undefined | The name of the source location associated with this Live Source. |
DeleteLiveSourceCommand Output
See DeleteLiveSourceCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
MediaTailorServiceException | Base exception class for all service exceptions from MediaTailor service. |