- 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.
DeleteVodSourceCommand
The video on demand (VOD) source to delete.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { MediaTailorClient, DeleteVodSourceCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
// const { MediaTailorClient, DeleteVodSourceCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
const client = new MediaTailorClient(config);
const input = { // DeleteVodSourceRequest
SourceLocationName: "STRING_VALUE", // required
VodSourceName: "STRING_VALUE", // required
};
const command = new DeleteVodSourceCommand(input);
const response = await client.send(command);
// {};
DeleteVodSourceCommand Input
See DeleteVodSourceCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
SourceLocationName Required | string | undefined | The name of the source location associated with this VOD Source. |
VodSourceName Required | string | undefined | The name of the VOD source. |
DeleteVodSourceCommand Output
See DeleteVodSourceCommandOutput 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. |