We are excited to announce our new API Documentation.
Protected
Lists the live 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, ListLiveSourcesCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import// const { MediaTailorClient, ListLiveSourcesCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS importconst client = new MediaTailorClient(config);const input = { // ListLiveSourcesRequest MaxResults: Number("int"), NextToken: "STRING_VALUE", SourceLocationName: "STRING_VALUE", // required};const command = new ListLiveSourcesCommand(input);const response = await client.send(command);// { // ListLiveSourcesResponse// Items: [ // __listOfLiveSource// { // LiveSource// 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"),// LiveSourceName: "STRING_VALUE", // required// SourceLocationName: "STRING_VALUE", // required// Tags: { // __mapOf__string// "<keys>": "STRING_VALUE",// },// },// ],// NextToken: "STRING_VALUE",// };
ListLiveSourcesCommandInput
ListLiveSourcesCommandOutput
input
response
config
MediaTailorServiceException
Base exception class for all service exceptions from MediaTailor service.
Readonly
Static
Lists the live 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
ListLiveSourcesCommandInput
Returns
ListLiveSourcesCommandOutput
See
input
shape.response
shape.config
shape.Throws
MediaTailorServiceException
Base exception class for all service exceptions from MediaTailor service.