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 DescribeSourceLocationCommandProtected

Describes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.

Example

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

import { MediaTailorClient, DescribeSourceLocationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
// const { MediaTailorClient, DescribeSourceLocationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
const client = new MediaTailorClient(config);
const input = { // DescribeSourceLocationRequest
SourceLocationName: "STRING_VALUE", // required
};
const command = new DescribeSourceLocationCommand(input);
const response = await client.send(command);
// { // DescribeSourceLocationResponse
// AccessConfiguration: { // AccessConfiguration
// AccessType: "S3_SIGV4" || "SECRETS_MANAGER_ACCESS_TOKEN",
// SecretsManagerAccessTokenConfiguration: { // SecretsManagerAccessTokenConfiguration
// HeaderName: "STRING_VALUE",
// SecretArn: "STRING_VALUE",
// SecretStringKey: "STRING_VALUE",
// },
// },
// Arn: "STRING_VALUE",
// CreationTime: new Date("TIMESTAMP"),
// DefaultSegmentDeliveryConfiguration: { // DefaultSegmentDeliveryConfiguration
// BaseUrl: "STRING_VALUE",
// },
// HttpConfiguration: { // HttpConfiguration
// BaseUrl: "STRING_VALUE", // required
// },
// LastModifiedTime: new Date("TIMESTAMP"),
// SegmentDeliveryConfigurations: [ // __listOfSegmentDeliveryConfiguration
// { // SegmentDeliveryConfiguration
// BaseUrl: "STRING_VALUE",
// Name: "STRING_VALUE",
// },
// ],
// SourceLocationName: "STRING_VALUE",
// Tags: { // __mapOf__string
// "<keys>": "STRING_VALUE",
// },
// };

Param

DescribeSourceLocationCommandInput

Returns

DescribeSourceLocationCommandOutput

See

Throws

MediaTailorServiceException

Base exception class for all service exceptions from MediaTailor service.

Hierarchy

Constructors

Properties

Methods