@aws-sdk/client-mediatailor 3.303.0 → 3.309.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 (93) hide show
  1. package/dist-cjs/commands/ConfigureLogsForChannelCommand.js +2 -2
  2. package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +2 -2
  3. package/dist-cjs/commands/CreateChannelCommand.js +2 -2
  4. package/dist-cjs/commands/CreateLiveSourceCommand.js +2 -2
  5. package/dist-cjs/commands/CreatePrefetchScheduleCommand.js +2 -2
  6. package/dist-cjs/commands/CreateProgramCommand.js +2 -2
  7. package/dist-cjs/commands/CreateSourceLocationCommand.js +2 -2
  8. package/dist-cjs/commands/CreateVodSourceCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteChannelCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteChannelPolicyCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteLiveSourceCommand.js +2 -2
  12. package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js +2 -2
  13. package/dist-cjs/commands/DeletePrefetchScheduleCommand.js +2 -2
  14. package/dist-cjs/commands/DeleteProgramCommand.js +2 -2
  15. package/dist-cjs/commands/DeleteSourceLocationCommand.js +2 -2
  16. package/dist-cjs/commands/DeleteVodSourceCommand.js +2 -2
  17. package/dist-cjs/commands/DescribeChannelCommand.js +2 -2
  18. package/dist-cjs/commands/DescribeLiveSourceCommand.js +2 -2
  19. package/dist-cjs/commands/DescribeProgramCommand.js +2 -2
  20. package/dist-cjs/commands/DescribeSourceLocationCommand.js +2 -2
  21. package/dist-cjs/commands/DescribeVodSourceCommand.js +2 -2
  22. package/dist-cjs/commands/GetChannelPolicyCommand.js +2 -2
  23. package/dist-cjs/commands/GetChannelScheduleCommand.js +2 -2
  24. package/dist-cjs/commands/GetPlaybackConfigurationCommand.js +2 -2
  25. package/dist-cjs/commands/GetPrefetchScheduleCommand.js +2 -2
  26. package/dist-cjs/commands/ListAlertsCommand.js +2 -2
  27. package/dist-cjs/commands/ListChannelsCommand.js +2 -2
  28. package/dist-cjs/commands/ListLiveSourcesCommand.js +2 -2
  29. package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js +2 -2
  30. package/dist-cjs/commands/ListPrefetchSchedulesCommand.js +2 -2
  31. package/dist-cjs/commands/ListSourceLocationsCommand.js +2 -2
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  33. package/dist-cjs/commands/ListVodSourcesCommand.js +2 -2
  34. package/dist-cjs/commands/PutChannelPolicyCommand.js +2 -2
  35. package/dist-cjs/commands/PutPlaybackConfigurationCommand.js +2 -2
  36. package/dist-cjs/commands/StartChannelCommand.js +2 -2
  37. package/dist-cjs/commands/StopChannelCommand.js +2 -2
  38. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  39. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  40. package/dist-cjs/commands/UpdateChannelCommand.js +2 -2
  41. package/dist-cjs/commands/UpdateLiveSourceCommand.js +2 -2
  42. package/dist-cjs/commands/UpdateProgramCommand.js +2 -2
  43. package/dist-cjs/commands/UpdateSourceLocationCommand.js +2 -2
  44. package/dist-cjs/commands/UpdateVodSourceCommand.js +2 -2
  45. package/dist-cjs/protocols/Aws_restJson1.js +552 -594
  46. package/dist-es/commands/ConfigureLogsForChannelCommand.js +3 -3
  47. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +3 -3
  48. package/dist-es/commands/CreateChannelCommand.js +3 -3
  49. package/dist-es/commands/CreateLiveSourceCommand.js +3 -3
  50. package/dist-es/commands/CreatePrefetchScheduleCommand.js +3 -3
  51. package/dist-es/commands/CreateProgramCommand.js +3 -3
  52. package/dist-es/commands/CreateSourceLocationCommand.js +3 -3
  53. package/dist-es/commands/CreateVodSourceCommand.js +3 -3
  54. package/dist-es/commands/DeleteChannelCommand.js +3 -3
  55. package/dist-es/commands/DeleteChannelPolicyCommand.js +3 -3
  56. package/dist-es/commands/DeleteLiveSourceCommand.js +3 -3
  57. package/dist-es/commands/DeletePlaybackConfigurationCommand.js +3 -3
  58. package/dist-es/commands/DeletePrefetchScheduleCommand.js +3 -3
  59. package/dist-es/commands/DeleteProgramCommand.js +3 -3
  60. package/dist-es/commands/DeleteSourceLocationCommand.js +3 -3
  61. package/dist-es/commands/DeleteVodSourceCommand.js +3 -3
  62. package/dist-es/commands/DescribeChannelCommand.js +3 -3
  63. package/dist-es/commands/DescribeLiveSourceCommand.js +3 -3
  64. package/dist-es/commands/DescribeProgramCommand.js +3 -3
  65. package/dist-es/commands/DescribeSourceLocationCommand.js +3 -3
  66. package/dist-es/commands/DescribeVodSourceCommand.js +3 -3
  67. package/dist-es/commands/GetChannelPolicyCommand.js +3 -3
  68. package/dist-es/commands/GetChannelScheduleCommand.js +3 -3
  69. package/dist-es/commands/GetPlaybackConfigurationCommand.js +3 -3
  70. package/dist-es/commands/GetPrefetchScheduleCommand.js +3 -3
  71. package/dist-es/commands/ListAlertsCommand.js +3 -3
  72. package/dist-es/commands/ListChannelsCommand.js +3 -3
  73. package/dist-es/commands/ListLiveSourcesCommand.js +3 -3
  74. package/dist-es/commands/ListPlaybackConfigurationsCommand.js +3 -3
  75. package/dist-es/commands/ListPrefetchSchedulesCommand.js +3 -3
  76. package/dist-es/commands/ListSourceLocationsCommand.js +3 -3
  77. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  78. package/dist-es/commands/ListVodSourcesCommand.js +3 -3
  79. package/dist-es/commands/PutChannelPolicyCommand.js +3 -3
  80. package/dist-es/commands/PutPlaybackConfigurationCommand.js +3 -3
  81. package/dist-es/commands/StartChannelCommand.js +3 -3
  82. package/dist-es/commands/StopChannelCommand.js +3 -3
  83. package/dist-es/commands/TagResourceCommand.js +3 -3
  84. package/dist-es/commands/UntagResourceCommand.js +3 -3
  85. package/dist-es/commands/UpdateChannelCommand.js +3 -3
  86. package/dist-es/commands/UpdateLiveSourceCommand.js +3 -3
  87. package/dist-es/commands/UpdateProgramCommand.js +3 -3
  88. package/dist-es/commands/UpdateSourceLocationCommand.js +3 -3
  89. package/dist-es/commands/UpdateVodSourceCommand.js +3 -3
  90. package/dist-es/protocols/Aws_restJson1.js +462 -504
  91. package/dist-types/protocols/Aws_restJson1.d.ts +352 -88
  92. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +88 -88
  93. package/package.json +29 -29
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { MediaTailorServiceException as __BaseException } from "../models/MediaTailorServiceException";
4
4
  import { BadRequestException, } from "../models/models_0";
