import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeProgramRequest, DescribeProgramResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeProgramCommand}. */ export interface DescribeProgramCommandInput extends DescribeProgramRequest { } /** * @public * * The output of {@link DescribeProgramCommand}. */ export interface DescribeProgramCommandOutput extends DescribeProgramResponse, __MetadataBearer { } declare const DescribeProgramCommand_base: { new (input: DescribeProgramCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeProgramCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaTailorClient, DescribeProgramCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import * // const { MediaTailorClient, DescribeProgramCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import * // import type { MediaTailorClientConfig } from "@aws-sdk/client-mediatailor"; * const config = {}; // type is MediaTailorClientConfig * const client = new MediaTailorClient(config); * const input = { // DescribeProgramRequest * ChannelName: "STRING_VALUE", // required * ProgramName: "STRING_VALUE", // required * }; * const command = new DescribeProgramCommand(input); * const response = await client.send(command); * // { // DescribeProgramResponse * // AdBreaks: [ // __listOfAdBreak * // { // AdBreak * // MessageType: "SPLICE_INSERT" || "TIME_SIGNAL", * // OffsetMillis: Number("long"), // required * // Slate: { // SlateSource * // SourceLocationName: "STRING_VALUE", * // VodSourceName: "STRING_VALUE", * // }, * // SpliceInsertMessage: { // SpliceInsertMessage * // AvailNum: Number("int"), * // AvailsExpected: Number("int"), * // SpliceEventId: Number("int"), * // UniqueProgramId: Number("int"), * // }, * // TimeSignalMessage: { // TimeSignalMessage * // SegmentationDescriptors: [ // SegmentationDescriptorList * // { // SegmentationDescriptor * // SegmentationEventId: Number("int"), * // SegmentationUpidType: Number("int"), * // SegmentationUpid: "STRING_VALUE", * // SegmentationTypeId: Number("int"), * // SegmentNum: Number("int"), * // SegmentsExpected: Number("int"), * // SubSegmentNum: Number("int"), * // SubSegmentsExpected: Number("int"), * // }, * // ], * // }, * // AdBreakMetadata: [ // AdBreakMetadataList * // { // KeyValuePair * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // }, * // ], * // Arn: "STRING_VALUE", * // ChannelName: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // LiveSourceName: "STRING_VALUE", * // ProgramName: "STRING_VALUE", * // ScheduledStartTime: new Date("TIMESTAMP"), * // SourceLocationName: "STRING_VALUE", * // VodSourceName: "STRING_VALUE", * // ClipRange: { // ClipRange * // EndOffsetMillis: Number("long"), * // StartOffsetMillis: Number("long"), * // }, * // DurationMillis: Number("long"), * // AudienceMedia: [ // __listOfAudienceMedia * // { // AudienceMedia * // Audience: "STRING_VALUE", * // AlternateMedia: [ // __listOfAlternateMedia * // { // AlternateMedia * // SourceLocationName: "STRING_VALUE", * // LiveSourceName: "STRING_VALUE", * // VodSourceName: "STRING_VALUE", * // ClipRange: { * // EndOffsetMillis: Number("long"), * // StartOffsetMillis: Number("long"), * // }, * // ScheduledStartTimeMillis: Number("long"), * // AdBreaks: [ * // { * // MessageType: "SPLICE_INSERT" || "TIME_SIGNAL", * // OffsetMillis: Number("long"), // required * // Slate: { * // SourceLocationName: "STRING_VALUE", * // VodSourceName: "STRING_VALUE", * // }, * // SpliceInsertMessage: { * // AvailNum: Number("int"), * // AvailsExpected: Number("int"), * // SpliceEventId: Number("int"), * // UniqueProgramId: Number("int"), * // }, * // TimeSignalMessage: { * // SegmentationDescriptors: [ * // { * // SegmentationEventId: Number("int"), * // SegmentationUpidType: Number("int"), * // SegmentationUpid: "STRING_VALUE", * // SegmentationTypeId: Number("int"), * // SegmentNum: Number("int"), * // SegmentsExpected: Number("int"), * // SubSegmentNum: Number("int"), * // SubSegmentsExpected: Number("int"), * // }, * // ], * // }, * // AdBreakMetadata: [ * // { * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // }, * // ], * // DurationMillis: Number("long"), * // }, * // ], * // }, * // ], * // Tags: { // __mapOf__string * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param DescribeProgramCommandInput - {@link DescribeProgramCommandInput} * @returns {@link DescribeProgramCommandOutput} * @see {@link DescribeProgramCommandInput} for command's `input` shape. * @see {@link DescribeProgramCommandOutput} for command's `response` shape. * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape. * * @throws {@link MediaTailorServiceException} *

Base exception class for all service exceptions from MediaTailor service.

* * * @public */ export declare class DescribeProgramCommand extends DescribeProgramCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeProgramRequest; output: DescribeProgramResponse; }; sdk: { input: DescribeProgramCommandInput; output: DescribeProgramCommandOutput; }; }; }