import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateLiveSourceRequest, CreateLiveSourceResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateLiveSourceCommand}. */ export interface CreateLiveSourceCommandInput extends CreateLiveSourceRequest { } /** * @public * * The output of {@link CreateLiveSourceCommand}. */ export interface CreateLiveSourceCommandOutput extends CreateLiveSourceResponse, __MetadataBearer { } declare const CreateLiveSourceCommand_base: { new (input: CreateLiveSourceCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateLiveSourceCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

The live source configuration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaTailorClient, CreateLiveSourceCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import * // const { MediaTailorClient, CreateLiveSourceCommand } = 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 = { // CreateLiveSourceRequest * HttpPackageConfigurations: [ // HttpPackageConfigurations // required * { // HttpPackageConfiguration * Path: "STRING_VALUE", // required * SourceGroup: "STRING_VALUE", // required * Type: "DASH" || "HLS", // required * }, * ], * LiveSourceName: "STRING_VALUE", // required * SourceLocationName: "STRING_VALUE", // required * Tags: { // __mapOf__string * "": "STRING_VALUE", * }, * }; * const command = new CreateLiveSourceCommand(input); * const response = await client.send(command); * // { // CreateLiveSourceResponse * // Arn: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // HttpPackageConfigurations: [ // HttpPackageConfigurations * // { // HttpPackageConfiguration * // Path: "STRING_VALUE", // required * // SourceGroup: "STRING_VALUE", // required * // Type: "DASH" || "HLS", // required * // }, * // ], * // LastModifiedTime: new Date("TIMESTAMP"), * // LiveSourceName: "STRING_VALUE", * // SourceLocationName: "STRING_VALUE", * // Tags: { // __mapOf__string * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param CreateLiveSourceCommandInput - {@link CreateLiveSourceCommandInput} * @returns {@link CreateLiveSourceCommandOutput} * @see {@link CreateLiveSourceCommandInput} for command's `input` shape. * @see {@link CreateLiveSourceCommandOutput} 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 CreateLiveSourceCommand extends CreateLiveSourceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateLiveSourceRequest; output: CreateLiveSourceResponse; }; sdk: { input: CreateLiveSourceCommandInput; output: CreateLiveSourceCommandOutput; }; }; }