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
Lists the VOD sources contained in a source location. A source represents a piece of content.
Use a bare-bones client and the command you need to make an API call.
import { MediaTailorClient, ListVodSourcesCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import// const { MediaTailorClient, ListVodSourcesCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS importconst client = new MediaTailorClient(config);const input = { // ListVodSourcesRequest MaxResults: Number("int"), NextToken: "STRING_VALUE", SourceLocationName: "STRING_VALUE", // required};const command = new ListVodSourcesCommand(input);const response = await client.send(command);// { // ListVodSourcesResponse// Items: [ // __listOfVodSource// { // VodSource// Arn: "STRING_VALUE", // required// CreationTime: new Date("TIMESTAMP"),// HttpPackageConfigurations: [ // HttpPackageConfigurations // required// { // HttpPackageConfiguration// Path: "STRING_VALUE", // required// SourceGroup: "STRING_VALUE", // required// Type: "DASH" || "HLS", // required// },// ],// LastModifiedTime: new Date("TIMESTAMP"),// SourceLocationName: "STRING_VALUE", // required// Tags: { // __mapOf__string// "<keys>": "STRING_VALUE",// },// VodSourceName: "STRING_VALUE", // required// },// ],// NextToken: "STRING_VALUE",// };
ListVodSourcesCommandInput
ListVodSourcesCommandOutput
input
response
config
MediaTailorServiceException
Base exception class for all service exceptions from MediaTailor service.
Readonly
Static
Lists the VOD sources contained in a source location. A source represents a piece of content.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListVodSourcesCommandInput
Returns
ListVodSourcesCommandOutput
See
input
shape.response
shape.config
shape.Throws
MediaTailorServiceException
Base exception class for all service exceptions from MediaTailor service.