/var/runtime/node_modules/@aws-sdk/client-mediatailor/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, { AccessType: () => AccessType, AdMarkupType: () => AdMarkupType, AdsInteractionExcludeEventType: () => AdsInteractionExcludeEventType, AdsInteractionPublishOptInEventType: () => AdsInteractionPublishOptInEventType, AlertCategory: () => AlertCategory, BadRequestException: () => BadRequestException, ChannelState: () => ChannelState, ConfigureLogsForChannelCommand: () => ConfigureLogsForChannelCommand, ConfigureLogsForPlaybackConfigurationCommand: () => ConfigureLogsForPlaybackConfigurationCommand, CreateChannelCommand: () => CreateChannelCommand, CreateLiveSourceCommand: () => CreateLiveSourceCommand, CreatePrefetchScheduleCommand: () => CreatePrefetchScheduleCommand, CreateProgramCommand: () => CreateProgramCommand, CreateSourceLocationCommand: () => CreateSourceLocationCommand, CreateVodSourceCommand: () => CreateVodSourceCommand, DeleteChannelCommand: () => DeleteChannelCommand, DeleteChannelPolicyCommand: () => DeleteChannelPolicyCommand, DeleteLiveSourceCommand: () => DeleteLiveSourceCommand, DeletePlaybackConfigurationCommand: () => DeletePlaybackConfigurationCommand, DeletePrefetchScheduleCommand: () => DeletePrefetchScheduleCommand, DeleteProgramCommand: () => DeleteProgramCommand, DeleteSourceLocationCommand: () => DeleteSourceLocationCommand, DeleteVodSourceCommand: () => DeleteVodSourceCommand, DescribeChannelCommand: () => DescribeChannelCommand, DescribeLiveSourceCommand: () => DescribeLiveSourceCommand, DescribeProgramCommand: () => DescribeProgramCommand, DescribeSourceLocationCommand: () => DescribeSourceLocationCommand, DescribeVodSourceCommand: () => DescribeVodSourceCommand, FillPolicy: () => FillPolicy, GetChannelPolicyCommand: () => GetChannelPolicyCommand, GetChannelScheduleCommand: () => GetChannelScheduleCommand, GetPlaybackConfigurationCommand: () => GetPlaybackConfigurationCommand, GetPrefetchScheduleCommand: () => GetPrefetchScheduleCommand, InsertionMode: () => InsertionMode, ListAlertsCommand: () => ListAlertsCommand, ListChannelsCommand: () => ListChannelsCommand, ListLiveSourcesCommand: () => ListLiveSourcesCommand, ListPlaybackConfigurationsCommand: () => ListPlaybackConfigurationsCommand, ListPrefetchScheduleType: () => ListPrefetchScheduleType, ListPrefetchSchedulesCommand: () => ListPrefetchSchedulesCommand, ListSourceLocationsCommand: () => ListSourceLocationsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ListVodSourcesCommand: () => ListVodSourcesCommand, LogType: () => LogType, LoggingStrategy: () => LoggingStrategy, ManifestServiceExcludeEventType: () => ManifestServiceExcludeEventType, MediaTailor: () => MediaTailor, MediaTailorClient: () => MediaTailorClient, MediaTailorServiceException: () => MediaTailorServiceException, MessageType: () => MessageType, Mode: () => Mode, Operator: () => Operator, OriginManifestType: () => OriginManifestType, PlaybackMode: () => PlaybackMode, PrefetchScheduleType: () => PrefetchScheduleType, PutChannelPolicyCommand: () => PutChannelPolicyCommand, PutPlaybackConfigurationCommand: () => PutPlaybackConfigurationCommand, RelativePosition: () => RelativePosition, ScheduleEntryType: () => ScheduleEntryType, StartChannelCommand: () => StartChannelCommand, StopChannelCommand: () => StopChannelCommand, StreamingMediaFileConditioning: () => StreamingMediaFileConditioning, TagResourceCommand: () => TagResourceCommand, Tier: () => Tier, TrafficShapingType: () => TrafficShapingType, Type: () => Type, UntagResourceCommand: () => UntagResourceCommand, UpdateChannelCommand: () => UpdateChannelCommand, UpdateLiveSourceCommand: () => UpdateLiveSourceCommand, UpdateProgramCommand: () => UpdateProgramCommand, UpdateSourceLocationCommand: () => UpdateSourceLocationCommand, UpdateVodSourceCommand: () => UpdateVodSourceCommand, __Client: () => import_smithy_client.Client, paginateGetChannelSchedule: () => paginateGetChannelSchedule, paginateListAlerts: () => paginateListAlerts, paginateListChannels: () => paginateListChannels, paginateListLiveSources: () => paginateListLiveSources, paginateListPlaybackConfigurations: () => paginateListPlaybackConfigurations, paginateListPrefetchSchedules: () => paginateListPrefetchSchedules, paginateListSourceLocations: () => paginateListSourceLocations, paginateListVodSources: () => paginateListVodSources});module.exports = __toCommonJS(index_exports); // src/MediaTailorClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "mediatailor" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/MediaTailorClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; } };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = Object.assign( (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig) ); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign( runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration) );}, "resolveRuntimeExtensions"); // src/MediaTailorClient.tsvar MediaTailorClient = class extends import_smithy_client.Client { static { __name(this, "MediaTailorClient"); } /** * The resolved configuration of MediaTailorClient class. This is resolved and normalized from the {@link MediaTailorClientConfig | constructor configuration interface}. */ config; constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); this.middlewareStack.use( (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMediaTailorHttpAuthSchemeParametersProvider, identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }), "identityProviderConfigProvider") }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); }}; // src/MediaTailor.ts // src/commands/ConfigureLogsForChannelCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); // src/models/MediaTailorServiceException.ts var MediaTailorServiceException = class _MediaTailorServiceException extends import_smithy_client.ServiceException { static { __name(this, "MediaTailorServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _MediaTailorServiceException.prototype); }}; // src/models/models_0.tsvar AdsInteractionExcludeEventType = { AD_MARKER_FOUND: "AD_MARKER_FOUND", BEACON_FIRED: "BEACON_FIRED", EMPTY_VAST_RESPONSE: "EMPTY_VAST_RESPONSE", EMPTY_VMAP_RESPONSE: "EMPTY_VMAP_RESPONSE", ERROR_ADS_INVALID_RESPONSE: "ERROR_ADS_INVALID_RESPONSE", ERROR_ADS_IO: "ERROR_ADS_IO", ERROR_ADS_RESPONSE_PARSE: "ERROR_ADS_RESPONSE_PARSE", ERROR_ADS_RESPONSE_UNKNOWN_ROOT_ELEMENT: "ERROR_ADS_RESPONSE_UNKNOWN_ROOT_ELEMENT", ERROR_ADS_TIMEOUT: "ERROR_ADS_TIMEOUT", ERROR_DISALLOWED_HOST: "ERROR_DISALLOWED_HOST", ERROR_FIRING_BEACON_FAILED: "ERROR_FIRING_BEACON_FAILED", ERROR_PERSONALIZATION_DISABLED: "ERROR_PERSONALIZATION_DISABLED", ERROR_UNKNOWN: "ERROR_UNKNOWN", ERROR_UNKNOWN_HOST: "ERROR_UNKNOWN_HOST", ERROR_VAST_INVALID_MEDIA_FILE: "ERROR_VAST_INVALID_MEDIA_FILE", ERROR_VAST_INVALID_VAST_AD_TAG_URI: "ERROR_VAST_INVALID_VAST_AD_TAG_URI", ERROR_VAST_MISSING_CREATIVES: "ERROR_VAST_MISSING_CREATIVES", ERROR_VAST_MISSING_IMPRESSION: "ERROR_VAST_MISSING_IMPRESSION", ERROR_VAST_MISSING_MEDIAFILES: "ERROR_VAST_MISSING_MEDIAFILES", ERROR_VAST_MISSING_OVERLAYS: "ERROR_VAST_MISSING_OVERLAYS", ERROR_VAST_MULTIPLE_LINEAR: "ERROR_VAST_MULTIPLE_LINEAR", ERROR_VAST_MULTIPLE_TRACKING_EVENTS: "ERROR_VAST_MULTIPLE_TRACKING_EVENTS", ERROR_VAST_REDIRECT_EMPTY_RESPONSE: "ERROR_VAST_REDIRECT_EMPTY_RESPONSE", ERROR_VAST_REDIRECT_FAILED: "ERROR_VAST_REDIRECT_FAILED", ERROR_VAST_REDIRECT_MULTIPLE_VAST: "ERROR_VAST_REDIRECT_MULTIPLE_VAST", FILLED_AVAIL: "FILLED_AVAIL", FILLED_OVERLAY_AVAIL: "FILLED_OVERLAY_AVAIL", INTERSTITIAL_VOD_FAILURE: "INTERSTITIAL_VOD_FAILURE", INTERSTITIAL_VOD_SUCCESS: "INTERSTITIAL_VOD_SUCCESS", MAKING_ADS_REQUEST: "MAKING_ADS_REQUEST", MODIFIED_TARGET_URL: "MODIFIED_TARGET_URL", NON_AD_MARKER_FOUND: "NON_AD_MARKER_FOUND", REDIRECTED_VAST_RESPONSE: "REDIRECTED_VAST_RESPONSE", VAST_REDIRECT: "VAST_REDIRECT", VAST_RESPONSE: "VAST_RESPONSE", VOD_TIME_BASED_AVAIL_PLAN_SUCCESS: "VOD_TIME_BASED_AVAIL_PLAN_SUCCESS", VOD_TIME_BASED_AVAIL_PLAN_VAST_RESPONSE_FOR_OFFSET: "VOD_TIME_BASED_AVAIL_PLAN_VAST_RESPONSE_FOR_OFFSET", VOD_TIME_BASED_AVAIL_PLAN_WARNING_NO_ADVERTISEMENTS: "VOD_TIME_BASED_AVAIL_PLAN_WARNING_NO_ADVERTISEMENTS", WARNING_NO_ADVERTISEMENTS: "WARNING_NO_ADVERTISEMENTS", WARNING_URL_VARIABLE_SUBSTITUTION_FAILED: "WARNING_URL_VARIABLE_SUBSTITUTION_FAILED", WARNING_VPAID_AD_DROPPED: "WARNING_VPAID_AD_DROPPED"};var AdsInteractionPublishOptInEventType = { RAW_ADS_RESPONSE: "RAW_ADS_RESPONSE"};var MessageType = { SPLICE_INSERT: "SPLICE_INSERT", TIME_SIGNAL: "TIME_SIGNAL"};var AlertCategory = { INFO: "INFO", PLAYBACK_WARNING: "PLAYBACK_WARNING", SCHEDULING_ERROR: "SCHEDULING_ERROR"};var Operator = { EQUALS: "EQUALS"};var LogType = { AS_RUN: "AS_RUN"};var AdMarkupType = { DATERANGE: "DATERANGE", SCTE35_ENHANCED: "SCTE35_ENHANCED"};var Type = { DASH: "DASH", HLS: "HLS"};var LoggingStrategy = { LEGACY_CLOUDWATCH: "LEGACY_CLOUDWATCH", VENDED_LOGS: "VENDED_LOGS"};var StreamingMediaFileConditioning = { NONE: "NONE", TRANSCODE: "TRANSCODE"};var FillPolicy = { FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY", PARTIAL_AVAIL: "PARTIAL_AVAIL"};var Mode = { AFTER_LIVE_EDGE: "AFTER_LIVE_EDGE", BEHIND_LIVE_EDGE: "BEHIND_LIVE_EDGE", OFF: "OFF"};var OriginManifestType = { MULTI_PERIOD: "MULTI_PERIOD", SINGLE_PERIOD: "SINGLE_PERIOD"};var InsertionMode = { PLAYER_SELECT: "PLAYER_SELECT", STITCHED_ONLY: "STITCHED_ONLY"};var ManifestServiceExcludeEventType = { CONFIG_SECURITY_ERROR: "CONFIG_SECURITY_ERROR", CONFIG_SYNTAX_ERROR: "CONFIG_SYNTAX_ERROR", CONNECTION_ERROR: "CONNECTION_ERROR", ERROR_ADS_INTERPOLATION: "ERROR_ADS_INTERPOLATION", ERROR_BUMPER_END_INTERPOLATION: "ERROR_BUMPER_END_INTERPOLATION", ERROR_BUMPER_START_INTERPOLATION: "ERROR_BUMPER_START_INTERPOLATION", ERROR_CDN_AD_SEGMENT_INTERPOLATION: "ERROR_CDN_AD_SEGMENT_INTERPOLATION", ERROR_CDN_CONTENT_SEGMENT_INTERPOLATION: "ERROR_CDN_CONTENT_SEGMENT_INTERPOLATION", ERROR_LIVE_PRE_ROLL_ADS_INTERPOLATION: "ERROR_LIVE_PRE_ROLL_ADS_INTERPOLATION", ERROR_ORIGIN_PREFIX_INTERPOLATION: "ERROR_ORIGIN_PREFIX_INTERPOLATION", ERROR_PROFILE_NAME_INTERPOLATION: "ERROR_PROFILE_NAME_INTERPOLATION", ERROR_SLATE_AD_URL_INTERPOLATION: "ERROR_SLATE_AD_URL_INTERPOLATION", GENERATED_MANIFEST: "GENERATED_MANIFEST", HOST_DISALLOWED: "HOST_DISALLOWED", INCOMPATIBLE_HLS_VERSION: "INCOMPATIBLE_HLS_VERSION", INVALID_SINGLE_PERIOD_DASH_MANIFEST: "INVALID_SINGLE_PERIOD_DASH_MANIFEST", IO_ERROR: "IO_ERROR", LAST_PERIOD_MISSING_AUDIO: "LAST_PERIOD_MISSING_AUDIO", LAST_PERIOD_MISSING_AUDIO_WARNING: "LAST_PERIOD_MISSING_AUDIO_WARNING", MANIFEST_ERROR: "MANIFEST_ERROR", NO_MASTER_OR_MEDIA_PLAYLIST: "NO_MASTER_OR_MEDIA_PLAYLIST", NO_MASTER_PLAYLIST: "NO_MASTER_PLAYLIST", NO_MEDIA_PLAYLIST: "NO_MEDIA_PLAYLIST", ORIGIN_MANIFEST: "ORIGIN_MANIFEST", PARSING_ERROR: "PARSING_ERROR", SCTE35_PARSING_ERROR: "SCTE35_PARSING_ERROR", SESSION_INITIALIZED: "SESSION_INITIALIZED", TIMEOUT_ERROR: "TIMEOUT_ERROR", TRACKING_RESPONSE: "TRACKING_RESPONSE", UNKNOWN_ERROR: "UNKNOWN_ERROR", UNKNOWN_HOST: "UNKNOWN_HOST", UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST: "UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST"};var TrafficShapingType = { RETRIEVAL_WINDOW: "RETRIEVAL_WINDOW"};var PrefetchScheduleType = { RECURRING: "RECURRING", SINGLE: "SINGLE"};var ScheduleEntryType = { ALTERNATE_MEDIA: "ALTERNATE_MEDIA", FILLER_SLATE: "FILLER_SLATE", PROGRAM: "PROGRAM"};var AccessType = { AUTODETECT_SIGV4: "AUTODETECT_SIGV4", S3_SIGV4: "S3_SIGV4", SECRETS_MANAGER_ACCESS_TOKEN: "SECRETS_MANAGER_ACCESS_TOKEN"};var BadRequestException = class _BadRequestException extends MediaTailorServiceException { static { __name(this, "BadRequestException"); } name = "BadRequestException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "BadRequestException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _BadRequestException.prototype); this.Message = opts.Message; }};var PlaybackMode = { LINEAR: "LINEAR", LOOP: "LOOP"};var Tier = { BASIC: "BASIC", STANDARD: "STANDARD"};var ChannelState = { RUNNING: "RUNNING", STOPPED: "STOPPED"};var RelativePosition = { AFTER_PROGRAM: "AFTER_PROGRAM", BEFORE_PROGRAM: "BEFORE_PROGRAM"};var ListPrefetchScheduleType = { ALL: "ALL", RECURRING: "RECURRING", SINGLE: "SINGLE"}; // src/protocols/Aws_restJson1.tsvar se_ConfigureLogsForChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/configureLogs/channel"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ChannelName: [], LogTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LogTypes") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_ConfigureLogsForChannelCommand");var se_ConfigureLogsForPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/configureLogs/playbackConfiguration"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AdsInteractionLog: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AdsInteractionLog"), EnabledLoggingStrategies: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EnabledLoggingStrategies"), ManifestServiceInteractionLog: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ManifestServiceInteractionLog"), PercentEnabled: [], PlaybackConfigurationName: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_ConfigureLogsForPlaybackConfigurationCommand");var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/channel/{ChannelName}"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Audiences: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Audiences"), FillerSlate: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FillerSlate"), Outputs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Outputs"), PlaybackMode: [], tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`], Tier: [], TimeShiftConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TimeShiftConfiguration") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateChannelCommand");var se_CreateLiveSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}"); b.p("LiveSourceName", () => input.LiveSourceName, "{LiveSourceName}", false); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { HttpPackageConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HttpPackageConfigurations"), tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateLiveSourceCommand");var se_CreatePrefetchScheduleCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/prefetchSchedule/{PlaybackConfigurationName}/{Name}"); b.p("Name", () => input.Name, "{Name}", false); b.p("PlaybackConfigurationName", () => input.PlaybackConfigurationName, "{PlaybackConfigurationName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Consumption: /* @__PURE__ */ __name((_) => se_PrefetchConsumption(_, context), "Consumption"), RecurringPrefetchConfiguration: /* @__PURE__ */ __name((_) => se_RecurringPrefetchConfiguration(_, context), "RecurringPrefetchConfiguration"), Retrieval: /* @__PURE__ */ __name((_) => se_PrefetchRetrieval(_, context), "Retrieval"), ScheduleType: [], StreamId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreatePrefetchScheduleCommand");var se_CreateProgramCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/channel/{ChannelName}/program/{ProgramName}"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); b.p("ProgramName", () => input.ProgramName, "{ProgramName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AdBreaks: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AdBreaks"), AudienceMedia: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AudienceMedia"), LiveSourceName: [], ScheduleConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ScheduleConfiguration"), SourceLocationName: [], VodSourceName: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateProgramCommand");var se_CreateSourceLocationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/sourceLocation/{SourceLocationName}"); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AccessConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AccessConfiguration"), DefaultSegmentDeliveryConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DefaultSegmentDeliveryConfiguration"), HttpConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HttpConfiguration"), SegmentDeliveryConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SegmentDeliveryConfigurations"), tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateSourceLocationCommand");var se_CreateVodSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}"); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); b.p("VodSourceName", () => input.VodSourceName, "{VodSourceName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { HttpPackageConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HttpPackageConfigurations"), tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateVodSourceCommand");var se_DeleteChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/channel/{ChannelName}"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteChannelCommand");var se_DeleteChannelPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/channel/{ChannelName}/policy"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteChannelPolicyCommand");var se_DeleteLiveSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}"); b.p("LiveSourceName", () => input.LiveSourceName, "{LiveSourceName}", false); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteLiveSourceCommand");var se_DeletePlaybackConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/playbackConfiguration/{Name}"); b.p("Name", () => input.Name, "{Name}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeletePlaybackConfigurationCommand");var se_DeletePrefetchScheduleCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/prefetchSchedule/{PlaybackConfigurationName}/{Name}"); b.p("Name", () => input.Name, "{Name}", false); b.p("PlaybackConfigurationName", () => input.PlaybackConfigurationName, "{PlaybackConfigurationName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeletePrefetchScheduleCommand");var se_DeleteProgramCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/channel/{ChannelName}/program/{ProgramName}"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); b.p("ProgramName", () => input.ProgramName, "{ProgramName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteProgramCommand");var se_DeleteSourceLocationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sourceLocation/{SourceLocationName}"); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteSourceLocationCommand");var se_DeleteVodSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}"); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); b.p("VodSourceName", () => input.VodSourceName, "{VodSourceName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteVodSourceCommand");var se_DescribeChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/channel/{ChannelName}"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_DescribeChannelCommand");var se_DescribeLiveSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}"); b.p("LiveSourceName", () => input.LiveSourceName, "{LiveSourceName}", false); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_DescribeLiveSourceCommand");var se_DescribeProgramCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/channel/{ChannelName}/program/{ProgramName}"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); b.p("ProgramName", () => input.ProgramName, "{ProgramName}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_DescribeProgramCommand");var se_DescribeSourceLocationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sourceLocation/{SourceLocationName}"); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_DescribeSourceLocationCommand");var se_DescribeVodSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}"); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); b.p("VodSourceName", () => input.VodSourceName, "{VodSourceName}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_DescribeVodSourceCommand");var se_GetChannelPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/channel/{ChannelName}/policy"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetChannelPolicyCommand");var se_GetChannelScheduleCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/channel/{ChannelName}/schedule"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); const query = (0, import_smithy_client.map)({ [_dM]: [, input[_DM]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]], [_a]: [, input[_A]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetChannelScheduleCommand");var se_GetPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/playbackConfiguration/{Name}"); b.p("Name", () => input.Name, "{Name}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetPlaybackConfigurationCommand");var se_GetPrefetchScheduleCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/prefetchSchedule/{PlaybackConfigurationName}/{Name}"); b.p("Name", () => input.Name, "{Name}", false); b.p("PlaybackConfigurationName", () => input.PlaybackConfigurationName, "{PlaybackConfigurationName}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetPrefetchScheduleCommand");var se_ListAlertsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/alerts"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]], [_rA]: [, (0, import_smithy_client.expectNonNull)(input[_RA], `ResourceArn`)] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListAlertsCommand");var se_ListChannelsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/channels"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListChannelsCommand");var se_ListLiveSourcesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sourceLocation/{SourceLocationName}/liveSources"); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListLiveSourcesCommand");var se_ListPlaybackConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/playbackConfigurations"); const query = (0, import_smithy_client.map)({ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_NT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListPlaybackConfigurationsCommand");var se_ListPrefetchSchedulesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/prefetchSchedule/{PlaybackConfigurationName}"); b.p("PlaybackConfigurationName", () => input.PlaybackConfigurationName, "{PlaybackConfigurationName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], ScheduleType: [], StreamId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListPrefetchSchedulesCommand");var se_ListSourceLocationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sourceLocations"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListSourceLocationsCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_ListTagsForResourceCommand");var se_ListVodSourcesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sourceLocation/{SourceLocationName}/vodSources"); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListVodSourcesCommand");var se_PutChannelPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/channel/{ChannelName}/policy"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Policy: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_PutChannelPolicyCommand");var se_PutPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/playbackConfiguration"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AdConditioningConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AdConditioningConfiguration"), AdDecisionServerUrl: [], AvailSuppression: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AvailSuppression"), Bumper: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Bumper"), CdnConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CdnConfiguration"), ConfigurationAliases: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ConfigurationAliases"), DashConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DashConfiguration"), InsertionMode: [], LivePreRollConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LivePreRollConfiguration"), ManifestProcessingRules: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ManifestProcessingRules"), Name: [], PersonalizationThresholdSeconds: [], SlateAdUrl: [], tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`], TranscodeProfileName: [], VideoContentSourceUrl: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_PutPlaybackConfigurationCommand");var se_StartChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/channel/{ChannelName}/start"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); let body; b.m("PUT").h(headers).b(body); return b.build();}, "se_StartChannelCommand");var se_StopChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/channel/{ChannelName}/stop"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); let body; b.m("PUT").h(headers).b(body); return b.build();}, "se_StopChannelCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); const query = (0, import_smithy_client.map)({ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_UntagResourceCommand");var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/channel/{ChannelName}"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Audiences: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Audiences"), FillerSlate: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FillerSlate"), Outputs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Outputs"), TimeShiftConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TimeShiftConfiguration") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateChannelCommand");var se_UpdateLiveSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}"); b.p("LiveSourceName", () => input.LiveSourceName, "{LiveSourceName}", false); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { HttpPackageConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HttpPackageConfigurations") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateLiveSourceCommand");var se_UpdateProgramCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/channel/{ChannelName}/program/{ProgramName}"); b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false); b.p("ProgramName", () => input.ProgramName, "{ProgramName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AdBreaks: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AdBreaks"), AudienceMedia: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AudienceMedia"), ScheduleConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ScheduleConfiguration") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateProgramCommand");var se_UpdateSourceLocationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/sourceLocation/{SourceLocationName}"); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AccessConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AccessConfiguration"), DefaultSegmentDeliveryConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DefaultSegmentDeliveryConfiguration"), HttpConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HttpConfiguration"), SegmentDeliveryConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SegmentDeliveryConfigurations") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateSourceLocationCommand");var se_UpdateVodSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}"); b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false); b.p("VodSourceName", () => input.VodSourceName, "{VodSourceName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { HttpPackageConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HttpPackageConfigurations") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateVodSourceCommand");var de_ConfigureLogsForChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ChannelName: import_smithy_client.expectString, LogTypes: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ConfigureLogsForChannelCommand");var de_ConfigureLogsForPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AdsInteractionLog: import_smithy_client._json, EnabledLoggingStrategies: import_smithy_client._json, ManifestServiceInteractionLog: import_smithy_client._json, PercentEnabled: import_smithy_client.expectInt32, PlaybackConfigurationName: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ConfigureLogsForPlaybackConfigurationCommand");var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString, Audiences: import_smithy_client._json, ChannelName: import_smithy_client.expectString, ChannelState: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), FillerSlate: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), Outputs: import_smithy_client._json, PlaybackMode: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], Tier: import_smithy_client.expectString, TimeShiftConfiguration: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateChannelCommand");var de_CreateLiveSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), HttpPackageConfigurations: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), LiveSourceName: import_smithy_client.expectString, SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`] }); Object.assign(contents, doc); return contents;}, "de_CreateLiveSourceCommand");var de_CreatePrefetchScheduleCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString, Consumption: /* @__PURE__ */ __name((_) => de_PrefetchConsumption(_, context), "Consumption"), Name: import_smithy_client.expectString, PlaybackConfigurationName: import_smithy_client.expectString, RecurringPrefetchConfiguration: /* @__PURE__ */ __name((_) => de_RecurringPrefetchConfiguration(_, context), "RecurringPrefetchConfiguration"), Retrieval: /* @__PURE__ */ __name((_) => de_PrefetchRetrieval(_, context), "Retrieval"), ScheduleType: import_smithy_client.expectString, StreamId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreatePrefetchScheduleCommand");var de_CreateProgramCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AdBreaks: import_smithy_client._json, Arn: import_smithy_client.expectString, AudienceMedia: import_smithy_client._json, ChannelName: import_smithy_client.expectString, ClipRange: import_smithy_client._json, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), DurationMillis: import_smithy_client.expectLong, LiveSourceName: import_smithy_client.expectString, ProgramName: import_smithy_client.expectString, ScheduledStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ScheduledStartTime"), SourceLocationName: import_smithy_client.expectString, VodSourceName: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateProgramCommand");var de_CreateSourceLocationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AccessConfiguration: import_smithy_client._json, Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), DefaultSegmentDeliveryConfiguration: import_smithy_client._json, HttpConfiguration: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), SegmentDeliveryConfigurations: import_smithy_client._json, SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`] }); Object.assign(contents, doc); return contents;}, "de_CreateSourceLocationCommand");var de_CreateVodSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), HttpPackageConfigurations: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], VodSourceName: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateVodSourceCommand");var de_DeleteChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteChannelCommand");var de_DeleteChannelPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteChannelPolicyCommand");var de_DeleteLiveSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteLiveSourceCommand");var de_DeletePlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeletePlaybackConfigurationCommand");var de_DeletePrefetchScheduleCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeletePrefetchScheduleCommand");var de_DeleteProgramCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteProgramCommand");var de_DeleteSourceLocationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteSourceLocationCommand");var de_DeleteVodSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteVodSourceCommand");var de_DescribeChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString, Audiences: import_smithy_client._json, ChannelName: import_smithy_client.expectString, ChannelState: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), FillerSlate: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), LogConfiguration: import_smithy_client._json, Outputs: import_smithy_client._json, PlaybackMode: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], Tier: import_smithy_client.expectString, TimeShiftConfiguration: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_DescribeChannelCommand");var de_DescribeLiveSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), HttpPackageConfigurations: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), LiveSourceName: import_smithy_client.expectString, SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`] }); Object.assign(contents, doc); return contents;}, "de_DescribeLiveSourceCommand");var de_DescribeProgramCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AdBreaks: import_smithy_client._json, Arn: import_smithy_client.expectString, AudienceMedia: import_smithy_client._json, ChannelName: import_smithy_client.expectString, ClipRange: import_smithy_client._json, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), DurationMillis: import_smithy_client.expectLong, LiveSourceName: import_smithy_client.expectString, ProgramName: import_smithy_client.expectString, ScheduledStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ScheduledStartTime"), SourceLocationName: import_smithy_client.expectString, VodSourceName: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DescribeProgramCommand");var de_DescribeSourceLocationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AccessConfiguration: import_smithy_client._json, Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), DefaultSegmentDeliveryConfiguration: import_smithy_client._json, HttpConfiguration: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), SegmentDeliveryConfigurations: import_smithy_client._json, SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`] }); Object.assign(contents, doc); return contents;}, "de_DescribeSourceLocationCommand");var de_DescribeVodSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AdBreakOpportunities: import_smithy_client._json, Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), HttpPackageConfigurations: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], VodSourceName: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DescribeVodSourceCommand");var de_GetChannelPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Policy: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetChannelPolicyCommand");var de_GetChannelScheduleCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Items: /* @__PURE__ */ __name((_) => de___listOfScheduleEntry(_, context), "Items"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetChannelScheduleCommand");var de_GetPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AdConditioningConfiguration: import_smithy_client._json, AdDecisionServerUrl: import_smithy_client.expectString, AvailSuppression: import_smithy_client._json, Bumper: import_smithy_client._json, CdnConfiguration: import_smithy_client._json, ConfigurationAliases: import_smithy_client._json, DashConfiguration: import_smithy_client._json, HlsConfiguration: import_smithy_client._json, InsertionMode: import_smithy_client.expectString, LivePreRollConfiguration: import_smithy_client._json, LogConfiguration: import_smithy_client._json, ManifestProcessingRules: import_smithy_client._json, Name: import_smithy_client.expectString, PersonalizationThresholdSeconds: import_smithy_client.expectInt32, PlaybackConfigurationArn: import_smithy_client.expectString, PlaybackEndpointPrefix: import_smithy_client.expectString, SessionInitializationEndpointPrefix: import_smithy_client.expectString, SlateAdUrl: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], TranscodeProfileName: import_smithy_client.expectString, VideoContentSourceUrl: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetPlaybackConfigurationCommand");var de_GetPrefetchScheduleCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString, Consumption: /* @__PURE__ */ __name((_) => de_PrefetchConsumption(_, context), "Consumption"), Name: import_smithy_client.expectString, PlaybackConfigurationName: import_smithy_client.expectString, RecurringPrefetchConfiguration: /* @__PURE__ */ __name((_) => de_RecurringPrefetchConfiguration(_, context), "RecurringPrefetchConfiguration"), Retrieval: /* @__PURE__ */ __name((_) => de_PrefetchRetrieval(_, context), "Retrieval"), ScheduleType: import_smithy_client.expectString, StreamId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetPrefetchScheduleCommand");var de_ListAlertsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Items: /* @__PURE__ */ __name((_) => de___listOfAlert(_, context), "Items"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListAlertsCommand");var de_ListChannelsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Items: /* @__PURE__ */ __name((_) => de___listOfChannel(_, context), "Items"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListChannelsCommand");var de_ListLiveSourcesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Items: /* @__PURE__ */ __name((_) => de___listOfLiveSource(_, context), "Items"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListLiveSourcesCommand");var de_ListPlaybackConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Items: /* @__PURE__ */ __name((_) => de___listOfPlaybackConfiguration(_, context), "Items"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListPlaybackConfigurationsCommand");var de_ListPrefetchSchedulesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Items: /* @__PURE__ */ __name((_) => de___listOfPrefetchSchedule(_, context), "Items"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListPrefetchSchedulesCommand");var de_ListSourceLocationsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Items: /* @__PURE__ */ __name((_) => de___listOfSourceLocation(_, context), "Items"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListSourceLocationsCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Tags: [, import_smithy_client._json, `tags`] }); Object.assign(contents, doc); return contents;}, "de_ListTagsForResourceCommand");var de_ListVodSourcesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Items: /* @__PURE__ */ __name((_) => de___listOfVodSource(_, context), "Items"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListVodSourcesCommand");var de_PutChannelPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_PutChannelPolicyCommand");var de_PutPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AdConditioningConfiguration: import_smithy_client._json, AdDecisionServerUrl: import_smithy_client.expectString, AvailSuppression: import_smithy_client._json, Bumper: import_smithy_client._json, CdnConfiguration: import_smithy_client._json, ConfigurationAliases: import_smithy_client._json, DashConfiguration: import_smithy_client._json, HlsConfiguration: import_smithy_client._json, InsertionMode: import_smithy_client.expectString, LivePreRollConfiguration: import_smithy_client._json, LogConfiguration: import_smithy_client._json, ManifestProcessingRules: import_smithy_client._json, Name: import_smithy_client.expectString, PersonalizationThresholdSeconds: import_smithy_client.expectInt32, PlaybackConfigurationArn: import_smithy_client.expectString, PlaybackEndpointPrefix: import_smithy_client.expectString, SessionInitializationEndpointPrefix: import_smithy_client.expectString, SlateAdUrl: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], TranscodeProfileName: import_smithy_client.expectString, VideoContentSourceUrl: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_PutPlaybackConfigurationCommand");var de_StartChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_StartChannelCommand");var de_StopChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_StopChannelCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UntagResourceCommand");var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString, Audiences: import_smithy_client._json, ChannelName: import_smithy_client.expectString, ChannelState: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), FillerSlate: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), Outputs: import_smithy_client._json, PlaybackMode: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], Tier: import_smithy_client.expectString, TimeShiftConfiguration: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateChannelCommand");var de_UpdateLiveSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), HttpPackageConfigurations: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), LiveSourceName: import_smithy_client.expectString, SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`] }); Object.assign(contents, doc); return contents;}, "de_UpdateLiveSourceCommand");var de_UpdateProgramCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AdBreaks: import_smithy_client._json, Arn: import_smithy_client.expectString, AudienceMedia: import_smithy_client._json, ChannelName: import_smithy_client.expectString, ClipRange: import_smithy_client._json, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), DurationMillis: import_smithy_client.expectLong, LiveSourceName: import_smithy_client.expectString, ProgramName: import_smithy_client.expectString, ScheduledStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ScheduledStartTime"), SourceLocationName: import_smithy_client.expectString, VodSourceName: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateProgramCommand");var de_UpdateSourceLocationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AccessConfiguration: import_smithy_client._json, Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), DefaultSegmentDeliveryConfiguration: import_smithy_client._json, HttpConfiguration: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), SegmentDeliveryConfigurations: import_smithy_client._json, SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`] }); Object.assign(contents, doc); return contents;}, "de_UpdateSourceLocationCommand");var de_UpdateVodSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), HttpPackageConfigurations: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], VodSourceName: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateVodSourceCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { const parsedOutput = { ...output, body: await (0, import_core2.parseJsonErrorBody)(output.body, context) }; const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); switch (errorCode) { case "BadRequestException": case "com.amazonaws.mediatailor#BadRequestException": throw await de_BadRequestExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(MediaTailorServiceException);var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new BadRequestException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_BadRequestExceptionRes");var se_PrefetchConsumption = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AvailMatchingCriteria: import_smithy_client._json, EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime") });}, "se_PrefetchConsumption");var se_PrefetchRetrieval = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { DynamicVariables: import_smithy_client._json, EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime"), TrafficShapingRetrievalWindow: import_smithy_client._json, TrafficShapingType: [] });}, "se_PrefetchRetrieval");var se_RecurringPrefetchConfiguration = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), RecurringConsumption: import_smithy_client._json, RecurringRetrieval: import_smithy_client._json, StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime") });}, "se_RecurringPrefetchConfiguration");var de___listOfAlert = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Alert(entry, context); }); return retVal;}, "de___listOfAlert");var de___listOfChannel = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Channel(entry, context); }); return retVal;}, "de___listOfChannel");var de___listOfLiveSource = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_LiveSource(entry, context); }); return retVal;}, "de___listOfLiveSource");var de___listOfPlaybackConfiguration = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_PlaybackConfiguration(entry, context); }); return retVal;}, "de___listOfPlaybackConfiguration");var de___listOfPrefetchSchedule = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_PrefetchSchedule(entry, context); }); return retVal;}, "de___listOfPrefetchSchedule");var de___listOfScheduleAdBreak = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ScheduleAdBreak(entry, context); }); return retVal;}, "de___listOfScheduleAdBreak");var de___listOfScheduleEntry = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ScheduleEntry(entry, context); }); return retVal;}, "de___listOfScheduleEntry");var de___listOfSourceLocation = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_SourceLocation(entry, context); }); return retVal;}, "de___listOfSourceLocation");var de___listOfVodSource = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_VodSource(entry, context); }); return retVal;}, "de___listOfVodSource");var de_Alert = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AlertCode: import_smithy_client.expectString, AlertMessage: import_smithy_client.expectString, Category: import_smithy_client.expectString, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), RelatedResourceArns: import_smithy_client._json, ResourceArn: import_smithy_client.expectString });}, "de_Alert");var de_Channel = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, Audiences: import_smithy_client._json, ChannelName: import_smithy_client.expectString, ChannelState: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), FillerSlate: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), LogConfiguration: import_smithy_client._json, Outputs: import_smithy_client._json, PlaybackMode: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], Tier: import_smithy_client.expectString });}, "de_Channel");var de_LiveSource = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), HttpPackageConfigurations: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), LiveSourceName: import_smithy_client.expectString, SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`] });}, "de_LiveSource");var de_PlaybackConfiguration = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AdConditioningConfiguration: import_smithy_client._json, AdDecisionServerUrl: import_smithy_client.expectString, AvailSuppression: import_smithy_client._json, Bumper: import_smithy_client._json, CdnConfiguration: import_smithy_client._json, ConfigurationAliases: import_smithy_client._json, DashConfiguration: import_smithy_client._json, HlsConfiguration: import_smithy_client._json, InsertionMode: import_smithy_client.expectString, LivePreRollConfiguration: import_smithy_client._json, LogConfiguration: import_smithy_client._json, ManifestProcessingRules: import_smithy_client._json, Name: import_smithy_client.expectString, PersonalizationThresholdSeconds: import_smithy_client.expectInt32, PlaybackConfigurationArn: import_smithy_client.expectString, PlaybackEndpointPrefix: import_smithy_client.expectString, SessionInitializationEndpointPrefix: import_smithy_client.expectString, SlateAdUrl: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], TranscodeProfileName: import_smithy_client.expectString, VideoContentSourceUrl: import_smithy_client.expectString });}, "de_PlaybackConfiguration");var de_PrefetchConsumption = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AvailMatchingCriteria: import_smithy_client._json, EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"), StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime") });}, "de_PrefetchConsumption");var de_PrefetchRetrieval = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { DynamicVariables: import_smithy_client._json, EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"), StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"), TrafficShapingRetrievalWindow: import_smithy_client._json, TrafficShapingType: import_smithy_client.expectString });}, "de_PrefetchRetrieval");var de_PrefetchSchedule = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, Consumption: /* @__PURE__ */ __name((_) => de_PrefetchConsumption(_, context), "Consumption"), Name: import_smithy_client.expectString, PlaybackConfigurationName: import_smithy_client.expectString, RecurringPrefetchConfiguration: /* @__PURE__ */ __name((_) => de_RecurringPrefetchConfiguration(_, context), "RecurringPrefetchConfiguration"), Retrieval: /* @__PURE__ */ __name((_) => de_PrefetchRetrieval(_, context), "Retrieval"), ScheduleType: import_smithy_client.expectString, StreamId: import_smithy_client.expectString });}, "de_PrefetchSchedule");var de_RecurringPrefetchConfiguration = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"), RecurringConsumption: import_smithy_client._json, RecurringRetrieval: import_smithy_client._json, StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime") });}, "de_RecurringPrefetchConfiguration");var de_ScheduleAdBreak = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ApproximateDurationSeconds: import_smithy_client.expectLong, ApproximateStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ApproximateStartTime"), SourceLocationName: import_smithy_client.expectString, VodSourceName: import_smithy_client.expectString });}, "de_ScheduleAdBreak");var de_ScheduleEntry = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ApproximateDurationSeconds: import_smithy_client.expectLong, ApproximateStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ApproximateStartTime"), Arn: import_smithy_client.expectString, Audiences: import_smithy_client._json, ChannelName: import_smithy_client.expectString, LiveSourceName: import_smithy_client.expectString, ProgramName: import_smithy_client.expectString, ScheduleAdBreaks: /* @__PURE__ */ __name((_) => de___listOfScheduleAdBreak(_, context), "ScheduleAdBreaks"), ScheduleEntryType: import_smithy_client.expectString, SourceLocationName: import_smithy_client.expectString, VodSourceName: import_smithy_client.expectString });}, "de_ScheduleEntry");var de_SourceLocation = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AccessConfiguration: import_smithy_client._json, Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), DefaultSegmentDeliveryConfiguration: import_smithy_client._json, HttpConfiguration: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), SegmentDeliveryConfigurations: import_smithy_client._json, SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`] });}, "de_SourceLocation");var de_VodSource = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), HttpPackageConfigurations: import_smithy_client._json, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), SourceLocationName: import_smithy_client.expectString, Tags: [, import_smithy_client._json, `tags`], VodSourceName: import_smithy_client.expectString });}, "de_VodSource");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ httpStatusCode: output.statusCode, requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], extendedRequestId: output.headers["x-amz-id-2"], cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var _A = "Audience";var _DM = "DurationMinutes";var _MR = "MaxResults";var _NT = "NextToken";var _RA = "ResourceArn";var _TK = "TagKeys";var _a = "audience";var _dM = "durationMinutes";var _mR = "maxResults";var _nT = "nextToken";var _rA = "resourceArn";var _tK = "tagKeys"; // src/commands/ConfigureLogsForChannelCommand.tsvar ConfigureLogsForChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "ConfigureLogsForChannel", {}).n("MediaTailorClient", "ConfigureLogsForChannelCommand").f(void 0, void 0).ser(se_ConfigureLogsForChannelCommand).de(de_ConfigureLogsForChannelCommand).build() { static { __name(this, "ConfigureLogsForChannelCommand"); }}; // src/commands/ConfigureLogsForPlaybackConfigurationCommand.ts var ConfigureLogsForPlaybackConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "ConfigureLogsForPlaybackConfiguration", {}).n("MediaTailorClient", "ConfigureLogsForPlaybackConfigurationCommand").f(void 0, void 0).ser(se_ConfigureLogsForPlaybackConfigurationCommand).de(de_ConfigureLogsForPlaybackConfigurationCommand).build() { static { __name(this, "ConfigureLogsForPlaybackConfigurationCommand"); }}; // src/commands/CreateChannelCommand.ts var CreateChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "CreateChannel", {}).n("MediaTailorClient", "CreateChannelCommand").f(void 0, void 0).ser(se_CreateChannelCommand).de(de_CreateChannelCommand).build() { static { __name(this, "CreateChannelCommand"); }}; // src/commands/CreateLiveSourceCommand.ts var CreateLiveSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "CreateLiveSource", {}).n("MediaTailorClient", "CreateLiveSourceCommand").f(void 0, void 0).ser(se_CreateLiveSourceCommand).de(de_CreateLiveSourceCommand).build() { static { __name(this, "CreateLiveSourceCommand"); }}; // src/commands/CreatePrefetchScheduleCommand.ts var CreatePrefetchScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "CreatePrefetchSchedule", {}).n("MediaTailorClient", "CreatePrefetchScheduleCommand").f(void 0, void 0).ser(se_CreatePrefetchScheduleCommand).de(de_CreatePrefetchScheduleCommand).build() { static { __name(this, "CreatePrefetchScheduleCommand"); }}; // src/commands/CreateProgramCommand.ts var CreateProgramCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "CreateProgram", {}).n("MediaTailorClient", "CreateProgramCommand").f(void 0, void 0).ser(se_CreateProgramCommand).de(de_CreateProgramCommand).build() { static { __name(this, "CreateProgramCommand"); }}; // src/commands/CreateSourceLocationCommand.ts var CreateSourceLocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "CreateSourceLocation", {}).n("MediaTailorClient", "CreateSourceLocationCommand").f(void 0, void 0).ser(se_CreateSourceLocationCommand).de(de_CreateSourceLocationCommand).build() { static { __name(this, "CreateSourceLocationCommand"); }}; // src/commands/CreateVodSourceCommand.ts var CreateVodSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "CreateVodSource", {}).n("MediaTailorClient", "CreateVodSourceCommand").f(void 0, void 0).ser(se_CreateVodSourceCommand).de(de_CreateVodSourceCommand).build() { static { __name(this, "CreateVodSourceCommand"); }}; // src/commands/DeleteChannelCommand.ts var DeleteChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DeleteChannel", {}).n("MediaTailorClient", "DeleteChannelCommand").f(void 0, void 0).ser(se_DeleteChannelCommand).de(de_DeleteChannelCommand).build() { static { __name(this, "DeleteChannelCommand"); }}; // src/commands/DeleteChannelPolicyCommand.ts var DeleteChannelPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DeleteChannelPolicy", {}).n("MediaTailorClient", "DeleteChannelPolicyCommand").f(void 0, void 0).ser(se_DeleteChannelPolicyCommand).de(de_DeleteChannelPolicyCommand).build() { static { __name(this, "DeleteChannelPolicyCommand"); }}; // src/commands/DeleteLiveSourceCommand.ts var DeleteLiveSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DeleteLiveSource", {}).n("MediaTailorClient", "DeleteLiveSourceCommand").f(void 0, void 0).ser(se_DeleteLiveSourceCommand).de(de_DeleteLiveSourceCommand).build() { static { __name(this, "DeleteLiveSourceCommand"); }}; // src/commands/DeletePlaybackConfigurationCommand.ts var DeletePlaybackConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DeletePlaybackConfiguration", {}).n("MediaTailorClient", "DeletePlaybackConfigurationCommand").f(void 0, void 0).ser(se_DeletePlaybackConfigurationCommand).de(de_DeletePlaybackConfigurationCommand).build() { static { __name(this, "DeletePlaybackConfigurationCommand"); }}; // src/commands/DeletePrefetchScheduleCommand.ts var DeletePrefetchScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DeletePrefetchSchedule", {}).n("MediaTailorClient", "DeletePrefetchScheduleCommand").f(void 0, void 0).ser(se_DeletePrefetchScheduleCommand).de(de_DeletePrefetchScheduleCommand).build() { static { __name(this, "DeletePrefetchScheduleCommand"); }}; // src/commands/DeleteProgramCommand.ts var DeleteProgramCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DeleteProgram", {}).n("MediaTailorClient", "DeleteProgramCommand").f(void 0, void 0).ser(se_DeleteProgramCommand).de(de_DeleteProgramCommand).build() { static { __name(this, "DeleteProgramCommand"); }}; // src/commands/DeleteSourceLocationCommand.ts var DeleteSourceLocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DeleteSourceLocation", {}).n("MediaTailorClient", "DeleteSourceLocationCommand").f(void 0, void 0).ser(se_DeleteSourceLocationCommand).de(de_DeleteSourceLocationCommand).build() { static { __name(this, "DeleteSourceLocationCommand"); }}; // src/commands/DeleteVodSourceCommand.ts var DeleteVodSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DeleteVodSource", {}).n("MediaTailorClient", "DeleteVodSourceCommand").f(void 0, void 0).ser(se_DeleteVodSourceCommand).de(de_DeleteVodSourceCommand).build() { static { __name(this, "DeleteVodSourceCommand"); }}; // src/commands/DescribeChannelCommand.ts var DescribeChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DescribeChannel", {}).n("MediaTailorClient", "DescribeChannelCommand").f(void 0, void 0).ser(se_DescribeChannelCommand).de(de_DescribeChannelCommand).build() { static { __name(this, "DescribeChannelCommand"); }}; // src/commands/DescribeLiveSourceCommand.ts var DescribeLiveSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DescribeLiveSource", {}).n("MediaTailorClient", "DescribeLiveSourceCommand").f(void 0, void 0).ser(se_DescribeLiveSourceCommand).de(de_DescribeLiveSourceCommand).build() { static { __name(this, "DescribeLiveSourceCommand"); }}; // src/commands/DescribeProgramCommand.ts var DescribeProgramCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DescribeProgram", {}).n("MediaTailorClient", "DescribeProgramCommand").f(void 0, void 0).ser(se_DescribeProgramCommand).de(de_DescribeProgramCommand).build() { static { __name(this, "DescribeProgramCommand"); }}; // src/commands/DescribeSourceLocationCommand.ts var DescribeSourceLocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DescribeSourceLocation", {}).n("MediaTailorClient", "DescribeSourceLocationCommand").f(void 0, void 0).ser(se_DescribeSourceLocationCommand).de(de_DescribeSourceLocationCommand).build() { static { __name(this, "DescribeSourceLocationCommand"); }}; // src/commands/DescribeVodSourceCommand.ts var DescribeVodSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "DescribeVodSource", {}).n("MediaTailorClient", "DescribeVodSourceCommand").f(void 0, void 0).ser(se_DescribeVodSourceCommand).de(de_DescribeVodSourceCommand).build() { static { __name(this, "DescribeVodSourceCommand"); }}; // src/commands/GetChannelPolicyCommand.ts var GetChannelPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "GetChannelPolicy", {}).n("MediaTailorClient", "GetChannelPolicyCommand").f(void 0, void 0).ser(se_GetChannelPolicyCommand).de(de_GetChannelPolicyCommand).build() { static { __name(this, "GetChannelPolicyCommand"); }}; // src/commands/GetChannelScheduleCommand.ts var GetChannelScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "GetChannelSchedule", {}).n("MediaTailorClient", "GetChannelScheduleCommand").f(void 0, void 0).ser(se_GetChannelScheduleCommand).de(de_GetChannelScheduleCommand).build() { static { __name(this, "GetChannelScheduleCommand"); }}; // src/commands/GetPlaybackConfigurationCommand.ts var GetPlaybackConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "GetPlaybackConfiguration", {}).n("MediaTailorClient", "GetPlaybackConfigurationCommand").f(void 0, void 0).ser(se_GetPlaybackConfigurationCommand).de(de_GetPlaybackConfigurationCommand).build() { static { __name(this, "GetPlaybackConfigurationCommand"); }}; // src/commands/GetPrefetchScheduleCommand.ts var GetPrefetchScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "GetPrefetchSchedule", {}).n("MediaTailorClient", "GetPrefetchScheduleCommand").f(void 0, void 0).ser(se_GetPrefetchScheduleCommand).de(de_GetPrefetchScheduleCommand).build() { static { __name(this, "GetPrefetchScheduleCommand"); }}; // src/commands/ListAlertsCommand.ts var ListAlertsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "ListAlerts", {}).n("MediaTailorClient", "ListAlertsCommand").f(void 0, void 0).ser(se_ListAlertsCommand).de(de_ListAlertsCommand).build() { static { __name(this, "ListAlertsCommand"); }}; // src/commands/ListChannelsCommand.ts var ListChannelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "ListChannels", {}).n("MediaTailorClient", "ListChannelsCommand").f(void 0, void 0).ser(se_ListChannelsCommand).de(de_ListChannelsCommand).build() { static { __name(this, "ListChannelsCommand"); }}; // src/commands/ListLiveSourcesCommand.ts var ListLiveSourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "ListLiveSources", {}).n("MediaTailorClient", "ListLiveSourcesCommand").f(void 0, void 0).ser(se_ListLiveSourcesCommand).de(de_ListLiveSourcesCommand).build() { static { __name(this, "ListLiveSourcesCommand"); }}; // src/commands/ListPlaybackConfigurationsCommand.ts var ListPlaybackConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "ListPlaybackConfigurations", {}).n("MediaTailorClient", "ListPlaybackConfigurationsCommand").f(void 0, void 0).ser(se_ListPlaybackConfigurationsCommand).de(de_ListPlaybackConfigurationsCommand).build() { static { __name(this, "ListPlaybackConfigurationsCommand"); }}; // src/commands/ListPrefetchSchedulesCommand.ts var ListPrefetchSchedulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "ListPrefetchSchedules", {}).n("MediaTailorClient", "ListPrefetchSchedulesCommand").f(void 0, void 0).ser(se_ListPrefetchSchedulesCommand).de(de_ListPrefetchSchedulesCommand).build() { static { __name(this, "ListPrefetchSchedulesCommand"); }}; // src/commands/ListSourceLocationsCommand.ts var ListSourceLocationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "ListSourceLocations", {}).n("MediaTailorClient", "ListSourceLocationsCommand").f(void 0, void 0).ser(se_ListSourceLocationsCommand).de(de_ListSourceLocationsCommand).build() { static { __name(this, "ListSourceLocationsCommand"); }}; // src/commands/ListTagsForResourceCommand.ts var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "ListTagsForResource", {}).n("MediaTailorClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/ListVodSourcesCommand.ts var ListVodSourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "ListVodSources", {}).n("MediaTailorClient", "ListVodSourcesCommand").f(void 0, void 0).ser(se_ListVodSourcesCommand).de(de_ListVodSourcesCommand).build() { static { __name(this, "ListVodSourcesCommand"); }}; // src/commands/PutChannelPolicyCommand.ts var PutChannelPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "PutChannelPolicy", {}).n("MediaTailorClient", "PutChannelPolicyCommand").f(void 0, void 0).ser(se_PutChannelPolicyCommand).de(de_PutChannelPolicyCommand).build() { static { __name(this, "PutChannelPolicyCommand"); }}; // src/commands/PutPlaybackConfigurationCommand.ts var PutPlaybackConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "PutPlaybackConfiguration", {}).n("MediaTailorClient", "PutPlaybackConfigurationCommand").f(void 0, void 0).ser(se_PutPlaybackConfigurationCommand).de(de_PutPlaybackConfigurationCommand).build() { static { __name(this, "PutPlaybackConfigurationCommand"); }}; // src/commands/StartChannelCommand.ts var StartChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "StartChannel", {}).n("MediaTailorClient", "StartChannelCommand").f(void 0, void 0).ser(se_StartChannelCommand).de(de_StartChannelCommand).build() { static { __name(this, "StartChannelCommand"); }}; // src/commands/StopChannelCommand.ts var StopChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "StopChannel", {}).n("MediaTailorClient", "StopChannelCommand").f(void 0, void 0).ser(se_StopChannelCommand).de(de_StopChannelCommand).build() { static { __name(this, "StopChannelCommand"); }}; // src/commands/TagResourceCommand.ts var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "TagResource", {}).n("MediaTailorClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/UntagResourceCommand.ts var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "UntagResource", {}).n("MediaTailorClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateChannelCommand.ts var UpdateChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "UpdateChannel", {}).n("MediaTailorClient", "UpdateChannelCommand").f(void 0, void 0).ser(se_UpdateChannelCommand).de(de_UpdateChannelCommand).build() { static { __name(this, "UpdateChannelCommand"); }}; // src/commands/UpdateLiveSourceCommand.ts var UpdateLiveSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "UpdateLiveSource", {}).n("MediaTailorClient", "UpdateLiveSourceCommand").f(void 0, void 0).ser(se_UpdateLiveSourceCommand).de(de_UpdateLiveSourceCommand).build() { static { __name(this, "UpdateLiveSourceCommand"); }}; // src/commands/UpdateProgramCommand.ts var UpdateProgramCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "UpdateProgram", {}).n("MediaTailorClient", "UpdateProgramCommand").f(void 0, void 0).ser(se_UpdateProgramCommand).de(de_UpdateProgramCommand).build() { static { __name(this, "UpdateProgramCommand"); }}; // src/commands/UpdateSourceLocationCommand.ts var UpdateSourceLocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "UpdateSourceLocation", {}).n("MediaTailorClient", "UpdateSourceLocationCommand").f(void 0, void 0).ser(se_UpdateSourceLocationCommand).de(de_UpdateSourceLocationCommand).build() { static { __name(this, "UpdateSourceLocationCommand"); }}; // src/commands/UpdateVodSourceCommand.ts var UpdateVodSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("MediaTailor", "UpdateVodSource", {}).n("MediaTailorClient", "UpdateVodSourceCommand").f(void 0, void 0).ser(se_UpdateVodSourceCommand).de(de_UpdateVodSourceCommand).build() { static { __name(this, "UpdateVodSourceCommand"); }}; // src/MediaTailor.tsvar commands = { ConfigureLogsForChannelCommand, ConfigureLogsForPlaybackConfigurationCommand, CreateChannelCommand, CreateLiveSourceCommand, CreatePrefetchScheduleCommand, CreateProgramCommand, CreateSourceLocationCommand, CreateVodSourceCommand, DeleteChannelCommand, DeleteChannelPolicyCommand, DeleteLiveSourceCommand, DeletePlaybackConfigurationCommand, DeletePrefetchScheduleCommand, DeleteProgramCommand, DeleteSourceLocationCommand, DeleteVodSourceCommand, DescribeChannelCommand, DescribeLiveSourceCommand, DescribeProgramCommand, DescribeSourceLocationCommand, DescribeVodSourceCommand, GetChannelPolicyCommand, GetChannelScheduleCommand, GetPlaybackConfigurationCommand, GetPrefetchScheduleCommand, ListAlertsCommand, ListChannelsCommand, ListLiveSourcesCommand, ListPlaybackConfigurationsCommand, ListPrefetchSchedulesCommand, ListSourceLocationsCommand, ListTagsForResourceCommand, ListVodSourcesCommand, PutChannelPolicyCommand, PutPlaybackConfigurationCommand, StartChannelCommand, StopChannelCommand, TagResourceCommand, UntagResourceCommand, UpdateChannelCommand, UpdateLiveSourceCommand, UpdateProgramCommand, UpdateSourceLocationCommand, UpdateVodSourceCommand};var MediaTailor = class extends MediaTailorClient { static { __name(this, "MediaTailor"); }};(0, import_smithy_client.createAggregatedClient)(commands, MediaTailor); // src/pagination/GetChannelSchedulePaginator.ts var paginateGetChannelSchedule = (0, import_core.createPaginator)(MediaTailorClient, GetChannelScheduleCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListAlertsPaginator.ts var paginateListAlerts = (0, import_core.createPaginator)(MediaTailorClient, ListAlertsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListChannelsPaginator.ts var paginateListChannels = (0, import_core.createPaginator)(MediaTailorClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListLiveSourcesPaginator.ts var paginateListLiveSources = (0, import_core.createPaginator)(MediaTailorClient, ListLiveSourcesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListPlaybackConfigurationsPaginator.ts var paginateListPlaybackConfigurations = (0, import_core.createPaginator)(MediaTailorClient, ListPlaybackConfigurationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListPrefetchSchedulesPaginator.ts var paginateListPrefetchSchedules = (0, import_core.createPaginator)(MediaTailorClient, ListPrefetchSchedulesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListSourceLocationsPaginator.ts var paginateListSourceLocations = (0, import_core.createPaginator)(MediaTailorClient, ListSourceLocationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListVodSourcesPaginator.ts var paginateListVodSources = (0, import_core.createPaginator)(MediaTailorClient, ListVodSourcesCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { MediaTailorServiceException, __Client, MediaTailorClient, MediaTailor, $Command, ConfigureLogsForChannelCommand, ConfigureLogsForPlaybackConfigurationCommand, CreateChannelCommand, CreateLiveSourceCommand, CreatePrefetchScheduleCommand, CreateProgramCommand, CreateSourceLocationCommand, CreateVodSourceCommand, DeleteChannelCommand, DeleteChannelPolicyCommand, DeleteLiveSourceCommand, DeletePlaybackConfigurationCommand, DeletePrefetchScheduleCommand, DeleteProgramCommand, DeleteSourceLocationCommand, DeleteVodSourceCommand, DescribeChannelCommand, DescribeLiveSourceCommand, DescribeProgramCommand, DescribeSourceLocationCommand, DescribeVodSourceCommand, GetChannelPolicyCommand, GetChannelScheduleCommand, GetPlaybackConfigurationCommand, GetPrefetchScheduleCommand, ListAlertsCommand, ListChannelsCommand, ListLiveSourcesCommand, ListPlaybackConfigurationsCommand, ListPrefetchSchedulesCommand, ListSourceLocationsCommand, ListTagsForResourceCommand, ListVodSourcesCommand, PutChannelPolicyCommand, PutPlaybackConfigurationCommand, StartChannelCommand, StopChannelCommand, TagResourceCommand, UntagResourceCommand, UpdateChannelCommand, UpdateLiveSourceCommand, UpdateProgramCommand, UpdateSourceLocationCommand, UpdateVodSourceCommand, paginateGetChannelSchedule, paginateListAlerts, paginateListChannels, paginateListLiveSources, paginateListPlaybackConfigurations, paginateListPrefetchSchedules, paginateListSourceLocations, paginateListVodSources, AdsInteractionExcludeEventType, AdsInteractionPublishOptInEventType, MessageType, AlertCategory, Operator, LogType, AdMarkupType, Type, LoggingStrategy, StreamingMediaFileConditioning, FillPolicy, Mode, OriginManifestType, InsertionMode, ManifestServiceExcludeEventType, TrafficShapingType, PrefetchScheduleType, ScheduleEntryType, AccessType, BadRequestException, PlaybackMode, Tier, ChannelState, RelativePosition, ListPrefetchScheduleType});