5
- export const serializeAws_restJson1ConfigureLogsForChannelCommand = async (input, context) => {
5
+ export const se_ConfigureLogsForChannelCommand = async (input, context) => {
6
6
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
7
  const headers = {
8
8
  "content-type": "application/json",
@@ -11,7 +11,7 @@ export const serializeAws_restJson1ConfigureLogsForChannelCommand = async (input
11
11
  let body;
12
12
  body = JSON.stringify({
13
13
  ...(input.ChannelName != null && { ChannelName: input.ChannelName }),
14
- ...(input.LogTypes != null && { LogTypes: serializeAws_restJson1LogTypes(input.LogTypes, context) }),
14
+ ...(input.LogTypes != null && { LogTypes: se_LogTypes(input.LogTypes, context) }),
15
15
  });
16
16
  return new __HttpRequest({
17
17
  protocol,
@@ -23,7 +23,7 @@ export const serializeAws_restJson1ConfigureLogsForChannelCommand = async (input
23
23
  body,
24
24
  });
25
25
  };
26
- export const serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = async (input, context) => {
26
+ export const se_ConfigureLogsForPlaybackConfigurationCommand = async (input, context) => {
27
27
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
28
  const headers = {
29
29
  "content-type": "application/json",
@@ -44,7 +44,7 @@ export const serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand
44
44
  body,
45
45
  });
46
46
  };
47
- export const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
47
+ export const se_CreateChannelCommand = async (input, context) => {
48
48
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
49
49
  const headers = {
50
50
  "content-type": "application/json",
@@ -53,10 +53,10 @@ export const serializeAws_restJson1CreateChannelCommand = async (input, context)
53
53
  resolvedPath = __resolvedPath(resolvedPath, input, "ChannelName", () => input.ChannelName, "{ChannelName}", false);
54
54
  let body;
55
55
  body = JSON.stringify({
56
- ...(input.FillerSlate != null && { FillerSlate: serializeAws_restJson1SlateSource(input.FillerSlate, context) }),
57
- ...(input.Outputs != null && { Outputs: serializeAws_restJson1RequestOutputs(input.Outputs, context) }),
56
+ ...(input.FillerSlate != null && { FillerSlate: se_SlateSource(input.FillerSlate, context) }),
57
+ ...(input.Outputs != null && { Outputs: se_RequestOutputs(input.Outputs, context) }),
58
58
  ...(input.PlaybackMode != null && { PlaybackMode: input.PlaybackMode }),
59
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
59
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
60
60
  ...(input.Tier != null && { Tier: input.Tier }),
61
61
  });
62
62
  return new __HttpRequest({
@@ -69,7 +69,7 @@ export const serializeAws_restJson1CreateChannelCommand = async (input, context)
69
69
  body,
70
70
  });
71
71
  };
72
- export const serializeAws_restJson1CreateLiveSourceCommand = async (input, context) => {
72
+ export const se_CreateLiveSourceCommand = async (input, context) => {
73
73
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
74
74
  const headers = {
75
75
  "content-type": "application/json",
@@ -81,9 +81,9 @@ export const serializeAws_restJson1CreateLiveSourceCommand = async (input, conte
81
81
  let body;
82
82
  body = JSON.stringify({
83
83
  ...(input.HttpPackageConfigurations != null && {
84
- HttpPackageConfigurations: serializeAws_restJson1HttpPackageConfigurations(input.HttpPackageConfigurations, context),
84
+ HttpPackageConfigurations: se_HttpPackageConfigurations(input.HttpPackageConfigurations, context),
85
85
  }),
86
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
86
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
87
87
  });
88
88
  return new __HttpRequest({
89
89
  protocol,
@@ -95,7 +95,7 @@ export const serializeAws_restJson1CreateLiveSourceCommand = async (input, conte
95
95
  body,
96
96
  });
97
97
  };
98
- export const serializeAws_restJson1CreatePrefetchScheduleCommand = async (input, context) => {
98
+ export const se_CreatePrefetchScheduleCommand = async (input, context) => {
99
99
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
100
100
  const headers = {
101
101
  "content-type": "application/json",
@@ -106,10 +106,8 @@ export const serializeAws_restJson1CreatePrefetchScheduleCommand = async (input,
106
106
  resolvedPath = __resolvedPath(resolvedPath, input, "PlaybackConfigurationName", () => input.PlaybackConfigurationName, "{PlaybackConfigurationName}", false);
107
107
  let body;
108
108
  body = JSON.stringify({
109
- ...(input.Consumption != null && {
110
- Consumption: serializeAws_restJson1PrefetchConsumption(input.Consumption, context),
111
- }),
112
- ...(input.Retrieval != null && { Retrieval: serializeAws_restJson1PrefetchRetrieval(input.Retrieval, context) }),
109
+ ...(input.Consumption != null && { Consumption: se_PrefetchConsumption(input.Consumption, context) }),
110
+ ...(input.Retrieval != null && { Retrieval: se_PrefetchRetrieval(input.Retrieval, context) }),
113
111
  ...(input.StreamId != null && { StreamId: input.StreamId }),
114
112
  });
115
113
  return new __HttpRequest({
@@ -122,7 +120,7 @@ export const serializeAws_restJson1CreatePrefetchScheduleCommand = async (input,
122
120
  body,
123
121
  });
124
122
  };
125
- export const serializeAws_restJson1CreateProgramCommand = async (input, context) => {
123
+ export const se_CreateProgramCommand = async (input, context) => {
126
124
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
127
125
  const headers = {
128
126
  "content-type": "application/json",
@@ -133,10 +131,10 @@ export const serializeAws_restJson1CreateProgramCommand = async (input, context)
133
131
  resolvedPath = __resolvedPath(resolvedPath, input, "ProgramName", () => input.ProgramName, "{ProgramName}", false);
134
132
  let body;
135
133
  body = JSON.stringify({
136
- ...(input.AdBreaks != null && { AdBreaks: serializeAws_restJson1__listOfAdBreak(input.AdBreaks, context) }),
134
+ ...(input.AdBreaks != null && { AdBreaks: se___listOfAdBreak(input.AdBreaks, context) }),
137
135
  ...(input.LiveSourceName != null && { LiveSourceName: input.LiveSourceName }),
138
136
  ...(input.ScheduleConfiguration != null && {
139
- ScheduleConfiguration: serializeAws_restJson1ScheduleConfiguration(input.ScheduleConfiguration, context),
137
+ ScheduleConfiguration: se_ScheduleConfiguration(input.ScheduleConfiguration, context),
140
138
  }),
141
139
  ...(input.SourceLocationName != null && { SourceLocationName: input.SourceLocationName }),
142
140
  ...(input.VodSourceName != null && { VodSourceName: input.VodSourceName }),
@@ -151,7 +149,7 @@ export const serializeAws_restJson1CreateProgramCommand = async (input, context)
151
149
  body,
152
150
  });
153
151
  };
154
- export const serializeAws_restJson1CreateSourceLocationCommand = async (input, context) => {
152
+ export const se_CreateSourceLocationCommand = async (input, context) => {
155
153
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
156
154
  const headers = {
157
155
  "content-type": "application/json",
@@ -161,18 +159,18 @@ export const serializeAws_restJson1CreateSourceLocationCommand = async (input, c
161
159
  let body;
162
160
  body = JSON.stringify({
163
161
  ...(input.AccessConfiguration != null && {
164
- AccessConfiguration: serializeAws_restJson1AccessConfiguration(input.AccessConfiguration, context),
162
+ AccessConfiguration: se_AccessConfiguration(input.AccessConfiguration, context),
165
163
  }),
166
164
  ...(input.DefaultSegmentDeliveryConfiguration != null && {
167
- DefaultSegmentDeliveryConfiguration: serializeAws_restJson1DefaultSegmentDeliveryConfiguration(input.DefaultSegmentDeliveryConfiguration, context),
165
+ DefaultSegmentDeliveryConfiguration: se_DefaultSegmentDeliveryConfiguration(input.DefaultSegmentDeliveryConfiguration, context),
168
166
  }),
169
167
  ...(input.HttpConfiguration != null && {
170
- HttpConfiguration: serializeAws_restJson1HttpConfiguration(input.HttpConfiguration, context),
168
+ HttpConfiguration: se_HttpConfiguration(input.HttpConfiguration, context),
171
169
  }),
172
170
  ...(input.SegmentDeliveryConfigurations != null && {
173
- SegmentDeliveryConfigurations: serializeAws_restJson1__listOfSegmentDeliveryConfiguration(input.SegmentDeliveryConfigurations, context),
171
+ SegmentDeliveryConfigurations: se___listOfSegmentDeliveryConfiguration(input.SegmentDeliveryConfigurations, context),
174
172
  }),
175
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
173
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
176
174
  });
177
175
  return new __HttpRequest({
178
176
  protocol,
@@ -184,7 +182,7 @@ export const serializeAws_restJson1CreateSourceLocationCommand = async (input, c
184
182
  body,
185
183
  });
186
184
  };
187
- export const serializeAws_restJson1CreateVodSourceCommand = async (input, context) => {
185
+ export const se_CreateVodSourceCommand = async (input, context) => {
188
186
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
189
187
  const headers = {
190
188
  "content-type": "application/json",
@@ -196,9 +194,9 @@ export const serializeAws_restJson1CreateVodSourceCommand = async (input, contex
196
194
  let body;
197
195
  body = JSON.stringify({
198
196
  ...(input.HttpPackageConfigurations != null && {
199
- HttpPackageConfigurations: serializeAws_restJson1HttpPackageConfigurations(input.HttpPackageConfigurations, context),
197
+ HttpPackageConfigurations: se_HttpPackageConfigurations(input.HttpPackageConfigurations, context),
200
198
  }),
201
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
199
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
202
200
  });
203
201
  return new __HttpRequest({
204
202
  protocol,
@@ -210,7 +208,7 @@ export const serializeAws_restJson1CreateVodSourceCommand = async (input, contex
210
208
  body,
211
209
  });
212
210
  };
213
- export const serializeAws_restJson1DeleteChannelCommand = async (input, context) => {
211
+ export const se_DeleteChannelCommand = async (input, context) => {
214
212
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
215
213
  const headers = {};
216
214
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}";
@@ -226,7 +224,7 @@ export const serializeAws_restJson1DeleteChannelCommand = async (input, context)
226
224
  body,
227
225
  });
228
226
  };
229
- export const serializeAws_restJson1DeleteChannelPolicyCommand = async (input, context) => {
227
+ export const se_DeleteChannelPolicyCommand = async (input, context) => {
230
228
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
231
229
  const headers = {};
232
230
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}/policy";
@@ -242,7 +240,7 @@ export const serializeAws_restJson1DeleteChannelPolicyCommand = async (input, co
242
240
  body,
243
241
  });
244
242
  };
245
- export const serializeAws_restJson1DeleteLiveSourceCommand = async (input, context) => {
243
+ export const se_DeleteLiveSourceCommand = async (input, context) => {
246
244
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
247
245
  const headers = {};
248
246
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -260,7 +258,7 @@ export const serializeAws_restJson1DeleteLiveSourceCommand = async (input, conte
260
258
  body,
261
259
  });
262
260
  };
263
- export const serializeAws_restJson1DeletePlaybackConfigurationCommand = async (input, context) => {
261
+ export const se_DeletePlaybackConfigurationCommand = async (input, context) => {
264
262
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
265
263
  const headers = {};
266
264
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfiguration/{Name}";
@@ -276,7 +274,7 @@ export const serializeAws_restJson1DeletePlaybackConfigurationCommand = async (i
276
274
  body,
277
275
  });
278
276
  };
279
- export const serializeAws_restJson1DeletePrefetchScheduleCommand = async (input, context) => {
277
+ export const se_DeletePrefetchScheduleCommand = async (input, context) => {
280
278
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
281
279
  const headers = {};
282
280
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -294,7 +292,7 @@ export const serializeAws_restJson1DeletePrefetchScheduleCommand = async (input,
294
292
  body,
295
293
  });
296
294
  };
297
- export const serializeAws_restJson1DeleteProgramCommand = async (input, context) => {
295
+ export const se_DeleteProgramCommand = async (input, context) => {
298
296
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
299
297
  const headers = {};
300
298
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -312,7 +310,7 @@ export const serializeAws_restJson1DeleteProgramCommand = async (input, context)
312
310
  body,
313
311
  });
314
312
  };
315
- export const serializeAws_restJson1DeleteSourceLocationCommand = async (input, context) => {
313
+ export const se_DeleteSourceLocationCommand = async (input, context) => {
316
314
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
317
315
  const headers = {};
318
316
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sourceLocation/{SourceLocationName}";
@@ -328,7 +326,7 @@ export const serializeAws_restJson1DeleteSourceLocationCommand = async (input, c
328
326
  body,
329
327
  });
330
328
  };
331
- export const serializeAws_restJson1DeleteVodSourceCommand = async (input, context) => {
329
+ export const se_DeleteVodSourceCommand = async (input, context) => {
332
330
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
333
331
  const headers = {};
334
332
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -346,7 +344,7 @@ export const serializeAws_restJson1DeleteVodSourceCommand = async (input, contex
346
344
  body,
347
345
  });
348
346
  };
349
- export const serializeAws_restJson1DescribeChannelCommand = async (input, context) => {
347
+ export const se_DescribeChannelCommand = async (input, context) => {
350
348
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
351
349
  const headers = {};
352
350
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}";
@@ -362,7 +360,7 @@ export const serializeAws_restJson1DescribeChannelCommand = async (input, contex
362
360
  body,
363
361
  });
364
362
  };
365
- export const serializeAws_restJson1DescribeLiveSourceCommand = async (input, context) => {
363
+ export const se_DescribeLiveSourceCommand = async (input, context) => {
366
364
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
367
365
  const headers = {};
368
366
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -380,7 +378,7 @@ export const serializeAws_restJson1DescribeLiveSourceCommand = async (input, con
380
378
  body,
381
379
  });
382
380
  };
383
- export const serializeAws_restJson1DescribeProgramCommand = async (input, context) => {
381
+ export const se_DescribeProgramCommand = async (input, context) => {
384
382
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
385
383
  const headers = {};
386
384
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -398,7 +396,7 @@ export const serializeAws_restJson1DescribeProgramCommand = async (input, contex
398
396
  body,
399
397
  });
400
398
  };
401
- export const serializeAws_restJson1DescribeSourceLocationCommand = async (input, context) => {
399
+ export const se_DescribeSourceLocationCommand = async (input, context) => {
402
400
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
403
401
  const headers = {};
404
402
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sourceLocation/{SourceLocationName}";
@@ -414,7 +412,7 @@ export const serializeAws_restJson1DescribeSourceLocationCommand = async (input,
414
412
  body,
415
413
  });
416
414
  };
417
- export const serializeAws_restJson1DescribeVodSourceCommand = async (input, context) => {
415
+ export const se_DescribeVodSourceCommand = async (input, context) => {
418
416
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
419
417
  const headers = {};
420
418
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -432,7 +430,7 @@ export const serializeAws_restJson1DescribeVodSourceCommand = async (input, cont
432
430
  body,
433
431
  });
434
432
  };
435
- export const serializeAws_restJson1GetChannelPolicyCommand = async (input, context) => {
433
+ export const se_GetChannelPolicyCommand = async (input, context) => {
436
434
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
437
435
  const headers = {};
438
436
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}/policy";
@@ -448,7 +446,7 @@ export const serializeAws_restJson1GetChannelPolicyCommand = async (input, conte
448
446
  body,
449
447
  });
450
448
  };
451
- export const serializeAws_restJson1GetChannelScheduleCommand = async (input, context) => {
449
+ export const se_GetChannelScheduleCommand = async (input, context) => {
452
450
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
453
451
  const headers = {};
454
452
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}/schedule";
@@ -470,7 +468,7 @@ export const serializeAws_restJson1GetChannelScheduleCommand = async (input, con
470
468
  body,
471
469
  });
472
470
  };
473
- export const serializeAws_restJson1GetPlaybackConfigurationCommand = async (input, context) => {
471
+ export const se_GetPlaybackConfigurationCommand = async (input, context) => {
474
472
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
475
473
  const headers = {};
476
474
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfiguration/{Name}";
@@ -486,7 +484,7 @@ export const serializeAws_restJson1GetPlaybackConfigurationCommand = async (inpu
486
484
  body,
487
485
  });
488
486
  };
489
- export const serializeAws_restJson1GetPrefetchScheduleCommand = async (input, context) => {
487
+ export const se_GetPrefetchScheduleCommand = async (input, context) => {
490
488
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
491
489
  const headers = {};
492
490
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -504,7 +502,7 @@ export const serializeAws_restJson1GetPrefetchScheduleCommand = async (input, co
504
502
  body,
505
503
  });
506
504
  };
507
- export const serializeAws_restJson1ListAlertsCommand = async (input, context) => {
505
+ export const se_ListAlertsCommand = async (input, context) => {
508
506
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
509
507
  const headers = {};
510
508
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/alerts";
@@ -525,7 +523,7 @@ export const serializeAws_restJson1ListAlertsCommand = async (input, context) =>
525
523
  body,
526
524
  });
527
525
  };
528
- export const serializeAws_restJson1ListChannelsCommand = async (input, context) => {
526
+ export const se_ListChannelsCommand = async (input, context) => {
529
527
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
530
528
  const headers = {};
531
529
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
@@ -545,7 +543,7 @@ export const serializeAws_restJson1ListChannelsCommand = async (input, context)
545
543
  body,
546
544
  });
547
545
  };
548
- export const serializeAws_restJson1ListLiveSourcesCommand = async (input, context) => {
546
+ export const se_ListLiveSourcesCommand = async (input, context) => {
549
547
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
550
548
  const headers = {};
551
549
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -567,7 +565,7 @@ export const serializeAws_restJson1ListLiveSourcesCommand = async (input, contex
567
565
  body,
568
566
  });
569
567
  };
570
- export const serializeAws_restJson1ListPlaybackConfigurationsCommand = async (input, context) => {
568
+ export const se_ListPlaybackConfigurationsCommand = async (input, context) => {
571
569
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
572
570
  const headers = {};
573
571
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfigurations";
@@ -587,7 +585,7 @@ export const serializeAws_restJson1ListPlaybackConfigurationsCommand = async (in
587
585
  body,
588
586
  });
589
587
  };
590
- export const serializeAws_restJson1ListPrefetchSchedulesCommand = async (input, context) => {
588
+ export const se_ListPrefetchSchedulesCommand = async (input, context) => {
591
589
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
592
590
  const headers = {
593
591
  "content-type": "application/json",
@@ -611,7 +609,7 @@ export const serializeAws_restJson1ListPrefetchSchedulesCommand = async (input,
611
609
  body,
612
610
  });
613
611
  };
614
- export const serializeAws_restJson1ListSourceLocationsCommand = async (input, context) => {
612
+ export const se_ListSourceLocationsCommand = async (input, context) => {
615
613
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
616
614
  const headers = {};
617
615
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sourceLocations";
@@ -631,7 +629,7 @@ export const serializeAws_restJson1ListSourceLocationsCommand = async (input, co
631
629
  body,
632
630
  });
633
631
  };
634
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
632
+ export const se_ListTagsForResourceCommand = async (input, context) => {
635
633
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
636
634
  const headers = {};
637
635
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -647,7 +645,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
647
645
  body,
648
646
  });
649
647
  };
650
- export const serializeAws_restJson1ListVodSourcesCommand = async (input, context) => {
648
+ export const se_ListVodSourcesCommand = async (input, context) => {
651
649
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
652
650
  const headers = {};
653
651
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -669,7 +667,7 @@ export const serializeAws_restJson1ListVodSourcesCommand = async (input, context
669
667
  body,
670
668
  });
671
669
  };
672
- export const serializeAws_restJson1PutChannelPolicyCommand = async (input, context) => {
670
+ export const se_PutChannelPolicyCommand = async (input, context) => {
673
671
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
674
672
  const headers = {
675
673
  "content-type": "application/json",
@@ -690,7 +688,7 @@ export const serializeAws_restJson1PutChannelPolicyCommand = async (input, conte
690
688
  body,
691
689
  });
692
690
  };
693
- export const serializeAws_restJson1PutPlaybackConfigurationCommand = async (input, context) => {
691
+ export const se_PutPlaybackConfigurationCommand = async (input, context) => {
694
692
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
695
693
  const headers = {
696
694
  "content-type": "application/json",
@@ -699,31 +697,27 @@ export const serializeAws_restJson1PutPlaybackConfigurationCommand = async (inpu
699
697
  let body;
700
698
  body = JSON.stringify({
701
699
  ...(input.AdDecisionServerUrl != null && { AdDecisionServerUrl: input.AdDecisionServerUrl }),
702
- ...(input.AvailSuppression != null && {
703
- AvailSuppression: serializeAws_restJson1AvailSuppression(input.AvailSuppression, context),
704
- }),
705
- ...(input.Bumper != null && { Bumper: serializeAws_restJson1Bumper(input.Bumper, context) }),
706
- ...(input.CdnConfiguration != null && {
707
- CdnConfiguration: serializeAws_restJson1CdnConfiguration(input.CdnConfiguration, context),
708
- }),
700
+ ...(input.AvailSuppression != null && { AvailSuppression: se_AvailSuppression(input.AvailSuppression, context) }),
701
+ ...(input.Bumper != null && { Bumper: se_Bumper(input.Bumper, context) }),
702
+ ...(input.CdnConfiguration != null && { CdnConfiguration: se_CdnConfiguration(input.CdnConfiguration, context) }),
709
703
  ...(input.ConfigurationAliases != null && {
710
- ConfigurationAliases: serializeAws_restJson1ConfigurationAliasesRequest(input.ConfigurationAliases, context),
704
+ ConfigurationAliases: se_ConfigurationAliasesRequest(input.ConfigurationAliases, context),
711
705
  }),
712
706
  ...(input.DashConfiguration != null && {
713
- DashConfiguration: serializeAws_restJson1DashConfigurationForPut(input.DashConfiguration, context),
707
+ DashConfiguration: se_DashConfigurationForPut(input.DashConfiguration, context),
714
708
  }),
715
709
  ...(input.LivePreRollConfiguration != null && {
716
- LivePreRollConfiguration: serializeAws_restJson1LivePreRollConfiguration(input.LivePreRollConfiguration, context),
710
+ LivePreRollConfiguration: se_LivePreRollConfiguration(input.LivePreRollConfiguration, context),
717
711
  }),
718
712
  ...(input.ManifestProcessingRules != null && {
719
- ManifestProcessingRules: serializeAws_restJson1ManifestProcessingRules(input.ManifestProcessingRules, context),
713
+ ManifestProcessingRules: se_ManifestProcessingRules(input.ManifestProcessingRules, context),
720
714
  }),
721
715
  ...(input.Name != null && { Name: input.Name }),
722
716
  ...(input.PersonalizationThresholdSeconds != null && {
723
717
  PersonalizationThresholdSeconds: input.PersonalizationThresholdSeconds,
724
718
  }),
725
719
  ...(input.SlateAdUrl != null && { SlateAdUrl: input.SlateAdUrl }),
726
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
720
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
727
721
  ...(input.TranscodeProfileName != null && { TranscodeProfileName: input.TranscodeProfileName }),
728
722
  ...(input.VideoContentSourceUrl != null && { VideoContentSourceUrl: input.VideoContentSourceUrl }),
729
723
  });
@@ -737,7 +731,7 @@ export const serializeAws_restJson1PutPlaybackConfigurationCommand = async (inpu
737
731
  body,
738
732
  });
739
733
  };
740
- export const serializeAws_restJson1StartChannelCommand = async (input, context) => {
734
+ export const se_StartChannelCommand = async (input, context) => {
741
735
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
742
736
  const headers = {};
743
737
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}/start";
@@ -753,7 +747,7 @@ export const serializeAws_restJson1StartChannelCommand = async (input, context)
753
747
  body,
754
748
  });
755
749
  };
756
- export const serializeAws_restJson1StopChannelCommand = async (input, context) => {
750
+ export const se_StopChannelCommand = async (input, context) => {
757
751
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
758
752
  const headers = {};
759
753
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}/stop";
@@ -769,7 +763,7 @@ export const serializeAws_restJson1StopChannelCommand = async (input, context) =
769
763
  body,
770
764
  });
771
765
  };
772
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
766
+ export const se_TagResourceCommand = async (input, context) => {
773
767
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
774
768
  const headers = {
775
769
  "content-type": "application/json",
@@ -778,7 +772,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
778
772
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
779
773
  let body;
780
774
  body = JSON.stringify({
781
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
775
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
782
776
  });
783
777
  return new __HttpRequest({
784
778
  protocol,
@@ -790,7 +784,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
790
784
  body,
791
785
  });
792
786
  };
793
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
787
+ export const se_UntagResourceCommand = async (input, context) => {
794
788
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
795
789
  const headers = {};
796
790
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -813,7 +807,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
813
807
  body,
814
808
  });
815
809
  };
816
- export const serializeAws_restJson1UpdateChannelCommand = async (input, context) => {
810
+ export const se_UpdateChannelCommand = async (input, context) => {
817
811
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
818
812
  const headers = {
819
813
  "content-type": "application/json",
@@ -822,8 +816,8 @@ export const serializeAws_restJson1UpdateChannelCommand = async (input, context)
822
816
  resolvedPath = __resolvedPath(resolvedPath, input, "ChannelName", () => input.ChannelName, "{ChannelName}", false);
823
817
  let body;
824
818
  body = JSON.stringify({
825
- ...(input.FillerSlate != null && { FillerSlate: serializeAws_restJson1SlateSource(input.FillerSlate, context) }),
826
- ...(input.Outputs != null && { Outputs: serializeAws_restJson1RequestOutputs(input.Outputs, context) }),
819
+ ...(input.FillerSlate != null && { FillerSlate: se_SlateSource(input.FillerSlate, context) }),
820
+ ...(input.Outputs != null && { Outputs: se_RequestOutputs(input.Outputs, context) }),
827
821
  });
828
822
  return new __HttpRequest({
829
823
  protocol,
@@ -835,7 +829,7 @@ export const serializeAws_restJson1UpdateChannelCommand = async (input, context)
835
829
  body,
836
830
  });
837
831
  };
838
- export const serializeAws_restJson1UpdateLiveSourceCommand = async (input, context) => {
832
+ export const se_UpdateLiveSourceCommand = async (input, context) => {
839
833
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
840
834
  const headers = {
841
835
  "content-type": "application/json",
@@ -847,7 +841,7 @@ export const serializeAws_restJson1UpdateLiveSourceCommand = async (input, conte
847
841
  let body;
848
842
  body = JSON.stringify({
849
843
  ...(input.HttpPackageConfigurations != null && {
850
- HttpPackageConfigurations: serializeAws_restJson1HttpPackageConfigurations(input.HttpPackageConfigurations, context),
844
+ HttpPackageConfigurations: se_HttpPackageConfigurations(input.HttpPackageConfigurations, context),
851
845
  }),
852
846
  });
853
847
  return new __HttpRequest({
@@ -860,7 +854,7 @@ export const serializeAws_restJson1UpdateLiveSourceCommand = async (input, conte
860
854
  body,
861
855
  });
862
856
  };
863
- export const serializeAws_restJson1UpdateProgramCommand = async (input, context) => {
857
+ export const se_UpdateProgramCommand = async (input, context) => {
864
858
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
865
859
  const headers = {
866
860
  "content-type": "application/json",
@@ -871,9 +865,9 @@ export const serializeAws_restJson1UpdateProgramCommand = async (input, context)
871
865
  resolvedPath = __resolvedPath(resolvedPath, input, "ProgramName", () => input.ProgramName, "{ProgramName}", false);
872
866
  let body;
873
867
  body = JSON.stringify({
874
- ...(input.AdBreaks != null && { AdBreaks: serializeAws_restJson1__listOfAdBreak(input.AdBreaks, context) }),
868
+ ...(input.AdBreaks != null && { AdBreaks: se___listOfAdBreak(input.AdBreaks, context) }),
875
869
  ...(input.ScheduleConfiguration != null && {
876
- ScheduleConfiguration: serializeAws_restJson1UpdateProgramScheduleConfiguration(input.ScheduleConfiguration, context),
870
+ ScheduleConfiguration: se_UpdateProgramScheduleConfiguration(input.ScheduleConfiguration, context),
877
871
  }),
878
872
  });
879
873
  return new __HttpRequest({
@@ -886,7 +880,7 @@ export const serializeAws_restJson1UpdateProgramCommand = async (input, context)
886
880
  body,
887
881
  });
888
882
  };
889
- export const serializeAws_restJson1UpdateSourceLocationCommand = async (input, context) => {
883
+ export const se_UpdateSourceLocationCommand = async (input, context) => {
890
884
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
891
885
  const headers = {
892
886
  "content-type": "application/json",
@@ -896,16 +890,16 @@ export const serializeAws_restJson1UpdateSourceLocationCommand = async (input, c
896
890
  let body;
897
891
  body = JSON.stringify({
898
892
  ...(input.AccessConfiguration != null && {
899
- AccessConfiguration: serializeAws_restJson1AccessConfiguration(input.AccessConfiguration, context),
893
+ AccessConfiguration: se_AccessConfiguration(input.AccessConfiguration, context),
900
894
  }),
901
895
  ...(input.DefaultSegmentDeliveryConfiguration != null && {
902
- DefaultSegmentDeliveryConfiguration: serializeAws_restJson1DefaultSegmentDeliveryConfiguration(input.DefaultSegmentDeliveryConfiguration, context),
896
+ DefaultSegmentDeliveryConfiguration: se_DefaultSegmentDeliveryConfiguration(input.DefaultSegmentDeliveryConfiguration, context),
903
897
  }),
904
898
  ...(input.HttpConfiguration != null && {
905
- HttpConfiguration: serializeAws_restJson1HttpConfiguration(input.HttpConfiguration, context),
899
+ HttpConfiguration: se_HttpConfiguration(input.HttpConfiguration, context),
906
900
  }),
907
901
  ...(input.SegmentDeliveryConfigurations != null && {
908
- SegmentDeliveryConfigurations: serializeAws_restJson1__listOfSegmentDeliveryConfiguration(input.SegmentDeliveryConfigurations, context),
902
+ SegmentDeliveryConfigurations: se___listOfSegmentDeliveryConfiguration(input.SegmentDeliveryConfigurations, context),
909
903
  }),
910
904
  });
911
905
  return new __HttpRequest({
@@ -918,7 +912,7 @@ export const serializeAws_restJson1UpdateSourceLocationCommand = async (input, c
918
912
  body,
919
913
  });
920
914
  };
921
- export const serializeAws_restJson1UpdateVodSourceCommand = async (input, context) => {
915
+ export const se_UpdateVodSourceCommand = async (input, context) => {
922
916
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
923
917
  const headers = {
924
918
  "content-type": "application/json",
@@ -930,7 +924,7 @@ export const serializeAws_restJson1UpdateVodSourceCommand = async (input, contex
930
924
  let body;
931
925
  body = JSON.stringify({
932
926
  ...(input.HttpPackageConfigurations != null && {
933
- HttpPackageConfigurations: serializeAws_restJson1HttpPackageConfigurations(input.HttpPackageConfigurations, context),
927
+ HttpPackageConfigurations: se_HttpPackageConfigurations(input.HttpPackageConfigurations, context),
934
928
  }),
935
929
  });
936
930
  return new __HttpRequest({
@@ -943,9 +937,9 @@ export const serializeAws_restJson1UpdateVodSourceCommand = async (input, contex
943
937
  body,
944
938
  });
945
939
  };
946
- export const deserializeAws_restJson1ConfigureLogsForChannelCommand = async (output, context) => {
940
+ export const de_ConfigureLogsForChannelCommand = async (output, context) => {
947
941
  if (output.statusCode !== 200 && output.statusCode >= 300) {
948
- return deserializeAws_restJson1ConfigureLogsForChannelCommandError(output, context);
942
+ return de_ConfigureLogsForChannelCommandError(output, context);
949
943
  }
950
944
  const contents = map({
951
945
  $metadata: deserializeMetadata(output),
@@ -955,11 +949,11 @@ export const deserializeAws_restJson1ConfigureLogsForChannelCommand = async (out
955
949
  contents.ChannelName = __expectString(data.ChannelName);
956
950
  }
957
951
  if (data.LogTypes != null) {
958
- contents.LogTypes = deserializeAws_restJson1LogTypes(data.LogTypes, context);
952
+ contents.LogTypes = de_LogTypes(data.LogTypes, context);
959
953
  }
960
954
  return contents;
961
955
  };
962
- const deserializeAws_restJson1ConfigureLogsForChannelCommandError = async (output, context) => {
956
+ const de_ConfigureLogsForChannelCommandError = async (output, context) => {
963
957
  const parsedOutput = {
964
958
  ...output,
965
959
  body: await parseErrorBody(output.body, context),
@@ -973,9 +967,9 @@ const deserializeAws_restJson1ConfigureLogsForChannelCommandError = async (outpu
973
967
  errorCode,
974
968
  });
975
969
  };
976
- export const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = async (output, context) => {
970
+ export const de_ConfigureLogsForPlaybackConfigurationCommand = async (output, context) => {
977
971
  if (output.statusCode !== 200 && output.statusCode >= 300) {
978
- return deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommandError(output, context);
972
+ return de_ConfigureLogsForPlaybackConfigurationCommandError(output, context);
979
973
  }
980
974
  const contents = map({
981
975
  $metadata: deserializeMetadata(output),
@@ -989,7 +983,7 @@ export const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationComman
989
983
  }
990
984
  return contents;
991
985
  };
992
- const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommandError = async (output, context) => {
986
+ const de_ConfigureLogsForPlaybackConfigurationCommandError = async (output, context) => {
993
987
  const parsedOutput = {
994
988
  ...output,
995
989
  body: await parseErrorBody(output.body, context),
@@ -1003,9 +997,9 @@ const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommandError
1003
997
  errorCode,
1004
998
  });
1005
999
  };
1006
- export const deserializeAws_restJson1CreateChannelCommand = async (output, context) => {
1000
+ export const de_CreateChannelCommand = async (output, context) => {
1007
1001
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1008
- return deserializeAws_restJson1CreateChannelCommandError(output, context);
1002
+ return de_CreateChannelCommandError(output, context);
1009
1003
  }
1010
1004
  const contents = map({
1011
1005
  $metadata: deserializeMetadata(output),
@@ -1024,26 +1018,26 @@ export const deserializeAws_restJson1CreateChannelCommand = async (output, conte
1024
1018
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
1025
1019
  }
1026
1020
  if (data.FillerSlate != null) {
1027
- contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
1021
+ contents.FillerSlate = de_SlateSource(data.FillerSlate, context);
1028
1022
  }
1029
1023
  if (data.LastModifiedTime != null) {
1030
1024
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
1031
1025
  }
1032
1026
  if (data.Outputs != null) {
1033
- contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
1027
+ contents.Outputs = de_ResponseOutputs(data.Outputs, context);
1034
1028
  }
1035
1029
  if (data.PlaybackMode != null) {
1036
1030
  contents.PlaybackMode = __expectString(data.PlaybackMode);
1037
1031
  }
1038
1032
  if (data.tags != null) {
1039
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1033
+ contents.Tags = de___mapOf__string(data.tags, context);
1040
1034
  }
1041
1035
  if (data.Tier != null) {
1042
1036
  contents.Tier = __expectString(data.Tier);
1043
1037
  }
1044
1038
  return contents;
1045
1039
  };
1046
- const deserializeAws_restJson1CreateChannelCommandError = async (output, context) => {
1040
+ const de_CreateChannelCommandError = async (output, context) => {
1047
1041
  const parsedOutput = {
1048
1042
  ...output,
1049
1043
  body: await parseErrorBody(output.body, context),
@@ -1057,9 +1051,9 @@ const deserializeAws_restJson1CreateChannelCommandError = async (output, context
1057
1051
  errorCode,
1058
1052
  });
1059
1053
  };
1060
- export const deserializeAws_restJson1CreateLiveSourceCommand = async (output, context) => {
1054
+ export const de_CreateLiveSourceCommand = async (output, context) => {
1061
1055
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1062
- return deserializeAws_restJson1CreateLiveSourceCommandError(output, context);
1056
+ return de_CreateLiveSourceCommandError(output, context);
1063
1057
  }
1064
1058
  const contents = map({
1065
1059
  $metadata: deserializeMetadata(output),
@@ -1072,7 +1066,7 @@ export const deserializeAws_restJson1CreateLiveSourceCommand = async (output, co
1072
1066
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
1073
1067
  }
1074
1068
  if (data.HttpPackageConfigurations != null) {
1075
- contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1069
+ contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1076
1070
  }
1077
1071
  if (data.LastModifiedTime != null) {
1078
1072
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
@@ -1084,11 +1078,11 @@ export const deserializeAws_restJson1CreateLiveSourceCommand = async (output, co
1084
1078
  contents.SourceLocationName = __expectString(data.SourceLocationName);
1085
1079
  }
1086
1080
  if (data.tags != null) {
1087
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1081
+ contents.Tags = de___mapOf__string(data.tags, context);
1088
1082
  }
1089
1083
  return contents;
1090
1084
  };
1091
- const deserializeAws_restJson1CreateLiveSourceCommandError = async (output, context) => {
1085
+ const de_CreateLiveSourceCommandError = async (output, context) => {
1092
1086
  const parsedOutput = {
1093
1087
  ...output,
1094
1088
  body: await parseErrorBody(output.body, context),
@@ -1102,9 +1096,9 @@ const deserializeAws_restJson1CreateLiveSourceCommandError = async (output, cont
1102
1096
  errorCode,
1103
1097
  });
1104
1098
  };
1105
- export const deserializeAws_restJson1CreatePrefetchScheduleCommand = async (output, context) => {
1099
+ export const de_CreatePrefetchScheduleCommand = async (output, context) => {
1106
1100
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1107
- return deserializeAws_restJson1CreatePrefetchScheduleCommandError(output, context);
1101
+ return de_CreatePrefetchScheduleCommandError(output, context);
1108
1102
  }
1109
1103
  const contents = map({
1110
1104
  $metadata: deserializeMetadata(output),
@@ -1114,7 +1108,7 @@ export const deserializeAws_restJson1CreatePrefetchScheduleCommand = async (outp
1114
1108
  contents.Arn = __expectString(data.Arn);
1115
1109
  }
1116
1110
  if (data.Consumption != null) {
1117
- contents.Consumption = deserializeAws_restJson1PrefetchConsumption(data.Consumption, context);
1111
+ contents.Consumption = de_PrefetchConsumption(data.Consumption, context);
1118
1112
  }
1119
1113
  if (data.Name != null) {
1120
1114
  contents.Name = __expectString(data.Name);
@@ -1123,14 +1117,14 @@ export const deserializeAws_restJson1CreatePrefetchScheduleCommand = async (outp
1123
1117
  contents.PlaybackConfigurationName = __expectString(data.PlaybackConfigurationName);
1124
1118
  }
1125
1119
  if (data.Retrieval != null) {
1126
- contents.Retrieval = deserializeAws_restJson1PrefetchRetrieval(data.Retrieval, context);
1120
+ contents.Retrieval = de_PrefetchRetrieval(data.Retrieval, context);
1127
1121
  }
1128
1122
  if (data.StreamId != null) {
1129
1123
  contents.StreamId = __expectString(data.StreamId);
1130
1124
  }
1131
1125
  return contents;
1132
1126
  };
1133
- const deserializeAws_restJson1CreatePrefetchScheduleCommandError = async (output, context) => {
1127
+ const de_CreatePrefetchScheduleCommandError = async (output, context) => {
1134
1128
  const parsedOutput = {
1135
1129
  ...output,
1136
1130
  body: await parseErrorBody(output.body, context),
@@ -1144,16 +1138,16 @@ const deserializeAws_restJson1CreatePrefetchScheduleCommandError = async (output
1144
1138
  errorCode,
1145
1139
  });
1146
1140
  };
1147
- export const deserializeAws_restJson1CreateProgramCommand = async (output, context) => {
1141
+ export const de_CreateProgramCommand = async (output, context) => {
1148
1142
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1149
- return deserializeAws_restJson1CreateProgramCommandError(output, context);
1143
+ return de_CreateProgramCommandError(output, context);
1150
1144
  }
1151
1145
  const contents = map({
1152
1146
  $metadata: deserializeMetadata(output),
1153
1147
  });
1154
1148
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1155
1149
  if (data.AdBreaks != null) {
1156
- contents.AdBreaks = deserializeAws_restJson1__listOfAdBreak(data.AdBreaks, context);
1150
+ contents.AdBreaks = de___listOfAdBreak(data.AdBreaks, context);
1157
1151
  }
1158
1152
  if (data.Arn != null) {
1159
1153
  contents.Arn = __expectString(data.Arn);
@@ -1162,7 +1156,7 @@ export const deserializeAws_restJson1CreateProgramCommand = async (output, conte
1162
1156
  contents.ChannelName = __expectString(data.ChannelName);
1163
1157
  }
1164
1158
  if (data.ClipRange != null) {
1165
- contents.ClipRange = deserializeAws_restJson1ClipRange(data.ClipRange, context);
1159
+ contents.ClipRange = de_ClipRange(data.ClipRange, context);
1166
1160
  }
1167
1161
  if (data.CreationTime != null) {
1168
1162
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
@@ -1187,7 +1181,7 @@ export const deserializeAws_restJson1CreateProgramCommand = async (output, conte
1187
1181
  }
1188
1182
  return contents;
1189
1183
  };
1190
- const deserializeAws_restJson1CreateProgramCommandError = async (output, context) => {
1184
+ const de_CreateProgramCommandError = async (output, context) => {
1191
1185
  const parsedOutput = {
1192
1186
  ...output,
1193
1187
  body: await parseErrorBody(output.body, context),
@@ -1201,16 +1195,16 @@ const deserializeAws_restJson1CreateProgramCommandError = async (output, context
1201
1195
  errorCode,
1202
1196
  });
1203
1197
  };
1204
- export const deserializeAws_restJson1CreateSourceLocationCommand = async (output, context) => {
1198
+ export const de_CreateSourceLocationCommand = async (output, context) => {
1205
1199
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1206
- return deserializeAws_restJson1CreateSourceLocationCommandError(output, context);
1200
+ return de_CreateSourceLocationCommandError(output, context);
1207
1201
  }
1208
1202
  const contents = map({
1209
1203
  $metadata: deserializeMetadata(output),
1210
1204
  });
1211
1205
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1212
1206
  if (data.AccessConfiguration != null) {
1213
- contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
1207
+ contents.AccessConfiguration = de_AccessConfiguration(data.AccessConfiguration, context);
1214
1208
  }
1215
1209
  if (data.Arn != null) {
1216
1210
  contents.Arn = __expectString(data.Arn);
@@ -1219,26 +1213,26 @@ export const deserializeAws_restJson1CreateSourceLocationCommand = async (output
1219
1213
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
1220
1214
  }
1221
1215
  if (data.DefaultSegmentDeliveryConfiguration != null) {
1222
- contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
1216
+ contents.DefaultSegmentDeliveryConfiguration = de_DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
1223
1217
  }
1224
1218
  if (data.HttpConfiguration != null) {
1225
- contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
1219
+ contents.HttpConfiguration = de_HttpConfiguration(data.HttpConfiguration, context);
1226
1220
  }
1227
1221
  if (data.LastModifiedTime != null) {
1228
1222
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
1229
1223
  }
1230
1224
  if (data.SegmentDeliveryConfigurations != null) {
1231
- contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
1225
+ contents.SegmentDeliveryConfigurations = de___listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
1232
1226
  }
1233
1227
  if (data.SourceLocationName != null) {
1234
1228
  contents.SourceLocationName = __expectString(data.SourceLocationName);
1235
1229
  }
1236
1230
  if (data.tags != null) {
1237
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1231
+ contents.Tags = de___mapOf__string(data.tags, context);
1238
1232
  }
1239
1233
  return contents;
1240
1234
  };
1241
- const deserializeAws_restJson1CreateSourceLocationCommandError = async (output, context) => {
1235
+ const de_CreateSourceLocationCommandError = async (output, context) => {
1242
1236
  const parsedOutput = {
1243
1237
  ...output,
1244
1238
  body: await parseErrorBody(output.body, context),
@@ -1252,9 +1246,9 @@ const deserializeAws_restJson1CreateSourceLocationCommandError = async (output,
1252
1246
  errorCode,
1253
1247
  });
1254
1248
  };
1255
- export const deserializeAws_restJson1CreateVodSourceCommand = async (output, context) => {
1249
+ export const de_CreateVodSourceCommand = async (output, context) => {
1256
1250
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1257
- return deserializeAws_restJson1CreateVodSourceCommandError(output, context);
1251
+ return de_CreateVodSourceCommandError(output, context);
1258
1252
  }
1259
1253
  const contents = map({
1260
1254
  $metadata: deserializeMetadata(output),
@@ -1267,7 +1261,7 @@ export const deserializeAws_restJson1CreateVodSourceCommand = async (output, con
1267
1261
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
1268
1262
  }
1269
1263
  if (data.HttpPackageConfigurations != null) {
1270
- contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1264
+ contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1271
1265
  }
1272
1266
  if (data.LastModifiedTime != null) {
1273
1267
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
@@ -1276,14 +1270,14 @@ export const deserializeAws_restJson1CreateVodSourceCommand = async (output, con
1276
1270
  contents.SourceLocationName = __expectString(data.SourceLocationName);
1277
1271
  }
1278
1272
  if (data.tags != null) {
1279
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1273
+ contents.Tags = de___mapOf__string(data.tags, context);
1280
1274
  }
1281
1275
  if (data.VodSourceName != null) {
1282
1276
  contents.VodSourceName = __expectString(data.VodSourceName);
1283
1277
  }
1284
1278
  return contents;
1285
1279
  };
1286
- const deserializeAws_restJson1CreateVodSourceCommandError = async (output, context) => {
1280
+ const de_CreateVodSourceCommandError = async (output, context) => {
1287
1281
  const parsedOutput = {
1288
1282
  ...output,
1289
1283
  body: await parseErrorBody(output.body, context),
@@ -1297,9 +1291,9 @@ const deserializeAws_restJson1CreateVodSourceCommandError = async (output, conte
1297
1291
  errorCode,
1298
1292
  });
1299
1293
  };
1300
- export const deserializeAws_restJson1DeleteChannelCommand = async (output, context) => {
1294
+ export const de_DeleteChannelCommand = async (output, context) => {
1301
1295
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1302
- return deserializeAws_restJson1DeleteChannelCommandError(output, context);
1296
+ return de_DeleteChannelCommandError(output, context);
1303
1297
  }
1304
1298
  const contents = map({
1305
1299
  $metadata: deserializeMetadata(output),
@@ -1307,7 +1301,7 @@ export const deserializeAws_restJson1DeleteChannelCommand = async (output, conte
1307
1301
  await collectBody(output.body, context);
1308
1302
  return contents;
1309
1303
  };
1310
- const deserializeAws_restJson1DeleteChannelCommandError = async (output, context) => {
1304
+ const de_DeleteChannelCommandError = async (output, context) => {
1311
1305
  const parsedOutput = {
1312
1306
  ...output,
1313
1307
  body: await parseErrorBody(output.body, context),
@@ -1321,9 +1315,9 @@ const deserializeAws_restJson1DeleteChannelCommandError = async (output, context
1321
1315
  errorCode,
1322
1316
  });
1323
1317
  };
1324
- export const deserializeAws_restJson1DeleteChannelPolicyCommand = async (output, context) => {
1318
+ export const de_DeleteChannelPolicyCommand = async (output, context) => {
1325
1319
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1326
- return deserializeAws_restJson1DeleteChannelPolicyCommandError(output, context);
1320
+ return de_DeleteChannelPolicyCommandError(output, context);
1327
1321
  }
1328
1322
  const contents = map({
1329
1323
  $metadata: deserializeMetadata(output),
@@ -1331,7 +1325,7 @@ export const deserializeAws_restJson1DeleteChannelPolicyCommand = async (output,
1331
1325
  await collectBody(output.body, context);
1332
1326
  return contents;
1333
1327
  };
1334
- const deserializeAws_restJson1DeleteChannelPolicyCommandError = async (output, context) => {
1328
+ const de_DeleteChannelPolicyCommandError = async (output, context) => {
1335
1329
  const parsedOutput = {
1336
1330
  ...output,
1337
1331
  body: await parseErrorBody(output.body, context),
@@ -1345,9 +1339,9 @@ const deserializeAws_restJson1DeleteChannelPolicyCommandError = async (output, c
1345
1339
  errorCode,
1346
1340
  });
1347
1341
  };
1348
- export const deserializeAws_restJson1DeleteLiveSourceCommand = async (output, context) => {
1342
+ export const de_DeleteLiveSourceCommand = async (output, context) => {
1349
1343
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1350
- return deserializeAws_restJson1DeleteLiveSourceCommandError(output, context);
1344
+ return de_DeleteLiveSourceCommandError(output, context);
1351
1345
  }
1352
1346
  const contents = map({
1353
1347
  $metadata: deserializeMetadata(output),
@@ -1355,7 +1349,7 @@ export const deserializeAws_restJson1DeleteLiveSourceCommand = async (output, co
1355
1349
  await collectBody(output.body, context);
1356
1350
  return contents;
1357
1351
  };
1358
- const deserializeAws_restJson1DeleteLiveSourceCommandError = async (output, context) => {
1352
+ const de_DeleteLiveSourceCommandError = async (output, context) => {
1359
1353
  const parsedOutput = {
1360
1354
  ...output,
1361
1355
  body: await parseErrorBody(output.body, context),
@@ -1369,9 +1363,9 @@ const deserializeAws_restJson1DeleteLiveSourceCommandError = async (output, cont
1369
1363
  errorCode,
1370
1364
  });
1371
1365
  };
1372
- export const deserializeAws_restJson1DeletePlaybackConfigurationCommand = async (output, context) => {
1366
+ export const de_DeletePlaybackConfigurationCommand = async (output, context) => {
1373
1367
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1374
- return deserializeAws_restJson1DeletePlaybackConfigurationCommandError(output, context);
1368
+ return de_DeletePlaybackConfigurationCommandError(output, context);
1375
1369
  }
1376
1370
  const contents = map({
1377
1371
  $metadata: deserializeMetadata(output),
@@ -1379,7 +1373,7 @@ export const deserializeAws_restJson1DeletePlaybackConfigurationCommand = async
1379
1373
  await collectBody(output.body, context);
1380
1374
  return contents;
1381
1375
  };
1382
- const deserializeAws_restJson1DeletePlaybackConfigurationCommandError = async (output, context) => {
1376
+ const de_DeletePlaybackConfigurationCommandError = async (output, context) => {
1383
1377
  const parsedOutput = {
1384
1378
  ...output,
1385
1379
  body: await parseErrorBody(output.body, context),
@@ -1393,9 +1387,9 @@ const deserializeAws_restJson1DeletePlaybackConfigurationCommandError = async (o
1393
1387
  errorCode,
1394
1388
  });
1395
1389
  };
1396
- export const deserializeAws_restJson1DeletePrefetchScheduleCommand = async (output, context) => {
1390
+ export const de_DeletePrefetchScheduleCommand = async (output, context) => {
1397
1391
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1398
- return deserializeAws_restJson1DeletePrefetchScheduleCommandError(output, context);
1392
+ return de_DeletePrefetchScheduleCommandError(output, context);
1399
1393
  }
1400
1394
  const contents = map({
1401
1395
  $metadata: deserializeMetadata(output),
@@ -1403,7 +1397,7 @@ export const deserializeAws_restJson1DeletePrefetchScheduleCommand = async (outp
1403
1397
  await collectBody(output.body, context);
1404
1398
  return contents;
1405
1399
  };
1406
- const deserializeAws_restJson1DeletePrefetchScheduleCommandError = async (output, context) => {
1400
+ const de_DeletePrefetchScheduleCommandError = async (output, context) => {
1407
1401
  const parsedOutput = {
1408
1402
  ...output,
1409
1403
  body: await parseErrorBody(output.body, context),
@@ -1417,9 +1411,9 @@ const deserializeAws_restJson1DeletePrefetchScheduleCommandError = async (output
1417
1411
  errorCode,
1418
1412
  });
1419
1413
  };
1420
- export const deserializeAws_restJson1DeleteProgramCommand = async (output, context) => {
1414
+ export const de_DeleteProgramCommand = async (output, context) => {
1421
1415
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1422
- return deserializeAws_restJson1DeleteProgramCommandError(output, context);
1416
+ return de_DeleteProgramCommandError(output, context);
1423
1417
  }
1424
1418
  const contents = map({
1425
1419
  $metadata: deserializeMetadata(output),
@@ -1427,7 +1421,7 @@ export const deserializeAws_restJson1DeleteProgramCommand = async (output, conte
1427
1421
  await collectBody(output.body, context);
1428
1422
  return contents;
1429
1423
  };
1430
- const deserializeAws_restJson1DeleteProgramCommandError = async (output, context) => {
1424
+ const de_DeleteProgramCommandError = async (output, context) => {
1431
1425
  const parsedOutput = {
1432
1426
  ...output,
1433
1427
  body: await parseErrorBody(output.body, context),
@@ -1441,9 +1435,9 @@ const deserializeAws_restJson1DeleteProgramCommandError = async (output, context
1441
1435
  errorCode,
1442
1436
  });
1443
1437
  };
1444
- export const deserializeAws_restJson1DeleteSourceLocationCommand = async (output, context) => {
1438
+ export const de_DeleteSourceLocationCommand = async (output, context) => {
1445
1439
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1446
- return deserializeAws_restJson1DeleteSourceLocationCommandError(output, context);
1440
+ return de_DeleteSourceLocationCommandError(output, context);
1447
1441
  }
1448
1442
  const contents = map({
1449
1443
  $metadata: deserializeMetadata(output),
@@ -1451,7 +1445,7 @@ export const deserializeAws_restJson1DeleteSourceLocationCommand = async (output
1451
1445
  await collectBody(output.body, context);
1452
1446
  return contents;
1453
1447
  };
1454
- const deserializeAws_restJson1DeleteSourceLocationCommandError = async (output, context) => {
1448
+ const de_DeleteSourceLocationCommandError = async (output, context) => {
1455
1449
  const parsedOutput = {
1456
1450
  ...output,
1457
1451
  body: await parseErrorBody(output.body, context),
@@ -1465,9 +1459,9 @@ const deserializeAws_restJson1DeleteSourceLocationCommandError = async (output,
1465
1459
  errorCode,
1466
1460
  });
1467
1461
  };
1468
- export const deserializeAws_restJson1DeleteVodSourceCommand = async (output, context) => {
1462
+ export const de_DeleteVodSourceCommand = async (output, context) => {
1469
1463
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1470
- return deserializeAws_restJson1DeleteVodSourceCommandError(output, context);
1464
+ return de_DeleteVodSourceCommandError(output, context);
1471
1465
  }
1472
1466
  const contents = map({
1473
1467
  $metadata: deserializeMetadata(output),
@@ -1475,7 +1469,7 @@ export const deserializeAws_restJson1DeleteVodSourceCommand = async (output, con
1475
1469
  await collectBody(output.body, context);
1476
1470
  return contents;
1477
1471
  };
1478
- const deserializeAws_restJson1DeleteVodSourceCommandError = async (output, context) => {
1472
+ const de_DeleteVodSourceCommandError = async (output, context) => {
1479
1473
  const parsedOutput = {
1480
1474
  ...output,
1481
1475
  body: await parseErrorBody(output.body, context),
@@ -1489,9 +1483,9 @@ const deserializeAws_restJson1DeleteVodSourceCommandError = async (output, conte
1489
1483
  errorCode,
1490
1484
  });
1491
1485
  };
1492
- export const deserializeAws_restJson1DescribeChannelCommand = async (output, context) => {
1486
+ export const de_DescribeChannelCommand = async (output, context) => {
1493
1487
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1494
- return deserializeAws_restJson1DescribeChannelCommandError(output, context);
1488
+ return de_DescribeChannelCommandError(output, context);
1495
1489
  }
1496
1490
  const contents = map({
1497
1491
  $metadata: deserializeMetadata(output),
@@ -1510,29 +1504,29 @@ export const deserializeAws_restJson1DescribeChannelCommand = async (output, con
1510
1504
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
1511
1505
  }
1512
1506
  if (data.FillerSlate != null) {
1513
- contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
1507
+ contents.FillerSlate = de_SlateSource(data.FillerSlate, context);
1514
1508
  }
1515
1509
  if (data.LastModifiedTime != null) {
1516
1510
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
1517
1511
  }
1518
1512
  if (data.LogConfiguration != null) {
1519
- contents.LogConfiguration = deserializeAws_restJson1LogConfigurationForChannel(data.LogConfiguration, context);
1513
+ contents.LogConfiguration = de_LogConfigurationForChannel(data.LogConfiguration, context);
1520
1514
  }
1521
1515
  if (data.Outputs != null) {
1522
- contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
1516
+ contents.Outputs = de_ResponseOutputs(data.Outputs, context);
1523
1517
  }
1524
1518
  if (data.PlaybackMode != null) {
1525
1519
  contents.PlaybackMode = __expectString(data.PlaybackMode);
1526
1520
  }
1527
1521
  if (data.tags != null) {
1528
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1522
+ contents.Tags = de___mapOf__string(data.tags, context);
1529
1523
  }
1530
1524
  if (data.Tier != null) {
1531
1525
  contents.Tier = __expectString(data.Tier);
1532
1526
  }
1533
1527
  return contents;
1534
1528
  };
1535
- const deserializeAws_restJson1DescribeChannelCommandError = async (output, context) => {
1529
+ const de_DescribeChannelCommandError = async (output, context) => {
1536
1530
  const parsedOutput = {
1537
1531
  ...output,
1538
1532
  body: await parseErrorBody(output.body, context),
@@ -1546,9 +1540,9 @@ const deserializeAws_restJson1DescribeChannelCommandError = async (output, conte
1546
1540
  errorCode,
1547
1541
  });
1548
1542
  };
1549
- export const deserializeAws_restJson1DescribeLiveSourceCommand = async (output, context) => {
1543
+ export const de_DescribeLiveSourceCommand = async (output, context) => {
1550
1544
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1551
- return deserializeAws_restJson1DescribeLiveSourceCommandError(output, context);
1545
+ return de_DescribeLiveSourceCommandError(output, context);
1552
1546
  }
1553
1547
  const contents = map({
1554
1548
  $metadata: deserializeMetadata(output),
@@ -1561,7 +1555,7 @@ export const deserializeAws_restJson1DescribeLiveSourceCommand = async (output,
1561
1555
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
1562
1556
  }
1563
1557
  if (data.HttpPackageConfigurations != null) {
1564
- contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1558
+ contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1565
1559
  }
1566
1560
  if (data.LastModifiedTime != null) {
1567
1561
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
@@ -1573,11 +1567,11 @@ export const deserializeAws_restJson1DescribeLiveSourceCommand = async (output,
1573
1567
  contents.SourceLocationName = __expectString(data.SourceLocationName);
1574
1568
  }
1575
1569
  if (data.tags != null) {
1576
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1570
+ contents.Tags = de___mapOf__string(data.tags, context);
1577
1571
  }
1578
1572
  return contents;
1579
1573
  };
1580
- const deserializeAws_restJson1DescribeLiveSourceCommandError = async (output, context) => {
1574
+ const de_DescribeLiveSourceCommandError = async (output, context) => {
1581
1575
  const parsedOutput = {
1582
1576
  ...output,
1583
1577
  body: await parseErrorBody(output.body, context),
@@ -1591,16 +1585,16 @@ const deserializeAws_restJson1DescribeLiveSourceCommandError = async (output, co
1591
1585
  errorCode,
1592
1586
  });
1593
1587
  };
1594
- export const deserializeAws_restJson1DescribeProgramCommand = async (output, context) => {
1588
+ export const de_DescribeProgramCommand = async (output, context) => {
1595
1589
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1596
- return deserializeAws_restJson1DescribeProgramCommandError(output, context);
1590
+ return de_DescribeProgramCommandError(output, context);
1597
1591
  }
1598
1592
  const contents = map({
1599
1593
  $metadata: deserializeMetadata(output),
1600
1594
  });
1601
1595
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1602
1596
  if (data.AdBreaks != null) {
1603
- contents.AdBreaks = deserializeAws_restJson1__listOfAdBreak(data.AdBreaks, context);
1597
+ contents.AdBreaks = de___listOfAdBreak(data.AdBreaks, context);
1604
1598
  }
1605
1599
  if (data.Arn != null) {
1606
1600
  contents.Arn = __expectString(data.Arn);
@@ -1609,7 +1603,7 @@ export const deserializeAws_restJson1DescribeProgramCommand = async (output, con
1609
1603
  contents.ChannelName = __expectString(data.ChannelName);
1610
1604
  }
1611
1605
  if (data.ClipRange != null) {
1612
- contents.ClipRange = deserializeAws_restJson1ClipRange(data.ClipRange, context);
1606
+ contents.ClipRange = de_ClipRange(data.ClipRange, context);
1613
1607
  }
1614
1608
  if (data.CreationTime != null) {
1615
1609
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
@@ -1634,7 +1628,7 @@ export const deserializeAws_restJson1DescribeProgramCommand = async (output, con
1634
1628
  }
1635
1629
  return contents;
1636
1630
  };
1637
- const deserializeAws_restJson1DescribeProgramCommandError = async (output, context) => {
1631
+ const de_DescribeProgramCommandError = async (output, context) => {
1638
1632
  const parsedOutput = {
1639
1633
  ...output,
1640
1634
  body: await parseErrorBody(output.body, context),
@@ -1648,16 +1642,16 @@ const deserializeAws_restJson1DescribeProgramCommandError = async (output, conte
1648
1642
  errorCode,
1649
1643
  });
1650
1644
  };
1651
- export const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, context) => {
1645
+ export const de_DescribeSourceLocationCommand = async (output, context) => {
1652
1646
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1653
- return deserializeAws_restJson1DescribeSourceLocationCommandError(output, context);
1647
+ return de_DescribeSourceLocationCommandError(output, context);
1654
1648
  }
1655
1649
  const contents = map({
1656
1650
  $metadata: deserializeMetadata(output),
1657
1651
  });
1658
1652
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1659
1653
  if (data.AccessConfiguration != null) {
1660
- contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
1654
+ contents.AccessConfiguration = de_AccessConfiguration(data.AccessConfiguration, context);
1661
1655
  }
1662
1656
  if (data.Arn != null) {
1663
1657
  contents.Arn = __expectString(data.Arn);
@@ -1666,26 +1660,26 @@ export const deserializeAws_restJson1DescribeSourceLocationCommand = async (outp
1666
1660
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
1667
1661
  }
1668
1662
  if (data.DefaultSegmentDeliveryConfiguration != null) {
1669
- contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
1663
+ contents.DefaultSegmentDeliveryConfiguration = de_DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
1670
1664
  }
1671
1665
  if (data.HttpConfiguration != null) {
1672
- contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
1666
+ contents.HttpConfiguration = de_HttpConfiguration(data.HttpConfiguration, context);
1673
1667
  }
1674
1668
  if (data.LastModifiedTime != null) {
1675
1669
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
1676
1670
  }
1677
1671
  if (data.SegmentDeliveryConfigurations != null) {
1678
- contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
1672
+ contents.SegmentDeliveryConfigurations = de___listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
1679
1673
  }
1680
1674
  if (data.SourceLocationName != null) {
1681
1675
  contents.SourceLocationName = __expectString(data.SourceLocationName);
1682
1676
  }
1683
1677
  if (data.tags != null) {
1684
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1678
+ contents.Tags = de___mapOf__string(data.tags, context);
1685
1679
  }
1686
1680
  return contents;
1687
1681
  };
1688
- const deserializeAws_restJson1DescribeSourceLocationCommandError = async (output, context) => {
1682
+ const de_DescribeSourceLocationCommandError = async (output, context) => {
1689
1683
  const parsedOutput = {
1690
1684
  ...output,
1691
1685
  body: await parseErrorBody(output.body, context),
@@ -1699,9 +1693,9 @@ const deserializeAws_restJson1DescribeSourceLocationCommandError = async (output
1699
1693
  errorCode,
1700
1694
  });
1701
1695
  };
1702
- export const deserializeAws_restJson1DescribeVodSourceCommand = async (output, context) => {
1696
+ export const de_DescribeVodSourceCommand = async (output, context) => {
1703
1697
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1704
- return deserializeAws_restJson1DescribeVodSourceCommandError(output, context);
1698
+ return de_DescribeVodSourceCommandError(output, context);
1705
1699
  }
1706
1700
  const contents = map({
1707
1701
  $metadata: deserializeMetadata(output),
@@ -1714,7 +1708,7 @@ export const deserializeAws_restJson1DescribeVodSourceCommand = async (output, c
1714
1708
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
1715
1709
  }
1716
1710
  if (data.HttpPackageConfigurations != null) {
1717
- contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1711
+ contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1718
1712
  }
1719
1713
  if (data.LastModifiedTime != null) {
1720
1714
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
@@ -1723,14 +1717,14 @@ export const deserializeAws_restJson1DescribeVodSourceCommand = async (output, c
1723
1717
  contents.SourceLocationName = __expectString(data.SourceLocationName);
1724
1718
  }
1725
1719
  if (data.tags != null) {
1726
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1720
+ contents.Tags = de___mapOf__string(data.tags, context);
1727
1721
  }
1728
1722
  if (data.VodSourceName != null) {
1729
1723
  contents.VodSourceName = __expectString(data.VodSourceName);
1730
1724
  }
1731
1725
  return contents;
1732
1726
  };
1733
- const deserializeAws_restJson1DescribeVodSourceCommandError = async (output, context) => {
1727
+ const de_DescribeVodSourceCommandError = async (output, context) => {
1734
1728
  const parsedOutput = {
1735
1729
  ...output,
1736
1730
  body: await parseErrorBody(output.body, context),
@@ -1744,9 +1738,9 @@ const deserializeAws_restJson1DescribeVodSourceCommandError = async (output, con
1744
1738
  errorCode,
1745
1739
  });
1746
1740
  };
1747
- export const deserializeAws_restJson1GetChannelPolicyCommand = async (output, context) => {
1741
+ export const de_GetChannelPolicyCommand = async (output, context) => {
1748
1742
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1749
- return deserializeAws_restJson1GetChannelPolicyCommandError(output, context);
1743
+ return de_GetChannelPolicyCommandError(output, context);
1750
1744
  }
1751
1745
  const contents = map({
1752
1746
  $metadata: deserializeMetadata(output),
@@ -1757,7 +1751,7 @@ export const deserializeAws_restJson1GetChannelPolicyCommand = async (output, co
1757
1751
  }
1758
1752
  return contents;
1759
1753
  };
1760
- const deserializeAws_restJson1GetChannelPolicyCommandError = async (output, context) => {
1754
+ const de_GetChannelPolicyCommandError = async (output, context) => {
1761
1755
  const parsedOutput = {
1762
1756
  ...output,
1763
1757
  body: await parseErrorBody(output.body, context),
@@ -1771,23 +1765,23 @@ const deserializeAws_restJson1GetChannelPolicyCommandError = async (output, cont
1771
1765
  errorCode,
1772
1766
  });
1773
1767
  };
1774
- export const deserializeAws_restJson1GetChannelScheduleCommand = async (output, context) => {
1768
+ export const de_GetChannelScheduleCommand = async (output, context) => {
1775
1769
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1776
- return deserializeAws_restJson1GetChannelScheduleCommandError(output, context);
1770
+ return de_GetChannelScheduleCommandError(output, context);
1777
1771
  }
1778
1772
  const contents = map({
1779
1773
  $metadata: deserializeMetadata(output),
1780
1774
  });
1781
1775
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1782
1776
  if (data.Items != null) {
1783
- contents.Items = deserializeAws_restJson1__listOfScheduleEntry(data.Items, context);
1777
+ contents.Items = de___listOfScheduleEntry(data.Items, context);
1784
1778
  }
1785
1779
  if (data.NextToken != null) {
1786
1780
  contents.NextToken = __expectString(data.NextToken);
1787
1781
  }
1788
1782
  return contents;
1789
1783
  };
1790
- const deserializeAws_restJson1GetChannelScheduleCommandError = async (output, context) => {
1784
+ const de_GetChannelScheduleCommandError = async (output, context) => {
1791
1785
  const parsedOutput = {
1792
1786
  ...output,
1793
1787
  body: await parseErrorBody(output.body, context),
@@ -1801,9 +1795,9 @@ const deserializeAws_restJson1GetChannelScheduleCommandError = async (output, co
1801
1795
  errorCode,
1802
1796
  });
1803
1797
  };
1804
- export const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, context) => {
1798
+ export const de_GetPlaybackConfigurationCommand = async (output, context) => {
1805
1799
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1806
- return deserializeAws_restJson1GetPlaybackConfigurationCommandError(output, context);
1800
+ return de_GetPlaybackConfigurationCommandError(output, context);
1807
1801
  }
1808
1802
  const contents = map({
1809
1803
  $metadata: deserializeMetadata(output),
@@ -1813,31 +1807,31 @@ export const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (ou
1813
1807
  contents.AdDecisionServerUrl = __expectString(data.AdDecisionServerUrl);
1814
1808
  }
1815
1809
  if (data.AvailSuppression != null) {
1816
- contents.AvailSuppression = deserializeAws_restJson1AvailSuppression(data.AvailSuppression, context);
1810
+ contents.AvailSuppression = de_AvailSuppression(data.AvailSuppression, context);
1817
1811
  }
1818
1812
  if (data.Bumper != null) {
1819
- contents.Bumper = deserializeAws_restJson1Bumper(data.Bumper, context);
1813
+ contents.Bumper = de_Bumper(data.Bumper, context);
1820
1814
  }
1821
1815
  if (data.CdnConfiguration != null) {
1822
- contents.CdnConfiguration = deserializeAws_restJson1CdnConfiguration(data.CdnConfiguration, context);
1816
+ contents.CdnConfiguration = de_CdnConfiguration(data.CdnConfiguration, context);
1823
1817
  }
1824
1818
  if (data.ConfigurationAliases != null) {
1825
- contents.ConfigurationAliases = deserializeAws_restJson1ConfigurationAliasesResponse(data.ConfigurationAliases, context);
1819
+ contents.ConfigurationAliases = de_ConfigurationAliasesResponse(data.ConfigurationAliases, context);
1826
1820
  }
1827
1821
  if (data.DashConfiguration != null) {
1828
- contents.DashConfiguration = deserializeAws_restJson1DashConfiguration(data.DashConfiguration, context);
1822
+ contents.DashConfiguration = de_DashConfiguration(data.DashConfiguration, context);
1829
1823
  }
1830
1824
  if (data.HlsConfiguration != null) {
1831
- contents.HlsConfiguration = deserializeAws_restJson1HlsConfiguration(data.HlsConfiguration, context);
1825
+ contents.HlsConfiguration = de_HlsConfiguration(data.HlsConfiguration, context);
1832
1826
  }
1833
1827
  if (data.LivePreRollConfiguration != null) {
1834
- contents.LivePreRollConfiguration = deserializeAws_restJson1LivePreRollConfiguration(data.LivePreRollConfiguration, context);
1828
+ contents.LivePreRollConfiguration = de_LivePreRollConfiguration(data.LivePreRollConfiguration, context);
1835
1829
  }
1836
1830
  if (data.LogConfiguration != null) {
1837
- contents.LogConfiguration = deserializeAws_restJson1LogConfiguration(data.LogConfiguration, context);
1831
+ contents.LogConfiguration = de_LogConfiguration(data.LogConfiguration, context);
1838
1832
  }
1839
1833
  if (data.ManifestProcessingRules != null) {
1840
- contents.ManifestProcessingRules = deserializeAws_restJson1ManifestProcessingRules(data.ManifestProcessingRules, context);
1834
+ contents.ManifestProcessingRules = de_ManifestProcessingRules(data.ManifestProcessingRules, context);
1841
1835
  }
1842
1836
  if (data.Name != null) {
1843
1837
  contents.Name = __expectString(data.Name);
@@ -1858,7 +1852,7 @@ export const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (ou
1858
1852
  contents.SlateAdUrl = __expectString(data.SlateAdUrl);
1859
1853
  }
1860
1854
  if (data.tags != null) {
1861
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1855
+ contents.Tags = de___mapOf__string(data.tags, context);
1862
1856
  }
1863
1857
  if (data.TranscodeProfileName != null) {
1864
1858
  contents.TranscodeProfileName = __expectString(data.TranscodeProfileName);
@@ -1868,7 +1862,7 @@ export const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (ou
1868
1862
  }
1869
1863
  return contents;
1870
1864
  };
1871
- const deserializeAws_restJson1GetPlaybackConfigurationCommandError = async (output, context) => {
1865
+ const de_GetPlaybackConfigurationCommandError = async (output, context) => {
1872
1866
  const parsedOutput = {
1873
1867
  ...output,
1874
1868
  body: await parseErrorBody(output.body, context),
@@ -1882,9 +1876,9 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommandError = async (outp
1882
1876
  errorCode,
1883
1877
  });
1884
1878
  };
1885
- export const deserializeAws_restJson1GetPrefetchScheduleCommand = async (output, context) => {
1879
+ export const de_GetPrefetchScheduleCommand = async (output, context) => {
1886
1880
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1887
- return deserializeAws_restJson1GetPrefetchScheduleCommandError(output, context);
1881
+ return de_GetPrefetchScheduleCommandError(output, context);
1888
1882
  }
1889
1883
  const contents = map({
1890
1884
  $metadata: deserializeMetadata(output),
@@ -1894,7 +1888,7 @@ export const deserializeAws_restJson1GetPrefetchScheduleCommand = async (output,
1894
1888
  contents.Arn = __expectString(data.Arn);
1895
1889
  }
1896
1890
  if (data.Consumption != null) {
1897
- contents.Consumption = deserializeAws_restJson1PrefetchConsumption(data.Consumption, context);
1891
+ contents.Consumption = de_PrefetchConsumption(data.Consumption, context);
1898
1892
  }
1899
1893
  if (data.Name != null) {
1900
1894
  contents.Name = __expectString(data.Name);
@@ -1903,14 +1897,14 @@ export const deserializeAws_restJson1GetPrefetchScheduleCommand = async (output,
1903
1897
  contents.PlaybackConfigurationName = __expectString(data.PlaybackConfigurationName);
1904
1898
  }
1905
1899
  if (data.Retrieval != null) {
1906
- contents.Retrieval = deserializeAws_restJson1PrefetchRetrieval(data.Retrieval, context);
1900
+ contents.Retrieval = de_PrefetchRetrieval(data.Retrieval, context);
1907
1901
  }
1908
1902
  if (data.StreamId != null) {
1909
1903
  contents.StreamId = __expectString(data.StreamId);
1910
1904
  }
1911
1905
  return contents;
1912
1906
  };
1913
- const deserializeAws_restJson1GetPrefetchScheduleCommandError = async (output, context) => {
1907
+ const de_GetPrefetchScheduleCommandError = async (output, context) => {
1914
1908
  const parsedOutput = {
1915
1909
  ...output,
1916
1910
  body: await parseErrorBody(output.body, context),
@@ -1924,23 +1918,23 @@ const deserializeAws_restJson1GetPrefetchScheduleCommandError = async (output, c
1924
1918
  errorCode,
1925
1919
  });
1926
1920
  };
1927
- export const deserializeAws_restJson1ListAlertsCommand = async (output, context) => {
1921
+ export const de_ListAlertsCommand = async (output, context) => {
1928
1922
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1929
- return deserializeAws_restJson1ListAlertsCommandError(output, context);
1923
+ return de_ListAlertsCommandError(output, context);
1930
1924
  }
1931
1925
  const contents = map({
1932
1926
  $metadata: deserializeMetadata(output),
1933
1927
  });
1934
1928
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1935
1929
  if (data.Items != null) {
1936
- contents.Items = deserializeAws_restJson1__listOfAlert(data.Items, context);
1930
+ contents.Items = de___listOfAlert(data.Items, context);
1937
1931
  }
1938
1932
  if (data.NextToken != null) {
1939
1933
  contents.NextToken = __expectString(data.NextToken);
1940
1934
  }
1941
1935
  return contents;
1942
1936
  };
1943
- const deserializeAws_restJson1ListAlertsCommandError = async (output, context) => {
1937
+ const de_ListAlertsCommandError = async (output, context) => {
1944
1938
  const parsedOutput = {
1945
1939
  ...output,
1946
1940
  body: await parseErrorBody(output.body, context),
@@ -1954,23 +1948,23 @@ const deserializeAws_restJson1ListAlertsCommandError = async (output, context) =
1954
1948
  errorCode,
1955
1949
  });
1956
1950
  };
1957
- export const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
1951
+ export const de_ListChannelsCommand = async (output, context) => {
1958
1952
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1959
- return deserializeAws_restJson1ListChannelsCommandError(output, context);
1953
+ return de_ListChannelsCommandError(output, context);
1960
1954
  }
1961
1955
  const contents = map({
1962
1956
  $metadata: deserializeMetadata(output),
1963
1957
  });
1964
1958
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1965
1959
  if (data.Items != null) {
1966
- contents.Items = deserializeAws_restJson1__listOfChannel(data.Items, context);
1960
+ contents.Items = de___listOfChannel(data.Items, context);
1967
1961
  }
1968
1962
  if (data.NextToken != null) {
1969
1963
  contents.NextToken = __expectString(data.NextToken);
1970
1964
  }
1971
1965
  return contents;
1972
1966
  };
1973
- const deserializeAws_restJson1ListChannelsCommandError = async (output, context) => {
1967
+ const de_ListChannelsCommandError = async (output, context) => {
1974
1968
  const parsedOutput = {
1975
1969
  ...output,
1976
1970
  body: await parseErrorBody(output.body, context),
@@ -1984,23 +1978,23 @@ const deserializeAws_restJson1ListChannelsCommandError = async (output, context)
1984
1978
  errorCode,
1985
1979
  });
1986
1980
  };
1987
- export const deserializeAws_restJson1ListLiveSourcesCommand = async (output, context) => {
1981
+ export const de_ListLiveSourcesCommand = async (output, context) => {
1988
1982
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1989
- return deserializeAws_restJson1ListLiveSourcesCommandError(output, context);
1983
+ return de_ListLiveSourcesCommandError(output, context);
1990
1984
  }
1991
1985
  const contents = map({
1992
1986
  $metadata: deserializeMetadata(output),
1993
1987
  });
1994
1988
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1995
1989
  if (data.Items != null) {
1996
- contents.Items = deserializeAws_restJson1__listOfLiveSource(data.Items, context);
1990
+ contents.Items = de___listOfLiveSource(data.Items, context);
1997
1991
  }
1998
1992
  if (data.NextToken != null) {
1999
1993
  contents.NextToken = __expectString(data.NextToken);
2000
1994
  }
2001
1995
  return contents;
2002
1996
  };
2003
- const deserializeAws_restJson1ListLiveSourcesCommandError = async (output, context) => {
1997
+ const de_ListLiveSourcesCommandError = async (output, context) => {
2004
1998
  const parsedOutput = {
2005
1999
  ...output,
2006
2000
  body: await parseErrorBody(output.body, context),
@@ -2014,23 +2008,23 @@ const deserializeAws_restJson1ListLiveSourcesCommandError = async (output, conte
2014
2008
  errorCode,
2015
2009
  });
2016
2010
  };
2017
- export const deserializeAws_restJson1ListPlaybackConfigurationsCommand = async (output, context) => {
2011
+ export const de_ListPlaybackConfigurationsCommand = async (output, context) => {
2018
2012
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2019
- return deserializeAws_restJson1ListPlaybackConfigurationsCommandError(output, context);
2013
+ return de_ListPlaybackConfigurationsCommandError(output, context);
2020
2014
  }
2021
2015
  const contents = map({
2022
2016
  $metadata: deserializeMetadata(output),
2023
2017
  });
2024
2018
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2025
2019
  if (data.Items != null) {
2026
- contents.Items = deserializeAws_restJson1__listOfPlaybackConfiguration(data.Items, context);
2020
+ contents.Items = de___listOfPlaybackConfiguration(data.Items, context);
2027
2021
  }
2028
2022
  if (data.NextToken != null) {
2029
2023
  contents.NextToken = __expectString(data.NextToken);
2030
2024
  }
2031
2025
  return contents;
2032
2026
  };
2033
- const deserializeAws_restJson1ListPlaybackConfigurationsCommandError = async (output, context) => {
2027
+ const de_ListPlaybackConfigurationsCommandError = async (output, context) => {
2034
2028
  const parsedOutput = {
2035
2029
  ...output,
2036
2030
  body: await parseErrorBody(output.body, context),
@@ -2044,23 +2038,23 @@ const deserializeAws_restJson1ListPlaybackConfigurationsCommandError = async (ou
2044
2038
  errorCode,
2045
2039
  });
2046
2040
  };
2047
- export const deserializeAws_restJson1ListPrefetchSchedulesCommand = async (output, context) => {
2041
+ export const de_ListPrefetchSchedulesCommand = async (output, context) => {
2048
2042
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2049
- return deserializeAws_restJson1ListPrefetchSchedulesCommandError(output, context);
2043
+ return de_ListPrefetchSchedulesCommandError(output, context);
2050
2044
  }
2051
2045
  const contents = map({
2052
2046
  $metadata: deserializeMetadata(output),
2053
2047
  });
2054
2048
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2055
2049
  if (data.Items != null) {
2056
- contents.Items = deserializeAws_restJson1__listOfPrefetchSchedule(data.Items, context);
2050
+ contents.Items = de___listOfPrefetchSchedule(data.Items, context);
2057
2051
  }
2058
2052
  if (data.NextToken != null) {
2059
2053
  contents.NextToken = __expectString(data.NextToken);
2060
2054
  }
2061
2055
  return contents;
2062
2056
  };
2063
- const deserializeAws_restJson1ListPrefetchSchedulesCommandError = async (output, context) => {
2057
+ const de_ListPrefetchSchedulesCommandError = async (output, context) => {
2064
2058
  const parsedOutput = {
2065
2059
  ...output,
2066
2060
  body: await parseErrorBody(output.body, context),
@@ -2074,23 +2068,23 @@ const deserializeAws_restJson1ListPrefetchSchedulesCommandError = async (output,
2074
2068
  errorCode,
2075
2069
  });
2076
2070
  };
2077
- export const deserializeAws_restJson1ListSourceLocationsCommand = async (output, context) => {
2071
+ export const de_ListSourceLocationsCommand = async (output, context) => {
2078
2072
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2079
- return deserializeAws_restJson1ListSourceLocationsCommandError(output, context);
2073
+ return de_ListSourceLocationsCommandError(output, context);
2080
2074
  }
2081
2075
  const contents = map({
2082
2076
  $metadata: deserializeMetadata(output),
2083
2077
  });
2084
2078
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2085
2079
  if (data.Items != null) {
2086
- contents.Items = deserializeAws_restJson1__listOfSourceLocation(data.Items, context);
2080
+ contents.Items = de___listOfSourceLocation(data.Items, context);
2087
2081
  }
2088
2082
  if (data.NextToken != null) {
2089
2083
  contents.NextToken = __expectString(data.NextToken);
2090
2084
  }
2091
2085
  return contents;
2092
2086
  };
2093
- const deserializeAws_restJson1ListSourceLocationsCommandError = async (output, context) => {
2087
+ const de_ListSourceLocationsCommandError = async (output, context) => {
2094
2088
  const parsedOutput = {
2095
2089
  ...output,
2096
2090
  body: await parseErrorBody(output.body, context),
@@ -2104,20 +2098,20 @@ const deserializeAws_restJson1ListSourceLocationsCommandError = async (output, c
2104
2098
  errorCode,
2105
2099
  });
2106
2100
  };
2107
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
2101
+ export const de_ListTagsForResourceCommand = async (output, context) => {
2108
2102
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2109
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
2103
+ return de_ListTagsForResourceCommandError(output, context);
2110
2104
  }
2111
2105
  const contents = map({
2112
2106
  $metadata: deserializeMetadata(output),
2113
2107
  });
2114
2108
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2115
2109
  if (data.tags != null) {
2116
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2110
+ contents.Tags = de___mapOf__string(data.tags, context);
2117
2111
  }
2118
2112
  return contents;
2119
2113
  };
2120
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
2114
+ const de_ListTagsForResourceCommandError = async (output, context) => {
2121
2115
  const parsedOutput = {
2122
2116
  ...output,
2123
2117
  body: await parseErrorBody(output.body, context),
@@ -2126,7 +2120,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2126
2120
  switch (errorCode) {
2127
2121
  case "BadRequestException":
2128
2122
  case "com.amazonaws.mediatailor#BadRequestException":
2129
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2123
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2130
2124
  default:
2131
2125
  const parsedBody = parsedOutput.body;
2132
2126
  throwDefaultError({
@@ -2137,23 +2131,23 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2137
2131
  });
2138
2132
  }
2139
2133
  };
2140
- export const deserializeAws_restJson1ListVodSourcesCommand = async (output, context) => {
2134
+ export const de_ListVodSourcesCommand = async (output, context) => {
2141
2135
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2142
- return deserializeAws_restJson1ListVodSourcesCommandError(output, context);
2136
+ return de_ListVodSourcesCommandError(output, context);
2143
2137
  }
2144
2138
  const contents = map({
2145
2139
  $metadata: deserializeMetadata(output),
2146
2140
  });
2147
2141
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2148
2142
  if (data.Items != null) {
2149
- contents.Items = deserializeAws_restJson1__listOfVodSource(data.Items, context);
2143
+ contents.Items = de___listOfVodSource(data.Items, context);
2150
2144
  }
2151
2145
  if (data.NextToken != null) {
2152
2146
  contents.NextToken = __expectString(data.NextToken);
2153
2147
  }
2154
2148
  return contents;
2155
2149
  };
2156
- const deserializeAws_restJson1ListVodSourcesCommandError = async (output, context) => {
2150
+ const de_ListVodSourcesCommandError = async (output, context) => {
2157
2151
  const parsedOutput = {
2158
2152
  ...output,
2159
2153
  body: await parseErrorBody(output.body, context),
@@ -2167,9 +2161,9 @@ const deserializeAws_restJson1ListVodSourcesCommandError = async (output, contex
2167
2161
  errorCode,
2168
2162
  });
2169
2163
  };
2170
- export const deserializeAws_restJson1PutChannelPolicyCommand = async (output, context) => {
2164
+ export const de_PutChannelPolicyCommand = async (output, context) => {
2171
2165
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2172
- return deserializeAws_restJson1PutChannelPolicyCommandError(output, context);
2166
+ return de_PutChannelPolicyCommandError(output, context);
2173
2167
  }
2174
2168
  const contents = map({
2175
2169
  $metadata: deserializeMetadata(output),
@@ -2177,7 +2171,7 @@ export const deserializeAws_restJson1PutChannelPolicyCommand = async (output, co
2177
2171
  await collectBody(output.body, context);
2178
2172
  return contents;
2179
2173
  };
2180
- const deserializeAws_restJson1PutChannelPolicyCommandError = async (output, context) => {
2174
+ const de_PutChannelPolicyCommandError = async (output, context) => {
2181
2175
  const parsedOutput = {
2182
2176
  ...output,
2183
2177
  body: await parseErrorBody(output.body, context),
@@ -2191,9 +2185,9 @@ const deserializeAws_restJson1PutChannelPolicyCommandError = async (output, cont
2191
2185
  errorCode,
2192
2186
  });
2193
2187
  };
2194
- export const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, context) => {
2188
+ export const de_PutPlaybackConfigurationCommand = async (output, context) => {
2195
2189
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2196
- return deserializeAws_restJson1PutPlaybackConfigurationCommandError(output, context);
2190
+ return de_PutPlaybackConfigurationCommandError(output, context);
2197
2191
  }
2198
2192
  const contents = map({
2199
2193
  $metadata: deserializeMetadata(output),
@@ -2203,31 +2197,31 @@ export const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (ou
2203
2197
  contents.AdDecisionServerUrl = __expectString(data.AdDecisionServerUrl);
2204
2198
  }
2205
2199
  if (data.AvailSuppression != null) {
2206
- contents.AvailSuppression = deserializeAws_restJson1AvailSuppression(data.AvailSuppression, context);
2200
+ contents.AvailSuppression = de_AvailSuppression(data.AvailSuppression, context);
2207
2201
  }
2208
2202
  if (data.Bumper != null) {
2209
- contents.Bumper = deserializeAws_restJson1Bumper(data.Bumper, context);
2203
+ contents.Bumper = de_Bumper(data.Bumper, context);
2210
2204
  }
2211
2205
  if (data.CdnConfiguration != null) {
2212
- contents.CdnConfiguration = deserializeAws_restJson1CdnConfiguration(data.CdnConfiguration, context);
2206
+ contents.CdnConfiguration = de_CdnConfiguration(data.CdnConfiguration, context);
2213
2207
  }
2214
2208
  if (data.ConfigurationAliases != null) {
2215
- contents.ConfigurationAliases = deserializeAws_restJson1ConfigurationAliasesResponse(data.ConfigurationAliases, context);
2209
+ contents.ConfigurationAliases = de_ConfigurationAliasesResponse(data.ConfigurationAliases, context);
2216
2210
  }
2217
2211
  if (data.DashConfiguration != null) {
2218
- contents.DashConfiguration = deserializeAws_restJson1DashConfiguration(data.DashConfiguration, context);
2212
+ contents.DashConfiguration = de_DashConfiguration(data.DashConfiguration, context);
2219
2213
  }
2220
2214
  if (data.HlsConfiguration != null) {
2221
- contents.HlsConfiguration = deserializeAws_restJson1HlsConfiguration(data.HlsConfiguration, context);
2215
+ contents.HlsConfiguration = de_HlsConfiguration(data.HlsConfiguration, context);
2222
2216
  }
2223
2217
  if (data.LivePreRollConfiguration != null) {
2224
- contents.LivePreRollConfiguration = deserializeAws_restJson1LivePreRollConfiguration(data.LivePreRollConfiguration, context);
2218
+ contents.LivePreRollConfiguration = de_LivePreRollConfiguration(data.LivePreRollConfiguration, context);
2225
2219
  }
2226
2220
  if (data.LogConfiguration != null) {
2227
- contents.LogConfiguration = deserializeAws_restJson1LogConfiguration(data.LogConfiguration, context);
2221
+ contents.LogConfiguration = de_LogConfiguration(data.LogConfiguration, context);
2228
2222
  }
2229
2223
  if (data.ManifestProcessingRules != null) {
2230
- contents.ManifestProcessingRules = deserializeAws_restJson1ManifestProcessingRules(data.ManifestProcessingRules, context);
2224
+ contents.ManifestProcessingRules = de_ManifestProcessingRules(data.ManifestProcessingRules, context);
2231
2225
  }
2232
2226
  if (data.Name != null) {
2233
2227
  contents.Name = __expectString(data.Name);
@@ -2248,7 +2242,7 @@ export const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (ou
2248
2242
  contents.SlateAdUrl = __expectString(data.SlateAdUrl);
2249
2243
  }
2250
2244
  if (data.tags != null) {
2251
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2245
+ contents.Tags = de___mapOf__string(data.tags, context);
2252
2246
  }
2253
2247
  if (data.TranscodeProfileName != null) {
2254
2248
  contents.TranscodeProfileName = __expectString(data.TranscodeProfileName);
@@ -2258,7 +2252,7 @@ export const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (ou
2258
2252
  }
2259
2253
  return contents;
2260
2254
  };
2261
- const deserializeAws_restJson1PutPlaybackConfigurationCommandError = async (output, context) => {
2255
+ const de_PutPlaybackConfigurationCommandError = async (output, context) => {
2262
2256
  const parsedOutput = {
2263
2257
  ...output,
2264
2258
  body: await parseErrorBody(output.body, context),
@@ -2272,9 +2266,9 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommandError = async (outp
2272
2266
  errorCode,
2273
2267
  });
2274
2268
  };
2275
- export const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
2269
+ export const de_StartChannelCommand = async (output, context) => {
2276
2270
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2277
- return deserializeAws_restJson1StartChannelCommandError(output, context);
2271
+ return de_StartChannelCommandError(output, context);
2278
2272
  }
2279
2273
  const contents = map({
2280
2274
  $metadata: deserializeMetadata(output),
@@ -2282,7 +2276,7 @@ export const deserializeAws_restJson1StartChannelCommand = async (output, contex
2282
2276
  await collectBody(output.body, context);
2283
2277
  return contents;
2284
2278
  };
2285
- const deserializeAws_restJson1StartChannelCommandError = async (output, context) => {
2279
+ const de_StartChannelCommandError = async (output, context) => {
2286
2280
  const parsedOutput = {
2287
2281
  ...output,
2288
2282
  body: await parseErrorBody(output.body, context),
@@ -2296,9 +2290,9 @@ const deserializeAws_restJson1StartChannelCommandError = async (output, context)
2296
2290
  errorCode,
2297
2291
  });
2298
2292
  };
2299
- export const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
2293
+ export const de_StopChannelCommand = async (output, context) => {
2300
2294
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2301
- return deserializeAws_restJson1StopChannelCommandError(output, context);
2295
+ return de_StopChannelCommandError(output, context);
2302
2296
  }
2303
2297
  const contents = map({
2304
2298
  $metadata: deserializeMetadata(output),
@@ -2306,7 +2300,7 @@ export const deserializeAws_restJson1StopChannelCommand = async (output, context
2306
2300
  await collectBody(output.body, context);
2307
2301
  return contents;
2308
2302
  };
2309
- const deserializeAws_restJson1StopChannelCommandError = async (output, context) => {
2303
+ const de_StopChannelCommandError = async (output, context) => {
2310
2304
  const parsedOutput = {
2311
2305
  ...output,
2312
2306
  body: await parseErrorBody(output.body, context),
@@ -2320,9 +2314,9 @@ const deserializeAws_restJson1StopChannelCommandError = async (output, context)
2320
2314
  errorCode,
2321
2315
  });
2322
2316
  };
2323
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2317
+ export const de_TagResourceCommand = async (output, context) => {
2324
2318
  if (output.statusCode !== 204 && output.statusCode >= 300) {
2325
- return deserializeAws_restJson1TagResourceCommandError(output, context);
2319
+ return de_TagResourceCommandError(output, context);
2326
2320
  }
2327
2321
  const contents = map({
2328
2322
  $metadata: deserializeMetadata(output),
@@ -2330,7 +2324,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
2330
2324
  await collectBody(output.body, context);
2331
2325
  return contents;
2332
2326
  };
2333
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
2327
+ const de_TagResourceCommandError = async (output, context) => {
2334
2328
  const parsedOutput = {
2335
2329
  ...output,
2336
2330
  body: await parseErrorBody(output.body, context),
@@ -2339,7 +2333,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2339
2333
  switch (errorCode) {
2340
2334
  case "BadRequestException":
2341
2335
  case "com.amazonaws.mediatailor#BadRequestException":
2342
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2336
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2343
2337
  default:
2344
2338
  const parsedBody = parsedOutput.body;
2345
2339
  throwDefaultError({
@@ -2350,9 +2344,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2350
2344
  });
2351
2345
  }
2352
2346
  };
2353
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
2347
+ export const de_UntagResourceCommand = async (output, context) => {
2354
2348
  if (output.statusCode !== 204 && output.statusCode >= 300) {
2355
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
2349
+ return de_UntagResourceCommandError(output, context);
2356
2350
  }
2357
2351
  const contents = map({
2358
2352
  $metadata: deserializeMetadata(output),
@@ -2360,7 +2354,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
2360
2354
  await collectBody(output.body, context);
2361
2355
  return contents;
2362
2356
  };
2363
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
2357
+ const de_UntagResourceCommandError = async (output, context) => {
2364
2358
  const parsedOutput = {
2365
2359
  ...output,
2366
2360
  body: await parseErrorBody(output.body, context),
@@ -2369,7 +2363,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2369
2363
  switch (errorCode) {
2370
2364
  case "BadRequestException":
2371
2365
  case "com.amazonaws.mediatailor#BadRequestException":
2372
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2366
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2373
2367
  default:
2374
2368
  const parsedBody = parsedOutput.body;
2375
2369
  throwDefaultError({
@@ -2380,9 +2374,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2380
2374
  });
2381
2375
  }
2382
2376
  };
2383
- export const deserializeAws_restJson1UpdateChannelCommand = async (output, context) => {
2377
+ export const de_UpdateChannelCommand = async (output, context) => {
2384
2378
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2385
- return deserializeAws_restJson1UpdateChannelCommandError(output, context);
2379
+ return de_UpdateChannelCommandError(output, context);
2386
2380
  }
2387
2381
  const contents = map({
2388
2382
  $metadata: deserializeMetadata(output),
@@ -2401,26 +2395,26 @@ export const deserializeAws_restJson1UpdateChannelCommand = async (output, conte
2401
2395
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
2402
2396
  }
2403
2397
  if (data.FillerSlate != null) {
2404
- contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
2398
+ contents.FillerSlate = de_SlateSource(data.FillerSlate, context);
2405
2399
  }
2406
2400
  if (data.LastModifiedTime != null) {
2407
2401
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
2408
2402
  }
2409
2403
  if (data.Outputs != null) {
2410
- contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
2404
+ contents.Outputs = de_ResponseOutputs(data.Outputs, context);
2411
2405
  }
2412
2406
  if (data.PlaybackMode != null) {
2413
2407
  contents.PlaybackMode = __expectString(data.PlaybackMode);
2414
2408
  }
2415
2409
  if (data.tags != null) {
2416
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2410
+ contents.Tags = de___mapOf__string(data.tags, context);
2417
2411
  }
2418
2412
  if (data.Tier != null) {
2419
2413
  contents.Tier = __expectString(data.Tier);
2420
2414
  }
2421
2415
  return contents;
2422
2416
  };
2423
- const deserializeAws_restJson1UpdateChannelCommandError = async (output, context) => {
2417
+ const de_UpdateChannelCommandError = async (output, context) => {
2424
2418
  const parsedOutput = {
2425
2419
  ...output,
2426
2420
  body: await parseErrorBody(output.body, context),
@@ -2434,9 +2428,9 @@ const deserializeAws_restJson1UpdateChannelCommandError = async (output, context
2434
2428
  errorCode,
2435
2429
  });
2436
2430
  };
2437
- export const deserializeAws_restJson1UpdateLiveSourceCommand = async (output, context) => {
2431
+ export const de_UpdateLiveSourceCommand = async (output, context) => {
2438
2432
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2439
- return deserializeAws_restJson1UpdateLiveSourceCommandError(output, context);
2433
+ return de_UpdateLiveSourceCommandError(output, context);
2440
2434
  }
2441
2435
  const contents = map({
2442
2436
  $metadata: deserializeMetadata(output),
@@ -2449,7 +2443,7 @@ export const deserializeAws_restJson1UpdateLiveSourceCommand = async (output, co
2449
2443
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
2450
2444
  }
2451
2445
  if (data.HttpPackageConfigurations != null) {
2452
- contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
2446
+ contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
2453
2447
  }
2454
2448
  if (data.LastModifiedTime != null) {
2455
2449
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
@@ -2461,11 +2455,11 @@ export const deserializeAws_restJson1UpdateLiveSourceCommand = async (output, co
2461
2455
  contents.SourceLocationName = __expectString(data.SourceLocationName);
2462
2456
  }
2463
2457
  if (data.tags != null) {
2464
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2458
+ contents.Tags = de___mapOf__string(data.tags, context);
2465
2459
  }
2466
2460
  return contents;
2467
2461
  };
2468
- const deserializeAws_restJson1UpdateLiveSourceCommandError = async (output, context) => {
2462
+ const de_UpdateLiveSourceCommandError = async (output, context) => {
2469
2463
  const parsedOutput = {
2470
2464
  ...output,
2471
2465
  body: await parseErrorBody(output.body, context),
@@ -2479,16 +2473,16 @@ const deserializeAws_restJson1UpdateLiveSourceCommandError = async (output, cont
2479
2473
  errorCode,
2480
2474
  });
2481
2475
  };
2482
- export const deserializeAws_restJson1UpdateProgramCommand = async (output, context) => {
2476
+ export const de_UpdateProgramCommand = async (output, context) => {
2483
2477
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2484
- return deserializeAws_restJson1UpdateProgramCommandError(output, context);
2478
+ return de_UpdateProgramCommandError(output, context);
2485
2479
  }
2486
2480
  const contents = map({
2487
2481
  $metadata: deserializeMetadata(output),
2488
2482
  });
2489
2483
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2490
2484
  if (data.AdBreaks != null) {
2491
- contents.AdBreaks = deserializeAws_restJson1__listOfAdBreak(data.AdBreaks, context);
2485
+ contents.AdBreaks = de___listOfAdBreak(data.AdBreaks, context);
2492
2486
  }
2493
2487
  if (data.Arn != null) {
2494
2488
  contents.Arn = __expectString(data.Arn);
@@ -2497,7 +2491,7 @@ export const deserializeAws_restJson1UpdateProgramCommand = async (output, conte
2497
2491
  contents.ChannelName = __expectString(data.ChannelName);
2498
2492
  }
2499
2493
  if (data.ClipRange != null) {
2500
- contents.ClipRange = deserializeAws_restJson1ClipRange(data.ClipRange, context);
2494
+ contents.ClipRange = de_ClipRange(data.ClipRange, context);
2501
2495
  }
2502
2496
  if (data.CreationTime != null) {
2503
2497
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
@@ -2522,7 +2516,7 @@ export const deserializeAws_restJson1UpdateProgramCommand = async (output, conte
2522
2516
  }
2523
2517
  return contents;
2524
2518
  };
2525
- const deserializeAws_restJson1UpdateProgramCommandError = async (output, context) => {
2519
+ const de_UpdateProgramCommandError = async (output, context) => {
2526
2520
  const parsedOutput = {
2527
2521
  ...output,
2528
2522
  body: await parseErrorBody(output.body, context),
@@ -2536,16 +2530,16 @@ const deserializeAws_restJson1UpdateProgramCommandError = async (output, context
2536
2530
  errorCode,
2537
2531
  });
2538
2532
  };
2539
- export const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, context) => {
2533
+ export const de_UpdateSourceLocationCommand = async (output, context) => {
2540
2534
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2541
- return deserializeAws_restJson1UpdateSourceLocationCommandError(output, context);
2535
+ return de_UpdateSourceLocationCommandError(output, context);
2542
2536
  }
2543
2537
  const contents = map({
2544
2538
  $metadata: deserializeMetadata(output),
2545
2539
  });
2546
2540
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2547
2541
  if (data.AccessConfiguration != null) {
2548
- contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
2542
+ contents.AccessConfiguration = de_AccessConfiguration(data.AccessConfiguration, context);
2549
2543
  }
2550
2544
  if (data.Arn != null) {
2551
2545
  contents.Arn = __expectString(data.Arn);
@@ -2554,26 +2548,26 @@ export const deserializeAws_restJson1UpdateSourceLocationCommand = async (output
2554
2548
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
2555
2549
  }
2556
2550
  if (data.DefaultSegmentDeliveryConfiguration != null) {
2557
- contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
2551
+ contents.DefaultSegmentDeliveryConfiguration = de_DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
2558
2552
  }
2559
2553
  if (data.HttpConfiguration != null) {
2560
- contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
2554
+ contents.HttpConfiguration = de_HttpConfiguration(data.HttpConfiguration, context);
2561
2555
  }
2562
2556
  if (data.LastModifiedTime != null) {
2563
2557
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
2564
2558
  }
2565
2559
  if (data.SegmentDeliveryConfigurations != null) {
2566
- contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
2560
+ contents.SegmentDeliveryConfigurations = de___listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
2567
2561
  }
2568
2562
  if (data.SourceLocationName != null) {
2569
2563
  contents.SourceLocationName = __expectString(data.SourceLocationName);
2570
2564
  }
2571
2565
  if (data.tags != null) {
2572
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2566
+ contents.Tags = de___mapOf__string(data.tags, context);
2573
2567
  }
2574
2568
  return contents;
2575
2569
  };
2576
- const deserializeAws_restJson1UpdateSourceLocationCommandError = async (output, context) => {
2570
+ const de_UpdateSourceLocationCommandError = async (output, context) => {
2577
2571
  const parsedOutput = {
2578
2572
  ...output,
2579
2573
  body: await parseErrorBody(output.body, context),
@@ -2587,9 +2581,9 @@ const deserializeAws_restJson1UpdateSourceLocationCommandError = async (output,
2587
2581
  errorCode,
2588
2582
  });
2589
2583
  };
2590
- export const deserializeAws_restJson1UpdateVodSourceCommand = async (output, context) => {
2584
+ export const de_UpdateVodSourceCommand = async (output, context) => {
2591
2585
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2592
- return deserializeAws_restJson1UpdateVodSourceCommandError(output, context);
2586
+ return de_UpdateVodSourceCommandError(output, context);
2593
2587
  }
2594
2588
  const contents = map({
2595
2589
  $metadata: deserializeMetadata(output),
@@ -2602,7 +2596,7 @@ export const deserializeAws_restJson1UpdateVodSourceCommand = async (output, con
2602
2596
  contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
2603
2597
  }
2604
2598
  if (data.HttpPackageConfigurations != null) {
2605
- contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
2599
+ contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
2606
2600
  }
2607
2601
  if (data.LastModifiedTime != null) {
2608
2602
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
@@ -2611,14 +2605,14 @@ export const deserializeAws_restJson1UpdateVodSourceCommand = async (output, con
2611
2605
  contents.SourceLocationName = __expectString(data.SourceLocationName);
2612
2606
  }
2613
2607
  if (data.tags != null) {
2614
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2608
+ contents.Tags = de___mapOf__string(data.tags, context);
2615
2609
  }
2616
2610
  if (data.VodSourceName != null) {
2617
2611
  contents.VodSourceName = __expectString(data.VodSourceName);
2618
2612
  }
2619
2613
  return contents;
2620
2614
  };
2621
- const deserializeAws_restJson1UpdateVodSourceCommandError = async (output, context) => {
2615
+ const de_UpdateVodSourceCommandError = async (output, context) => {
2622
2616
  const parsedOutput = {
2623
2617
  ...output,
2624
2618
  body: await parseErrorBody(output.body, context),
@@ -2633,7 +2627,7 @@ const deserializeAws_restJson1UpdateVodSourceCommandError = async (output, conte
2633
2627
  });
2634
2628
  };
2635
2629
  const map = __map;
2636
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
2630
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
2637
2631
  const contents = map({});
2638
2632
  const data = parsedOutput.body;
2639
2633
  if (data.Message != null) {
@@ -2645,28 +2639,28 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
2645
2639
  });
2646
2640
  return __decorateServiceException(exception, parsedOutput.body);
2647
2641
  };
2648
- const serializeAws_restJson1__listOfAdBreak = (input, context) => {
2642
+ const se___listOfAdBreak = (input, context) => {
2649
2643
  return input
2650
2644
  .filter((e) => e != null)
2651
2645
  .map((entry) => {
2652
- return serializeAws_restJson1AdBreak(entry, context);
2646
+ return se_AdBreak(entry, context);
2653
2647
  });
2654
2648
  };
2655
- const serializeAws_restJson1__listOfAvailMatchingCriteria = (input, context) => {
2649
+ const se___listOfAvailMatchingCriteria = (input, context) => {
2656
2650
  return input
2657
2651
  .filter((e) => e != null)
2658
2652
  .map((entry) => {
2659
- return serializeAws_restJson1AvailMatchingCriteria(entry, context);
2653
+ return se_AvailMatchingCriteria(entry, context);
2660
2654
  });
2661
2655
  };
2662
- const serializeAws_restJson1__listOfSegmentDeliveryConfiguration = (input, context) => {
2656
+ const se___listOfSegmentDeliveryConfiguration = (input, context) => {
2663
2657
  return input
2664
2658
  .filter((e) => e != null)
2665
2659
  .map((entry) => {
2666
- return serializeAws_restJson1SegmentDeliveryConfiguration(entry, context);
2660
+ return se_SegmentDeliveryConfiguration(entry, context);
2667
2661
  });
2668
2662
  };
2669
- const serializeAws_restJson1__mapOf__string = (input, context) => {
2663
+ const se___mapOf__string = (input, context) => {
2670
2664
  return Object.entries(input).reduce((acc, [key, value]) => {
2671
2665
  if (value === null) {
2672
2666
  return acc;
@@ -2675,77 +2669,77 @@ const serializeAws_restJson1__mapOf__string = (input, context) => {
2675
2669
  return acc;
2676
2670
  }, {});
2677
2671
  };
2678
- const serializeAws_restJson1AccessConfiguration = (input, context) => {
2672
+ const se_AccessConfiguration = (input, context) => {
2679
2673
  return {
2680
2674
  ...(input.AccessType != null && { AccessType: input.AccessType }),
2681
2675
  ...(input.SecretsManagerAccessTokenConfiguration != null && {
2682
- SecretsManagerAccessTokenConfiguration: serializeAws_restJson1SecretsManagerAccessTokenConfiguration(input.SecretsManagerAccessTokenConfiguration, context),
2676
+ SecretsManagerAccessTokenConfiguration: se_SecretsManagerAccessTokenConfiguration(input.SecretsManagerAccessTokenConfiguration, context),
2683
2677
  }),
2684
2678
  };
2685
2679
  };
2686
- const serializeAws_restJson1AdBreak = (input, context) => {
2680
+ const se_AdBreak = (input, context) => {
2687
2681
  return {
2688
2682
  ...(input.MessageType != null && { MessageType: input.MessageType }),
2689
2683
  ...(input.OffsetMillis != null && { OffsetMillis: input.OffsetMillis }),
2690
- ...(input.Slate != null && { Slate: serializeAws_restJson1SlateSource(input.Slate, context) }),
2684
+ ...(input.Slate != null && { Slate: se_SlateSource(input.Slate, context) }),
2691
2685
  ...(input.SpliceInsertMessage != null && {
2692
- SpliceInsertMessage: serializeAws_restJson1SpliceInsertMessage(input.SpliceInsertMessage, context),
2686
+ SpliceInsertMessage: se_SpliceInsertMessage(input.SpliceInsertMessage, context),
2693
2687
  }),
2694
2688
  ...(input.TimeSignalMessage != null && {
2695
- TimeSignalMessage: serializeAws_restJson1TimeSignalMessage(input.TimeSignalMessage, context),
2689
+ TimeSignalMessage: se_TimeSignalMessage(input.TimeSignalMessage, context),
2696
2690
  }),
2697
2691
  };
2698
2692
  };
2699
- const serializeAws_restJson1AdMarkerPassthrough = (input, context) => {
2693
+ const se_AdMarkerPassthrough = (input, context) => {
2700
2694
  return {
2701
2695
  ...(input.Enabled != null && { Enabled: input.Enabled }),
2702
2696
  };
2703
2697
  };
2704
- const serializeAws_restJson1AvailMatchingCriteria = (input, context) => {
2698
+ const se_AvailMatchingCriteria = (input, context) => {
2705
2699
  return {
2706
2700
  ...(input.DynamicVariable != null && { DynamicVariable: input.DynamicVariable }),
2707
2701
  ...(input.Operator != null && { Operator: input.Operator }),
2708
2702
  };
2709
2703
  };
2710
- const serializeAws_restJson1AvailSuppression = (input, context) => {
2704
+ const se_AvailSuppression = (input, context) => {
2711
2705
  return {
2712
2706
  ...(input.Mode != null && { Mode: input.Mode }),
2713
2707
  ...(input.Value != null && { Value: input.Value }),
2714
2708
  };
2715
2709
  };
2716
- const serializeAws_restJson1Bumper = (input, context) => {
2710
+ const se_Bumper = (input, context) => {
2717
2711
  return {
2718
2712
  ...(input.EndUrl != null && { EndUrl: input.EndUrl }),
2719
2713
  ...(input.StartUrl != null && { StartUrl: input.StartUrl }),
2720
2714
  };
2721
2715
  };
2722
- const serializeAws_restJson1CdnConfiguration = (input, context) => {
2716
+ const se_CdnConfiguration = (input, context) => {
2723
2717
  return {
2724
2718
  ...(input.AdSegmentUrlPrefix != null && { AdSegmentUrlPrefix: input.AdSegmentUrlPrefix }),
2725
2719
  ...(input.ContentSegmentUrlPrefix != null && { ContentSegmentUrlPrefix: input.ContentSegmentUrlPrefix }),
2726
2720
  };
2727
2721
  };
2728
- const serializeAws_restJson1ClipRange = (input, context) => {
2722
+ const se_ClipRange = (input, context) => {
2729
2723
  return {
2730
2724
  ...(input.EndOffsetMillis != null && { EndOffsetMillis: input.EndOffsetMillis }),
2731
2725
  };
2732
2726
  };
2733
- const serializeAws_restJson1ConfigurationAliasesRequest = (input, context) => {
2727
+ const se_ConfigurationAliasesRequest = (input, context) => {
2734
2728
  return Object.entries(input).reduce((acc, [key, value]) => {
2735
2729
  if (value === null) {
2736
2730
  return acc;
2737
2731
  }
2738
- acc[key] = serializeAws_restJson1__mapOf__string(value, context);
2732
+ acc[key] = se___mapOf__string(value, context);
2739
2733
  return acc;
2740
2734
  }, {});
2741
2735
  };
2742
- const serializeAws_restJson1DashConfigurationForPut = (input, context) => {
2736
+ const se_DashConfigurationForPut = (input, context) => {
2743
2737
  return {
2744
2738
  ...(input.MpdLocation != null && { MpdLocation: input.MpdLocation }),
2745
2739
  ...(input.OriginManifestType != null && { OriginManifestType: input.OriginManifestType }),
2746
2740
  };
2747
2741
  };
2748
- const serializeAws_restJson1DashPlaylistSettings = (input, context) => {
2742
+ const se_DashPlaylistSettings = (input, context) => {
2749
2743
  return {
2750
2744
  ...(input.ManifestWindowSeconds != null && { ManifestWindowSeconds: input.ManifestWindowSeconds }),
2751
2745
  ...(input.MinBufferTimeSeconds != null && { MinBufferTimeSeconds: input.MinBufferTimeSeconds }),
@@ -2755,106 +2749,104 @@ const serializeAws_restJson1DashPlaylistSettings = (input, context) => {
2755
2749
  }),
2756
2750
  };
2757
2751
  };
2758
- const serializeAws_restJson1DefaultSegmentDeliveryConfiguration = (input, context) => {
2752
+ const se_DefaultSegmentDeliveryConfiguration = (input, context) => {
2759
2753
  return {
2760
2754
  ...(input.BaseUrl != null && { BaseUrl: input.BaseUrl }),
2761
2755
  };
2762
2756
  };
2763
- const serializeAws_restJson1HlsPlaylistSettings = (input, context) => {
2757
+ const se_HlsPlaylistSettings = (input, context) => {
2764
2758
  return {
2765
2759
  ...(input.ManifestWindowSeconds != null && { ManifestWindowSeconds: input.ManifestWindowSeconds }),
2766
2760
  };
2767
2761
  };
2768
- const serializeAws_restJson1HttpConfiguration = (input, context) => {
2762
+ const se_HttpConfiguration = (input, context) => {
2769
2763
  return {
2770
2764
  ...(input.BaseUrl != null && { BaseUrl: input.BaseUrl }),
2771
2765
  };
2772
2766
  };
2773
- const serializeAws_restJson1HttpPackageConfiguration = (input, context) => {
2767
+ const se_HttpPackageConfiguration = (input, context) => {
2774
2768
  return {
2775
2769
  ...(input.Path != null && { Path: input.Path }),
2776
2770
  ...(input.SourceGroup != null && { SourceGroup: input.SourceGroup }),
2777
2771
  ...(input.Type != null && { Type: input.Type }),
2778
2772
  };
2779
2773
  };
2780
- const serializeAws_restJson1HttpPackageConfigurations = (input, context) => {
2774
+ const se_HttpPackageConfigurations = (input, context) => {
2781
2775
  return input
2782
2776
  .filter((e) => e != null)
2783
2777
  .map((entry) => {
2784
- return serializeAws_restJson1HttpPackageConfiguration(entry, context);
2778
+ return se_HttpPackageConfiguration(entry, context);
2785
2779
  });
2786
2780
  };
2787
- const serializeAws_restJson1LivePreRollConfiguration = (input, context) => {
2781
+ const se_LivePreRollConfiguration = (input, context) => {
2788
2782
  return {
2789
2783
  ...(input.AdDecisionServerUrl != null && { AdDecisionServerUrl: input.AdDecisionServerUrl }),
2790
2784
  ...(input.MaxDurationSeconds != null && { MaxDurationSeconds: input.MaxDurationSeconds }),
2791
2785
  };
2792
2786
  };
2793
- const serializeAws_restJson1LogTypes = (input, context) => {
2787
+ const se_LogTypes = (input, context) => {
2794
2788
  return input
2795
2789
  .filter((e) => e != null)
2796
2790
  .map((entry) => {
2797
2791
  return entry;
2798
2792
  });
2799
2793
  };
2800
- const serializeAws_restJson1ManifestProcessingRules = (input, context) => {
2794
+ const se_ManifestProcessingRules = (input, context) => {
2801
2795
  return {
2802
2796
  ...(input.AdMarkerPassthrough != null && {
2803
- AdMarkerPassthrough: serializeAws_restJson1AdMarkerPassthrough(input.AdMarkerPassthrough, context),
2797
+ AdMarkerPassthrough: se_AdMarkerPassthrough(input.AdMarkerPassthrough, context),
2804
2798
  }),
2805
2799
  };
2806
2800
  };
2807
- const serializeAws_restJson1PrefetchConsumption = (input, context) => {
2801
+ const se_PrefetchConsumption = (input, context) => {
2808
2802
  return {
2809
2803
  ...(input.AvailMatchingCriteria != null && {
2810
- AvailMatchingCriteria: serializeAws_restJson1__listOfAvailMatchingCriteria(input.AvailMatchingCriteria, context),
2804
+ AvailMatchingCriteria: se___listOfAvailMatchingCriteria(input.AvailMatchingCriteria, context),
2811
2805
  }),
2812
2806
  ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2813
2807
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2814
2808
  };
2815
2809
  };
2816
- const serializeAws_restJson1PrefetchRetrieval = (input, context) => {
2810
+ const se_PrefetchRetrieval = (input, context) => {
2817
2811
  return {
2818
- ...(input.DynamicVariables != null && {
2819
- DynamicVariables: serializeAws_restJson1__mapOf__string(input.DynamicVariables, context),
2820
- }),
2812
+ ...(input.DynamicVariables != null && { DynamicVariables: se___mapOf__string(input.DynamicVariables, context) }),
2821
2813
  ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2822
2814
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2823
2815
  };
2824
2816
  };
2825
- const serializeAws_restJson1RequestOutputItem = (input, context) => {
2817
+ const se_RequestOutputItem = (input, context) => {
2826
2818
  return {
2827
2819
  ...(input.DashPlaylistSettings != null && {
2828
- DashPlaylistSettings: serializeAws_restJson1DashPlaylistSettings(input.DashPlaylistSettings, context),
2820
+ DashPlaylistSettings: se_DashPlaylistSettings(input.DashPlaylistSettings, context),
2829
2821
  }),
2830
2822
  ...(input.HlsPlaylistSettings != null && {
2831
- HlsPlaylistSettings: serializeAws_restJson1HlsPlaylistSettings(input.HlsPlaylistSettings, context),
2823
+ HlsPlaylistSettings: se_HlsPlaylistSettings(input.HlsPlaylistSettings, context),
2832
2824
  }),
2833
2825
  ...(input.ManifestName != null && { ManifestName: input.ManifestName }),
2834
2826
  ...(input.SourceGroup != null && { SourceGroup: input.SourceGroup }),
2835
2827
  };
2836
2828
  };
2837
- const serializeAws_restJson1RequestOutputs = (input, context) => {
2829
+ const se_RequestOutputs = (input, context) => {
2838
2830
  return input
2839
2831
  .filter((e) => e != null)
2840
2832
  .map((entry) => {
2841
- return serializeAws_restJson1RequestOutputItem(entry, context);
2833
+ return se_RequestOutputItem(entry, context);
2842
2834
  });
2843
2835
  };
2844
- const serializeAws_restJson1ScheduleConfiguration = (input, context) => {
2836
+ const se_ScheduleConfiguration = (input, context) => {
2845
2837
  return {
2846
- ...(input.ClipRange != null && { ClipRange: serializeAws_restJson1ClipRange(input.ClipRange, context) }),
2847
- ...(input.Transition != null && { Transition: serializeAws_restJson1Transition(input.Transition, context) }),
2838
+ ...(input.ClipRange != null && { ClipRange: se_ClipRange(input.ClipRange, context) }),
2839
+ ...(input.Transition != null && { Transition: se_Transition(input.Transition, context) }),
2848
2840
  };
2849
2841
  };
2850
- const serializeAws_restJson1SecretsManagerAccessTokenConfiguration = (input, context) => {
2842
+ const se_SecretsManagerAccessTokenConfiguration = (input, context) => {
2851
2843
  return {
2852
2844
  ...(input.HeaderName != null && { HeaderName: input.HeaderName }),
2853
2845
  ...(input.SecretArn != null && { SecretArn: input.SecretArn }),
2854
2846
  ...(input.SecretStringKey != null && { SecretStringKey: input.SecretStringKey }),
2855
2847
  };
2856
2848
  };
2857
- const serializeAws_restJson1SegmentationDescriptor = (input, context) => {
2849
+ const se_SegmentationDescriptor = (input, context) => {
2858
2850
  return {
2859
2851
  ...(input.SegmentNum != null && { SegmentNum: input.SegmentNum }),
2860
2852
  ...(input.SegmentationEventId != null && { SegmentationEventId: input.SegmentationEventId }),
@@ -2866,26 +2858,26 @@ const serializeAws_restJson1SegmentationDescriptor = (input, context) => {
2866
2858
  ...(input.SubSegmentsExpected != null && { SubSegmentsExpected: input.SubSegmentsExpected }),
2867
2859
  };
2868
2860
  };
2869
- const serializeAws_restJson1SegmentationDescriptorList = (input, context) => {
2861
+ const se_SegmentationDescriptorList = (input, context) => {
2870
2862
  return input
2871
2863
  .filter((e) => e != null)
2872
2864
  .map((entry) => {
2873
- return serializeAws_restJson1SegmentationDescriptor(entry, context);
2865
+ return se_SegmentationDescriptor(entry, context);
2874
2866
  });
2875
2867
  };
2876
- const serializeAws_restJson1SegmentDeliveryConfiguration = (input, context) => {
2868
+ const se_SegmentDeliveryConfiguration = (input, context) => {
2877
2869
  return {
2878
2870
  ...(input.BaseUrl != null && { BaseUrl: input.BaseUrl }),
2879
2871
  ...(input.Name != null && { Name: input.Name }),
2880
2872
  };
2881
2873
  };
2882
- const serializeAws_restJson1SlateSource = (input, context) => {
2874
+ const se_SlateSource = (input, context) => {
2883
2875
  return {
2884
2876
  ...(input.SourceLocationName != null && { SourceLocationName: input.SourceLocationName }),
2885
2877
  ...(input.VodSourceName != null && { VodSourceName: input.VodSourceName }),
2886
2878
  };
2887
2879
  };
2888
- const serializeAws_restJson1SpliceInsertMessage = (input, context) => {
2880
+ const se_SpliceInsertMessage = (input, context) => {
2889
2881
  return {
2890
2882
  ...(input.AvailNum != null && { AvailNum: input.AvailNum }),
2891
2883
  ...(input.AvailsExpected != null && { AvailsExpected: input.AvailsExpected }),
@@ -2893,14 +2885,14 @@ const serializeAws_restJson1SpliceInsertMessage = (input, context) => {
2893
2885
  ...(input.UniqueProgramId != null && { UniqueProgramId: input.UniqueProgramId }),
2894
2886
  };
2895
2887
  };
2896
- const serializeAws_restJson1TimeSignalMessage = (input, context) => {
2888
+ const se_TimeSignalMessage = (input, context) => {
2897
2889
  return {
2898
2890
  ...(input.SegmentationDescriptors != null && {
2899
- SegmentationDescriptors: serializeAws_restJson1SegmentationDescriptorList(input.SegmentationDescriptors, context),
2891
+ SegmentationDescriptors: se_SegmentationDescriptorList(input.SegmentationDescriptors, context),
2900
2892
  }),
2901
2893
  };
2902
2894
  };
2903
- const serializeAws_restJson1Transition = (input, context) => {
2895
+ const se_Transition = (input, context) => {
2904
2896
  return {
2905
2897
  ...(input.DurationMillis != null && { DurationMillis: input.DurationMillis }),
2906
2898
  ...(input.RelativePosition != null && { RelativePosition: input.RelativePosition }),
@@ -2909,21 +2901,19 @@ const serializeAws_restJson1Transition = (input, context) => {
2909
2901
  ...(input.Type != null && { Type: input.Type }),
2910
2902
  };
2911
2903
  };
2912
- const serializeAws_restJson1UpdateProgramScheduleConfiguration = (input, context) => {
2904
+ const se_UpdateProgramScheduleConfiguration = (input, context) => {
2913
2905
  return {
2914
- ...(input.ClipRange != null && { ClipRange: serializeAws_restJson1ClipRange(input.ClipRange, context) }),
2915
- ...(input.Transition != null && {
2916
- Transition: serializeAws_restJson1UpdateProgramTransition(input.Transition, context),
2917
- }),
2906
+ ...(input.ClipRange != null && { ClipRange: se_ClipRange(input.ClipRange, context) }),
2907
+ ...(input.Transition != null && { Transition: se_UpdateProgramTransition(input.Transition, context) }),
2918
2908
  };
2919
2909
  };
2920
- const serializeAws_restJson1UpdateProgramTransition = (input, context) => {
2910
+ const se_UpdateProgramTransition = (input, context) => {
2921
2911
  return {
2922
2912
  ...(input.DurationMillis != null && { DurationMillis: input.DurationMillis }),
2923
2913
  ...(input.ScheduledStartTimeMillis != null && { ScheduledStartTimeMillis: input.ScheduledStartTimeMillis }),
2924
2914
  };
2925
2915
  };
2926
- const deserializeAws_restJson1__listOf__string = (output, context) => {
2916
+ const de___listOf__string = (output, context) => {
2927
2917
  const retVal = (output || [])
2928
2918
  .filter((e) => e != null)
2929
2919
  .map((entry) => {
@@ -2934,139 +2924,139 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
2934
2924
  });
2935
2925
  return retVal;
2936
2926
  };
2937
- const deserializeAws_restJson1__listOfAdBreak = (output, context) => {
2927
+ const de___listOfAdBreak = (output, context) => {
2938
2928
  const retVal = (output || [])
2939
2929
  .filter((e) => e != null)
2940
2930
  .map((entry) => {
2941
2931
  if (entry === null) {
2942
2932
  return null;
2943
2933
  }
2944
- return deserializeAws_restJson1AdBreak(entry, context);
2934
+ return de_AdBreak(entry, context);
2945
2935
  });
2946
2936
  return retVal;
2947
2937
  };
2948
- const deserializeAws_restJson1__listOfAlert = (output, context) => {
2938
+ const de___listOfAlert = (output, context) => {
2949
2939
  const retVal = (output || [])
2950
2940
  .filter((e) => e != null)
2951
2941
  .map((entry) => {
2952
2942
  if (entry === null) {
2953
2943
  return null;
2954
2944
  }
2955
- return deserializeAws_restJson1Alert(entry, context);
2945
+ return de_Alert(entry, context);
2956
2946
  });
2957
2947
  return retVal;
2958
2948
  };
2959
- const deserializeAws_restJson1__listOfAvailMatchingCriteria = (output, context) => {
2949
+ const de___listOfAvailMatchingCriteria = (output, context) => {
2960
2950
  const retVal = (output || [])
2961
2951
  .filter((e) => e != null)
2962
2952
  .map((entry) => {
2963
2953
  if (entry === null) {
2964
2954
  return null;
2965
2955
  }
2966
- return deserializeAws_restJson1AvailMatchingCriteria(entry, context);
2956
+ return de_AvailMatchingCriteria(entry, context);
2967
2957
  });
2968
2958
  return retVal;
2969
2959
  };
2970
- const deserializeAws_restJson1__listOfChannel = (output, context) => {
2960
+ const de___listOfChannel = (output, context) => {
2971
2961
  const retVal = (output || [])
2972
2962
  .filter((e) => e != null)
2973
2963
  .map((entry) => {
2974
2964
  if (entry === null) {
2975
2965
  return null;
2976
2966
  }
2977
- return deserializeAws_restJson1Channel(entry, context);
2967
+ return de_Channel(entry, context);
2978
2968
  });
2979
2969
  return retVal;
2980
2970
  };
2981
- const deserializeAws_restJson1__listOfLiveSource = (output, context) => {
2971
+ const de___listOfLiveSource = (output, context) => {
2982
2972
  const retVal = (output || [])
2983
2973
  .filter((e) => e != null)
2984
2974
  .map((entry) => {
2985
2975
  if (entry === null) {
2986
2976
  return null;
2987
2977
  }
2988
- return deserializeAws_restJson1LiveSource(entry, context);
2978
+ return de_LiveSource(entry, context);
2989
2979
  });
2990
2980
  return retVal;
2991
2981
  };
2992
- const deserializeAws_restJson1__listOfPlaybackConfiguration = (output, context) => {
2982
+ const de___listOfPlaybackConfiguration = (output, context) => {
2993
2983
  const retVal = (output || [])
2994
2984
  .filter((e) => e != null)
2995
2985
  .map((entry) => {
2996
2986
  if (entry === null) {
2997
2987
  return null;
2998
2988
  }
2999
- return deserializeAws_restJson1PlaybackConfiguration(entry, context);
2989
+ return de_PlaybackConfiguration(entry, context);
3000
2990
  });
3001
2991
  return retVal;
3002
2992
  };
3003
- const deserializeAws_restJson1__listOfPrefetchSchedule = (output, context) => {
2993
+ const de___listOfPrefetchSchedule = (output, context) => {
3004
2994
  const retVal = (output || [])
3005
2995
  .filter((e) => e != null)
3006
2996
  .map((entry) => {
3007
2997
  if (entry === null) {
3008
2998
  return null;
3009
2999
  }
3010
- return deserializeAws_restJson1PrefetchSchedule(entry, context);
3000
+ return de_PrefetchSchedule(entry, context);
3011
3001
  });
3012
3002
  return retVal;
3013
3003
  };
3014
- const deserializeAws_restJson1__listOfScheduleAdBreak = (output, context) => {
3004
+ const de___listOfScheduleAdBreak = (output, context) => {
3015
3005
  const retVal = (output || [])
3016
3006
  .filter((e) => e != null)
3017
3007
  .map((entry) => {
3018
3008
  if (entry === null) {
3019
3009
  return null;
3020
3010
  }
3021
- return deserializeAws_restJson1ScheduleAdBreak(entry, context);
3011
+ return de_ScheduleAdBreak(entry, context);
3022
3012
  });
3023
3013
  return retVal;
3024
3014
  };
3025
- const deserializeAws_restJson1__listOfScheduleEntry = (output, context) => {
3015
+ const de___listOfScheduleEntry = (output, context) => {
3026
3016
  const retVal = (output || [])
3027
3017
  .filter((e) => e != null)
3028
3018
  .map((entry) => {
3029
3019
  if (entry === null) {
3030
3020
  return null;
3031
3021
  }
3032
- return deserializeAws_restJson1ScheduleEntry(entry, context);
3022
+ return de_ScheduleEntry(entry, context);
3033
3023
  });
3034
3024
  return retVal;
3035
3025
  };
3036
- const deserializeAws_restJson1__listOfSegmentDeliveryConfiguration = (output, context) => {
3026
+ const de___listOfSegmentDeliveryConfiguration = (output, context) => {
3037
3027
  const retVal = (output || [])
3038
3028
  .filter((e) => e != null)
3039
3029
  .map((entry) => {
3040
3030
  if (entry === null) {
3041
3031
  return null;
3042
3032
  }
3043
- return deserializeAws_restJson1SegmentDeliveryConfiguration(entry, context);
3033
+ return de_SegmentDeliveryConfiguration(entry, context);
3044
3034
  });
3045
3035
  return retVal;
3046
3036
  };
3047
- const deserializeAws_restJson1__listOfSourceLocation = (output, context) => {
3037
+ const de___listOfSourceLocation = (output, context) => {
3048
3038
  const retVal = (output || [])
3049
3039
  .filter((e) => e != null)
3050
3040
  .map((entry) => {
3051
3041
  if (entry === null) {
3052
3042
  return null;
3053
3043
  }
3054
- return deserializeAws_restJson1SourceLocation(entry, context);
3044
+ return de_SourceLocation(entry, context);
3055
3045
  });
3056
3046
  return retVal;
3057
3047
  };
3058
- const deserializeAws_restJson1__listOfVodSource = (output, context) => {
3048
+ const de___listOfVodSource = (output, context) => {
3059
3049
  const retVal = (output || [])
3060
3050
  .filter((e) => e != null)
3061
3051
  .map((entry) => {
3062
3052
  if (entry === null) {
3063
3053
  return null;
3064
3054
  }
3065
- return deserializeAws_restJson1VodSource(entry, context);
3055
+ return de_VodSource(entry, context);
3066
3056
  });
3067
3057
  return retVal;
3068
3058
  };
3069
- const deserializeAws_restJson1__mapOf__string = (output, context) => {
3059
+ const de___mapOf__string = (output, context) => {
3070
3060
  return Object.entries(output).reduce((acc, [key, value]) => {
3071
3061
  if (value === null) {
3072
3062
  return acc;
@@ -3075,70 +3065,64 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
3075
3065
  return acc;
3076
3066
  }, {});
3077
3067
  };
3078
- const deserializeAws_restJson1AccessConfiguration = (output, context) => {
3068
+ const de_AccessConfiguration = (output, context) => {
3079
3069
  return {
3080
3070
  AccessType: __expectString(output.AccessType),
3081
3071
  SecretsManagerAccessTokenConfiguration: output.SecretsManagerAccessTokenConfiguration != null
3082
- ? deserializeAws_restJson1SecretsManagerAccessTokenConfiguration(output.SecretsManagerAccessTokenConfiguration, context)
3072
+ ? de_SecretsManagerAccessTokenConfiguration(output.SecretsManagerAccessTokenConfiguration, context)
3083
3073
  : undefined,
3084
3074
  };
3085
3075
  };
3086
- const deserializeAws_restJson1AdBreak = (output, context) => {
3076
+ const de_AdBreak = (output, context) => {
3087
3077
  return {
3088
3078
  MessageType: __expectString(output.MessageType),
3089
3079
  OffsetMillis: __expectLong(output.OffsetMillis),
3090
- Slate: output.Slate != null ? deserializeAws_restJson1SlateSource(output.Slate, context) : undefined,
3091
- SpliceInsertMessage: output.SpliceInsertMessage != null
3092
- ? deserializeAws_restJson1SpliceInsertMessage(output.SpliceInsertMessage, context)
3093
- : undefined,
3094
- TimeSignalMessage: output.TimeSignalMessage != null
3095
- ? deserializeAws_restJson1TimeSignalMessage(output.TimeSignalMessage, context)
3096
- : undefined,
3080
+ Slate: output.Slate != null ? de_SlateSource(output.Slate, context) : undefined,
3081
+ SpliceInsertMessage: output.SpliceInsertMessage != null ? de_SpliceInsertMessage(output.SpliceInsertMessage, context) : undefined,
3082
+ TimeSignalMessage: output.TimeSignalMessage != null ? de_TimeSignalMessage(output.TimeSignalMessage, context) : undefined,
3097
3083
  };
3098
3084
  };
3099
- const deserializeAws_restJson1AdMarkerPassthrough = (output, context) => {
3085
+ const de_AdMarkerPassthrough = (output, context) => {
3100
3086
  return {
3101
3087
  Enabled: __expectBoolean(output.Enabled),
3102
3088
  };
3103
3089
  };
3104
- const deserializeAws_restJson1Alert = (output, context) => {
3090
+ const de_Alert = (output, context) => {
3105
3091
  return {
3106
3092
  AlertCode: __expectString(output.AlertCode),
3107
3093
  AlertMessage: __expectString(output.AlertMessage),
3108
3094
  LastModifiedTime: output.LastModifiedTime != null
3109
3095
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
3110
3096
  : undefined,
3111
- RelatedResourceArns: output.RelatedResourceArns != null
3112
- ? deserializeAws_restJson1__listOf__string(output.RelatedResourceArns, context)
3113
- : undefined,
3097
+ RelatedResourceArns: output.RelatedResourceArns != null ? de___listOf__string(output.RelatedResourceArns, context) : undefined,
3114
3098
  ResourceArn: __expectString(output.ResourceArn),
3115
3099
  };
3116
3100
  };
3117
- const deserializeAws_restJson1AvailMatchingCriteria = (output, context) => {
3101
+ const de_AvailMatchingCriteria = (output, context) => {
3118
3102
  return {
3119
3103
  DynamicVariable: __expectString(output.DynamicVariable),
3120
3104
  Operator: __expectString(output.Operator),
3121
3105
  };
3122
3106
  };
3123
- const deserializeAws_restJson1AvailSuppression = (output, context) => {
3107
+ const de_AvailSuppression = (output, context) => {
3124
3108
  return {
3125
3109
  Mode: __expectString(output.Mode),
3126
3110
  Value: __expectString(output.Value),
3127
3111
  };
3128
3112
  };
3129
- const deserializeAws_restJson1Bumper = (output, context) => {
3113
+ const de_Bumper = (output, context) => {
3130
3114
  return {
3131
3115
  EndUrl: __expectString(output.EndUrl),
3132
3116
  StartUrl: __expectString(output.StartUrl),
3133
3117
  };
3134
3118
  };
3135
- const deserializeAws_restJson1CdnConfiguration = (output, context) => {
3119
+ const de_CdnConfiguration = (output, context) => {
3136
3120
  return {
3137
3121
  AdSegmentUrlPrefix: __expectString(output.AdSegmentUrlPrefix),
3138
3122
  ContentSegmentUrlPrefix: __expectString(output.ContentSegmentUrlPrefix),
3139
3123
  };
3140
3124
  };
3141
- const deserializeAws_restJson1Channel = (output, context) => {
3125
+ const de_Channel = (output, context) => {
3142
3126
  return {
3143
3127
  Arn: __expectString(output.Arn),
3144
3128
  ChannelName: __expectString(output.ChannelName),
@@ -3146,41 +3130,39 @@ const deserializeAws_restJson1Channel = (output, context) => {
3146
3130
  CreationTime: output.CreationTime != null
3147
3131
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
3148
3132
  : undefined,
3149
- FillerSlate: output.FillerSlate != null ? deserializeAws_restJson1SlateSource(output.FillerSlate, context) : undefined,
3133
+ FillerSlate: output.FillerSlate != null ? de_SlateSource(output.FillerSlate, context) : undefined,
3150
3134
  LastModifiedTime: output.LastModifiedTime != null
3151
3135
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
3152
3136
  : undefined,
3153
- LogConfiguration: output.LogConfiguration != null
3154
- ? deserializeAws_restJson1LogConfigurationForChannel(output.LogConfiguration, context)
3155
- : undefined,
3156
- Outputs: output.Outputs != null ? deserializeAws_restJson1ResponseOutputs(output.Outputs, context) : undefined,
3137
+ LogConfiguration: output.LogConfiguration != null ? de_LogConfigurationForChannel(output.LogConfiguration, context) : undefined,
3138
+ Outputs: output.Outputs != null ? de_ResponseOutputs(output.Outputs, context) : undefined,
3157
3139
  PlaybackMode: __expectString(output.PlaybackMode),
3158
- Tags: output.tags != null ? deserializeAws_restJson1__mapOf__string(output.tags, context) : undefined,
3140
+ Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
3159
3141
  Tier: __expectString(output.Tier),
3160
3142
  };
3161
3143
  };
3162
- const deserializeAws_restJson1ClipRange = (output, context) => {
3144
+ const de_ClipRange = (output, context) => {
3163
3145
  return {
3164
3146
  EndOffsetMillis: __expectLong(output.EndOffsetMillis),
3165
3147
  };
3166
3148
  };
3167
- const deserializeAws_restJson1ConfigurationAliasesResponse = (output, context) => {
3149
+ const de_ConfigurationAliasesResponse = (output, context) => {
3168
3150
  return Object.entries(output).reduce((acc, [key, value]) => {
3169
3151
  if (value === null) {
3170
3152
  return acc;
3171
3153
  }
3172
- acc[key] = deserializeAws_restJson1__mapOf__string(value, context);
3154
+ acc[key] = de___mapOf__string(value, context);
3173
3155
  return acc;
3174
3156
  }, {});
3175
3157
  };
3176
- const deserializeAws_restJson1DashConfiguration = (output, context) => {
3158
+ const de_DashConfiguration = (output, context) => {
3177
3159
  return {
3178
3160
  ManifestEndpointPrefix: __expectString(output.ManifestEndpointPrefix),
3179
3161
  MpdLocation: __expectString(output.MpdLocation),
3180
3162
  OriginManifestType: __expectString(output.OriginManifestType),
3181
3163
  };
3182
3164
  };
3183
- const deserializeAws_restJson1DashPlaylistSettings = (output, context) => {
3165
+ const de_DashPlaylistSettings = (output, context) => {
3184
3166
  return {
3185
3167
  ManifestWindowSeconds: __expectInt32(output.ManifestWindowSeconds),
3186
3168
  MinBufferTimeSeconds: __expectInt32(output.MinBufferTimeSeconds),
@@ -3188,78 +3170,78 @@ const deserializeAws_restJson1DashPlaylistSettings = (output, context) => {
3188
3170
  SuggestedPresentationDelaySeconds: __expectInt32(output.SuggestedPresentationDelaySeconds),
3189
3171
  };
3190
3172
  };
3191
- const deserializeAws_restJson1DefaultSegmentDeliveryConfiguration = (output, context) => {
3173
+ const de_DefaultSegmentDeliveryConfiguration = (output, context) => {
3192
3174
  return {
3193
3175
  BaseUrl: __expectString(output.BaseUrl),
3194
3176
  };
3195
3177
  };
3196
- const deserializeAws_restJson1HlsConfiguration = (output, context) => {
3178
+ const de_HlsConfiguration = (output, context) => {
3197
3179
  return {
3198
3180
  ManifestEndpointPrefix: __expectString(output.ManifestEndpointPrefix),
3199
3181
  };
3200
3182
  };
3201
- const deserializeAws_restJson1HlsPlaylistSettings = (output, context) => {
3183
+ const de_HlsPlaylistSettings = (output, context) => {
3202
3184
  return {
3203
3185
  ManifestWindowSeconds: __expectInt32(output.ManifestWindowSeconds),
3204
3186
  };
3205
3187
  };
3206
- const deserializeAws_restJson1HttpConfiguration = (output, context) => {
3188
+ const de_HttpConfiguration = (output, context) => {
3207
3189
  return {
3208
3190
  BaseUrl: __expectString(output.BaseUrl),
3209
3191
  };
3210
3192
  };
3211
- const deserializeAws_restJson1HttpPackageConfiguration = (output, context) => {
3193
+ const de_HttpPackageConfiguration = (output, context) => {
3212
3194
  return {
3213
3195
  Path: __expectString(output.Path),
3214
3196
  SourceGroup: __expectString(output.SourceGroup),
3215
3197
  Type: __expectString(output.Type),
3216
3198
  };
3217
3199
  };
3218
- const deserializeAws_restJson1HttpPackageConfigurations = (output, context) => {
3200
+ const de_HttpPackageConfigurations = (output, context) => {
3219
3201
  const retVal = (output || [])
3220
3202
  .filter((e) => e != null)
3221
3203
  .map((entry) => {
3222
3204
  if (entry === null) {
3223
3205
  return null;
3224
3206
  }
3225
- return deserializeAws_restJson1HttpPackageConfiguration(entry, context);
3207
+ return de_HttpPackageConfiguration(entry, context);
3226
3208
  });
3227
3209
  return retVal;
3228
3210
  };
3229
- const deserializeAws_restJson1LivePreRollConfiguration = (output, context) => {
3211
+ const de_LivePreRollConfiguration = (output, context) => {
3230
3212
  return {
3231
3213
  AdDecisionServerUrl: __expectString(output.AdDecisionServerUrl),
3232
3214
  MaxDurationSeconds: __expectInt32(output.MaxDurationSeconds),
3233
3215
  };
3234
3216
  };
3235
- const deserializeAws_restJson1LiveSource = (output, context) => {
3217
+ const de_LiveSource = (output, context) => {
3236
3218
  return {
3237
3219
  Arn: __expectString(output.Arn),
3238
3220
  CreationTime: output.CreationTime != null
3239
3221
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
3240
3222
  : undefined,
3241
3223
  HttpPackageConfigurations: output.HttpPackageConfigurations != null
3242
- ? deserializeAws_restJson1HttpPackageConfigurations(output.HttpPackageConfigurations, context)
3224
+ ? de_HttpPackageConfigurations(output.HttpPackageConfigurations, context)
3243
3225
  : undefined,
3244
3226
  LastModifiedTime: output.LastModifiedTime != null
3245
3227
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
3246
3228
  : undefined,
3247
3229
  LiveSourceName: __expectString(output.LiveSourceName),
3248
3230
  SourceLocationName: __expectString(output.SourceLocationName),
3249
- Tags: output.tags != null ? deserializeAws_restJson1__mapOf__string(output.tags, context) : undefined,
3231
+ Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
3250
3232
  };
3251
3233
  };
3252
- const deserializeAws_restJson1LogConfiguration = (output, context) => {
3234
+ const de_LogConfiguration = (output, context) => {
3253
3235
  return {
3254
3236
  PercentEnabled: __expectInt32(output.PercentEnabled),
3255
3237
  };
3256
3238
  };
3257
- const deserializeAws_restJson1LogConfigurationForChannel = (output, context) => {
3239
+ const de_LogConfigurationForChannel = (output, context) => {
3258
3240
  return {
3259
- LogTypes: output.LogTypes != null ? deserializeAws_restJson1LogTypes(output.LogTypes, context) : undefined,
3241
+ LogTypes: output.LogTypes != null ? de_LogTypes(output.LogTypes, context) : undefined,
3260
3242
  };
3261
3243
  };
3262
- const deserializeAws_restJson1LogTypes = (output, context) => {
3244
+ const de_LogTypes = (output, context) => {
3263
3245
  const retVal = (output || [])
3264
3246
  .filter((e) => e != null)
3265
3247
  .map((entry) => {
@@ -3270,40 +3252,28 @@ const deserializeAws_restJson1LogTypes = (output, context) => {
3270
3252
  });
3271
3253
  return retVal;
3272
3254
  };
3273
- const deserializeAws_restJson1ManifestProcessingRules = (output, context) => {
3255
+ const de_ManifestProcessingRules = (output, context) => {
3274
3256
  return {
3275
- AdMarkerPassthrough: output.AdMarkerPassthrough != null
3276
- ? deserializeAws_restJson1AdMarkerPassthrough(output.AdMarkerPassthrough, context)
3277
- : undefined,
3257
+ AdMarkerPassthrough: output.AdMarkerPassthrough != null ? de_AdMarkerPassthrough(output.AdMarkerPassthrough, context) : undefined,
3278
3258
  };
3279
3259
  };
3280
- const deserializeAws_restJson1PlaybackConfiguration = (output, context) => {
3260
+ const de_PlaybackConfiguration = (output, context) => {
3281
3261
  return {
3282
3262
  AdDecisionServerUrl: __expectString(output.AdDecisionServerUrl),
3283
- AvailSuppression: output.AvailSuppression != null
3284
- ? deserializeAws_restJson1AvailSuppression(output.AvailSuppression, context)
3285
- : undefined,
3286
- Bumper: output.Bumper != null ? deserializeAws_restJson1Bumper(output.Bumper, context) : undefined,
3287
- CdnConfiguration: output.CdnConfiguration != null
3288
- ? deserializeAws_restJson1CdnConfiguration(output.CdnConfiguration, context)
3289
- : undefined,
3263
+ AvailSuppression: output.AvailSuppression != null ? de_AvailSuppression(output.AvailSuppression, context) : undefined,
3264
+ Bumper: output.Bumper != null ? de_Bumper(output.Bumper, context) : undefined,
3265
+ CdnConfiguration: output.CdnConfiguration != null ? de_CdnConfiguration(output.CdnConfiguration, context) : undefined,
3290
3266
  ConfigurationAliases: output.ConfigurationAliases != null
3291
- ? deserializeAws_restJson1ConfigurationAliasesResponse(output.ConfigurationAliases, context)
3292
- : undefined,
3293
- DashConfiguration: output.DashConfiguration != null
3294
- ? deserializeAws_restJson1DashConfiguration(output.DashConfiguration, context)
3295
- : undefined,
3296
- HlsConfiguration: output.HlsConfiguration != null
3297
- ? deserializeAws_restJson1HlsConfiguration(output.HlsConfiguration, context)
3267
+ ? de_ConfigurationAliasesResponse(output.ConfigurationAliases, context)
3298
3268
  : undefined,
3269
+ DashConfiguration: output.DashConfiguration != null ? de_DashConfiguration(output.DashConfiguration, context) : undefined,
3270
+ HlsConfiguration: output.HlsConfiguration != null ? de_HlsConfiguration(output.HlsConfiguration, context) : undefined,
3299
3271
  LivePreRollConfiguration: output.LivePreRollConfiguration != null
3300
- ? deserializeAws_restJson1LivePreRollConfiguration(output.LivePreRollConfiguration, context)
3301
- : undefined,
3302
- LogConfiguration: output.LogConfiguration != null
3303
- ? deserializeAws_restJson1LogConfiguration(output.LogConfiguration, context)
3272
+ ? de_LivePreRollConfiguration(output.LivePreRollConfiguration, context)
3304
3273
  : undefined,
3274
+ LogConfiguration: output.LogConfiguration != null ? de_LogConfiguration(output.LogConfiguration, context) : undefined,
3305
3275
  ManifestProcessingRules: output.ManifestProcessingRules != null
3306
- ? deserializeAws_restJson1ManifestProcessingRules(output.ManifestProcessingRules, context)
3276
+ ? de_ManifestProcessingRules(output.ManifestProcessingRules, context)
3307
3277
  : undefined,
3308
3278
  Name: __expectString(output.Name),
3309
3279
  PersonalizationThresholdSeconds: __expectInt32(output.PersonalizationThresholdSeconds),
@@ -3311,64 +3281,58 @@ const deserializeAws_restJson1PlaybackConfiguration = (output, context) => {
3311
3281
  PlaybackEndpointPrefix: __expectString(output.PlaybackEndpointPrefix),
3312
3282
  SessionInitializationEndpointPrefix: __expectString(output.SessionInitializationEndpointPrefix),
3313
3283
  SlateAdUrl: __expectString(output.SlateAdUrl),
3314
- Tags: output.tags != null ? deserializeAws_restJson1__mapOf__string(output.tags, context) : undefined,
3284
+ Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
3315
3285
  TranscodeProfileName: __expectString(output.TranscodeProfileName),
3316
3286
  VideoContentSourceUrl: __expectString(output.VideoContentSourceUrl),
3317
3287
  };
3318
3288
  };
3319
- const deserializeAws_restJson1PrefetchConsumption = (output, context) => {
3289
+ const de_PrefetchConsumption = (output, context) => {
3320
3290
  return {
3321
3291
  AvailMatchingCriteria: output.AvailMatchingCriteria != null
3322
- ? deserializeAws_restJson1__listOfAvailMatchingCriteria(output.AvailMatchingCriteria, context)
3292
+ ? de___listOfAvailMatchingCriteria(output.AvailMatchingCriteria, context)
3323
3293
  : undefined,
3324
3294
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
3325
3295
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
3326
3296
  };
3327
3297
  };
3328
- const deserializeAws_restJson1PrefetchRetrieval = (output, context) => {
3298
+ const de_PrefetchRetrieval = (output, context) => {
3329
3299
  return {
3330
- DynamicVariables: output.DynamicVariables != null
3331
- ? deserializeAws_restJson1__mapOf__string(output.DynamicVariables, context)
3332
- : undefined,
3300
+ DynamicVariables: output.DynamicVariables != null ? de___mapOf__string(output.DynamicVariables, context) : undefined,
3333
3301
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
3334
3302
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
3335
3303
  };
3336
3304
  };
3337
- const deserializeAws_restJson1PrefetchSchedule = (output, context) => {
3305
+ const de_PrefetchSchedule = (output, context) => {
3338
3306
  return {
3339
3307
  Arn: __expectString(output.Arn),
3340
- Consumption: output.Consumption != null ? deserializeAws_restJson1PrefetchConsumption(output.Consumption, context) : undefined,
3308
+ Consumption: output.Consumption != null ? de_PrefetchConsumption(output.Consumption, context) : undefined,
3341
3309
  Name: __expectString(output.Name),
3342
3310
  PlaybackConfigurationName: __expectString(output.PlaybackConfigurationName),
3343
- Retrieval: output.Retrieval != null ? deserializeAws_restJson1PrefetchRetrieval(output.Retrieval, context) : undefined,
3311
+ Retrieval: output.Retrieval != null ? de_PrefetchRetrieval(output.Retrieval, context) : undefined,
3344
3312
  StreamId: __expectString(output.StreamId),
3345
3313
  };
3346
3314
  };
3347
- const deserializeAws_restJson1ResponseOutputItem = (output, context) => {
3315
+ const de_ResponseOutputItem = (output, context) => {
3348
3316
  return {
3349
- DashPlaylistSettings: output.DashPlaylistSettings != null
3350
- ? deserializeAws_restJson1DashPlaylistSettings(output.DashPlaylistSettings, context)
3351
- : undefined,
3352
- HlsPlaylistSettings: output.HlsPlaylistSettings != null
3353
- ? deserializeAws_restJson1HlsPlaylistSettings(output.HlsPlaylistSettings, context)
3354
- : undefined,
3317
+ DashPlaylistSettings: output.DashPlaylistSettings != null ? de_DashPlaylistSettings(output.DashPlaylistSettings, context) : undefined,
3318
+ HlsPlaylistSettings: output.HlsPlaylistSettings != null ? de_HlsPlaylistSettings(output.HlsPlaylistSettings, context) : undefined,
3355
3319
  ManifestName: __expectString(output.ManifestName),
3356
3320
  PlaybackUrl: __expectString(output.PlaybackUrl),
3357
3321
  SourceGroup: __expectString(output.SourceGroup),
3358
3322
  };
3359
3323
  };
3360
- const deserializeAws_restJson1ResponseOutputs = (output, context) => {
3324
+ const de_ResponseOutputs = (output, context) => {
3361
3325
  const retVal = (output || [])
3362
3326
  .filter((e) => e != null)
3363
3327
  .map((entry) => {
3364
3328
  if (entry === null) {
3365
3329
  return null;
3366
3330
  }
3367
- return deserializeAws_restJson1ResponseOutputItem(entry, context);
3331
+ return de_ResponseOutputItem(entry, context);
3368
3332
  });
3369
3333
  return retVal;
3370
3334
  };
3371
- const deserializeAws_restJson1ScheduleAdBreak = (output, context) => {
3335
+ const de_ScheduleAdBreak = (output, context) => {
3372
3336
  return {
3373
3337
  ApproximateDurationSeconds: __expectLong(output.ApproximateDurationSeconds),
3374
3338
  ApproximateStartTime: output.ApproximateStartTime != null
@@ -3378,7 +3342,7 @@ const deserializeAws_restJson1ScheduleAdBreak = (output, context) => {
3378
3342
  VodSourceName: __expectString(output.VodSourceName),
3379
3343
  };
3380
3344
  };
3381
- const deserializeAws_restJson1ScheduleEntry = (output, context) => {
3345
+ const de_ScheduleEntry = (output, context) => {
3382
3346
  return {
3383
3347
  ApproximateDurationSeconds: __expectLong(output.ApproximateDurationSeconds),
3384
3348
  ApproximateStartTime: output.ApproximateStartTime != null
@@ -3388,22 +3352,20 @@ const deserializeAws_restJson1ScheduleEntry = (output, context) => {
3388
3352
  ChannelName: __expectString(output.ChannelName),
3389
3353
  LiveSourceName: __expectString(output.LiveSourceName),
3390
3354
  ProgramName: __expectString(output.ProgramName),
3391
- ScheduleAdBreaks: output.ScheduleAdBreaks != null
3392
- ? deserializeAws_restJson1__listOfScheduleAdBreak(output.ScheduleAdBreaks, context)
3393
- : undefined,
3355
+ ScheduleAdBreaks: output.ScheduleAdBreaks != null ? de___listOfScheduleAdBreak(output.ScheduleAdBreaks, context) : undefined,
3394
3356
  ScheduleEntryType: __expectString(output.ScheduleEntryType),
3395
3357
  SourceLocationName: __expectString(output.SourceLocationName),
3396
3358
  VodSourceName: __expectString(output.VodSourceName),
3397
3359
  };
3398
3360
  };
3399
- const deserializeAws_restJson1SecretsManagerAccessTokenConfiguration = (output, context) => {
3361
+ const de_SecretsManagerAccessTokenConfiguration = (output, context) => {
3400
3362
  return {
3401
3363
  HeaderName: __expectString(output.HeaderName),
3402
3364
  SecretArn: __expectString(output.SecretArn),
3403
3365
  SecretStringKey: __expectString(output.SecretStringKey),
3404
3366
  };
3405
3367
  };
3406
- const deserializeAws_restJson1SegmentationDescriptor = (output, context) => {
3368
+ const de_SegmentationDescriptor = (output, context) => {
3407
3369
  return {
3408
3370
  SegmentNum: __expectInt32(output.SegmentNum),
3409
3371
  SegmentationEventId: __expectInt32(output.SegmentationEventId),
@@ -3415,55 +3377,51 @@ const deserializeAws_restJson1SegmentationDescriptor = (output, context) => {
3415
3377
  SubSegmentsExpected: __expectInt32(output.SubSegmentsExpected),
3416
3378
  };
3417
3379
  };
3418
- const deserializeAws_restJson1SegmentationDescriptorList = (output, context) => {
3380
+ const de_SegmentationDescriptorList = (output, context) => {
3419
3381
  const retVal = (output || [])
3420
3382
  .filter((e) => e != null)
3421
3383
  .map((entry) => {
3422
3384
  if (entry === null) {
3423
3385
  return null;
3424
3386
  }
3425
- return deserializeAws_restJson1SegmentationDescriptor(entry, context);
3387
+ return de_SegmentationDescriptor(entry, context);
3426
3388
  });
3427
3389
  return retVal;
3428
3390
  };
3429
- const deserializeAws_restJson1SegmentDeliveryConfiguration = (output, context) => {
3391
+ const de_SegmentDeliveryConfiguration = (output, context) => {
3430
3392
  return {
3431
3393
  BaseUrl: __expectString(output.BaseUrl),
3432
3394
  Name: __expectString(output.Name),
3433
3395
  };
3434
3396
  };
3435
- const deserializeAws_restJson1SlateSource = (output, context) => {
3397
+ const de_SlateSource = (output, context) => {
3436
3398
  return {
3437
3399
  SourceLocationName: __expectString(output.SourceLocationName),
3438
3400
  VodSourceName: __expectString(output.VodSourceName),
3439
3401
  };
3440
3402
  };
3441
- const deserializeAws_restJson1SourceLocation = (output, context) => {
3403
+ const de_SourceLocation = (output, context) => {
3442
3404
  return {
3443
- AccessConfiguration: output.AccessConfiguration != null
3444
- ? deserializeAws_restJson1AccessConfiguration(output.AccessConfiguration, context)
3445
- : undefined,
3405
+ AccessConfiguration: output.AccessConfiguration != null ? de_AccessConfiguration(output.AccessConfiguration, context) : undefined,
3446
3406
  Arn: __expectString(output.Arn),
3447
3407
  CreationTime: output.CreationTime != null
3448
3408
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
3449
3409
  : undefined,
3450
3410
  DefaultSegmentDeliveryConfiguration: output.DefaultSegmentDeliveryConfiguration != null
3451
- ? deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(output.DefaultSegmentDeliveryConfiguration, context)
3452
- : undefined,
3453
- HttpConfiguration: output.HttpConfiguration != null
3454
- ? deserializeAws_restJson1HttpConfiguration(output.HttpConfiguration, context)
3411
+ ? de_DefaultSegmentDeliveryConfiguration(output.DefaultSegmentDeliveryConfiguration, context)
3455
3412
  : undefined,
3413
+ HttpConfiguration: output.HttpConfiguration != null ? de_HttpConfiguration(output.HttpConfiguration, context) : undefined,
3456
3414
  LastModifiedTime: output.LastModifiedTime != null
3457
3415
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
3458
3416
  : undefined,
3459
3417
  SegmentDeliveryConfigurations: output.SegmentDeliveryConfigurations != null
3460
- ? deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(output.SegmentDeliveryConfigurations, context)
3418
+ ? de___listOfSegmentDeliveryConfiguration(output.SegmentDeliveryConfigurations, context)
3461
3419
  : undefined,
3462
3420
  SourceLocationName: __expectString(output.SourceLocationName),
3463
- Tags: output.tags != null ? deserializeAws_restJson1__mapOf__string(output.tags, context) : undefined,
3421
+ Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
3464
3422
  };
3465
3423
  };
3466
- const deserializeAws_restJson1SpliceInsertMessage = (output, context) => {
3424
+ const de_SpliceInsertMessage = (output, context) => {
3467
3425
  return {
3468
3426
  AvailNum: __expectInt32(output.AvailNum),
3469
3427
  AvailsExpected: __expectInt32(output.AvailsExpected),
@@ -3471,27 +3429,27 @@ const deserializeAws_restJson1SpliceInsertMessage = (output, context) => {
3471
3429
  UniqueProgramId: __expectInt32(output.UniqueProgramId),
3472
3430
  };
3473
3431
  };
3474
- const deserializeAws_restJson1TimeSignalMessage = (output, context) => {
3432
+ const de_TimeSignalMessage = (output, context) => {
3475
3433
  return {
3476
3434
  SegmentationDescriptors: output.SegmentationDescriptors != null
3477
- ? deserializeAws_restJson1SegmentationDescriptorList(output.SegmentationDescriptors, context)
3435
+ ? de_SegmentationDescriptorList(output.SegmentationDescriptors, context)
3478
3436
  : undefined,
3479
3437
  };
3480
3438
  };
3481
- const deserializeAws_restJson1VodSource = (output, context) => {
3439
+ const de_VodSource = (output, context) => {
3482
3440
  return {
3483
3441
  Arn: __expectString(output.Arn),
3484
3442
  CreationTime: output.CreationTime != null
3485
3443
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
3486
3444
  : undefined,
3487
3445
  HttpPackageConfigurations: output.HttpPackageConfigurations != null
3488
- ? deserializeAws_restJson1HttpPackageConfigurations(output.HttpPackageConfigurations, context)
3446
+ ? de_HttpPackageConfigurations(output.HttpPackageConfigurations, context)
3489
3447
  : undefined,
3490
3448
  LastModifiedTime: output.LastModifiedTime != null
3491
3449
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
3492
3450
  : undefined,
3493
3451
  SourceLocationName: __expectString(output.SourceLocationName),
3494
- Tags: output.tags != null ? deserializeAws_restJson1__mapOf__string(output.tags, context) : undefined,
3452
+ Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
3495
3453
  VodSourceName: __expectString(output.VodSourceName),
3496
3454
  };
3497
3455
  };