@aws-sdk/client-mediatailor 3.489.0 → 3.495.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist-cjs/MediaTailor.js +1 -99
  2. package/dist-cjs/MediaTailorClient.js +1 -43
  3. package/dist-cjs/commands/ConfigureLogsForChannelCommand.js +1 -28
  4. package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +1 -28
  5. package/dist-cjs/commands/CreateChannelCommand.js +1 -28
  6. package/dist-cjs/commands/CreateLiveSourceCommand.js +1 -28
  7. package/dist-cjs/commands/CreatePrefetchScheduleCommand.js +1 -28
  8. package/dist-cjs/commands/CreateProgramCommand.js +1 -28
  9. package/dist-cjs/commands/CreateSourceLocationCommand.js +1 -28
  10. package/dist-cjs/commands/CreateVodSourceCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteChannelCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteChannelPolicyCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteLiveSourceCommand.js +1 -28
  14. package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js +1 -28
  15. package/dist-cjs/commands/DeletePrefetchScheduleCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteProgramCommand.js +1 -28
  17. package/dist-cjs/commands/DeleteSourceLocationCommand.js +1 -28
  18. package/dist-cjs/commands/DeleteVodSourceCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeChannelCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeLiveSourceCommand.js +1 -28
  21. package/dist-cjs/commands/DescribeProgramCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeSourceLocationCommand.js +1 -28
  23. package/dist-cjs/commands/DescribeVodSourceCommand.js +1 -28
  24. package/dist-cjs/commands/GetChannelPolicyCommand.js +1 -28
  25. package/dist-cjs/commands/GetChannelScheduleCommand.js +1 -28
  26. package/dist-cjs/commands/GetPlaybackConfigurationCommand.js +1 -28
  27. package/dist-cjs/commands/GetPrefetchScheduleCommand.js +1 -28
  28. package/dist-cjs/commands/ListAlertsCommand.js +1 -28
  29. package/dist-cjs/commands/ListChannelsCommand.js +1 -28
  30. package/dist-cjs/commands/ListLiveSourcesCommand.js +1 -28
  31. package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js +1 -28
  32. package/dist-cjs/commands/ListPrefetchSchedulesCommand.js +1 -28
  33. package/dist-cjs/commands/ListSourceLocationsCommand.js +1 -28
  34. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  35. package/dist-cjs/commands/ListVodSourcesCommand.js +1 -28
  36. package/dist-cjs/commands/PutChannelPolicyCommand.js +1 -28
  37. package/dist-cjs/commands/PutPlaybackConfigurationCommand.js +1 -28
  38. package/dist-cjs/commands/StartChannelCommand.js +1 -28
  39. package/dist-cjs/commands/StopChannelCommand.js +1 -28
  40. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  41. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  42. package/dist-cjs/commands/UpdateChannelCommand.js +1 -28
  43. package/dist-cjs/commands/UpdateLiveSourceCommand.js +1 -28
  44. package/dist-cjs/commands/UpdateProgramCommand.js +1 -28
  45. package/dist-cjs/commands/UpdateSourceLocationCommand.js +1 -28
  46. package/dist-cjs/commands/UpdateVodSourceCommand.js +1 -28
  47. package/dist-cjs/commands/index.js +1 -47
  48. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  49. package/dist-cjs/extensionConfiguration.js +1 -2
  50. package/dist-cjs/index.js +3397 -11
  51. package/dist-cjs/models/MediaTailorServiceException.js +1 -12
  52. package/dist-cjs/models/index.js +1 -4
  53. package/dist-cjs/models/models_0.js +1 -79
  54. package/dist-cjs/pagination/GetChannelSchedulePaginator.js +1 -7
  55. package/dist-cjs/pagination/Interfaces.js +1 -2
  56. package/dist-cjs/pagination/ListAlertsPaginator.js +1 -7
  57. package/dist-cjs/pagination/ListChannelsPaginator.js +1 -7
  58. package/dist-cjs/pagination/ListLiveSourcesPaginator.js +1 -7
  59. package/dist-cjs/pagination/ListPlaybackConfigurationsPaginator.js +1 -7
  60. package/dist-cjs/pagination/ListPrefetchSchedulesPaginator.js +1 -7
  61. package/dist-cjs/pagination/ListSourceLocationsPaginator.js +1 -7
  62. package/dist-cjs/pagination/ListVodSourcesPaginator.js +1 -7
  63. package/dist-cjs/pagination/index.js +1 -12
  64. package/dist-cjs/protocols/Aws_restJson1.js +1 -2284
  65. package/dist-cjs/runtimeExtensions.js +1 -22
  66. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,3398 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MediaTailorServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./MediaTailorClient"), exports);
