import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetPrefetchScheduleRequest, GetPrefetchScheduleResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetPrefetchScheduleCommand}. */ export interface GetPrefetchScheduleCommandInput extends GetPrefetchScheduleRequest { } /** * @public * * The output of {@link GetPrefetchScheduleCommand}. */ export interface GetPrefetchScheduleCommandOutput extends GetPrefetchScheduleResponse, __MetadataBearer { } declare const GetPrefetchScheduleCommand_base: { new (input: GetPrefetchScheduleCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetPrefetchScheduleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaTailorClient, GetPrefetchScheduleCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import * // const { MediaTailorClient, GetPrefetchScheduleCommand } = 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 = { // GetPrefetchScheduleRequest * Name: "STRING_VALUE", // required * PlaybackConfigurationName: "STRING_VALUE", // required * }; * const command = new GetPrefetchScheduleCommand(input); * const response = await client.send(command); * // { // GetPrefetchScheduleResponse * // Arn: "STRING_VALUE", * // Consumption: { // PrefetchConsumption * // AvailMatchingCriteria: [ // __listOfAvailMatchingCriteria * // { // AvailMatchingCriteria * // DynamicVariable: "STRING_VALUE", // required * // Operator: "EQUALS", // required * // }, * // ], * // EndTime: new Date("TIMESTAMP"), // required * // StartTime: new Date("TIMESTAMP"), * // }, * // Name: "STRING_VALUE", * // PlaybackConfigurationName: "STRING_VALUE", * // Retrieval: { // PrefetchRetrieval * // DynamicVariables: { // __mapOf__string * // "": "STRING_VALUE", * // }, * // EndTime: new Date("TIMESTAMP"), // required * // StartTime: new Date("TIMESTAMP"), * // TrafficShapingType: "RETRIEVAL_WINDOW" || "TPS", * // TrafficShapingRetrievalWindow: { // TrafficShapingRetrievalWindow * // RetrievalWindowDurationSeconds: Number("int"), * // }, * // TrafficShapingTpsConfiguration: { // TrafficShapingTpsConfiguration * // PeakTps: Number("int"), * // PeakConcurrentUsers: Number("int"), * // }, * // }, * // ScheduleType: "SINGLE" || "RECURRING", * // RecurringPrefetchConfiguration: { // RecurringPrefetchConfiguration * // StartTime: new Date("TIMESTAMP"), * // EndTime: new Date("TIMESTAMP"), // required * // RecurringConsumption: { // RecurringConsumption * // RetrievedAdExpirationSeconds: Number("int"), * // AvailMatchingCriteria: [ * // { * // DynamicVariable: "STRING_VALUE", // required * // Operator: "EQUALS", // required * // }, * // ], * // }, * // RecurringRetrieval: { // RecurringRetrieval * // DynamicVariables: { * // "": "STRING_VALUE", * // }, * // DelayAfterAvailEndSeconds: Number("int"), * // TrafficShapingType: "RETRIEVAL_WINDOW" || "TPS", * // TrafficShapingRetrievalWindow: { * // RetrievalWindowDurationSeconds: Number("int"), * // }, * // TrafficShapingTpsConfiguration: { * // PeakTps: Number("int"), * // PeakConcurrentUsers: Number("int"), * // }, * // }, * // }, * // StreamId: "STRING_VALUE", * // Tags: "<__mapOf__string>", * // }; * * ``` * * @param GetPrefetchScheduleCommandInput - {@link GetPrefetchScheduleCommandInput} * @returns {@link GetPrefetchScheduleCommandOutput} * @see {@link GetPrefetchScheduleCommandInput} for command's `input` shape. * @see {@link GetPrefetchScheduleCommandOutput} 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 GetPrefetchScheduleCommand extends GetPrefetchScheduleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetPrefetchScheduleRequest; output: GetPrefetchScheduleResponse; }; sdk: { input: GetPrefetchScheduleCommandInput; output: GetPrefetchScheduleCommandOutput; }; }; }