import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateChannelRequest, CreateChannelResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateChannelCommand}. */ export interface CreateChannelCommandInput extends CreateChannelRequest { } /** * @public * * The output of {@link CreateChannelCommand}. */ export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer { } declare const CreateChannelCommand_base: { new (input: CreateChannelCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateChannelCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaTailorClient, CreateChannelCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import * // const { MediaTailorClient, CreateChannelCommand } = 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 = { // CreateChannelRequest * ChannelName: "STRING_VALUE", // required * FillerSlate: { // SlateSource * SourceLocationName: "STRING_VALUE", * VodSourceName: "STRING_VALUE", * }, * Outputs: [ // RequestOutputs // required * { // RequestOutputItem * DashPlaylistSettings: { // DashPlaylistSettings * ManifestWindowSeconds: Number("int"), * MinBufferTimeSeconds: Number("int"), * MinUpdatePeriodSeconds: Number("int"), * SuggestedPresentationDelaySeconds: Number("int"), * }, * HlsPlaylistSettings: { // HlsPlaylistSettings * ManifestWindowSeconds: Number("int"), * AdMarkupType: [ // adMarkupTypes * "DATERANGE" || "SCTE35_ENHANCED", * ], * }, * ManifestName: "STRING_VALUE", // required * SourceGroup: "STRING_VALUE", // required * }, * ], * PlaybackMode: "LOOP" || "LINEAR", // required * Tags: { // __mapOf__string * "": "STRING_VALUE", * }, * Tier: "BASIC" || "STANDARD", * TimeShiftConfiguration: { // TimeShiftConfiguration * MaxTimeDelaySeconds: Number("int"), // required * }, * Audiences: [ // Audiences * "STRING_VALUE", * ], * }; * const command = new CreateChannelCommand(input); * const response = await client.send(command); * // { // CreateChannelResponse * // Arn: "STRING_VALUE", * // ChannelName: "STRING_VALUE", * // ChannelState: "RUNNING" || "STOPPED", * // CreationTime: new Date("TIMESTAMP"), * // FillerSlate: { // SlateSource * // SourceLocationName: "STRING_VALUE", * // VodSourceName: "STRING_VALUE", * // }, * // LastModifiedTime: new Date("TIMESTAMP"), * // Outputs: [ // ResponseOutputs * // { // ResponseOutputItem * // DashPlaylistSettings: { // DashPlaylistSettings * // ManifestWindowSeconds: Number("int"), * // MinBufferTimeSeconds: Number("int"), * // MinUpdatePeriodSeconds: Number("int"), * // SuggestedPresentationDelaySeconds: Number("int"), * // }, * // HlsPlaylistSettings: { // HlsPlaylistSettings * // ManifestWindowSeconds: Number("int"), * // AdMarkupType: [ // adMarkupTypes * // "DATERANGE" || "SCTE35_ENHANCED", * // ], * // }, * // ManifestName: "STRING_VALUE", // required * // PlaybackUrl: "STRING_VALUE", // required * // DualStackPlaybackUrl: "STRING_VALUE", * // SourceGroup: "STRING_VALUE", // required * // }, * // ], * // PlaybackMode: "STRING_VALUE", * // Tags: { // __mapOf__string * // "": "STRING_VALUE", * // }, * // Tier: "STRING_VALUE", * // TimeShiftConfiguration: { // TimeShiftConfiguration * // MaxTimeDelaySeconds: Number("int"), // required * // }, * // Audiences: [ // Audiences * // "STRING_VALUE", * // ], * // }; * * ``` * * @param CreateChannelCommandInput - {@link CreateChannelCommandInput} * @returns {@link CreateChannelCommandOutput} * @see {@link CreateChannelCommandInput} for command's `input` shape. * @see {@link CreateChannelCommandOutput} 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 CreateChannelCommand extends CreateChannelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateChannelRequest; output: CreateChannelResponse; }; sdk: { input: CreateChannelCommandInput; output: CreateChannelCommandOutput; }; }; }