6
- tslib_1.__exportStar(require("./MediaTailor"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var MediaTailorServiceException_1 = require("./models/MediaTailorServiceException");
12
- Object.defineProperty(exports, "MediaTailorServiceException", { enumerable: true, get: function () { return MediaTailorServiceException_1.MediaTailorServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AccessType: () => AccessType,
25
+ AdMarkupType: () => AdMarkupType,
26
+ AlertCategory: () => AlertCategory,
27
+ BadRequestException: () => BadRequestException,
28
+ ChannelState: () => ChannelState,
29
+ ConfigureLogsForChannelCommand: () => ConfigureLogsForChannelCommand,
30
+ ConfigureLogsForPlaybackConfigurationCommand: () => ConfigureLogsForPlaybackConfigurationCommand,
31
+ CreateChannelCommand: () => CreateChannelCommand,
32
+ CreateLiveSourceCommand: () => CreateLiveSourceCommand,
33
+ CreatePrefetchScheduleCommand: () => CreatePrefetchScheduleCommand,
34
+ CreateProgramCommand: () => CreateProgramCommand,
35
+ CreateSourceLocationCommand: () => CreateSourceLocationCommand,
36
+ CreateVodSourceCommand: () => CreateVodSourceCommand,
37
+ DeleteChannelCommand: () => DeleteChannelCommand,
38
+ DeleteChannelPolicyCommand: () => DeleteChannelPolicyCommand,
39
+ DeleteLiveSourceCommand: () => DeleteLiveSourceCommand,
40
+ DeletePlaybackConfigurationCommand: () => DeletePlaybackConfigurationCommand,
41
+ DeletePrefetchScheduleCommand: () => DeletePrefetchScheduleCommand,
42
+ DeleteProgramCommand: () => DeleteProgramCommand,
43
+ DeleteSourceLocationCommand: () => DeleteSourceLocationCommand,
44
+ DeleteVodSourceCommand: () => DeleteVodSourceCommand,
45
+ DescribeChannelCommand: () => DescribeChannelCommand,
46
+ DescribeLiveSourceCommand: () => DescribeLiveSourceCommand,
47
+ DescribeProgramCommand: () => DescribeProgramCommand,
48
+ DescribeSourceLocationCommand: () => DescribeSourceLocationCommand,
49
+ DescribeVodSourceCommand: () => DescribeVodSourceCommand,
50
+ FillPolicy: () => FillPolicy,
51
+ GetChannelPolicyCommand: () => GetChannelPolicyCommand,
52
+ GetChannelScheduleCommand: () => GetChannelScheduleCommand,
53
+ GetPlaybackConfigurationCommand: () => GetPlaybackConfigurationCommand,
54
+ GetPrefetchScheduleCommand: () => GetPrefetchScheduleCommand,
55
+ ListAlertsCommand: () => ListAlertsCommand,
56
+ ListChannelsCommand: () => ListChannelsCommand,
57
+ ListLiveSourcesCommand: () => ListLiveSourcesCommand,
58
+ ListPlaybackConfigurationsCommand: () => ListPlaybackConfigurationsCommand,
59
+ ListPrefetchSchedulesCommand: () => ListPrefetchSchedulesCommand,
60
+ ListSourceLocationsCommand: () => ListSourceLocationsCommand,
61
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
62
+ ListVodSourcesCommand: () => ListVodSourcesCommand,
63
+ LogType: () => LogType,
64
+ MediaTailor: () => MediaTailor,
65
+ MediaTailorClient: () => MediaTailorClient,
66
+ MediaTailorServiceException: () => MediaTailorServiceException,
67
+ MessageType: () => MessageType,
68
+ Mode: () => Mode,
69
+ Operator: () => Operator,
70
+ OriginManifestType: () => OriginManifestType,
71
+ PlaybackMode: () => PlaybackMode,
72
+ PutChannelPolicyCommand: () => PutChannelPolicyCommand,
73
+ PutPlaybackConfigurationCommand: () => PutPlaybackConfigurationCommand,
74
+ RelativePosition: () => RelativePosition,
75
+ ScheduleEntryType: () => ScheduleEntryType,
76
+ StartChannelCommand: () => StartChannelCommand,
77
+ StopChannelCommand: () => StopChannelCommand,
78
+ TagResourceCommand: () => TagResourceCommand,
79
+ Tier: () => Tier,
80
+ Type: () => Type,
81
+ UntagResourceCommand: () => UntagResourceCommand,
82
+ UpdateChannelCommand: () => UpdateChannelCommand,
83
+ UpdateLiveSourceCommand: () => UpdateLiveSourceCommand,
84
+ UpdateProgramCommand: () => UpdateProgramCommand,
85
+ UpdateSourceLocationCommand: () => UpdateSourceLocationCommand,
86
+ UpdateVodSourceCommand: () => UpdateVodSourceCommand,
87
+ __Client: () => import_smithy_client.Client,
88
+ paginateGetChannelSchedule: () => paginateGetChannelSchedule,
89
+ paginateListAlerts: () => paginateListAlerts,
90
+ paginateListChannels: () => paginateListChannels,
91
+ paginateListLiveSources: () => paginateListLiveSources,
92
+ paginateListPlaybackConfigurations: () => paginateListPlaybackConfigurations,
93
+ paginateListPrefetchSchedules: () => paginateListPrefetchSchedules,
94
+ paginateListSourceLocations: () => paginateListSourceLocations,
95
+ paginateListVodSources: () => paginateListVodSources
96
+ });
97
+ module.exports = __toCommonJS(src_exports);
98
+
99
+ // src/MediaTailorClient.ts
100
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
101
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
102
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
103
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
104
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
105
+ var import_config_resolver = require("@smithy/config-resolver");
106
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
107
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
108
+ var import_middleware_retry = require("@smithy/middleware-retry");
109
+
110
+
111
+ // src/endpoint/EndpointParameters.ts
112
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
113
+ return {
114
+ ...options,
115
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
116
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
117
+ defaultSigningName: "mediatailor"
118
+ };
119
+ }, "resolveClientEndpointParameters");
120
+ var commonParams = {
121
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
122
+ Endpoint: { type: "builtInParams", name: "endpoint" },
123
+ Region: { type: "builtInParams", name: "region" },
124
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
125
+ };
126
+
127
+ // src/MediaTailorClient.ts
128
+ var import_runtimeConfig = require("././runtimeConfig");
129
+
130
+ // src/runtimeExtensions.ts
131
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
132
+ var import_protocol_http = require("@smithy/protocol-http");
133
+ var import_smithy_client = require("@smithy/smithy-client");
134
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
135
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
136
+ const extensionConfiguration = {
137
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
138
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
139
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
140
+ };
141
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
142
+ return {
143
+ ...runtimeConfig,
144
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
145
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
146
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
147
+ };
148
+ }, "resolveRuntimeExtensions");
149
+
150
+ // src/MediaTailorClient.ts
151
+ var _MediaTailorClient = class _MediaTailorClient extends import_smithy_client.Client {
152
+ constructor(...[configuration]) {
153
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
154
+ const _config_1 = resolveClientEndpointParameters(_config_0);
155
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
156
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
157
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
158
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
159
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
160
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
161
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
162
+ super(_config_8);
163
+ this.config = _config_8;
164
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
165
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
166
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
167
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
168
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
169
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
170
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
171
+ }
172
+ /**
173
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
174
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
175
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
176
+ */
177
+ destroy() {
178
+ super.destroy();
179
+ }
180
+ };
181
+ __name(_MediaTailorClient, "MediaTailorClient");
182
+ var MediaTailorClient = _MediaTailorClient;
183
+
184
+ // src/MediaTailor.ts
185
+
186
+
187
+ // src/commands/ConfigureLogsForChannelCommand.ts
188
+
189
+ var import_middleware_serde = require("@smithy/middleware-serde");
190
+
191
+ var import_types = require("@smithy/types");
192
+
193
+ // src/protocols/Aws_restJson1.ts
194
+ var import_core = require("@smithy/core");
195
+
196
+
197
+ // src/models/MediaTailorServiceException.ts
198
+
199
+ var _MediaTailorServiceException = class _MediaTailorServiceException extends import_smithy_client.ServiceException {
200
+ /**
201
+ * @internal
202
+ */
203
+ constructor(options) {
204
+ super(options);
205
+ Object.setPrototypeOf(this, _MediaTailorServiceException.prototype);
206
+ }
207
+ };
208
+ __name(_MediaTailorServiceException, "MediaTailorServiceException");
209
+ var MediaTailorServiceException = _MediaTailorServiceException;
210
+
211
+ // src/models/models_0.ts
212
+ var MessageType = {
213
+ SPLICE_INSERT: "SPLICE_INSERT",
214
+ TIME_SIGNAL: "TIME_SIGNAL"
215
+ };
216
+ var AlertCategory = {
217
+ INFO: "INFO",
218
+ PLAYBACK_WARNING: "PLAYBACK_WARNING",
219
+ SCHEDULING_ERROR: "SCHEDULING_ERROR"
220
+ };
221
+ var Operator = {
222
+ EQUALS: "EQUALS"
223
+ };
224
+ var LogType = {
225
+ AS_RUN: "AS_RUN"
226
+ };
227
+ var AdMarkupType = {
228
+ DATERANGE: "DATERANGE",
229
+ SCTE35_ENHANCED: "SCTE35_ENHANCED"
230
+ };
231
+ var Type = {
232
+ DASH: "DASH",
233
+ HLS: "HLS"
234
+ };
235
+ var FillPolicy = {
236
+ FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY",
237
+ PARTIAL_AVAIL: "PARTIAL_AVAIL"
238
+ };
239
+ var Mode = {
240
+ AFTER_LIVE_EDGE: "AFTER_LIVE_EDGE",
241
+ BEHIND_LIVE_EDGE: "BEHIND_LIVE_EDGE",
242
+ OFF: "OFF"
243
+ };
244
+ var OriginManifestType = {
245
+ MULTI_PERIOD: "MULTI_PERIOD",
246
+ SINGLE_PERIOD: "SINGLE_PERIOD"
247
+ };
248
+ var ScheduleEntryType = {
249
+ FILLER_SLATE: "FILLER_SLATE",
250
+ PROGRAM: "PROGRAM"
251
+ };
252
+ var AccessType = {
253
+ AUTODETECT_SIGV4: "AUTODETECT_SIGV4",
254
+ S3_SIGV4: "S3_SIGV4",
255
+ SECRETS_MANAGER_ACCESS_TOKEN: "SECRETS_MANAGER_ACCESS_TOKEN"
256
+ };
257
+ var _BadRequestException = class _BadRequestException extends MediaTailorServiceException {
258
+ /**
259
+ * @internal
260
+ */
261
+ constructor(opts) {
262
+ super({
263
+ name: "BadRequestException",
264
+ $fault: "client",
265
+ ...opts
266
+ });
267
+ this.name = "BadRequestException";
268
+ this.$fault = "client";
269
+ Object.setPrototypeOf(this, _BadRequestException.prototype);
270
+ this.Message = opts.Message;
271
+ }
272
+ };
273
+ __name(_BadRequestException, "BadRequestException");
274
+ var BadRequestException = _BadRequestException;
275
+ var PlaybackMode = {
276
+ LINEAR: "LINEAR",
277
+ LOOP: "LOOP"
278
+ };
279
+ var Tier = {
280
+ BASIC: "BASIC",
281
+ STANDARD: "STANDARD"
282
+ };
283
+ var ChannelState = {
284
+ RUNNING: "RUNNING",
285
+ STOPPED: "STOPPED"
286
+ };
287
+ var RelativePosition = {
288
+ AFTER_PROGRAM: "AFTER_PROGRAM",
289
+ BEFORE_PROGRAM: "BEFORE_PROGRAM"
290
+ };
291
+
292
+ // src/protocols/Aws_restJson1.ts
293
+ var se_ConfigureLogsForChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
294
+ const b = (0, import_core.requestBuilder)(input, context);
295
+ const headers = {
296
+ "content-type": "application/json"
297
+ };
298
+ b.bp("/configureLogs/channel");
299
+ let body;
300
+ body = JSON.stringify(
301
+ (0, import_smithy_client.take)(input, {
302
+ ChannelName: [],
303
+ LogTypes: (_) => (0, import_smithy_client._json)(_)
304
+ })
305
+ );
306
+ b.m("PUT").h(headers).b(body);
307
+ return b.build();
308
+ }, "se_ConfigureLogsForChannelCommand");
309
+ var se_ConfigureLogsForPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
310
+ const b = (0, import_core.requestBuilder)(input, context);
311
+ const headers = {
312
+ "content-type": "application/json"
313
+ };
314
+ b.bp("/configureLogs/playbackConfiguration");
315
+ let body;
316
+ body = JSON.stringify(
317
+ (0, import_smithy_client.take)(input, {
318
+ PercentEnabled: [],
319
+ PlaybackConfigurationName: []
320
+ })
321
+ );
322
+ b.m("PUT").h(headers).b(body);
323
+ return b.build();
324
+ }, "se_ConfigureLogsForPlaybackConfigurationCommand");
325
+ var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
326
+ const b = (0, import_core.requestBuilder)(input, context);
327
+ const headers = {
328
+ "content-type": "application/json"
329
+ };
330
+ b.bp("/channel/{ChannelName}");
331
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
332
+ let body;
333
+ body = JSON.stringify(
334
+ (0, import_smithy_client.take)(input, {
335
+ FillerSlate: (_) => (0, import_smithy_client._json)(_),
336
+ Outputs: (_) => (0, import_smithy_client._json)(_),
337
+ PlaybackMode: [],
338
+ tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`],
339
+ Tier: [],
340
+ TimeShiftConfiguration: (_) => (0, import_smithy_client._json)(_)
341
+ })
342
+ );
343
+ b.m("POST").h(headers).b(body);
344
+ return b.build();
345
+ }, "se_CreateChannelCommand");
346
+ var se_CreateLiveSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
347
+ const b = (0, import_core.requestBuilder)(input, context);
348
+ const headers = {
349
+ "content-type": "application/json"
350
+ };
351
+ b.bp("/sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}");
352
+ b.p("LiveSourceName", () => input.LiveSourceName, "{LiveSourceName}", false);
353
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
354
+ let body;
355
+ body = JSON.stringify(
356
+ (0, import_smithy_client.take)(input, {
357
+ HttpPackageConfigurations: (_) => (0, import_smithy_client._json)(_),
358
+ tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
359
+ })
360
+ );
361
+ b.m("POST").h(headers).b(body);
362
+ return b.build();
363
+ }, "se_CreateLiveSourceCommand");
364
+ var se_CreatePrefetchScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {
365
+ const b = (0, import_core.requestBuilder)(input, context);
366
+ const headers = {
367
+ "content-type": "application/json"
368
+ };
369
+ b.bp("/prefetchSchedule/{PlaybackConfigurationName}/{Name}");
370
+ b.p("Name", () => input.Name, "{Name}", false);
371
+ b.p("PlaybackConfigurationName", () => input.PlaybackConfigurationName, "{PlaybackConfigurationName}", false);
372
+ let body;
373
+ body = JSON.stringify(
374
+ (0, import_smithy_client.take)(input, {
375
+ Consumption: (_) => se_PrefetchConsumption(_, context),
376
+ Retrieval: (_) => se_PrefetchRetrieval(_, context),
377
+ StreamId: []
378
+ })
379
+ );
380
+ b.m("POST").h(headers).b(body);
381
+ return b.build();
382
+ }, "se_CreatePrefetchScheduleCommand");
383
+ var se_CreateProgramCommand = /* @__PURE__ */ __name(async (input, context) => {
384
+ const b = (0, import_core.requestBuilder)(input, context);
385
+ const headers = {
386
+ "content-type": "application/json"
387
+ };
388
+ b.bp("/channel/{ChannelName}/program/{ProgramName}");
389
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
390
+ b.p("ProgramName", () => input.ProgramName, "{ProgramName}", false);
391
+ let body;
392
+ body = JSON.stringify(
393
+ (0, import_smithy_client.take)(input, {
394
+ AdBreaks: (_) => (0, import_smithy_client._json)(_),
395
+ LiveSourceName: [],
396
+ ScheduleConfiguration: (_) => (0, import_smithy_client._json)(_),
397
+ SourceLocationName: [],
398
+ VodSourceName: []
399
+ })
400
+ );
401
+ b.m("POST").h(headers).b(body);
402
+ return b.build();
403
+ }, "se_CreateProgramCommand");
404
+ var se_CreateSourceLocationCommand = /* @__PURE__ */ __name(async (input, context) => {
405
+ const b = (0, import_core.requestBuilder)(input, context);
406
+ const headers = {
407
+ "content-type": "application/json"
408
+ };
409
+ b.bp("/sourceLocation/{SourceLocationName}");
410
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
411
+ let body;
412
+ body = JSON.stringify(
413
+ (0, import_smithy_client.take)(input, {
414
+ AccessConfiguration: (_) => (0, import_smithy_client._json)(_),
415
+ DefaultSegmentDeliveryConfiguration: (_) => (0, import_smithy_client._json)(_),
416
+ HttpConfiguration: (_) => (0, import_smithy_client._json)(_),
417
+ SegmentDeliveryConfigurations: (_) => (0, import_smithy_client._json)(_),
418
+ tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
419
+ })
420
+ );
421
+ b.m("POST").h(headers).b(body);
422
+ return b.build();
423
+ }, "se_CreateSourceLocationCommand");
424
+ var se_CreateVodSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
425
+ const b = (0, import_core.requestBuilder)(input, context);
426
+ const headers = {
427
+ "content-type": "application/json"
428
+ };
429
+ b.bp("/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}");
430
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
431
+ b.p("VodSourceName", () => input.VodSourceName, "{VodSourceName}", false);
432
+ let body;
433
+ body = JSON.stringify(
434
+ (0, import_smithy_client.take)(input, {
435
+ HttpPackageConfigurations: (_) => (0, import_smithy_client._json)(_),
436
+ tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
437
+ })
438
+ );
439
+ b.m("POST").h(headers).b(body);
440
+ return b.build();
441
+ }, "se_CreateVodSourceCommand");
442
+ var se_DeleteChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
443
+ const b = (0, import_core.requestBuilder)(input, context);
444
+ const headers = {};
445
+ b.bp("/channel/{ChannelName}");
446
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
447
+ let body;
448
+ b.m("DELETE").h(headers).b(body);
449
+ return b.build();
450
+ }, "se_DeleteChannelCommand");
451
+ var se_DeleteChannelPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
452
+ const b = (0, import_core.requestBuilder)(input, context);
453
+ const headers = {};
454
+ b.bp("/channel/{ChannelName}/policy");
455
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
456
+ let body;
457
+ b.m("DELETE").h(headers).b(body);
458
+ return b.build();
459
+ }, "se_DeleteChannelPolicyCommand");
460
+ var se_DeleteLiveSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
461
+ const b = (0, import_core.requestBuilder)(input, context);
462
+ const headers = {};
463
+ b.bp("/sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}");
464
+ b.p("LiveSourceName", () => input.LiveSourceName, "{LiveSourceName}", false);
465
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
466
+ let body;
467
+ b.m("DELETE").h(headers).b(body);
468
+ return b.build();
469
+ }, "se_DeleteLiveSourceCommand");
470
+ var se_DeletePlaybackConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
471
+ const b = (0, import_core.requestBuilder)(input, context);
472
+ const headers = {};
473
+ b.bp("/playbackConfiguration/{Name}");
474
+ b.p("Name", () => input.Name, "{Name}", false);
475
+ let body;
476
+ b.m("DELETE").h(headers).b(body);
477
+ return b.build();
478
+ }, "se_DeletePlaybackConfigurationCommand");
479
+ var se_DeletePrefetchScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {
480
+ const b = (0, import_core.requestBuilder)(input, context);
481
+ const headers = {};
482
+ b.bp("/prefetchSchedule/{PlaybackConfigurationName}/{Name}");
483
+ b.p("Name", () => input.Name, "{Name}", false);
484
+ b.p("PlaybackConfigurationName", () => input.PlaybackConfigurationName, "{PlaybackConfigurationName}", false);
485
+ let body;
486
+ b.m("DELETE").h(headers).b(body);
487
+ return b.build();
488
+ }, "se_DeletePrefetchScheduleCommand");
489
+ var se_DeleteProgramCommand = /* @__PURE__ */ __name(async (input, context) => {
490
+ const b = (0, import_core.requestBuilder)(input, context);
491
+ const headers = {};
492
+ b.bp("/channel/{ChannelName}/program/{ProgramName}");
493
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
494
+ b.p("ProgramName", () => input.ProgramName, "{ProgramName}", false);
495
+ let body;
496
+ b.m("DELETE").h(headers).b(body);
497
+ return b.build();
498
+ }, "se_DeleteProgramCommand");
499
+ var se_DeleteSourceLocationCommand = /* @__PURE__ */ __name(async (input, context) => {
500
+ const b = (0, import_core.requestBuilder)(input, context);
501
+ const headers = {};
502
+ b.bp("/sourceLocation/{SourceLocationName}");
503
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
504
+ let body;
505
+ b.m("DELETE").h(headers).b(body);
506
+ return b.build();
507
+ }, "se_DeleteSourceLocationCommand");
508
+ var se_DeleteVodSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
509
+ const b = (0, import_core.requestBuilder)(input, context);
510
+ const headers = {};
511
+ b.bp("/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}");
512
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
513
+ b.p("VodSourceName", () => input.VodSourceName, "{VodSourceName}", false);
514
+ let body;
515
+ b.m("DELETE").h(headers).b(body);
516
+ return b.build();
517
+ }, "se_DeleteVodSourceCommand");
518
+ var se_DescribeChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
519
+ const b = (0, import_core.requestBuilder)(input, context);
520
+ const headers = {};
521
+ b.bp("/channel/{ChannelName}");
522
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
523
+ let body;
524
+ b.m("GET").h(headers).b(body);
525
+ return b.build();
526
+ }, "se_DescribeChannelCommand");
527
+ var se_DescribeLiveSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
528
+ const b = (0, import_core.requestBuilder)(input, context);
529
+ const headers = {};
530
+ b.bp("/sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}");
531
+ b.p("LiveSourceName", () => input.LiveSourceName, "{LiveSourceName}", false);
532
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
533
+ let body;
534
+ b.m("GET").h(headers).b(body);
535
+ return b.build();
536
+ }, "se_DescribeLiveSourceCommand");
537
+ var se_DescribeProgramCommand = /* @__PURE__ */ __name(async (input, context) => {
538
+ const b = (0, import_core.requestBuilder)(input, context);
539
+ const headers = {};
540
+ b.bp("/channel/{ChannelName}/program/{ProgramName}");
541
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
542
+ b.p("ProgramName", () => input.ProgramName, "{ProgramName}", false);
543
+ let body;
544
+ b.m("GET").h(headers).b(body);
545
+ return b.build();
546
+ }, "se_DescribeProgramCommand");
547
+ var se_DescribeSourceLocationCommand = /* @__PURE__ */ __name(async (input, context) => {
548
+ const b = (0, import_core.requestBuilder)(input, context);
549
+ const headers = {};
550
+ b.bp("/sourceLocation/{SourceLocationName}");
551
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
552
+ let body;
553
+ b.m("GET").h(headers).b(body);
554
+ return b.build();
555
+ }, "se_DescribeSourceLocationCommand");
556
+ var se_DescribeVodSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
557
+ const b = (0, import_core.requestBuilder)(input, context);
558
+ const headers = {};
559
+ b.bp("/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}");
560
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
561
+ b.p("VodSourceName", () => input.VodSourceName, "{VodSourceName}", false);
562
+ let body;
563
+ b.m("GET").h(headers).b(body);
564
+ return b.build();
565
+ }, "se_DescribeVodSourceCommand");
566
+ var se_GetChannelPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
567
+ const b = (0, import_core.requestBuilder)(input, context);
568
+ const headers = {};
569
+ b.bp("/channel/{ChannelName}/policy");
570
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
571
+ let body;
572
+ b.m("GET").h(headers).b(body);
573
+ return b.build();
574
+ }, "se_GetChannelPolicyCommand");
575
+ var se_GetChannelScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {
576
+ const b = (0, import_core.requestBuilder)(input, context);
577
+ const headers = {};
578
+ b.bp("/channel/{ChannelName}/schedule");
579
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
580
+ const query = (0, import_smithy_client.map)({
581
+ [_dM]: [, input[_DM]],
582
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
583
+ [_nT]: [, input[_NT]]
584
+ });
585
+ let body;
586
+ b.m("GET").h(headers).q(query).b(body);
587
+ return b.build();
588
+ }, "se_GetChannelScheduleCommand");
589
+ var se_GetPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
590
+ const b = (0, import_core.requestBuilder)(input, context);
591
+ const headers = {};
592
+ b.bp("/playbackConfiguration/{Name}");
593
+ b.p("Name", () => input.Name, "{Name}", false);
594
+ let body;
595
+ b.m("GET").h(headers).b(body);
596
+ return b.build();
597
+ }, "se_GetPlaybackConfigurationCommand");
598
+ var se_GetPrefetchScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {
599
+ const b = (0, import_core.requestBuilder)(input, context);
600
+ const headers = {};
601
+ b.bp("/prefetchSchedule/{PlaybackConfigurationName}/{Name}");
602
+ b.p("Name", () => input.Name, "{Name}", false);
603
+ b.p("PlaybackConfigurationName", () => input.PlaybackConfigurationName, "{PlaybackConfigurationName}", false);
604
+ let body;
605
+ b.m("GET").h(headers).b(body);
606
+ return b.build();
607
+ }, "se_GetPrefetchScheduleCommand");
608
+ var se_ListAlertsCommand = /* @__PURE__ */ __name(async (input, context) => {
609
+ const b = (0, import_core.requestBuilder)(input, context);
610
+ const headers = {};
611
+ b.bp("/alerts");
612
+ const query = (0, import_smithy_client.map)({
613
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
614
+ [_nT]: [, input[_NT]],
615
+ [_rA]: [, (0, import_smithy_client.expectNonNull)(input[_RA], `ResourceArn`)]
616
+ });
617
+ let body;
618
+ b.m("GET").h(headers).q(query).b(body);
619
+ return b.build();
620
+ }, "se_ListAlertsCommand");
621
+ var se_ListChannelsCommand = /* @__PURE__ */ __name(async (input, context) => {
622
+ const b = (0, import_core.requestBuilder)(input, context);
623
+ const headers = {};
624
+ b.bp("/channels");
625
+ const query = (0, import_smithy_client.map)({
626
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
627
+ [_nT]: [, input[_NT]]
628
+ });
629
+ let body;
630
+ b.m("GET").h(headers).q(query).b(body);
631
+ return b.build();
632
+ }, "se_ListChannelsCommand");
633
+ var se_ListLiveSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
634
+ const b = (0, import_core.requestBuilder)(input, context);
635
+ const headers = {};
636
+ b.bp("/sourceLocation/{SourceLocationName}/liveSources");
637
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
638
+ const query = (0, import_smithy_client.map)({
639
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
640
+ [_nT]: [, input[_NT]]
641
+ });
642
+ let body;
643
+ b.m("GET").h(headers).q(query).b(body);
644
+ return b.build();
645
+ }, "se_ListLiveSourcesCommand");
646
+ var se_ListPlaybackConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
647
+ const b = (0, import_core.requestBuilder)(input, context);
648
+ const headers = {};
649
+ b.bp("/playbackConfigurations");
650
+ const query = (0, import_smithy_client.map)({
651
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
652
+ [_NT]: [, input[_NT]]
653
+ });
654
+ let body;
655
+ b.m("GET").h(headers).q(query).b(body);
656
+ return b.build();
657
+ }, "se_ListPlaybackConfigurationsCommand");
658
+ var se_ListPrefetchSchedulesCommand = /* @__PURE__ */ __name(async (input, context) => {
659
+ const b = (0, import_core.requestBuilder)(input, context);
660
+ const headers = {
661
+ "content-type": "application/json"
662
+ };
663
+ b.bp("/prefetchSchedule/{PlaybackConfigurationName}");
664
+ b.p("PlaybackConfigurationName", () => input.PlaybackConfigurationName, "{PlaybackConfigurationName}", false);
665
+ let body;
666
+ body = JSON.stringify(
667
+ (0, import_smithy_client.take)(input, {
668
+ MaxResults: [],
669
+ NextToken: [],
670
+ StreamId: []
671
+ })
672
+ );
673
+ b.m("POST").h(headers).b(body);
674
+ return b.build();
675
+ }, "se_ListPrefetchSchedulesCommand");
676
+ var se_ListSourceLocationsCommand = /* @__PURE__ */ __name(async (input, context) => {
677
+ const b = (0, import_core.requestBuilder)(input, context);
678
+ const headers = {};
679
+ b.bp("/sourceLocations");
680
+ const query = (0, import_smithy_client.map)({
681
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
682
+ [_nT]: [, input[_NT]]
683
+ });
684
+ let body;
685
+ b.m("GET").h(headers).q(query).b(body);
686
+ return b.build();
687
+ }, "se_ListSourceLocationsCommand");
688
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
689
+ const b = (0, import_core.requestBuilder)(input, context);
690
+ const headers = {};
691
+ b.bp("/tags/{ResourceArn}");
692
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
693
+ let body;
694
+ b.m("GET").h(headers).b(body);
695
+ return b.build();
696
+ }, "se_ListTagsForResourceCommand");
697
+ var se_ListVodSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
698
+ const b = (0, import_core.requestBuilder)(input, context);
699
+ const headers = {};
700
+ b.bp("/sourceLocation/{SourceLocationName}/vodSources");
701
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
702
+ const query = (0, import_smithy_client.map)({
703
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
704
+ [_nT]: [, input[_NT]]
705
+ });
706
+ let body;
707
+ b.m("GET").h(headers).q(query).b(body);
708
+ return b.build();
709
+ }, "se_ListVodSourcesCommand");
710
+ var se_PutChannelPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
711
+ const b = (0, import_core.requestBuilder)(input, context);
712
+ const headers = {
713
+ "content-type": "application/json"
714
+ };
715
+ b.bp("/channel/{ChannelName}/policy");
716
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
717
+ let body;
718
+ body = JSON.stringify(
719
+ (0, import_smithy_client.take)(input, {
720
+ Policy: []
721
+ })
722
+ );
723
+ b.m("PUT").h(headers).b(body);
724
+ return b.build();
725
+ }, "se_PutChannelPolicyCommand");
726
+ var se_PutPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
727
+ const b = (0, import_core.requestBuilder)(input, context);
728
+ const headers = {
729
+ "content-type": "application/json"
730
+ };
731
+ b.bp("/playbackConfiguration");
732
+ let body;
733
+ body = JSON.stringify(
734
+ (0, import_smithy_client.take)(input, {
735
+ AdDecisionServerUrl: [],
736
+ AvailSuppression: (_) => (0, import_smithy_client._json)(_),
737
+ Bumper: (_) => (0, import_smithy_client._json)(_),
738
+ CdnConfiguration: (_) => (0, import_smithy_client._json)(_),
739
+ ConfigurationAliases: (_) => (0, import_smithy_client._json)(_),
740
+ DashConfiguration: (_) => (0, import_smithy_client._json)(_),
741
+ LivePreRollConfiguration: (_) => (0, import_smithy_client._json)(_),
742
+ ManifestProcessingRules: (_) => (0, import_smithy_client._json)(_),
743
+ Name: [],
744
+ PersonalizationThresholdSeconds: [],
745
+ SlateAdUrl: [],
746
+ tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`],
747
+ TranscodeProfileName: [],
748
+ VideoContentSourceUrl: []
749
+ })
750
+ );
751
+ b.m("PUT").h(headers).b(body);
752
+ return b.build();
753
+ }, "se_PutPlaybackConfigurationCommand");
754
+ var se_StartChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
755
+ const b = (0, import_core.requestBuilder)(input, context);
756
+ const headers = {};
757
+ b.bp("/channel/{ChannelName}/start");
758
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
759
+ let body;
760
+ b.m("PUT").h(headers).b(body);
761
+ return b.build();
762
+ }, "se_StartChannelCommand");
763
+ var se_StopChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
764
+ const b = (0, import_core.requestBuilder)(input, context);
765
+ const headers = {};
766
+ b.bp("/channel/{ChannelName}/stop");
767
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
768
+ let body;
769
+ b.m("PUT").h(headers).b(body);
770
+ return b.build();
771
+ }, "se_StopChannelCommand");
772
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
773
+ const b = (0, import_core.requestBuilder)(input, context);
774
+ const headers = {
775
+ "content-type": "application/json"
776
+ };
777
+ b.bp("/tags/{ResourceArn}");
778
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
779
+ let body;
780
+ body = JSON.stringify(
781
+ (0, import_smithy_client.take)(input, {
782
+ tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
783
+ })
784
+ );
785
+ b.m("POST").h(headers).b(body);
786
+ return b.build();
787
+ }, "se_TagResourceCommand");
788
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
789
+ const b = (0, import_core.requestBuilder)(input, context);
790
+ const headers = {};
791
+ b.bp("/tags/{ResourceArn}");
792
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
793
+ const query = (0, import_smithy_client.map)({
794
+ [_tK]: [
795
+ (0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
796
+ () => (input[_TK] || []).map((_entry) => _entry)
797
+ ]
798
+ });
799
+ let body;
800
+ b.m("DELETE").h(headers).q(query).b(body);
801
+ return b.build();
802
+ }, "se_UntagResourceCommand");
803
+ var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
804
+ const b = (0, import_core.requestBuilder)(input, context);
805
+ const headers = {
806
+ "content-type": "application/json"
807
+ };
808
+ b.bp("/channel/{ChannelName}");
809
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
810
+ let body;
811
+ body = JSON.stringify(
812
+ (0, import_smithy_client.take)(input, {
813
+ FillerSlate: (_) => (0, import_smithy_client._json)(_),
814
+ Outputs: (_) => (0, import_smithy_client._json)(_),
815
+ TimeShiftConfiguration: (_) => (0, import_smithy_client._json)(_)
816
+ })
817
+ );
818
+ b.m("PUT").h(headers).b(body);
819
+ return b.build();
820
+ }, "se_UpdateChannelCommand");
821
+ var se_UpdateLiveSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
822
+ const b = (0, import_core.requestBuilder)(input, context);
823
+ const headers = {
824
+ "content-type": "application/json"
825
+ };
826
+ b.bp("/sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}");
827
+ b.p("LiveSourceName", () => input.LiveSourceName, "{LiveSourceName}", false);
828
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
829
+ let body;
830
+ body = JSON.stringify(
831
+ (0, import_smithy_client.take)(input, {
832
+ HttpPackageConfigurations: (_) => (0, import_smithy_client._json)(_)
833
+ })
834
+ );
835
+ b.m("PUT").h(headers).b(body);
836
+ return b.build();
837
+ }, "se_UpdateLiveSourceCommand");
838
+ var se_UpdateProgramCommand = /* @__PURE__ */ __name(async (input, context) => {
839
+ const b = (0, import_core.requestBuilder)(input, context);
840
+ const headers = {
841
+ "content-type": "application/json"
842
+ };
843
+ b.bp("/channel/{ChannelName}/program/{ProgramName}");
844
+ b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
845
+ b.p("ProgramName", () => input.ProgramName, "{ProgramName}", false);
846
+ let body;
847
+ body = JSON.stringify(
848
+ (0, import_smithy_client.take)(input, {
849
+ AdBreaks: (_) => (0, import_smithy_client._json)(_),
850
+ ScheduleConfiguration: (_) => (0, import_smithy_client._json)(_)
851
+ })
852
+ );
853
+ b.m("PUT").h(headers).b(body);
854
+ return b.build();
855
+ }, "se_UpdateProgramCommand");
856
+ var se_UpdateSourceLocationCommand = /* @__PURE__ */ __name(async (input, context) => {
857
+ const b = (0, import_core.requestBuilder)(input, context);
858
+ const headers = {
859
+ "content-type": "application/json"
860
+ };
861
+ b.bp("/sourceLocation/{SourceLocationName}");
862
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
863
+ let body;
864
+ body = JSON.stringify(
865
+ (0, import_smithy_client.take)(input, {
866
+ AccessConfiguration: (_) => (0, import_smithy_client._json)(_),
867
+ DefaultSegmentDeliveryConfiguration: (_) => (0, import_smithy_client._json)(_),
868
+ HttpConfiguration: (_) => (0, import_smithy_client._json)(_),
869
+ SegmentDeliveryConfigurations: (_) => (0, import_smithy_client._json)(_)
870
+ })
871
+ );
872
+ b.m("PUT").h(headers).b(body);
873
+ return b.build();
874
+ }, "se_UpdateSourceLocationCommand");
875
+ var se_UpdateVodSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
876
+ const b = (0, import_core.requestBuilder)(input, context);
877
+ const headers = {
878
+ "content-type": "application/json"
879
+ };
880
+ b.bp("/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}");
881
+ b.p("SourceLocationName", () => input.SourceLocationName, "{SourceLocationName}", false);
882
+ b.p("VodSourceName", () => input.VodSourceName, "{VodSourceName}", false);
883
+ let body;
884
+ body = JSON.stringify(
885
+ (0, import_smithy_client.take)(input, {
886
+ HttpPackageConfigurations: (_) => (0, import_smithy_client._json)(_)
887
+ })
888
+ );
889
+ b.m("PUT").h(headers).b(body);
890
+ return b.build();
891
+ }, "se_UpdateVodSourceCommand");
892
+ var de_ConfigureLogsForChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
893
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
894
+ return de_ConfigureLogsForChannelCommandError(output, context);
895
+ }
896
+ const contents = (0, import_smithy_client.map)({
897
+ $metadata: deserializeMetadata(output)
898
+ });
899
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
900
+ const doc = (0, import_smithy_client.take)(data, {
901
+ ChannelName: import_smithy_client.expectString,
902
+ LogTypes: import_smithy_client._json
903
+ });
904
+ Object.assign(contents, doc);
905
+ return contents;
906
+ }, "de_ConfigureLogsForChannelCommand");
907
+ var de_ConfigureLogsForChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
908
+ const parsedOutput = {
909
+ ...output,
910
+ body: await parseErrorBody(output.body, context)
911
+ };
912
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
913
+ const parsedBody = parsedOutput.body;
914
+ return throwDefaultError({
915
+ output,
916
+ parsedBody,
917
+ errorCode
918
+ });
919
+ }, "de_ConfigureLogsForChannelCommandError");
920
+ var de_ConfigureLogsForPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
921
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
922
+ return de_ConfigureLogsForPlaybackConfigurationCommandError(output, context);
923
+ }
924
+ const contents = (0, import_smithy_client.map)({
925
+ $metadata: deserializeMetadata(output)
926
+ });
927
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
928
+ const doc = (0, import_smithy_client.take)(data, {
929
+ PercentEnabled: import_smithy_client.expectInt32,
930
+ PlaybackConfigurationName: import_smithy_client.expectString
931
+ });
932
+ Object.assign(contents, doc);
933
+ return contents;
934
+ }, "de_ConfigureLogsForPlaybackConfigurationCommand");
935
+ var de_ConfigureLogsForPlaybackConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
936
+ const parsedOutput = {
937
+ ...output,
938
+ body: await parseErrorBody(output.body, context)
939
+ };
940
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
941
+ const parsedBody = parsedOutput.body;
942
+ return throwDefaultError({
943
+ output,
944
+ parsedBody,
945
+ errorCode
946
+ });
947
+ }, "de_ConfigureLogsForPlaybackConfigurationCommandError");
948
+ var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
949
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
950
+ return de_CreateChannelCommandError(output, context);
951
+ }
952
+ const contents = (0, import_smithy_client.map)({
953
+ $metadata: deserializeMetadata(output)
954
+ });
955
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
956
+ const doc = (0, import_smithy_client.take)(data, {
957
+ Arn: import_smithy_client.expectString,
958
+ ChannelName: import_smithy_client.expectString,
959
+ ChannelState: import_smithy_client.expectString,
960
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
961
+ FillerSlate: import_smithy_client._json,
962
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
963
+ Outputs: import_smithy_client._json,
964
+ PlaybackMode: import_smithy_client.expectString,
965
+ Tags: [, import_smithy_client._json, `tags`],
966
+ Tier: import_smithy_client.expectString,
967
+ TimeShiftConfiguration: import_smithy_client._json
968
+ });
969
+ Object.assign(contents, doc);
970
+ return contents;
971
+ }, "de_CreateChannelCommand");
972
+ var de_CreateChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
973
+ const parsedOutput = {
974
+ ...output,
975
+ body: await parseErrorBody(output.body, context)
976
+ };
977
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
978
+ const parsedBody = parsedOutput.body;
979
+ return throwDefaultError({
980
+ output,
981
+ parsedBody,
982
+ errorCode
983
+ });
984
+ }, "de_CreateChannelCommandError");
985
+ var de_CreateLiveSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
986
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
987
+ return de_CreateLiveSourceCommandError(output, context);
988
+ }
989
+ const contents = (0, import_smithy_client.map)({
990
+ $metadata: deserializeMetadata(output)
991
+ });
992
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
993
+ const doc = (0, import_smithy_client.take)(data, {
994
+ Arn: import_smithy_client.expectString,
995
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
996
+ HttpPackageConfigurations: import_smithy_client._json,
997
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
998
+ LiveSourceName: import_smithy_client.expectString,
999
+ SourceLocationName: import_smithy_client.expectString,
1000
+ Tags: [, import_smithy_client._json, `tags`]
1001
+ });
1002
+ Object.assign(contents, doc);
1003
+ return contents;
1004
+ }, "de_CreateLiveSourceCommand");
1005
+ var de_CreateLiveSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1006
+ const parsedOutput = {
1007
+ ...output,
1008
+ body: await parseErrorBody(output.body, context)
1009
+ };
1010
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1011
+ const parsedBody = parsedOutput.body;
1012
+ return throwDefaultError({
1013
+ output,
1014
+ parsedBody,
1015
+ errorCode
1016
+ });
1017
+ }, "de_CreateLiveSourceCommandError");
1018
+ var de_CreatePrefetchScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
1019
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1020
+ return de_CreatePrefetchScheduleCommandError(output, context);
1021
+ }
1022
+ const contents = (0, import_smithy_client.map)({
1023
+ $metadata: deserializeMetadata(output)
1024
+ });
1025
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1026
+ const doc = (0, import_smithy_client.take)(data, {
1027
+ Arn: import_smithy_client.expectString,
1028
+ Consumption: (_) => de_PrefetchConsumption(_, context),
1029
+ Name: import_smithy_client.expectString,
1030
+ PlaybackConfigurationName: import_smithy_client.expectString,
1031
+ Retrieval: (_) => de_PrefetchRetrieval(_, context),
1032
+ StreamId: import_smithy_client.expectString
1033
+ });
1034
+ Object.assign(contents, doc);
1035
+ return contents;
1036
+ }, "de_CreatePrefetchScheduleCommand");
1037
+ var de_CreatePrefetchScheduleCommandError = /* @__PURE__ */ __name(async (output, context) => {
1038
+ const parsedOutput = {
1039
+ ...output,
1040
+ body: await parseErrorBody(output.body, context)
1041
+ };
1042
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1043
+ const parsedBody = parsedOutput.body;
1044
+ return throwDefaultError({
1045
+ output,
1046
+ parsedBody,
1047
+ errorCode
1048
+ });
1049
+ }, "de_CreatePrefetchScheduleCommandError");
1050
+ var de_CreateProgramCommand = /* @__PURE__ */ __name(async (output, context) => {
1051
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1052
+ return de_CreateProgramCommandError(output, context);
1053
+ }
1054
+ const contents = (0, import_smithy_client.map)({
1055
+ $metadata: deserializeMetadata(output)
1056
+ });
1057
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1058
+ const doc = (0, import_smithy_client.take)(data, {
1059
+ AdBreaks: import_smithy_client._json,
1060
+ Arn: import_smithy_client.expectString,
1061
+ ChannelName: import_smithy_client.expectString,
1062
+ ClipRange: import_smithy_client._json,
1063
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1064
+ DurationMillis: import_smithy_client.expectLong,
1065
+ LiveSourceName: import_smithy_client.expectString,
1066
+ ProgramName: import_smithy_client.expectString,
1067
+ ScheduledStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1068
+ SourceLocationName: import_smithy_client.expectString,
1069
+ VodSourceName: import_smithy_client.expectString
1070
+ });
1071
+ Object.assign(contents, doc);
1072
+ return contents;
1073
+ }, "de_CreateProgramCommand");
1074
+ var de_CreateProgramCommandError = /* @__PURE__ */ __name(async (output, context) => {
1075
+ const parsedOutput = {
1076
+ ...output,
1077
+ body: await parseErrorBody(output.body, context)
1078
+ };
1079
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1080
+ const parsedBody = parsedOutput.body;
1081
+ return throwDefaultError({
1082
+ output,
1083
+ parsedBody,
1084
+ errorCode
1085
+ });
1086
+ }, "de_CreateProgramCommandError");
1087
+ var de_CreateSourceLocationCommand = /* @__PURE__ */ __name(async (output, context) => {
1088
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1089
+ return de_CreateSourceLocationCommandError(output, context);
1090
+ }
1091
+ const contents = (0, import_smithy_client.map)({
1092
+ $metadata: deserializeMetadata(output)
1093
+ });
1094
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1095
+ const doc = (0, import_smithy_client.take)(data, {
1096
+ AccessConfiguration: import_smithy_client._json,
1097
+ Arn: import_smithy_client.expectString,
1098
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1099
+ DefaultSegmentDeliveryConfiguration: import_smithy_client._json,
1100
+ HttpConfiguration: import_smithy_client._json,
1101
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1102
+ SegmentDeliveryConfigurations: import_smithy_client._json,
1103
+ SourceLocationName: import_smithy_client.expectString,
1104
+ Tags: [, import_smithy_client._json, `tags`]
1105
+ });
1106
+ Object.assign(contents, doc);
1107
+ return contents;
1108
+ }, "de_CreateSourceLocationCommand");
1109
+ var de_CreateSourceLocationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1110
+ const parsedOutput = {
1111
+ ...output,
1112
+ body: await parseErrorBody(output.body, context)
1113
+ };
1114
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1115
+ const parsedBody = parsedOutput.body;
1116
+ return throwDefaultError({
1117
+ output,
1118
+ parsedBody,
1119
+ errorCode
1120
+ });
1121
+ }, "de_CreateSourceLocationCommandError");
1122
+ var de_CreateVodSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1123
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1124
+ return de_CreateVodSourceCommandError(output, context);
1125
+ }
1126
+ const contents = (0, import_smithy_client.map)({
1127
+ $metadata: deserializeMetadata(output)
1128
+ });
1129
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1130
+ const doc = (0, import_smithy_client.take)(data, {
1131
+ Arn: import_smithy_client.expectString,
1132
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1133
+ HttpPackageConfigurations: import_smithy_client._json,
1134
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1135
+ SourceLocationName: import_smithy_client.expectString,
1136
+ Tags: [, import_smithy_client._json, `tags`],
1137
+ VodSourceName: import_smithy_client.expectString
1138
+ });
1139
+ Object.assign(contents, doc);
1140
+ return contents;
1141
+ }, "de_CreateVodSourceCommand");
1142
+ var de_CreateVodSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1143
+ const parsedOutput = {
1144
+ ...output,
1145
+ body: await parseErrorBody(output.body, context)
1146
+ };
1147
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1148
+ const parsedBody = parsedOutput.body;
1149
+ return throwDefaultError({
1150
+ output,
1151
+ parsedBody,
1152
+ errorCode
1153
+ });
1154
+ }, "de_CreateVodSourceCommandError");
1155
+ var de_DeleteChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
1156
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1157
+ return de_DeleteChannelCommandError(output, context);
1158
+ }
1159
+ const contents = (0, import_smithy_client.map)({
1160
+ $metadata: deserializeMetadata(output)
1161
+ });
1162
+ await (0, import_smithy_client.collectBody)(output.body, context);
1163
+ return contents;
1164
+ }, "de_DeleteChannelCommand");
1165
+ var de_DeleteChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
1166
+ const parsedOutput = {
1167
+ ...output,
1168
+ body: await parseErrorBody(output.body, context)
1169
+ };
1170
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1171
+ const parsedBody = parsedOutput.body;
1172
+ return throwDefaultError({
1173
+ output,
1174
+ parsedBody,
1175
+ errorCode
1176
+ });
1177
+ }, "de_DeleteChannelCommandError");
1178
+ var de_DeleteChannelPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1179
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1180
+ return de_DeleteChannelPolicyCommandError(output, context);
1181
+ }
1182
+ const contents = (0, import_smithy_client.map)({
1183
+ $metadata: deserializeMetadata(output)
1184
+ });
1185
+ await (0, import_smithy_client.collectBody)(output.body, context);
1186
+ return contents;
1187
+ }, "de_DeleteChannelPolicyCommand");
1188
+ var de_DeleteChannelPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1189
+ const parsedOutput = {
1190
+ ...output,
1191
+ body: await parseErrorBody(output.body, context)
1192
+ };
1193
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1194
+ const parsedBody = parsedOutput.body;
1195
+ return throwDefaultError({
1196
+ output,
1197
+ parsedBody,
1198
+ errorCode
1199
+ });
1200
+ }, "de_DeleteChannelPolicyCommandError");
1201
+ var de_DeleteLiveSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1202
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1203
+ return de_DeleteLiveSourceCommandError(output, context);
1204
+ }
1205
+ const contents = (0, import_smithy_client.map)({
1206
+ $metadata: deserializeMetadata(output)
1207
+ });
1208
+ await (0, import_smithy_client.collectBody)(output.body, context);
1209
+ return contents;
1210
+ }, "de_DeleteLiveSourceCommand");
1211
+ var de_DeleteLiveSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1212
+ const parsedOutput = {
1213
+ ...output,
1214
+ body: await parseErrorBody(output.body, context)
1215
+ };
1216
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1217
+ const parsedBody = parsedOutput.body;
1218
+ return throwDefaultError({
1219
+ output,
1220
+ parsedBody,
1221
+ errorCode
1222
+ });
1223
+ }, "de_DeleteLiveSourceCommandError");
1224
+ var de_DeletePlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1225
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1226
+ return de_DeletePlaybackConfigurationCommandError(output, context);
1227
+ }
1228
+ const contents = (0, import_smithy_client.map)({
1229
+ $metadata: deserializeMetadata(output)
1230
+ });
1231
+ await (0, import_smithy_client.collectBody)(output.body, context);
1232
+ return contents;
1233
+ }, "de_DeletePlaybackConfigurationCommand");
1234
+ var de_DeletePlaybackConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1235
+ const parsedOutput = {
1236
+ ...output,
1237
+ body: await parseErrorBody(output.body, context)
1238
+ };
1239
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1240
+ const parsedBody = parsedOutput.body;
1241
+ return throwDefaultError({
1242
+ output,
1243
+ parsedBody,
1244
+ errorCode
1245
+ });
1246
+ }, "de_DeletePlaybackConfigurationCommandError");
1247
+ var de_DeletePrefetchScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
1248
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1249
+ return de_DeletePrefetchScheduleCommandError(output, context);
1250
+ }
1251
+ const contents = (0, import_smithy_client.map)({
1252
+ $metadata: deserializeMetadata(output)
1253
+ });
1254
+ await (0, import_smithy_client.collectBody)(output.body, context);
1255
+ return contents;
1256
+ }, "de_DeletePrefetchScheduleCommand");
1257
+ var de_DeletePrefetchScheduleCommandError = /* @__PURE__ */ __name(async (output, context) => {
1258
+ const parsedOutput = {
1259
+ ...output,
1260
+ body: await parseErrorBody(output.body, context)
1261
+ };
1262
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1263
+ const parsedBody = parsedOutput.body;
1264
+ return throwDefaultError({
1265
+ output,
1266
+ parsedBody,
1267
+ errorCode
1268
+ });
1269
+ }, "de_DeletePrefetchScheduleCommandError");
1270
+ var de_DeleteProgramCommand = /* @__PURE__ */ __name(async (output, context) => {
1271
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1272
+ return de_DeleteProgramCommandError(output, context);
1273
+ }
1274
+ const contents = (0, import_smithy_client.map)({
1275
+ $metadata: deserializeMetadata(output)
1276
+ });
1277
+ await (0, import_smithy_client.collectBody)(output.body, context);
1278
+ return contents;
1279
+ }, "de_DeleteProgramCommand");
1280
+ var de_DeleteProgramCommandError = /* @__PURE__ */ __name(async (output, context) => {
1281
+ const parsedOutput = {
1282
+ ...output,
1283
+ body: await parseErrorBody(output.body, context)
1284
+ };
1285
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1286
+ const parsedBody = parsedOutput.body;
1287
+ return throwDefaultError({
1288
+ output,
1289
+ parsedBody,
1290
+ errorCode
1291
+ });
1292
+ }, "de_DeleteProgramCommandError");
1293
+ var de_DeleteSourceLocationCommand = /* @__PURE__ */ __name(async (output, context) => {
1294
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1295
+ return de_DeleteSourceLocationCommandError(output, context);
1296
+ }
1297
+ const contents = (0, import_smithy_client.map)({
1298
+ $metadata: deserializeMetadata(output)
1299
+ });
1300
+ await (0, import_smithy_client.collectBody)(output.body, context);
1301
+ return contents;
1302
+ }, "de_DeleteSourceLocationCommand");
1303
+ var de_DeleteSourceLocationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1304
+ const parsedOutput = {
1305
+ ...output,
1306
+ body: await parseErrorBody(output.body, context)
1307
+ };
1308
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1309
+ const parsedBody = parsedOutput.body;
1310
+ return throwDefaultError({
1311
+ output,
1312
+ parsedBody,
1313
+ errorCode
1314
+ });
1315
+ }, "de_DeleteSourceLocationCommandError");
1316
+ var de_DeleteVodSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1317
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1318
+ return de_DeleteVodSourceCommandError(output, context);
1319
+ }
1320
+ const contents = (0, import_smithy_client.map)({
1321
+ $metadata: deserializeMetadata(output)
1322
+ });
1323
+ await (0, import_smithy_client.collectBody)(output.body, context);
1324
+ return contents;
1325
+ }, "de_DeleteVodSourceCommand");
1326
+ var de_DeleteVodSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1327
+ const parsedOutput = {
1328
+ ...output,
1329
+ body: await parseErrorBody(output.body, context)
1330
+ };
1331
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1332
+ const parsedBody = parsedOutput.body;
1333
+ return throwDefaultError({
1334
+ output,
1335
+ parsedBody,
1336
+ errorCode
1337
+ });
1338
+ }, "de_DeleteVodSourceCommandError");
1339
+ var de_DescribeChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
1340
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1341
+ return de_DescribeChannelCommandError(output, context);
1342
+ }
1343
+ const contents = (0, import_smithy_client.map)({
1344
+ $metadata: deserializeMetadata(output)
1345
+ });
1346
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1347
+ const doc = (0, import_smithy_client.take)(data, {
1348
+ Arn: import_smithy_client.expectString,
1349
+ ChannelName: import_smithy_client.expectString,
1350
+ ChannelState: import_smithy_client.expectString,
1351
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1352
+ FillerSlate: import_smithy_client._json,
1353
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1354
+ LogConfiguration: import_smithy_client._json,
1355
+ Outputs: import_smithy_client._json,
1356
+ PlaybackMode: import_smithy_client.expectString,
1357
+ Tags: [, import_smithy_client._json, `tags`],
1358
+ Tier: import_smithy_client.expectString,
1359
+ TimeShiftConfiguration: import_smithy_client._json
1360
+ });
1361
+ Object.assign(contents, doc);
1362
+ return contents;
1363
+ }, "de_DescribeChannelCommand");
1364
+ var de_DescribeChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
1365
+ const parsedOutput = {
1366
+ ...output,
1367
+ body: await parseErrorBody(output.body, context)
1368
+ };
1369
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1370
+ const parsedBody = parsedOutput.body;
1371
+ return throwDefaultError({
1372
+ output,
1373
+ parsedBody,
1374
+ errorCode
1375
+ });
1376
+ }, "de_DescribeChannelCommandError");
1377
+ var de_DescribeLiveSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1378
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1379
+ return de_DescribeLiveSourceCommandError(output, context);
1380
+ }
1381
+ const contents = (0, import_smithy_client.map)({
1382
+ $metadata: deserializeMetadata(output)
1383
+ });
1384
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1385
+ const doc = (0, import_smithy_client.take)(data, {
1386
+ Arn: import_smithy_client.expectString,
1387
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1388
+ HttpPackageConfigurations: import_smithy_client._json,
1389
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1390
+ LiveSourceName: import_smithy_client.expectString,
1391
+ SourceLocationName: import_smithy_client.expectString,
1392
+ Tags: [, import_smithy_client._json, `tags`]
1393
+ });
1394
+ Object.assign(contents, doc);
1395
+ return contents;
1396
+ }, "de_DescribeLiveSourceCommand");
1397
+ var de_DescribeLiveSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1398
+ const parsedOutput = {
1399
+ ...output,
1400
+ body: await parseErrorBody(output.body, context)
1401
+ };
1402
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1403
+ const parsedBody = parsedOutput.body;
1404
+ return throwDefaultError({
1405
+ output,
1406
+ parsedBody,
1407
+ errorCode
1408
+ });
1409
+ }, "de_DescribeLiveSourceCommandError");
1410
+ var de_DescribeProgramCommand = /* @__PURE__ */ __name(async (output, context) => {
1411
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1412
+ return de_DescribeProgramCommandError(output, context);
1413
+ }
1414
+ const contents = (0, import_smithy_client.map)({
1415
+ $metadata: deserializeMetadata(output)
1416
+ });
1417
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1418
+ const doc = (0, import_smithy_client.take)(data, {
1419
+ AdBreaks: import_smithy_client._json,
1420
+ Arn: import_smithy_client.expectString,
1421
+ ChannelName: import_smithy_client.expectString,
1422
+ ClipRange: import_smithy_client._json,
1423
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1424
+ DurationMillis: import_smithy_client.expectLong,
1425
+ LiveSourceName: import_smithy_client.expectString,
1426
+ ProgramName: import_smithy_client.expectString,
1427
+ ScheduledStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1428
+ SourceLocationName: import_smithy_client.expectString,
1429
+ VodSourceName: import_smithy_client.expectString
1430
+ });
1431
+ Object.assign(contents, doc);
1432
+ return contents;
1433
+ }, "de_DescribeProgramCommand");
1434
+ var de_DescribeProgramCommandError = /* @__PURE__ */ __name(async (output, context) => {
1435
+ const parsedOutput = {
1436
+ ...output,
1437
+ body: await parseErrorBody(output.body, context)
1438
+ };
1439
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1440
+ const parsedBody = parsedOutput.body;
1441
+ return throwDefaultError({
1442
+ output,
1443
+ parsedBody,
1444
+ errorCode
1445
+ });
1446
+ }, "de_DescribeProgramCommandError");
1447
+ var de_DescribeSourceLocationCommand = /* @__PURE__ */ __name(async (output, context) => {
1448
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1449
+ return de_DescribeSourceLocationCommandError(output, context);
1450
+ }
1451
+ const contents = (0, import_smithy_client.map)({
1452
+ $metadata: deserializeMetadata(output)
1453
+ });
1454
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1455
+ const doc = (0, import_smithy_client.take)(data, {
1456
+ AccessConfiguration: import_smithy_client._json,
1457
+ Arn: import_smithy_client.expectString,
1458
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1459
+ DefaultSegmentDeliveryConfiguration: import_smithy_client._json,
1460
+ HttpConfiguration: import_smithy_client._json,
1461
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1462
+ SegmentDeliveryConfigurations: import_smithy_client._json,
1463
+ SourceLocationName: import_smithy_client.expectString,
1464
+ Tags: [, import_smithy_client._json, `tags`]
1465
+ });
1466
+ Object.assign(contents, doc);
1467
+ return contents;
1468
+ }, "de_DescribeSourceLocationCommand");
1469
+ var de_DescribeSourceLocationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1470
+ const parsedOutput = {
1471
+ ...output,
1472
+ body: await parseErrorBody(output.body, context)
1473
+ };
1474
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1475
+ const parsedBody = parsedOutput.body;
1476
+ return throwDefaultError({
1477
+ output,
1478
+ parsedBody,
1479
+ errorCode
1480
+ });
1481
+ }, "de_DescribeSourceLocationCommandError");
1482
+ var de_DescribeVodSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1483
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1484
+ return de_DescribeVodSourceCommandError(output, context);
1485
+ }
1486
+ const contents = (0, import_smithy_client.map)({
1487
+ $metadata: deserializeMetadata(output)
1488
+ });
1489
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1490
+ const doc = (0, import_smithy_client.take)(data, {
1491
+ AdBreakOpportunities: import_smithy_client._json,
1492
+ Arn: import_smithy_client.expectString,
1493
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1494
+ HttpPackageConfigurations: import_smithy_client._json,
1495
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1496
+ SourceLocationName: import_smithy_client.expectString,
1497
+ Tags: [, import_smithy_client._json, `tags`],
1498
+ VodSourceName: import_smithy_client.expectString
1499
+ });
1500
+ Object.assign(contents, doc);
1501
+ return contents;
1502
+ }, "de_DescribeVodSourceCommand");
1503
+ var de_DescribeVodSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1504
+ const parsedOutput = {
1505
+ ...output,
1506
+ body: await parseErrorBody(output.body, context)
1507
+ };
1508
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1509
+ const parsedBody = parsedOutput.body;
1510
+ return throwDefaultError({
1511
+ output,
1512
+ parsedBody,
1513
+ errorCode
1514
+ });
1515
+ }, "de_DescribeVodSourceCommandError");
1516
+ var de_GetChannelPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1517
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1518
+ return de_GetChannelPolicyCommandError(output, context);
1519
+ }
1520
+ const contents = (0, import_smithy_client.map)({
1521
+ $metadata: deserializeMetadata(output)
1522
+ });
1523
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1524
+ const doc = (0, import_smithy_client.take)(data, {
1525
+ Policy: import_smithy_client.expectString
1526
+ });
1527
+ Object.assign(contents, doc);
1528
+ return contents;
1529
+ }, "de_GetChannelPolicyCommand");
1530
+ var de_GetChannelPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1531
+ const parsedOutput = {
1532
+ ...output,
1533
+ body: await parseErrorBody(output.body, context)
1534
+ };
1535
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1536
+ const parsedBody = parsedOutput.body;
1537
+ return throwDefaultError({
1538
+ output,
1539
+ parsedBody,
1540
+ errorCode
1541
+ });
1542
+ }, "de_GetChannelPolicyCommandError");
1543
+ var de_GetChannelScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
1544
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1545
+ return de_GetChannelScheduleCommandError(output, context);
1546
+ }
1547
+ const contents = (0, import_smithy_client.map)({
1548
+ $metadata: deserializeMetadata(output)
1549
+ });
1550
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1551
+ const doc = (0, import_smithy_client.take)(data, {
1552
+ Items: (_) => de___listOfScheduleEntry(_, context),
1553
+ NextToken: import_smithy_client.expectString
1554
+ });
1555
+ Object.assign(contents, doc);
1556
+ return contents;
1557
+ }, "de_GetChannelScheduleCommand");
1558
+ var de_GetChannelScheduleCommandError = /* @__PURE__ */ __name(async (output, context) => {
1559
+ const parsedOutput = {
1560
+ ...output,
1561
+ body: await parseErrorBody(output.body, context)
1562
+ };
1563
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1564
+ const parsedBody = parsedOutput.body;
1565
+ return throwDefaultError({
1566
+ output,
1567
+ parsedBody,
1568
+ errorCode
1569
+ });
1570
+ }, "de_GetChannelScheduleCommandError");
1571
+ var de_GetPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1572
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1573
+ return de_GetPlaybackConfigurationCommandError(output, context);
1574
+ }
1575
+ const contents = (0, import_smithy_client.map)({
1576
+ $metadata: deserializeMetadata(output)
1577
+ });
1578
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1579
+ const doc = (0, import_smithy_client.take)(data, {
1580
+ AdDecisionServerUrl: import_smithy_client.expectString,
1581
+ AvailSuppression: import_smithy_client._json,
1582
+ Bumper: import_smithy_client._json,
1583
+ CdnConfiguration: import_smithy_client._json,
1584
+ ConfigurationAliases: import_smithy_client._json,
1585
+ DashConfiguration: import_smithy_client._json,
1586
+ HlsConfiguration: import_smithy_client._json,
1587
+ LivePreRollConfiguration: import_smithy_client._json,
1588
+ LogConfiguration: import_smithy_client._json,
1589
+ ManifestProcessingRules: import_smithy_client._json,
1590
+ Name: import_smithy_client.expectString,
1591
+ PersonalizationThresholdSeconds: import_smithy_client.expectInt32,
1592
+ PlaybackConfigurationArn: import_smithy_client.expectString,
1593
+ PlaybackEndpointPrefix: import_smithy_client.expectString,
1594
+ SessionInitializationEndpointPrefix: import_smithy_client.expectString,
1595
+ SlateAdUrl: import_smithy_client.expectString,
1596
+ Tags: [, import_smithy_client._json, `tags`],
1597
+ TranscodeProfileName: import_smithy_client.expectString,
1598
+ VideoContentSourceUrl: import_smithy_client.expectString
1599
+ });
1600
+ Object.assign(contents, doc);
1601
+ return contents;
1602
+ }, "de_GetPlaybackConfigurationCommand");
1603
+ var de_GetPlaybackConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1604
+ const parsedOutput = {
1605
+ ...output,
1606
+ body: await parseErrorBody(output.body, context)
1607
+ };
1608
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1609
+ const parsedBody = parsedOutput.body;
1610
+ return throwDefaultError({
1611
+ output,
1612
+ parsedBody,
1613
+ errorCode
1614
+ });
1615
+ }, "de_GetPlaybackConfigurationCommandError");
1616
+ var de_GetPrefetchScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
1617
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1618
+ return de_GetPrefetchScheduleCommandError(output, context);
1619
+ }
1620
+ const contents = (0, import_smithy_client.map)({
1621
+ $metadata: deserializeMetadata(output)
1622
+ });
1623
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1624
+ const doc = (0, import_smithy_client.take)(data, {
1625
+ Arn: import_smithy_client.expectString,
1626
+ Consumption: (_) => de_PrefetchConsumption(_, context),
1627
+ Name: import_smithy_client.expectString,
1628
+ PlaybackConfigurationName: import_smithy_client.expectString,
1629
+ Retrieval: (_) => de_PrefetchRetrieval(_, context),
1630
+ StreamId: import_smithy_client.expectString
1631
+ });
1632
+ Object.assign(contents, doc);
1633
+ return contents;
1634
+ }, "de_GetPrefetchScheduleCommand");
1635
+ var de_GetPrefetchScheduleCommandError = /* @__PURE__ */ __name(async (output, context) => {
1636
+ const parsedOutput = {
1637
+ ...output,
1638
+ body: await parseErrorBody(output.body, context)
1639
+ };
1640
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1641
+ const parsedBody = parsedOutput.body;
1642
+ return throwDefaultError({
1643
+ output,
1644
+ parsedBody,
1645
+ errorCode
1646
+ });
1647
+ }, "de_GetPrefetchScheduleCommandError");
1648
+ var de_ListAlertsCommand = /* @__PURE__ */ __name(async (output, context) => {
1649
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1650
+ return de_ListAlertsCommandError(output, context);
1651
+ }
1652
+ const contents = (0, import_smithy_client.map)({
1653
+ $metadata: deserializeMetadata(output)
1654
+ });
1655
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1656
+ const doc = (0, import_smithy_client.take)(data, {
1657
+ Items: (_) => de___listOfAlert(_, context),
1658
+ NextToken: import_smithy_client.expectString
1659
+ });
1660
+ Object.assign(contents, doc);
1661
+ return contents;
1662
+ }, "de_ListAlertsCommand");
1663
+ var de_ListAlertsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1664
+ const parsedOutput = {
1665
+ ...output,
1666
+ body: await parseErrorBody(output.body, context)
1667
+ };
1668
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1669
+ const parsedBody = parsedOutput.body;
1670
+ return throwDefaultError({
1671
+ output,
1672
+ parsedBody,
1673
+ errorCode
1674
+ });
1675
+ }, "de_ListAlertsCommandError");
1676
+ var de_ListChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
1677
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1678
+ return de_ListChannelsCommandError(output, context);
1679
+ }
1680
+ const contents = (0, import_smithy_client.map)({
1681
+ $metadata: deserializeMetadata(output)
1682
+ });
1683
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1684
+ const doc = (0, import_smithy_client.take)(data, {
1685
+ Items: (_) => de___listOfChannel(_, context),
1686
+ NextToken: import_smithy_client.expectString
1687
+ });
1688
+ Object.assign(contents, doc);
1689
+ return contents;
1690
+ }, "de_ListChannelsCommand");
1691
+ var de_ListChannelsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1692
+ const parsedOutput = {
1693
+ ...output,
1694
+ body: await parseErrorBody(output.body, context)
1695
+ };
1696
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1697
+ const parsedBody = parsedOutput.body;
1698
+ return throwDefaultError({
1699
+ output,
1700
+ parsedBody,
1701
+ errorCode
1702
+ });
1703
+ }, "de_ListChannelsCommandError");
1704
+ var de_ListLiveSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1705
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1706
+ return de_ListLiveSourcesCommandError(output, context);
1707
+ }
1708
+ const contents = (0, import_smithy_client.map)({
1709
+ $metadata: deserializeMetadata(output)
1710
+ });
1711
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1712
+ const doc = (0, import_smithy_client.take)(data, {
1713
+ Items: (_) => de___listOfLiveSource(_, context),
1714
+ NextToken: import_smithy_client.expectString
1715
+ });
1716
+ Object.assign(contents, doc);
1717
+ return contents;
1718
+ }, "de_ListLiveSourcesCommand");
1719
+ var de_ListLiveSourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1720
+ const parsedOutput = {
1721
+ ...output,
1722
+ body: await parseErrorBody(output.body, context)
1723
+ };
1724
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1725
+ const parsedBody = parsedOutput.body;
1726
+ return throwDefaultError({
1727
+ output,
1728
+ parsedBody,
1729
+ errorCode
1730
+ });
1731
+ }, "de_ListLiveSourcesCommandError");
1732
+ var de_ListPlaybackConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1733
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1734
+ return de_ListPlaybackConfigurationsCommandError(output, context);
1735
+ }
1736
+ const contents = (0, import_smithy_client.map)({
1737
+ $metadata: deserializeMetadata(output)
1738
+ });
1739
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1740
+ const doc = (0, import_smithy_client.take)(data, {
1741
+ Items: (_) => de___listOfPlaybackConfiguration(_, context),
1742
+ NextToken: import_smithy_client.expectString
1743
+ });
1744
+ Object.assign(contents, doc);
1745
+ return contents;
1746
+ }, "de_ListPlaybackConfigurationsCommand");
1747
+ var de_ListPlaybackConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1748
+ const parsedOutput = {
1749
+ ...output,
1750
+ body: await parseErrorBody(output.body, context)
1751
+ };
1752
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1753
+ const parsedBody = parsedOutput.body;
1754
+ return throwDefaultError({
1755
+ output,
1756
+ parsedBody,
1757
+ errorCode
1758
+ });
1759
+ }, "de_ListPlaybackConfigurationsCommandError");
1760
+ var de_ListPrefetchSchedulesCommand = /* @__PURE__ */ __name(async (output, context) => {
1761
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1762
+ return de_ListPrefetchSchedulesCommandError(output, context);
1763
+ }
1764
+ const contents = (0, import_smithy_client.map)({
1765
+ $metadata: deserializeMetadata(output)
1766
+ });
1767
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1768
+ const doc = (0, import_smithy_client.take)(data, {
1769
+ Items: (_) => de___listOfPrefetchSchedule(_, context),
1770
+ NextToken: import_smithy_client.expectString
1771
+ });
1772
+ Object.assign(contents, doc);
1773
+ return contents;
1774
+ }, "de_ListPrefetchSchedulesCommand");
1775
+ var de_ListPrefetchSchedulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1776
+ const parsedOutput = {
1777
+ ...output,
1778
+ body: await parseErrorBody(output.body, context)
1779
+ };
1780
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1781
+ const parsedBody = parsedOutput.body;
1782
+ return throwDefaultError({
1783
+ output,
1784
+ parsedBody,
1785
+ errorCode
1786
+ });
1787
+ }, "de_ListPrefetchSchedulesCommandError");
1788
+ var de_ListSourceLocationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1789
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1790
+ return de_ListSourceLocationsCommandError(output, context);
1791
+ }
1792
+ const contents = (0, import_smithy_client.map)({
1793
+ $metadata: deserializeMetadata(output)
1794
+ });
1795
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1796
+ const doc = (0, import_smithy_client.take)(data, {
1797
+ Items: (_) => de___listOfSourceLocation(_, context),
1798
+ NextToken: import_smithy_client.expectString
1799
+ });
1800
+ Object.assign(contents, doc);
1801
+ return contents;
1802
+ }, "de_ListSourceLocationsCommand");
1803
+ var de_ListSourceLocationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1804
+ const parsedOutput = {
1805
+ ...output,
1806
+ body: await parseErrorBody(output.body, context)
1807
+ };
1808
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1809
+ const parsedBody = parsedOutput.body;
1810
+ return throwDefaultError({
1811
+ output,
1812
+ parsedBody,
1813
+ errorCode
1814
+ });
1815
+ }, "de_ListSourceLocationsCommandError");
1816
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1817
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1818
+ return de_ListTagsForResourceCommandError(output, context);
1819
+ }
1820
+ const contents = (0, import_smithy_client.map)({
1821
+ $metadata: deserializeMetadata(output)
1822
+ });
1823
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1824
+ const doc = (0, import_smithy_client.take)(data, {
1825
+ Tags: [, import_smithy_client._json, `tags`]
1826
+ });
1827
+ Object.assign(contents, doc);
1828
+ return contents;
1829
+ }, "de_ListTagsForResourceCommand");
1830
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1831
+ const parsedOutput = {
1832
+ ...output,
1833
+ body: await parseErrorBody(output.body, context)
1834
+ };
1835
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1836
+ switch (errorCode) {
1837
+ case "BadRequestException":
1838
+ case "com.amazonaws.mediatailor#BadRequestException":
1839
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1840
+ default:
1841
+ const parsedBody = parsedOutput.body;
1842
+ return throwDefaultError({
1843
+ output,
1844
+ parsedBody,
1845
+ errorCode
1846
+ });
1847
+ }
1848
+ }, "de_ListTagsForResourceCommandError");
1849
+ var de_ListVodSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1850
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1851
+ return de_ListVodSourcesCommandError(output, context);
1852
+ }
1853
+ const contents = (0, import_smithy_client.map)({
1854
+ $metadata: deserializeMetadata(output)
1855
+ });
1856
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1857
+ const doc = (0, import_smithy_client.take)(data, {
1858
+ Items: (_) => de___listOfVodSource(_, context),
1859
+ NextToken: import_smithy_client.expectString
1860
+ });
1861
+ Object.assign(contents, doc);
1862
+ return contents;
1863
+ }, "de_ListVodSourcesCommand");
1864
+ var de_ListVodSourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1865
+ const parsedOutput = {
1866
+ ...output,
1867
+ body: await parseErrorBody(output.body, context)
1868
+ };
1869
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1870
+ const parsedBody = parsedOutput.body;
1871
+ return throwDefaultError({
1872
+ output,
1873
+ parsedBody,
1874
+ errorCode
1875
+ });
1876
+ }, "de_ListVodSourcesCommandError");
1877
+ var de_PutChannelPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1878
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1879
+ return de_PutChannelPolicyCommandError(output, context);
1880
+ }
1881
+ const contents = (0, import_smithy_client.map)({
1882
+ $metadata: deserializeMetadata(output)
1883
+ });
1884
+ await (0, import_smithy_client.collectBody)(output.body, context);
1885
+ return contents;
1886
+ }, "de_PutChannelPolicyCommand");
1887
+ var de_PutChannelPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1888
+ const parsedOutput = {
1889
+ ...output,
1890
+ body: await parseErrorBody(output.body, context)
1891
+ };
1892
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1893
+ const parsedBody = parsedOutput.body;
1894
+ return throwDefaultError({
1895
+ output,
1896
+ parsedBody,
1897
+ errorCode
1898
+ });
1899
+ }, "de_PutChannelPolicyCommandError");
1900
+ var de_PutPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1901
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1902
+ return de_PutPlaybackConfigurationCommandError(output, context);
1903
+ }
1904
+ const contents = (0, import_smithy_client.map)({
1905
+ $metadata: deserializeMetadata(output)
1906
+ });
1907
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1908
+ const doc = (0, import_smithy_client.take)(data, {
1909
+ AdDecisionServerUrl: import_smithy_client.expectString,
1910
+ AvailSuppression: import_smithy_client._json,
1911
+ Bumper: import_smithy_client._json,
1912
+ CdnConfiguration: import_smithy_client._json,
1913
+ ConfigurationAliases: import_smithy_client._json,
1914
+ DashConfiguration: import_smithy_client._json,
1915
+ HlsConfiguration: import_smithy_client._json,
1916
+ LivePreRollConfiguration: import_smithy_client._json,
1917
+ LogConfiguration: import_smithy_client._json,
1918
+ ManifestProcessingRules: import_smithy_client._json,
1919
+ Name: import_smithy_client.expectString,
1920
+ PersonalizationThresholdSeconds: import_smithy_client.expectInt32,
1921
+ PlaybackConfigurationArn: import_smithy_client.expectString,
1922
+ PlaybackEndpointPrefix: import_smithy_client.expectString,
1923
+ SessionInitializationEndpointPrefix: import_smithy_client.expectString,
1924
+ SlateAdUrl: import_smithy_client.expectString,
1925
+ Tags: [, import_smithy_client._json, `tags`],
1926
+ TranscodeProfileName: import_smithy_client.expectString,
1927
+ VideoContentSourceUrl: import_smithy_client.expectString
1928
+ });
1929
+ Object.assign(contents, doc);
1930
+ return contents;
1931
+ }, "de_PutPlaybackConfigurationCommand");
1932
+ var de_PutPlaybackConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1933
+ const parsedOutput = {
1934
+ ...output,
1935
+ body: await parseErrorBody(output.body, context)
1936
+ };
1937
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1938
+ const parsedBody = parsedOutput.body;
1939
+ return throwDefaultError({
1940
+ output,
1941
+ parsedBody,
1942
+ errorCode
1943
+ });
1944
+ }, "de_PutPlaybackConfigurationCommandError");
1945
+ var de_StartChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
1946
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1947
+ return de_StartChannelCommandError(output, context);
1948
+ }
1949
+ const contents = (0, import_smithy_client.map)({
1950
+ $metadata: deserializeMetadata(output)
1951
+ });
1952
+ await (0, import_smithy_client.collectBody)(output.body, context);
1953
+ return contents;
1954
+ }, "de_StartChannelCommand");
1955
+ var de_StartChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
1956
+ const parsedOutput = {
1957
+ ...output,
1958
+ body: await parseErrorBody(output.body, context)
1959
+ };
1960
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1961
+ const parsedBody = parsedOutput.body;
1962
+ return throwDefaultError({
1963
+ output,
1964
+ parsedBody,
1965
+ errorCode
1966
+ });
1967
+ }, "de_StartChannelCommandError");
1968
+ var de_StopChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
1969
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1970
+ return de_StopChannelCommandError(output, context);
1971
+ }
1972
+ const contents = (0, import_smithy_client.map)({
1973
+ $metadata: deserializeMetadata(output)
1974
+ });
1975
+ await (0, import_smithy_client.collectBody)(output.body, context);
1976
+ return contents;
1977
+ }, "de_StopChannelCommand");
1978
+ var de_StopChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
1979
+ const parsedOutput = {
1980
+ ...output,
1981
+ body: await parseErrorBody(output.body, context)
1982
+ };
1983
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1984
+ const parsedBody = parsedOutput.body;
1985
+ return throwDefaultError({
1986
+ output,
1987
+ parsedBody,
1988
+ errorCode
1989
+ });
1990
+ }, "de_StopChannelCommandError");
1991
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1992
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1993
+ return de_TagResourceCommandError(output, context);
1994
+ }
1995
+ const contents = (0, import_smithy_client.map)({
1996
+ $metadata: deserializeMetadata(output)
1997
+ });
1998
+ await (0, import_smithy_client.collectBody)(output.body, context);
1999
+ return contents;
2000
+ }, "de_TagResourceCommand");
2001
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2002
+ const parsedOutput = {
2003
+ ...output,
2004
+ body: await parseErrorBody(output.body, context)
2005
+ };
2006
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2007
+ switch (errorCode) {
2008
+ case "BadRequestException":
2009
+ case "com.amazonaws.mediatailor#BadRequestException":
2010
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2011
+ default:
2012
+ const parsedBody = parsedOutput.body;
2013
+ return throwDefaultError({
2014
+ output,
2015
+ parsedBody,
2016
+ errorCode
2017
+ });
2018
+ }
2019
+ }, "de_TagResourceCommandError");
2020
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2021
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
2022
+ return de_UntagResourceCommandError(output, context);
2023
+ }
2024
+ const contents = (0, import_smithy_client.map)({
2025
+ $metadata: deserializeMetadata(output)
2026
+ });
2027
+ await (0, import_smithy_client.collectBody)(output.body, context);
2028
+ return contents;
2029
+ }, "de_UntagResourceCommand");
2030
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2031
+ const parsedOutput = {
2032
+ ...output,
2033
+ body: await parseErrorBody(output.body, context)
2034
+ };
2035
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2036
+ switch (errorCode) {
2037
+ case "BadRequestException":
2038
+ case "com.amazonaws.mediatailor#BadRequestException":
2039
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2040
+ default:
2041
+ const parsedBody = parsedOutput.body;
2042
+ return throwDefaultError({
2043
+ output,
2044
+ parsedBody,
2045
+ errorCode
2046
+ });
2047
+ }
2048
+ }, "de_UntagResourceCommandError");
2049
+ var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
2050
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2051
+ return de_UpdateChannelCommandError(output, context);
2052
+ }
2053
+ const contents = (0, import_smithy_client.map)({
2054
+ $metadata: deserializeMetadata(output)
2055
+ });
2056
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2057
+ const doc = (0, import_smithy_client.take)(data, {
2058
+ Arn: import_smithy_client.expectString,
2059
+ ChannelName: import_smithy_client.expectString,
2060
+ ChannelState: import_smithy_client.expectString,
2061
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2062
+ FillerSlate: import_smithy_client._json,
2063
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2064
+ Outputs: import_smithy_client._json,
2065
+ PlaybackMode: import_smithy_client.expectString,
2066
+ Tags: [, import_smithy_client._json, `tags`],
2067
+ Tier: import_smithy_client.expectString,
2068
+ TimeShiftConfiguration: import_smithy_client._json
2069
+ });
2070
+ Object.assign(contents, doc);
2071
+ return contents;
2072
+ }, "de_UpdateChannelCommand");
2073
+ var de_UpdateChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
2074
+ const parsedOutput = {
2075
+ ...output,
2076
+ body: await parseErrorBody(output.body, context)
2077
+ };
2078
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2079
+ const parsedBody = parsedOutput.body;
2080
+ return throwDefaultError({
2081
+ output,
2082
+ parsedBody,
2083
+ errorCode
2084
+ });
2085
+ }, "de_UpdateChannelCommandError");
2086
+ var de_UpdateLiveSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2087
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2088
+ return de_UpdateLiveSourceCommandError(output, context);
2089
+ }
2090
+ const contents = (0, import_smithy_client.map)({
2091
+ $metadata: deserializeMetadata(output)
2092
+ });
2093
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2094
+ const doc = (0, import_smithy_client.take)(data, {
2095
+ Arn: import_smithy_client.expectString,
2096
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2097
+ HttpPackageConfigurations: import_smithy_client._json,
2098
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2099
+ LiveSourceName: import_smithy_client.expectString,
2100
+ SourceLocationName: import_smithy_client.expectString,
2101
+ Tags: [, import_smithy_client._json, `tags`]
2102
+ });
2103
+ Object.assign(contents, doc);
2104
+ return contents;
2105
+ }, "de_UpdateLiveSourceCommand");
2106
+ var de_UpdateLiveSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2107
+ const parsedOutput = {
2108
+ ...output,
2109
+ body: await parseErrorBody(output.body, context)
2110
+ };
2111
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2112
+ const parsedBody = parsedOutput.body;
2113
+ return throwDefaultError({
2114
+ output,
2115
+ parsedBody,
2116
+ errorCode
2117
+ });
2118
+ }, "de_UpdateLiveSourceCommandError");
2119
+ var de_UpdateProgramCommand = /* @__PURE__ */ __name(async (output, context) => {
2120
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2121
+ return de_UpdateProgramCommandError(output, context);
2122
+ }
2123
+ const contents = (0, import_smithy_client.map)({
2124
+ $metadata: deserializeMetadata(output)
2125
+ });
2126
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2127
+ const doc = (0, import_smithy_client.take)(data, {
2128
+ AdBreaks: import_smithy_client._json,
2129
+ Arn: import_smithy_client.expectString,
2130
+ ChannelName: import_smithy_client.expectString,
2131
+ ClipRange: import_smithy_client._json,
2132
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2133
+ DurationMillis: import_smithy_client.expectLong,
2134
+ LiveSourceName: import_smithy_client.expectString,
2135
+ ProgramName: import_smithy_client.expectString,
2136
+ ScheduledStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2137
+ SourceLocationName: import_smithy_client.expectString,
2138
+ VodSourceName: import_smithy_client.expectString
2139
+ });
2140
+ Object.assign(contents, doc);
2141
+ return contents;
2142
+ }, "de_UpdateProgramCommand");
2143
+ var de_UpdateProgramCommandError = /* @__PURE__ */ __name(async (output, context) => {
2144
+ const parsedOutput = {
2145
+ ...output,
2146
+ body: await parseErrorBody(output.body, context)
2147
+ };
2148
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2149
+ const parsedBody = parsedOutput.body;
2150
+ return throwDefaultError({
2151
+ output,
2152
+ parsedBody,
2153
+ errorCode
2154
+ });
2155
+ }, "de_UpdateProgramCommandError");
2156
+ var de_UpdateSourceLocationCommand = /* @__PURE__ */ __name(async (output, context) => {
2157
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2158
+ return de_UpdateSourceLocationCommandError(output, context);
2159
+ }
2160
+ const contents = (0, import_smithy_client.map)({
2161
+ $metadata: deserializeMetadata(output)
2162
+ });
2163
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2164
+ const doc = (0, import_smithy_client.take)(data, {
2165
+ AccessConfiguration: import_smithy_client._json,
2166
+ Arn: import_smithy_client.expectString,
2167
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2168
+ DefaultSegmentDeliveryConfiguration: import_smithy_client._json,
2169
+ HttpConfiguration: import_smithy_client._json,
2170
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2171
+ SegmentDeliveryConfigurations: import_smithy_client._json,
2172
+ SourceLocationName: import_smithy_client.expectString,
2173
+ Tags: [, import_smithy_client._json, `tags`]
2174
+ });
2175
+ Object.assign(contents, doc);
2176
+ return contents;
2177
+ }, "de_UpdateSourceLocationCommand");
2178
+ var de_UpdateSourceLocationCommandError = /* @__PURE__ */ __name(async (output, context) => {
2179
+ const parsedOutput = {
2180
+ ...output,
2181
+ body: await parseErrorBody(output.body, context)
2182
+ };
2183
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2184
+ const parsedBody = parsedOutput.body;
2185
+ return throwDefaultError({
2186
+ output,
2187
+ parsedBody,
2188
+ errorCode
2189
+ });
2190
+ }, "de_UpdateSourceLocationCommandError");
2191
+ var de_UpdateVodSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2192
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2193
+ return de_UpdateVodSourceCommandError(output, context);
2194
+ }
2195
+ const contents = (0, import_smithy_client.map)({
2196
+ $metadata: deserializeMetadata(output)
2197
+ });
2198
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2199
+ const doc = (0, import_smithy_client.take)(data, {
2200
+ Arn: import_smithy_client.expectString,
2201
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2202
+ HttpPackageConfigurations: import_smithy_client._json,
2203
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2204
+ SourceLocationName: import_smithy_client.expectString,
2205
+ Tags: [, import_smithy_client._json, `tags`],
2206
+ VodSourceName: import_smithy_client.expectString
2207
+ });
2208
+ Object.assign(contents, doc);
2209
+ return contents;
2210
+ }, "de_UpdateVodSourceCommand");
2211
+ var de_UpdateVodSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2212
+ const parsedOutput = {
2213
+ ...output,
2214
+ body: await parseErrorBody(output.body, context)
2215
+ };
2216
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2217
+ const parsedBody = parsedOutput.body;
2218
+ return throwDefaultError({
2219
+ output,
2220
+ parsedBody,
2221
+ errorCode
2222
+ });
2223
+ }, "de_UpdateVodSourceCommandError");
2224
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(MediaTailorServiceException);
2225
+ var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2226
+ const contents = (0, import_smithy_client.map)({});
2227
+ const data = parsedOutput.body;
2228
+ const doc = (0, import_smithy_client.take)(data, {
2229
+ Message: import_smithy_client.expectString
2230
+ });
2231
+ Object.assign(contents, doc);
2232
+ const exception = new BadRequestException({
2233
+ $metadata: deserializeMetadata(parsedOutput),
2234
+ ...contents
2235
+ });
2236
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2237
+ }, "de_BadRequestExceptionRes");
2238
+ var se_PrefetchConsumption = /* @__PURE__ */ __name((input, context) => {
2239
+ return (0, import_smithy_client.take)(input, {
2240
+ AvailMatchingCriteria: import_smithy_client._json,
2241
+ EndTime: (_) => Math.round(_.getTime() / 1e3),
2242
+ StartTime: (_) => Math.round(_.getTime() / 1e3)
2243
+ });
2244
+ }, "se_PrefetchConsumption");
2245
+ var se_PrefetchRetrieval = /* @__PURE__ */ __name((input, context) => {
2246
+ return (0, import_smithy_client.take)(input, {
2247
+ DynamicVariables: import_smithy_client._json,
2248
+ EndTime: (_) => Math.round(_.getTime() / 1e3),
2249
+ StartTime: (_) => Math.round(_.getTime() / 1e3)
2250
+ });
2251
+ }, "se_PrefetchRetrieval");
2252
+ var de___listOfAlert = /* @__PURE__ */ __name((output, context) => {
2253
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2254
+ return de_Alert(entry, context);
2255
+ });
2256
+ return retVal;
2257
+ }, "de___listOfAlert");
2258
+ var de___listOfChannel = /* @__PURE__ */ __name((output, context) => {
2259
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2260
+ return de_Channel(entry, context);
2261
+ });
2262
+ return retVal;
2263
+ }, "de___listOfChannel");
2264
+ var de___listOfLiveSource = /* @__PURE__ */ __name((output, context) => {
2265
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2266
+ return de_LiveSource(entry, context);
2267
+ });
2268
+ return retVal;
2269
+ }, "de___listOfLiveSource");
2270
+ var de___listOfPlaybackConfiguration = /* @__PURE__ */ __name((output, context) => {
2271
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2272
+ return de_PlaybackConfiguration(entry, context);
2273
+ });
2274
+ return retVal;
2275
+ }, "de___listOfPlaybackConfiguration");
2276
+ var de___listOfPrefetchSchedule = /* @__PURE__ */ __name((output, context) => {
2277
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2278
+ return de_PrefetchSchedule(entry, context);
2279
+ });
2280
+ return retVal;
2281
+ }, "de___listOfPrefetchSchedule");
2282
+ var de___listOfScheduleAdBreak = /* @__PURE__ */ __name((output, context) => {
2283
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2284
+ return de_ScheduleAdBreak(entry, context);
2285
+ });
2286
+ return retVal;
2287
+ }, "de___listOfScheduleAdBreak");
2288
+ var de___listOfScheduleEntry = /* @__PURE__ */ __name((output, context) => {
2289
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2290
+ return de_ScheduleEntry(entry, context);
2291
+ });
2292
+ return retVal;
2293
+ }, "de___listOfScheduleEntry");
2294
+ var de___listOfSourceLocation = /* @__PURE__ */ __name((output, context) => {
2295
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2296
+ return de_SourceLocation(entry, context);
2297
+ });
2298
+ return retVal;
2299
+ }, "de___listOfSourceLocation");
2300
+ var de___listOfVodSource = /* @__PURE__ */ __name((output, context) => {
2301
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2302
+ return de_VodSource(entry, context);
2303
+ });
2304
+ return retVal;
2305
+ }, "de___listOfVodSource");
2306
+ var de_Alert = /* @__PURE__ */ __name((output, context) => {
2307
+ return (0, import_smithy_client.take)(output, {
2308
+ AlertCode: import_smithy_client.expectString,
2309
+ AlertMessage: import_smithy_client.expectString,
2310
+ Category: import_smithy_client.expectString,
2311
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2312
+ RelatedResourceArns: import_smithy_client._json,
2313
+ ResourceArn: import_smithy_client.expectString
2314
+ });
2315
+ }, "de_Alert");
2316
+ var de_Channel = /* @__PURE__ */ __name((output, context) => {
2317
+ return (0, import_smithy_client.take)(output, {
2318
+ Arn: import_smithy_client.expectString,
2319
+ ChannelName: import_smithy_client.expectString,
2320
+ ChannelState: import_smithy_client.expectString,
2321
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2322
+ FillerSlate: import_smithy_client._json,
2323
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2324
+ LogConfiguration: import_smithy_client._json,
2325
+ Outputs: import_smithy_client._json,
2326
+ PlaybackMode: import_smithy_client.expectString,
2327
+ Tags: [, import_smithy_client._json, `tags`],
2328
+ Tier: import_smithy_client.expectString
2329
+ });
2330
+ }, "de_Channel");
2331
+ var de_LiveSource = /* @__PURE__ */ __name((output, context) => {
2332
+ return (0, import_smithy_client.take)(output, {
2333
+ Arn: import_smithy_client.expectString,
2334
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2335
+ HttpPackageConfigurations: import_smithy_client._json,
2336
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2337
+ LiveSourceName: import_smithy_client.expectString,
2338
+ SourceLocationName: import_smithy_client.expectString,
2339
+ Tags: [, import_smithy_client._json, `tags`]
2340
+ });
2341
+ }, "de_LiveSource");
2342
+ var de_PlaybackConfiguration = /* @__PURE__ */ __name((output, context) => {
2343
+ return (0, import_smithy_client.take)(output, {
2344
+ AdDecisionServerUrl: import_smithy_client.expectString,
2345
+ AvailSuppression: import_smithy_client._json,
2346
+ Bumper: import_smithy_client._json,
2347
+ CdnConfiguration: import_smithy_client._json,
2348
+ ConfigurationAliases: import_smithy_client._json,
2349
+ DashConfiguration: import_smithy_client._json,
2350
+ HlsConfiguration: import_smithy_client._json,
2351
+ LivePreRollConfiguration: import_smithy_client._json,
2352
+ LogConfiguration: import_smithy_client._json,
2353
+ ManifestProcessingRules: import_smithy_client._json,
2354
+ Name: import_smithy_client.expectString,
2355
+ PersonalizationThresholdSeconds: import_smithy_client.expectInt32,
2356
+ PlaybackConfigurationArn: import_smithy_client.expectString,
2357
+ PlaybackEndpointPrefix: import_smithy_client.expectString,
2358
+ SessionInitializationEndpointPrefix: import_smithy_client.expectString,
2359
+ SlateAdUrl: import_smithy_client.expectString,
2360
+ Tags: [, import_smithy_client._json, `tags`],
2361
+ TranscodeProfileName: import_smithy_client.expectString,
2362
+ VideoContentSourceUrl: import_smithy_client.expectString
2363
+ });
2364
+ }, "de_PlaybackConfiguration");
2365
+ var de_PrefetchConsumption = /* @__PURE__ */ __name((output, context) => {
2366
+ return (0, import_smithy_client.take)(output, {
2367
+ AvailMatchingCriteria: import_smithy_client._json,
2368
+ EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2369
+ StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2370
+ });
2371
+ }, "de_PrefetchConsumption");
2372
+ var de_PrefetchRetrieval = /* @__PURE__ */ __name((output, context) => {
2373
+ return (0, import_smithy_client.take)(output, {
2374
+ DynamicVariables: import_smithy_client._json,
2375
+ EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2376
+ StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2377
+ });
2378
+ }, "de_PrefetchRetrieval");
2379
+ var de_PrefetchSchedule = /* @__PURE__ */ __name((output, context) => {
2380
+ return (0, import_smithy_client.take)(output, {
2381
+ Arn: import_smithy_client.expectString,
2382
+ Consumption: (_) => de_PrefetchConsumption(_, context),
2383
+ Name: import_smithy_client.expectString,
2384
+ PlaybackConfigurationName: import_smithy_client.expectString,
2385
+ Retrieval: (_) => de_PrefetchRetrieval(_, context),
2386
+ StreamId: import_smithy_client.expectString
2387
+ });
2388
+ }, "de_PrefetchSchedule");
2389
+ var de_ScheduleAdBreak = /* @__PURE__ */ __name((output, context) => {
2390
+ return (0, import_smithy_client.take)(output, {
2391
+ ApproximateDurationSeconds: import_smithy_client.expectLong,
2392
+ ApproximateStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2393
+ SourceLocationName: import_smithy_client.expectString,
2394
+ VodSourceName: import_smithy_client.expectString
2395
+ });
2396
+ }, "de_ScheduleAdBreak");
2397
+ var de_ScheduleEntry = /* @__PURE__ */ __name((output, context) => {
2398
+ return (0, import_smithy_client.take)(output, {
2399
+ ApproximateDurationSeconds: import_smithy_client.expectLong,
2400
+ ApproximateStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2401
+ Arn: import_smithy_client.expectString,
2402
+ ChannelName: import_smithy_client.expectString,
2403
+ LiveSourceName: import_smithy_client.expectString,
2404
+ ProgramName: import_smithy_client.expectString,
2405
+ ScheduleAdBreaks: (_) => de___listOfScheduleAdBreak(_, context),
2406
+ ScheduleEntryType: import_smithy_client.expectString,
2407
+ SourceLocationName: import_smithy_client.expectString,
2408
+ VodSourceName: import_smithy_client.expectString
2409
+ });
2410
+ }, "de_ScheduleEntry");
2411
+ var de_SourceLocation = /* @__PURE__ */ __name((output, context) => {
2412
+ return (0, import_smithy_client.take)(output, {
2413
+ AccessConfiguration: import_smithy_client._json,
2414
+ Arn: import_smithy_client.expectString,
2415
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2416
+ DefaultSegmentDeliveryConfiguration: import_smithy_client._json,
2417
+ HttpConfiguration: import_smithy_client._json,
2418
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2419
+ SegmentDeliveryConfigurations: import_smithy_client._json,
2420
+ SourceLocationName: import_smithy_client.expectString,
2421
+ Tags: [, import_smithy_client._json, `tags`]
2422
+ });
2423
+ }, "de_SourceLocation");
2424
+ var de_VodSource = /* @__PURE__ */ __name((output, context) => {
2425
+ return (0, import_smithy_client.take)(output, {
2426
+ Arn: import_smithy_client.expectString,
2427
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2428
+ HttpPackageConfigurations: import_smithy_client._json,
2429
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2430
+ SourceLocationName: import_smithy_client.expectString,
2431
+ Tags: [, import_smithy_client._json, `tags`],
2432
+ VodSourceName: import_smithy_client.expectString
2433
+ });
2434
+ }, "de_VodSource");
2435
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2436
+ httpStatusCode: output.statusCode,
2437
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2438
+ extendedRequestId: output.headers["x-amz-id-2"],
2439
+ cfId: output.headers["x-amz-cf-id"]
2440
+ }), "deserializeMetadata");
2441
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
2442
+ var _DM = "DurationMinutes";
2443
+ var _MR = "MaxResults";
2444
+ var _NT = "NextToken";
2445
+ var _RA = "ResourceArn";
2446
+ var _TK = "TagKeys";
2447
+ var _dM = "durationMinutes";
2448
+ var _mR = "maxResults";
2449
+ var _nT = "nextToken";
2450
+ var _rA = "resourceArn";
2451
+ var _tK = "tagKeys";
2452
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2453
+ if (encoded.length) {
2454
+ return JSON.parse(encoded);
2455
+ }
2456
+ return {};
2457
+ }), "parseBody");
2458
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
2459
+ const value = await parseBody(errorBody, context);
2460
+ value.message = value.message ?? value.Message;
2461
+ return value;
2462
+ }, "parseErrorBody");
2463
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
2464
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
2465
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
2466
+ let cleanValue = rawValue;
2467
+ if (typeof cleanValue === "number") {
2468
+ cleanValue = cleanValue.toString();
2469
+ }
2470
+ if (cleanValue.indexOf(",") >= 0) {
2471
+ cleanValue = cleanValue.split(",")[0];
2472
+ }
2473
+ if (cleanValue.indexOf(":") >= 0) {
2474
+ cleanValue = cleanValue.split(":")[0];
2475
+ }
2476
+ if (cleanValue.indexOf("#") >= 0) {
2477
+ cleanValue = cleanValue.split("#")[1];
2478
+ }
2479
+ return cleanValue;
2480
+ }, "sanitizeErrorCode");
2481
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
2482
+ if (headerKey !== void 0) {
2483
+ return sanitizeErrorCode(output.headers[headerKey]);
2484
+ }
2485
+ if (data.code !== void 0) {
2486
+ return sanitizeErrorCode(data.code);
2487
+ }
2488
+ if (data["__type"] !== void 0) {
2489
+ return sanitizeErrorCode(data["__type"]);
2490
+ }
2491
+ }, "loadRestJsonErrorCode");
2492
+
2493
+ // src/commands/ConfigureLogsForChannelCommand.ts
2494
+ var _ConfigureLogsForChannelCommand = class _ConfigureLogsForChannelCommand extends import_smithy_client.Command.classBuilder().ep({
2495
+ ...commonParams
2496
+ }).m(function(Command, cs, config, o) {
2497
+ return [
2498
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2499
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2500
+ ];
2501
+ }).s("MediaTailor", "ConfigureLogsForChannel", {}).n("MediaTailorClient", "ConfigureLogsForChannelCommand").f(void 0, void 0).ser(se_ConfigureLogsForChannelCommand).de(de_ConfigureLogsForChannelCommand).build() {
2502
+ };
2503
+ __name(_ConfigureLogsForChannelCommand, "ConfigureLogsForChannelCommand");
2504
+ var ConfigureLogsForChannelCommand = _ConfigureLogsForChannelCommand;
2505
+
2506
+ // src/commands/ConfigureLogsForPlaybackConfigurationCommand.ts
2507
+
2508
+
2509
+
2510
+
2511
+ var _ConfigureLogsForPlaybackConfigurationCommand = class _ConfigureLogsForPlaybackConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
2512
+ ...commonParams
2513
+ }).m(function(Command, cs, config, o) {
2514
+ return [
2515
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2516
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2517
+ ];
2518
+ }).s("MediaTailor", "ConfigureLogsForPlaybackConfiguration", {}).n("MediaTailorClient", "ConfigureLogsForPlaybackConfigurationCommand").f(void 0, void 0).ser(se_ConfigureLogsForPlaybackConfigurationCommand).de(de_ConfigureLogsForPlaybackConfigurationCommand).build() {
2519
+ };
2520
+ __name(_ConfigureLogsForPlaybackConfigurationCommand, "ConfigureLogsForPlaybackConfigurationCommand");
2521
+ var ConfigureLogsForPlaybackConfigurationCommand = _ConfigureLogsForPlaybackConfigurationCommand;
2522
+
2523
+ // src/commands/CreateChannelCommand.ts
2524
+
2525
+
2526
+
2527
+
2528
+ var _CreateChannelCommand = class _CreateChannelCommand extends import_smithy_client.Command.classBuilder().ep({
2529
+ ...commonParams
2530
+ }).m(function(Command, cs, config, o) {
2531
+ return [
2532
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2533
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2534
+ ];
2535
+ }).s("MediaTailor", "CreateChannel", {}).n("MediaTailorClient", "CreateChannelCommand").f(void 0, void 0).ser(se_CreateChannelCommand).de(de_CreateChannelCommand).build() {
2536
+ };
2537
+ __name(_CreateChannelCommand, "CreateChannelCommand");
2538
+ var CreateChannelCommand = _CreateChannelCommand;
2539
+
2540
+ // src/commands/CreateLiveSourceCommand.ts
2541
+
2542
+
2543
+
2544
+
2545
+ var _CreateLiveSourceCommand = class _CreateLiveSourceCommand extends import_smithy_client.Command.classBuilder().ep({
2546
+ ...commonParams
2547
+ }).m(function(Command, cs, config, o) {
2548
+ return [
2549
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2550
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2551
+ ];
2552
+ }).s("MediaTailor", "CreateLiveSource", {}).n("MediaTailorClient", "CreateLiveSourceCommand").f(void 0, void 0).ser(se_CreateLiveSourceCommand).de(de_CreateLiveSourceCommand).build() {
2553
+ };
2554
+ __name(_CreateLiveSourceCommand, "CreateLiveSourceCommand");
2555
+ var CreateLiveSourceCommand = _CreateLiveSourceCommand;
2556
+
2557
+ // src/commands/CreatePrefetchScheduleCommand.ts
2558
+
2559
+
2560
+
2561
+
2562
+ var _CreatePrefetchScheduleCommand = class _CreatePrefetchScheduleCommand extends import_smithy_client.Command.classBuilder().ep({
2563
+ ...commonParams
2564
+ }).m(function(Command, cs, config, o) {
2565
+ return [
2566
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2567
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2568
+ ];
2569
+ }).s("MediaTailor", "CreatePrefetchSchedule", {}).n("MediaTailorClient", "CreatePrefetchScheduleCommand").f(void 0, void 0).ser(se_CreatePrefetchScheduleCommand).de(de_CreatePrefetchScheduleCommand).build() {
2570
+ };
2571
+ __name(_CreatePrefetchScheduleCommand, "CreatePrefetchScheduleCommand");
2572
+ var CreatePrefetchScheduleCommand = _CreatePrefetchScheduleCommand;
2573
+
2574
+ // src/commands/CreateProgramCommand.ts
2575
+
2576
+
2577
+
2578
+
2579
+ var _CreateProgramCommand = class _CreateProgramCommand extends import_smithy_client.Command.classBuilder().ep({
2580
+ ...commonParams
2581
+ }).m(function(Command, cs, config, o) {
2582
+ return [
2583
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2584
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2585
+ ];
2586
+ }).s("MediaTailor", "CreateProgram", {}).n("MediaTailorClient", "CreateProgramCommand").f(void 0, void 0).ser(se_CreateProgramCommand).de(de_CreateProgramCommand).build() {
2587
+ };
2588
+ __name(_CreateProgramCommand, "CreateProgramCommand");
2589
+ var CreateProgramCommand = _CreateProgramCommand;
2590
+
2591
+ // src/commands/CreateSourceLocationCommand.ts
2592
+
2593
+
2594
+
2595
+
2596
+ var _CreateSourceLocationCommand = class _CreateSourceLocationCommand extends import_smithy_client.Command.classBuilder().ep({
2597
+ ...commonParams
2598
+ }).m(function(Command, cs, config, o) {
2599
+ return [
2600
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2601
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2602
+ ];
2603
+ }).s("MediaTailor", "CreateSourceLocation", {}).n("MediaTailorClient", "CreateSourceLocationCommand").f(void 0, void 0).ser(se_CreateSourceLocationCommand).de(de_CreateSourceLocationCommand).build() {
2604
+ };
2605
+ __name(_CreateSourceLocationCommand, "CreateSourceLocationCommand");
2606
+ var CreateSourceLocationCommand = _CreateSourceLocationCommand;
2607
+
2608
+ // src/commands/CreateVodSourceCommand.ts
2609
+
2610
+
2611
+
2612
+
2613
+ var _CreateVodSourceCommand = class _CreateVodSourceCommand extends import_smithy_client.Command.classBuilder().ep({
2614
+ ...commonParams
2615
+ }).m(function(Command, cs, config, o) {
2616
+ return [
2617
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2618
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2619
+ ];
2620
+ }).s("MediaTailor", "CreateVodSource", {}).n("MediaTailorClient", "CreateVodSourceCommand").f(void 0, void 0).ser(se_CreateVodSourceCommand).de(de_CreateVodSourceCommand).build() {
2621
+ };
2622
+ __name(_CreateVodSourceCommand, "CreateVodSourceCommand");
2623
+ var CreateVodSourceCommand = _CreateVodSourceCommand;
2624
+
2625
+ // src/commands/DeleteChannelCommand.ts
2626
+
2627
+
2628
+
2629
+
2630
+ var _DeleteChannelCommand = class _DeleteChannelCommand extends import_smithy_client.Command.classBuilder().ep({
2631
+ ...commonParams
2632
+ }).m(function(Command, cs, config, o) {
2633
+ return [
2634
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2635
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2636
+ ];
2637
+ }).s("MediaTailor", "DeleteChannel", {}).n("MediaTailorClient", "DeleteChannelCommand").f(void 0, void 0).ser(se_DeleteChannelCommand).de(de_DeleteChannelCommand).build() {
2638
+ };
2639
+ __name(_DeleteChannelCommand, "DeleteChannelCommand");
2640
+ var DeleteChannelCommand = _DeleteChannelCommand;
2641
+
2642
+ // src/commands/DeleteChannelPolicyCommand.ts
2643
+
2644
+
2645
+
2646
+
2647
+ var _DeleteChannelPolicyCommand = class _DeleteChannelPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2648
+ ...commonParams
2649
+ }).m(function(Command, cs, config, o) {
2650
+ return [
2651
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2652
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2653
+ ];
2654
+ }).s("MediaTailor", "DeleteChannelPolicy", {}).n("MediaTailorClient", "DeleteChannelPolicyCommand").f(void 0, void 0).ser(se_DeleteChannelPolicyCommand).de(de_DeleteChannelPolicyCommand).build() {
2655
+ };
2656
+ __name(_DeleteChannelPolicyCommand, "DeleteChannelPolicyCommand");
2657
+ var DeleteChannelPolicyCommand = _DeleteChannelPolicyCommand;
2658
+
2659
+ // src/commands/DeleteLiveSourceCommand.ts
2660
+
2661
+
2662
+
2663
+
2664
+ var _DeleteLiveSourceCommand = class _DeleteLiveSourceCommand extends import_smithy_client.Command.classBuilder().ep({
2665
+ ...commonParams
2666
+ }).m(function(Command, cs, config, o) {
2667
+ return [
2668
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2669
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2670
+ ];
2671
+ }).s("MediaTailor", "DeleteLiveSource", {}).n("MediaTailorClient", "DeleteLiveSourceCommand").f(void 0, void 0).ser(se_DeleteLiveSourceCommand).de(de_DeleteLiveSourceCommand).build() {
2672
+ };
2673
+ __name(_DeleteLiveSourceCommand, "DeleteLiveSourceCommand");
2674
+ var DeleteLiveSourceCommand = _DeleteLiveSourceCommand;
2675
+
2676
+ // src/commands/DeletePlaybackConfigurationCommand.ts
2677
+
2678
+
2679
+
2680
+
2681
+ var _DeletePlaybackConfigurationCommand = class _DeletePlaybackConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
2682
+ ...commonParams
2683
+ }).m(function(Command, cs, config, o) {
2684
+ return [
2685
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2686
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2687
+ ];
2688
+ }).s("MediaTailor", "DeletePlaybackConfiguration", {}).n("MediaTailorClient", "DeletePlaybackConfigurationCommand").f(void 0, void 0).ser(se_DeletePlaybackConfigurationCommand).de(de_DeletePlaybackConfigurationCommand).build() {
2689
+ };
2690
+ __name(_DeletePlaybackConfigurationCommand, "DeletePlaybackConfigurationCommand");
2691
+ var DeletePlaybackConfigurationCommand = _DeletePlaybackConfigurationCommand;
2692
+
2693
+ // src/commands/DeletePrefetchScheduleCommand.ts
2694
+
2695
+
2696
+
2697
+
2698
+ var _DeletePrefetchScheduleCommand = class _DeletePrefetchScheduleCommand extends import_smithy_client.Command.classBuilder().ep({
2699
+ ...commonParams
2700
+ }).m(function(Command, cs, config, o) {
2701
+ return [
2702
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2703
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2704
+ ];
2705
+ }).s("MediaTailor", "DeletePrefetchSchedule", {}).n("MediaTailorClient", "DeletePrefetchScheduleCommand").f(void 0, void 0).ser(se_DeletePrefetchScheduleCommand).de(de_DeletePrefetchScheduleCommand).build() {
2706
+ };
2707
+ __name(_DeletePrefetchScheduleCommand, "DeletePrefetchScheduleCommand");
2708
+ var DeletePrefetchScheduleCommand = _DeletePrefetchScheduleCommand;
2709
+
2710
+ // src/commands/DeleteProgramCommand.ts
2711
+
2712
+
2713
+
2714
+
2715
+ var _DeleteProgramCommand = class _DeleteProgramCommand extends import_smithy_client.Command.classBuilder().ep({
2716
+ ...commonParams
2717
+ }).m(function(Command, cs, config, o) {
2718
+ return [
2719
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2720
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2721
+ ];
2722
+ }).s("MediaTailor", "DeleteProgram", {}).n("MediaTailorClient", "DeleteProgramCommand").f(void 0, void 0).ser(se_DeleteProgramCommand).de(de_DeleteProgramCommand).build() {
2723
+ };
2724
+ __name(_DeleteProgramCommand, "DeleteProgramCommand");
2725
+ var DeleteProgramCommand = _DeleteProgramCommand;
2726
+
2727
+ // src/commands/DeleteSourceLocationCommand.ts
2728
+
2729
+
2730
+
2731
+
2732
+ var _DeleteSourceLocationCommand = class _DeleteSourceLocationCommand extends import_smithy_client.Command.classBuilder().ep({
2733
+ ...commonParams
2734
+ }).m(function(Command, cs, config, o) {
2735
+ return [
2736
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2737
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2738
+ ];
2739
+ }).s("MediaTailor", "DeleteSourceLocation", {}).n("MediaTailorClient", "DeleteSourceLocationCommand").f(void 0, void 0).ser(se_DeleteSourceLocationCommand).de(de_DeleteSourceLocationCommand).build() {
2740
+ };
2741
+ __name(_DeleteSourceLocationCommand, "DeleteSourceLocationCommand");
2742
+ var DeleteSourceLocationCommand = _DeleteSourceLocationCommand;
2743
+
2744
+ // src/commands/DeleteVodSourceCommand.ts
2745
+
2746
+
2747
+
2748
+
2749
+ var _DeleteVodSourceCommand = class _DeleteVodSourceCommand extends import_smithy_client.Command.classBuilder().ep({
2750
+ ...commonParams
2751
+ }).m(function(Command, cs, config, o) {
2752
+ return [
2753
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2754
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2755
+ ];
2756
+ }).s("MediaTailor", "DeleteVodSource", {}).n("MediaTailorClient", "DeleteVodSourceCommand").f(void 0, void 0).ser(se_DeleteVodSourceCommand).de(de_DeleteVodSourceCommand).build() {
2757
+ };
2758
+ __name(_DeleteVodSourceCommand, "DeleteVodSourceCommand");
2759
+ var DeleteVodSourceCommand = _DeleteVodSourceCommand;
2760
+
2761
+ // src/commands/DescribeChannelCommand.ts
2762
+
2763
+
2764
+
2765
+
2766
+ var _DescribeChannelCommand = class _DescribeChannelCommand extends import_smithy_client.Command.classBuilder().ep({
2767
+ ...commonParams
2768
+ }).m(function(Command, cs, config, o) {
2769
+ return [
2770
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2771
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2772
+ ];
2773
+ }).s("MediaTailor", "DescribeChannel", {}).n("MediaTailorClient", "DescribeChannelCommand").f(void 0, void 0).ser(se_DescribeChannelCommand).de(de_DescribeChannelCommand).build() {
2774
+ };
2775
+ __name(_DescribeChannelCommand, "DescribeChannelCommand");
2776
+ var DescribeChannelCommand = _DescribeChannelCommand;
2777
+
2778
+ // src/commands/DescribeLiveSourceCommand.ts
2779
+
2780
+
2781
+
2782
+
2783
+ var _DescribeLiveSourceCommand = class _DescribeLiveSourceCommand extends import_smithy_client.Command.classBuilder().ep({
2784
+ ...commonParams
2785
+ }).m(function(Command, cs, config, o) {
2786
+ return [
2787
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2788
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2789
+ ];
2790
+ }).s("MediaTailor", "DescribeLiveSource", {}).n("MediaTailorClient", "DescribeLiveSourceCommand").f(void 0, void 0).ser(se_DescribeLiveSourceCommand).de(de_DescribeLiveSourceCommand).build() {
2791
+ };
2792
+ __name(_DescribeLiveSourceCommand, "DescribeLiveSourceCommand");
2793
+ var DescribeLiveSourceCommand = _DescribeLiveSourceCommand;
2794
+
2795
+ // src/commands/DescribeProgramCommand.ts
2796
+
2797
+
2798
+
2799
+
2800
+ var _DescribeProgramCommand = class _DescribeProgramCommand extends import_smithy_client.Command.classBuilder().ep({
2801
+ ...commonParams
2802
+ }).m(function(Command, cs, config, o) {
2803
+ return [
2804
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2805
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2806
+ ];
2807
+ }).s("MediaTailor", "DescribeProgram", {}).n("MediaTailorClient", "DescribeProgramCommand").f(void 0, void 0).ser(se_DescribeProgramCommand).de(de_DescribeProgramCommand).build() {
2808
+ };
2809
+ __name(_DescribeProgramCommand, "DescribeProgramCommand");
2810
+ var DescribeProgramCommand = _DescribeProgramCommand;
2811
+
2812
+ // src/commands/DescribeSourceLocationCommand.ts
2813
+
2814
+
2815
+
2816
+
2817
+ var _DescribeSourceLocationCommand = class _DescribeSourceLocationCommand extends import_smithy_client.Command.classBuilder().ep({
2818
+ ...commonParams
2819
+ }).m(function(Command, cs, config, o) {
2820
+ return [
2821
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2822
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2823
+ ];
2824
+ }).s("MediaTailor", "DescribeSourceLocation", {}).n("MediaTailorClient", "DescribeSourceLocationCommand").f(void 0, void 0).ser(se_DescribeSourceLocationCommand).de(de_DescribeSourceLocationCommand).build() {
2825
+ };
2826
+ __name(_DescribeSourceLocationCommand, "DescribeSourceLocationCommand");
2827
+ var DescribeSourceLocationCommand = _DescribeSourceLocationCommand;
2828
+
2829
+ // src/commands/DescribeVodSourceCommand.ts
2830
+
2831
+
2832
+
2833
+
2834
+ var _DescribeVodSourceCommand = class _DescribeVodSourceCommand extends import_smithy_client.Command.classBuilder().ep({
2835
+ ...commonParams
2836
+ }).m(function(Command, cs, config, o) {
2837
+ return [
2838
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2839
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2840
+ ];
2841
+ }).s("MediaTailor", "DescribeVodSource", {}).n("MediaTailorClient", "DescribeVodSourceCommand").f(void 0, void 0).ser(se_DescribeVodSourceCommand).de(de_DescribeVodSourceCommand).build() {
2842
+ };
2843
+ __name(_DescribeVodSourceCommand, "DescribeVodSourceCommand");
2844
+ var DescribeVodSourceCommand = _DescribeVodSourceCommand;
2845
+
2846
+ // src/commands/GetChannelPolicyCommand.ts
2847
+
2848
+
2849
+
2850
+
2851
+ var _GetChannelPolicyCommand = class _GetChannelPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2852
+ ...commonParams
2853
+ }).m(function(Command, cs, config, o) {
2854
+ return [
2855
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2856
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2857
+ ];
2858
+ }).s("MediaTailor", "GetChannelPolicy", {}).n("MediaTailorClient", "GetChannelPolicyCommand").f(void 0, void 0).ser(se_GetChannelPolicyCommand).de(de_GetChannelPolicyCommand).build() {
2859
+ };
2860
+ __name(_GetChannelPolicyCommand, "GetChannelPolicyCommand");
2861
+ var GetChannelPolicyCommand = _GetChannelPolicyCommand;
2862
+
2863
+ // src/commands/GetChannelScheduleCommand.ts
2864
+
2865
+
2866
+
2867
+
2868
+ var _GetChannelScheduleCommand = class _GetChannelScheduleCommand extends import_smithy_client.Command.classBuilder().ep({
2869
+ ...commonParams
2870
+ }).m(function(Command, cs, config, o) {
2871
+ return [
2872
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2873
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2874
+ ];
2875
+ }).s("MediaTailor", "GetChannelSchedule", {}).n("MediaTailorClient", "GetChannelScheduleCommand").f(void 0, void 0).ser(se_GetChannelScheduleCommand).de(de_GetChannelScheduleCommand).build() {
2876
+ };
2877
+ __name(_GetChannelScheduleCommand, "GetChannelScheduleCommand");
2878
+ var GetChannelScheduleCommand = _GetChannelScheduleCommand;
2879
+
2880
+ // src/commands/GetPlaybackConfigurationCommand.ts
2881
+
2882
+
2883
+
2884
+
2885
+ var _GetPlaybackConfigurationCommand = class _GetPlaybackConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
2886
+ ...commonParams
2887
+ }).m(function(Command, cs, config, o) {
2888
+ return [
2889
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2890
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2891
+ ];
2892
+ }).s("MediaTailor", "GetPlaybackConfiguration", {}).n("MediaTailorClient", "GetPlaybackConfigurationCommand").f(void 0, void 0).ser(se_GetPlaybackConfigurationCommand).de(de_GetPlaybackConfigurationCommand).build() {
2893
+ };
2894
+ __name(_GetPlaybackConfigurationCommand, "GetPlaybackConfigurationCommand");
2895
+ var GetPlaybackConfigurationCommand = _GetPlaybackConfigurationCommand;
2896
+
2897
+ // src/commands/GetPrefetchScheduleCommand.ts
2898
+
2899
+
2900
+
2901
+
2902
+ var _GetPrefetchScheduleCommand = class _GetPrefetchScheduleCommand extends import_smithy_client.Command.classBuilder().ep({
2903
+ ...commonParams
2904
+ }).m(function(Command, cs, config, o) {
2905
+ return [
2906
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2907
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2908
+ ];
2909
+ }).s("MediaTailor", "GetPrefetchSchedule", {}).n("MediaTailorClient", "GetPrefetchScheduleCommand").f(void 0, void 0).ser(se_GetPrefetchScheduleCommand).de(de_GetPrefetchScheduleCommand).build() {
2910
+ };
2911
+ __name(_GetPrefetchScheduleCommand, "GetPrefetchScheduleCommand");
2912
+ var GetPrefetchScheduleCommand = _GetPrefetchScheduleCommand;
2913
+
2914
+ // src/commands/ListAlertsCommand.ts
2915
+
2916
+
2917
+
2918
+
2919
+ var _ListAlertsCommand = class _ListAlertsCommand extends import_smithy_client.Command.classBuilder().ep({
2920
+ ...commonParams
2921
+ }).m(function(Command, cs, config, o) {
2922
+ return [
2923
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2924
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2925
+ ];
2926
+ }).s("MediaTailor", "ListAlerts", {}).n("MediaTailorClient", "ListAlertsCommand").f(void 0, void 0).ser(se_ListAlertsCommand).de(de_ListAlertsCommand).build() {
2927
+ };
2928
+ __name(_ListAlertsCommand, "ListAlertsCommand");
2929
+ var ListAlertsCommand = _ListAlertsCommand;
2930
+
2931
+ // src/commands/ListChannelsCommand.ts
2932
+
2933
+
2934
+
2935
+
2936
+ var _ListChannelsCommand = class _ListChannelsCommand extends import_smithy_client.Command.classBuilder().ep({
2937
+ ...commonParams
2938
+ }).m(function(Command, cs, config, o) {
2939
+ return [
2940
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2941
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2942
+ ];
2943
+ }).s("MediaTailor", "ListChannels", {}).n("MediaTailorClient", "ListChannelsCommand").f(void 0, void 0).ser(se_ListChannelsCommand).de(de_ListChannelsCommand).build() {
2944
+ };
2945
+ __name(_ListChannelsCommand, "ListChannelsCommand");
2946
+ var ListChannelsCommand = _ListChannelsCommand;
2947
+
2948
+ // src/commands/ListLiveSourcesCommand.ts
2949
+
2950
+
2951
+
2952
+
2953
+ var _ListLiveSourcesCommand = class _ListLiveSourcesCommand extends import_smithy_client.Command.classBuilder().ep({
2954
+ ...commonParams
2955
+ }).m(function(Command, cs, config, o) {
2956
+ return [
2957
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2958
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2959
+ ];
2960
+ }).s("MediaTailor", "ListLiveSources", {}).n("MediaTailorClient", "ListLiveSourcesCommand").f(void 0, void 0).ser(se_ListLiveSourcesCommand).de(de_ListLiveSourcesCommand).build() {
2961
+ };
2962
+ __name(_ListLiveSourcesCommand, "ListLiveSourcesCommand");
2963
+ var ListLiveSourcesCommand = _ListLiveSourcesCommand;
2964
+
2965
+ // src/commands/ListPlaybackConfigurationsCommand.ts
2966
+
2967
+
2968
+
2969
+
2970
+ var _ListPlaybackConfigurationsCommand = class _ListPlaybackConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
2971
+ ...commonParams
2972
+ }).m(function(Command, cs, config, o) {
2973
+ return [
2974
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2975
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2976
+ ];
2977
+ }).s("MediaTailor", "ListPlaybackConfigurations", {}).n("MediaTailorClient", "ListPlaybackConfigurationsCommand").f(void 0, void 0).ser(se_ListPlaybackConfigurationsCommand).de(de_ListPlaybackConfigurationsCommand).build() {
2978
+ };
2979
+ __name(_ListPlaybackConfigurationsCommand, "ListPlaybackConfigurationsCommand");
2980
+ var ListPlaybackConfigurationsCommand = _ListPlaybackConfigurationsCommand;
2981
+
2982
+ // src/commands/ListPrefetchSchedulesCommand.ts
2983
+
2984
+
2985
+
2986
+
2987
+ var _ListPrefetchSchedulesCommand = class _ListPrefetchSchedulesCommand extends import_smithy_client.Command.classBuilder().ep({
2988
+ ...commonParams
2989
+ }).m(function(Command, cs, config, o) {
2990
+ return [
2991
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2992
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2993
+ ];
2994
+ }).s("MediaTailor", "ListPrefetchSchedules", {}).n("MediaTailorClient", "ListPrefetchSchedulesCommand").f(void 0, void 0).ser(se_ListPrefetchSchedulesCommand).de(de_ListPrefetchSchedulesCommand).build() {
2995
+ };
2996
+ __name(_ListPrefetchSchedulesCommand, "ListPrefetchSchedulesCommand");
2997
+ var ListPrefetchSchedulesCommand = _ListPrefetchSchedulesCommand;
2998
+
2999
+ // src/commands/ListSourceLocationsCommand.ts
3000
+
3001
+
3002
+
3003
+
3004
+ var _ListSourceLocationsCommand = class _ListSourceLocationsCommand extends import_smithy_client.Command.classBuilder().ep({
3005
+ ...commonParams
3006
+ }).m(function(Command, cs, config, o) {
3007
+ return [
3008
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3009
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3010
+ ];
3011
+ }).s("MediaTailor", "ListSourceLocations", {}).n("MediaTailorClient", "ListSourceLocationsCommand").f(void 0, void 0).ser(se_ListSourceLocationsCommand).de(de_ListSourceLocationsCommand).build() {
3012
+ };
3013
+ __name(_ListSourceLocationsCommand, "ListSourceLocationsCommand");
3014
+ var ListSourceLocationsCommand = _ListSourceLocationsCommand;
3015
+
3016
+ // src/commands/ListTagsForResourceCommand.ts
3017
+
3018
+
3019
+
3020
+
3021
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3022
+ ...commonParams
3023
+ }).m(function(Command, cs, config, o) {
3024
+ return [
3025
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3026
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3027
+ ];
3028
+ }).s("MediaTailor", "ListTagsForResource", {}).n("MediaTailorClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
3029
+ };
3030
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
3031
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
3032
+
3033
+ // src/commands/ListVodSourcesCommand.ts
3034
+
3035
+
3036
+
3037
+
3038
+ var _ListVodSourcesCommand = class _ListVodSourcesCommand extends import_smithy_client.Command.classBuilder().ep({
3039
+ ...commonParams
3040
+ }).m(function(Command, cs, config, o) {
3041
+ return [
3042
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3043
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3044
+ ];
3045
+ }).s("MediaTailor", "ListVodSources", {}).n("MediaTailorClient", "ListVodSourcesCommand").f(void 0, void 0).ser(se_ListVodSourcesCommand).de(de_ListVodSourcesCommand).build() {
3046
+ };
3047
+ __name(_ListVodSourcesCommand, "ListVodSourcesCommand");
3048
+ var ListVodSourcesCommand = _ListVodSourcesCommand;
3049
+
3050
+ // src/commands/PutChannelPolicyCommand.ts
3051
+
3052
+
3053
+
3054
+
3055
+ var _PutChannelPolicyCommand = class _PutChannelPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3056
+ ...commonParams
3057
+ }).m(function(Command, cs, config, o) {
3058
+ return [
3059
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3060
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3061
+ ];
3062
+ }).s("MediaTailor", "PutChannelPolicy", {}).n("MediaTailorClient", "PutChannelPolicyCommand").f(void 0, void 0).ser(se_PutChannelPolicyCommand).de(de_PutChannelPolicyCommand).build() {
3063
+ };
3064
+ __name(_PutChannelPolicyCommand, "PutChannelPolicyCommand");
3065
+ var PutChannelPolicyCommand = _PutChannelPolicyCommand;
3066
+
3067
+ // src/commands/PutPlaybackConfigurationCommand.ts
3068
+
3069
+
3070
+
3071
+
3072
+ var _PutPlaybackConfigurationCommand = class _PutPlaybackConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
3073
+ ...commonParams
3074
+ }).m(function(Command, cs, config, o) {
3075
+ return [
3076
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3077
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3078
+ ];
3079
+ }).s("MediaTailor", "PutPlaybackConfiguration", {}).n("MediaTailorClient", "PutPlaybackConfigurationCommand").f(void 0, void 0).ser(se_PutPlaybackConfigurationCommand).de(de_PutPlaybackConfigurationCommand).build() {
3080
+ };
3081
+ __name(_PutPlaybackConfigurationCommand, "PutPlaybackConfigurationCommand");
3082
+ var PutPlaybackConfigurationCommand = _PutPlaybackConfigurationCommand;
3083
+
3084
+ // src/commands/StartChannelCommand.ts
3085
+
3086
+
3087
+
3088
+
3089
+ var _StartChannelCommand = class _StartChannelCommand extends import_smithy_client.Command.classBuilder().ep({
3090
+ ...commonParams
3091
+ }).m(function(Command, cs, config, o) {
3092
+ return [
3093
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3094
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3095
+ ];
3096
+ }).s("MediaTailor", "StartChannel", {}).n("MediaTailorClient", "StartChannelCommand").f(void 0, void 0).ser(se_StartChannelCommand).de(de_StartChannelCommand).build() {
3097
+ };
3098
+ __name(_StartChannelCommand, "StartChannelCommand");
3099
+ var StartChannelCommand = _StartChannelCommand;
3100
+
3101
+ // src/commands/StopChannelCommand.ts
3102
+
3103
+
3104
+
3105
+
3106
+ var _StopChannelCommand = class _StopChannelCommand extends import_smithy_client.Command.classBuilder().ep({
3107
+ ...commonParams
3108
+ }).m(function(Command, cs, config, o) {
3109
+ return [
3110
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3111
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3112
+ ];
3113
+ }).s("MediaTailor", "StopChannel", {}).n("MediaTailorClient", "StopChannelCommand").f(void 0, void 0).ser(se_StopChannelCommand).de(de_StopChannelCommand).build() {
3114
+ };
3115
+ __name(_StopChannelCommand, "StopChannelCommand");
3116
+ var StopChannelCommand = _StopChannelCommand;
3117
+
3118
+ // src/commands/TagResourceCommand.ts
3119
+
3120
+
3121
+
3122
+
3123
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3124
+ ...commonParams
3125
+ }).m(function(Command, cs, config, o) {
3126
+ return [
3127
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3128
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3129
+ ];
3130
+ }).s("MediaTailor", "TagResource", {}).n("MediaTailorClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
3131
+ };
3132
+ __name(_TagResourceCommand, "TagResourceCommand");
3133
+ var TagResourceCommand = _TagResourceCommand;
3134
+
3135
+ // src/commands/UntagResourceCommand.ts
3136
+
3137
+
3138
+
3139
+
3140
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3141
+ ...commonParams
3142
+ }).m(function(Command, cs, config, o) {
3143
+ return [
3144
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3145
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3146
+ ];
3147
+ }).s("MediaTailor", "UntagResource", {}).n("MediaTailorClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
3148
+ };
3149
+ __name(_UntagResourceCommand, "UntagResourceCommand");
3150
+ var UntagResourceCommand = _UntagResourceCommand;
3151
+
3152
+ // src/commands/UpdateChannelCommand.ts
3153
+
3154
+
3155
+
3156
+
3157
+ var _UpdateChannelCommand = class _UpdateChannelCommand extends import_smithy_client.Command.classBuilder().ep({
3158
+ ...commonParams
3159
+ }).m(function(Command, cs, config, o) {
3160
+ return [
3161
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3162
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3163
+ ];
3164
+ }).s("MediaTailor", "UpdateChannel", {}).n("MediaTailorClient", "UpdateChannelCommand").f(void 0, void 0).ser(se_UpdateChannelCommand).de(de_UpdateChannelCommand).build() {
3165
+ };
3166
+ __name(_UpdateChannelCommand, "UpdateChannelCommand");
3167
+ var UpdateChannelCommand = _UpdateChannelCommand;
3168
+
3169
+ // src/commands/UpdateLiveSourceCommand.ts
3170
+
3171
+
3172
+
3173
+
3174
+ var _UpdateLiveSourceCommand = class _UpdateLiveSourceCommand extends import_smithy_client.Command.classBuilder().ep({
3175
+ ...commonParams
3176
+ }).m(function(Command, cs, config, o) {
3177
+ return [
3178
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3179
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3180
+ ];
3181
+ }).s("MediaTailor", "UpdateLiveSource", {}).n("MediaTailorClient", "UpdateLiveSourceCommand").f(void 0, void 0).ser(se_UpdateLiveSourceCommand).de(de_UpdateLiveSourceCommand).build() {
3182
+ };
3183
+ __name(_UpdateLiveSourceCommand, "UpdateLiveSourceCommand");
3184
+ var UpdateLiveSourceCommand = _UpdateLiveSourceCommand;
3185
+
3186
+ // src/commands/UpdateProgramCommand.ts
3187
+
3188
+
3189
+
3190
+
3191
+ var _UpdateProgramCommand = class _UpdateProgramCommand extends import_smithy_client.Command.classBuilder().ep({
3192
+ ...commonParams
3193
+ }).m(function(Command, cs, config, o) {
3194
+ return [
3195
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3196
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3197
+ ];
3198
+ }).s("MediaTailor", "UpdateProgram", {}).n("MediaTailorClient", "UpdateProgramCommand").f(void 0, void 0).ser(se_UpdateProgramCommand).de(de_UpdateProgramCommand).build() {
3199
+ };
3200
+ __name(_UpdateProgramCommand, "UpdateProgramCommand");
3201
+ var UpdateProgramCommand = _UpdateProgramCommand;
3202
+
3203
+ // src/commands/UpdateSourceLocationCommand.ts
3204
+
3205
+
3206
+
3207
+
3208
+ var _UpdateSourceLocationCommand = class _UpdateSourceLocationCommand extends import_smithy_client.Command.classBuilder().ep({
3209
+ ...commonParams
3210
+ }).m(function(Command, cs, config, o) {
3211
+ return [
3212
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3213
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3214
+ ];
3215
+ }).s("MediaTailor", "UpdateSourceLocation", {}).n("MediaTailorClient", "UpdateSourceLocationCommand").f(void 0, void 0).ser(se_UpdateSourceLocationCommand).de(de_UpdateSourceLocationCommand).build() {
3216
+ };
3217
+ __name(_UpdateSourceLocationCommand, "UpdateSourceLocationCommand");
3218
+ var UpdateSourceLocationCommand = _UpdateSourceLocationCommand;
3219
+
3220
+ // src/commands/UpdateVodSourceCommand.ts
3221
+
3222
+
3223
+
3224
+
3225
+ var _UpdateVodSourceCommand = class _UpdateVodSourceCommand extends import_smithy_client.Command.classBuilder().ep({
3226
+ ...commonParams
3227
+ }).m(function(Command, cs, config, o) {
3228
+ return [
3229
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3230
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3231
+ ];
3232
+ }).s("MediaTailor", "UpdateVodSource", {}).n("MediaTailorClient", "UpdateVodSourceCommand").f(void 0, void 0).ser(se_UpdateVodSourceCommand).de(de_UpdateVodSourceCommand).build() {
3233
+ };
3234
+ __name(_UpdateVodSourceCommand, "UpdateVodSourceCommand");
3235
+ var UpdateVodSourceCommand = _UpdateVodSourceCommand;
3236
+
3237
+ // src/MediaTailor.ts
3238
+ var commands = {
3239
+ ConfigureLogsForChannelCommand,
3240
+ ConfigureLogsForPlaybackConfigurationCommand,
3241
+ CreateChannelCommand,
3242
+ CreateLiveSourceCommand,
3243
+ CreatePrefetchScheduleCommand,
3244
+ CreateProgramCommand,
3245
+ CreateSourceLocationCommand,
3246
+ CreateVodSourceCommand,
3247
+ DeleteChannelCommand,
3248
+ DeleteChannelPolicyCommand,
3249
+ DeleteLiveSourceCommand,
3250
+ DeletePlaybackConfigurationCommand,
3251
+ DeletePrefetchScheduleCommand,
3252
+ DeleteProgramCommand,
3253
+ DeleteSourceLocationCommand,
3254
+ DeleteVodSourceCommand,
3255
+ DescribeChannelCommand,
3256
+ DescribeLiveSourceCommand,
3257
+ DescribeProgramCommand,
3258
+ DescribeSourceLocationCommand,
3259
+ DescribeVodSourceCommand,
3260
+ GetChannelPolicyCommand,
3261
+ GetChannelScheduleCommand,
3262
+ GetPlaybackConfigurationCommand,
3263
+ GetPrefetchScheduleCommand,
3264
+ ListAlertsCommand,
3265
+ ListChannelsCommand,
3266
+ ListLiveSourcesCommand,
3267
+ ListPlaybackConfigurationsCommand,
3268
+ ListPrefetchSchedulesCommand,
3269
+ ListSourceLocationsCommand,
3270
+ ListTagsForResourceCommand,
3271
+ ListVodSourcesCommand,
3272
+ PutChannelPolicyCommand,
3273
+ PutPlaybackConfigurationCommand,
3274
+ StartChannelCommand,
3275
+ StopChannelCommand,
3276
+ TagResourceCommand,
3277
+ UntagResourceCommand,
3278
+ UpdateChannelCommand,
3279
+ UpdateLiveSourceCommand,
3280
+ UpdateProgramCommand,
3281
+ UpdateSourceLocationCommand,
3282
+ UpdateVodSourceCommand
3283
+ };
3284
+ var _MediaTailor = class _MediaTailor extends MediaTailorClient {
3285
+ };
3286
+ __name(_MediaTailor, "MediaTailor");
3287
+ var MediaTailor = _MediaTailor;
3288
+ (0, import_smithy_client.createAggregatedClient)(commands, MediaTailor);
3289
+
3290
+ // src/pagination/GetChannelSchedulePaginator.ts
3291
+
3292
+ var paginateGetChannelSchedule = (0, import_core.createPaginator)(MediaTailorClient, GetChannelScheduleCommand, "NextToken", "NextToken", "MaxResults");
3293
+
3294
+ // src/pagination/ListAlertsPaginator.ts
3295
+
3296
+ var paginateListAlerts = (0, import_core.createPaginator)(MediaTailorClient, ListAlertsCommand, "NextToken", "NextToken", "MaxResults");
3297
+
3298
+ // src/pagination/ListChannelsPaginator.ts
3299
+
3300
+ var paginateListChannels = (0, import_core.createPaginator)(MediaTailorClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
3301
+
3302
+ // src/pagination/ListLiveSourcesPaginator.ts
3303
+
3304
+ var paginateListLiveSources = (0, import_core.createPaginator)(MediaTailorClient, ListLiveSourcesCommand, "NextToken", "NextToken", "MaxResults");
3305
+
3306
+ // src/pagination/ListPlaybackConfigurationsPaginator.ts
3307
+
3308
+ var paginateListPlaybackConfigurations = (0, import_core.createPaginator)(MediaTailorClient, ListPlaybackConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
3309
+
3310
+ // src/pagination/ListPrefetchSchedulesPaginator.ts
3311
+
3312
+ var paginateListPrefetchSchedules = (0, import_core.createPaginator)(MediaTailorClient, ListPrefetchSchedulesCommand, "NextToken", "NextToken", "MaxResults");
3313
+
3314
+ // src/pagination/ListSourceLocationsPaginator.ts
3315
+
3316
+ var paginateListSourceLocations = (0, import_core.createPaginator)(MediaTailorClient, ListSourceLocationsCommand, "NextToken", "NextToken", "MaxResults");
3317
+
3318
+ // src/pagination/ListVodSourcesPaginator.ts
3319
+
3320
+ var paginateListVodSources = (0, import_core.createPaginator)(MediaTailorClient, ListVodSourcesCommand, "NextToken", "NextToken", "MaxResults");
3321
+
3322
+ // src/index.ts
3323
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3324
+ // Annotate the CommonJS export names for ESM import in node:
3325
+ 0 && (module.exports = {
3326
+ AccessType,
3327
+ AdMarkupType,
3328
+ AlertCategory,
3329
+ BadRequestException,
3330
+ ChannelState,
3331
+ ConfigureLogsForChannelCommand,
3332
+ ConfigureLogsForPlaybackConfigurationCommand,
3333
+ CreateChannelCommand,
3334
+ CreateLiveSourceCommand,
3335
+ CreatePrefetchScheduleCommand,
3336
+ CreateProgramCommand,
3337
+ CreateSourceLocationCommand,
3338
+ CreateVodSourceCommand,
3339
+ DeleteChannelCommand,
3340
+ DeleteChannelPolicyCommand,
3341
+ DeleteLiveSourceCommand,
3342
+ DeletePlaybackConfigurationCommand,
3343
+ DeletePrefetchScheduleCommand,
3344
+ DeleteProgramCommand,
3345
+ DeleteSourceLocationCommand,
3346
+ DeleteVodSourceCommand,
3347
+ DescribeChannelCommand,
3348
+ DescribeLiveSourceCommand,
3349
+ DescribeProgramCommand,
3350
+ DescribeSourceLocationCommand,
3351
+ DescribeVodSourceCommand,
3352
+ FillPolicy,
3353
+ GetChannelPolicyCommand,
3354
+ GetChannelScheduleCommand,
3355
+ GetPlaybackConfigurationCommand,
3356
+ GetPrefetchScheduleCommand,
3357
+ ListAlertsCommand,
3358
+ ListChannelsCommand,
3359
+ ListLiveSourcesCommand,
3360
+ ListPlaybackConfigurationsCommand,
3361
+ ListPrefetchSchedulesCommand,
3362
+ ListSourceLocationsCommand,
3363
+ ListTagsForResourceCommand,
3364
+ ListVodSourcesCommand,
3365
+ LogType,
3366
+ MediaTailor,
3367
+ MediaTailorClient,
3368
+ MediaTailorServiceException,
3369
+ MessageType,
3370
+ Mode,
3371
+ Operator,
3372
+ OriginManifestType,
3373
+ PlaybackMode,
3374
+ PutChannelPolicyCommand,
3375
+ PutPlaybackConfigurationCommand,
3376
+ RelativePosition,
3377
+ ScheduleEntryType,
3378
+ StartChannelCommand,
3379
+ StopChannelCommand,
3380
+ TagResourceCommand,
3381
+ Tier,
3382
+ Type,
3383
+ UntagResourceCommand,
3384
+ UpdateChannelCommand,
3385
+ UpdateLiveSourceCommand,
3386
+ UpdateProgramCommand,
3387
+ UpdateSourceLocationCommand,
3388
+ UpdateVodSourceCommand,
3389
+ __Client,
3390
+ paginateGetChannelSchedule,
3391
+ paginateListAlerts,
3392
+ paginateListChannels,
3393
+ paginateListLiveSources,
3394
+ paginateListPlaybackConfigurations,
3395
+ paginateListPrefetchSchedules,
3396
+ paginateListSourceLocations,
3397
+ paginateListVodSources
3398
+ });