@aws-sdk/client-mediaconnect 3.306.0 → 3.310.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 (65) hide show
  1. package/dist-cjs/commands/AddFlowMediaStreamsCommand.js +2 -2
  2. package/dist-cjs/commands/AddFlowOutputsCommand.js +2 -2
  3. package/dist-cjs/commands/AddFlowSourcesCommand.js +2 -2
  4. package/dist-cjs/commands/AddFlowVpcInterfacesCommand.js +2 -2
  5. package/dist-cjs/commands/CreateFlowCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteFlowCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeFlowCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeOfferingCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeReservationCommand.js +2 -2
  10. package/dist-cjs/commands/GrantFlowEntitlementsCommand.js +2 -2
  11. package/dist-cjs/commands/ListEntitlementsCommand.js +2 -2
  12. package/dist-cjs/commands/ListFlowsCommand.js +2 -2
  13. package/dist-cjs/commands/ListOfferingsCommand.js +2 -2
  14. package/dist-cjs/commands/ListReservationsCommand.js +2 -2
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-cjs/commands/PurchaseOfferingCommand.js +2 -2
  17. package/dist-cjs/commands/RemoveFlowMediaStreamCommand.js +2 -2
  18. package/dist-cjs/commands/RemoveFlowOutputCommand.js +2 -2
  19. package/dist-cjs/commands/RemoveFlowSourceCommand.js +2 -2
  20. package/dist-cjs/commands/RemoveFlowVpcInterfaceCommand.js +2 -2
  21. package/dist-cjs/commands/RevokeFlowEntitlementCommand.js +2 -2
  22. package/dist-cjs/commands/StartFlowCommand.js +2 -2
  23. package/dist-cjs/commands/StopFlowCommand.js +2 -2
  24. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  25. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateFlowCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateFlowEntitlementCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateFlowMediaStreamCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateFlowOutputCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateFlowSourceCommand.js +2 -2
  31. package/dist-cjs/protocols/Aws_restJson1.js +546 -592
  32. package/dist-es/commands/AddFlowMediaStreamsCommand.js +3 -3
  33. package/dist-es/commands/AddFlowOutputsCommand.js +3 -3
  34. package/dist-es/commands/AddFlowSourcesCommand.js +3 -3
  35. package/dist-es/commands/AddFlowVpcInterfacesCommand.js +3 -3
  36. package/dist-es/commands/CreateFlowCommand.js +3 -3
  37. package/dist-es/commands/DeleteFlowCommand.js +3 -3
  38. package/dist-es/commands/DescribeFlowCommand.js +3 -3
  39. package/dist-es/commands/DescribeOfferingCommand.js +3 -3
  40. package/dist-es/commands/DescribeReservationCommand.js +3 -3
  41. package/dist-es/commands/GrantFlowEntitlementsCommand.js +3 -3
  42. package/dist-es/commands/ListEntitlementsCommand.js +3 -3
  43. package/dist-es/commands/ListFlowsCommand.js +3 -3
  44. package/dist-es/commands/ListOfferingsCommand.js +3 -3
  45. package/dist-es/commands/ListReservationsCommand.js +3 -3
  46. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  47. package/dist-es/commands/PurchaseOfferingCommand.js +3 -3
  48. package/dist-es/commands/RemoveFlowMediaStreamCommand.js +3 -3
  49. package/dist-es/commands/RemoveFlowOutputCommand.js +3 -3
  50. package/dist-es/commands/RemoveFlowSourceCommand.js +3 -3
  51. package/dist-es/commands/RemoveFlowVpcInterfaceCommand.js +3 -3
  52. package/dist-es/commands/RevokeFlowEntitlementCommand.js +3 -3
  53. package/dist-es/commands/StartFlowCommand.js +3 -3
  54. package/dist-es/commands/StopFlowCommand.js +3 -3
  55. package/dist-es/commands/TagResourceCommand.js +3 -3
  56. package/dist-es/commands/UntagResourceCommand.js +3 -3
  57. package/dist-es/commands/UpdateFlowCommand.js +3 -3
  58. package/dist-es/commands/UpdateFlowEntitlementCommand.js +3 -3
  59. package/dist-es/commands/UpdateFlowMediaStreamCommand.js +3 -3
  60. package/dist-es/commands/UpdateFlowOutputCommand.js +3 -3
  61. package/dist-es/commands/UpdateFlowSourceCommand.js +3 -3
  62. package/dist-es/protocols/Aws_restJson1.js +484 -530
  63. package/dist-types/protocols/Aws_restJson1.d.ts +240 -60
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -60
  65. package/package.json +36 -36
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { MediaConnectServiceException as __BaseException } from "../models/MediaConnectServiceException";
4
4
  import { AddFlowOutputs420Exception, BadRequestException, CreateFlow420Exception, ForbiddenException, GrantFlowEntitlements420Exception, InternalServerErrorException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, } from "../models/models_0";
5
- export const serializeAws_restJson1AddFlowMediaStreamsCommand = async (input, context) => {
5
+ export const se_AddFlowMediaStreamsCommand = 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,9 +11,7 @@ export const serializeAws_restJson1AddFlowMediaStreamsCommand = async (input, co
11
11
  resolvedPath = __resolvedPath(resolvedPath, input, "FlowArn", () => input.FlowArn, "{FlowArn}", false);
12
12
  let body;
13
13
  body = JSON.stringify({
14
- ...(input.MediaStreams != null && {
15
- mediaStreams: serializeAws_restJson1__listOfAddMediaStreamRequest(input.MediaStreams, context),
16
- }),
14
+ ...(input.MediaStreams != null && { mediaStreams: se___listOfAddMediaStreamRequest(input.MediaStreams, context) }),
17
15
  });
18
16
  return new __HttpRequest({
19
17
  protocol,
@@ -25,7 +23,7 @@ export const serializeAws_restJson1AddFlowMediaStreamsCommand = async (input, co
25
23
  body,
26
24
  });
27
25
  };
28
- export const serializeAws_restJson1AddFlowOutputsCommand = async (input, context) => {
26
+ export const se_AddFlowOutputsCommand = async (input, context) => {
29
27
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
30
28
  const headers = {
31
29
  "content-type": "application/json",
@@ -34,7 +32,7 @@ export const serializeAws_restJson1AddFlowOutputsCommand = async (input, context
34
32
  resolvedPath = __resolvedPath(resolvedPath, input, "FlowArn", () => input.FlowArn, "{FlowArn}", false);
35
33
  let body;
36
34
  body = JSON.stringify({
37
- ...(input.Outputs != null && { outputs: serializeAws_restJson1__listOfAddOutputRequest(input.Outputs, context) }),
35
+ ...(input.Outputs != null && { outputs: se___listOfAddOutputRequest(input.Outputs, context) }),
38
36
  });
39
37
  return new __HttpRequest({
40
38
  protocol,
@@ -46,7 +44,7 @@ export const serializeAws_restJson1AddFlowOutputsCommand = async (input, context
46
44
  body,
47
45
  });
48
46
  };
49
- export const serializeAws_restJson1AddFlowSourcesCommand = async (input, context) => {
47
+ export const se_AddFlowSourcesCommand = async (input, context) => {
50
48
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
51
49
  const headers = {
52
50
  "content-type": "application/json",
@@ -55,7 +53,7 @@ export const serializeAws_restJson1AddFlowSourcesCommand = async (input, context
55
53
  resolvedPath = __resolvedPath(resolvedPath, input, "FlowArn", () => input.FlowArn, "{FlowArn}", false);
56
54
  let body;
57
55
  body = JSON.stringify({
58
- ...(input.Sources != null && { sources: serializeAws_restJson1__listOfSetSourceRequest(input.Sources, context) }),
56
+ ...(input.Sources != null && { sources: se___listOfSetSourceRequest(input.Sources, context) }),
59
57
  });
60
58
  return new __HttpRequest({
61
59
  protocol,
@@ -67,7 +65,7 @@ export const serializeAws_restJson1AddFlowSourcesCommand = async (input, context
67
65
  body,
68
66
  });
69
67
  };
70
- export const serializeAws_restJson1AddFlowVpcInterfacesCommand = async (input, context) => {
68
+ export const se_AddFlowVpcInterfacesCommand = async (input, context) => {
71
69
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
72
70
  const headers = {
73
71
  "content-type": "application/json",
@@ -76,9 +74,7 @@ export const serializeAws_restJson1AddFlowVpcInterfacesCommand = async (input, c
76
74
  resolvedPath = __resolvedPath(resolvedPath, input, "FlowArn", () => input.FlowArn, "{FlowArn}", false);
77
75
  let body;
78
76
  body = JSON.stringify({
79
- ...(input.VpcInterfaces != null && {
80
- vpcInterfaces: serializeAws_restJson1__listOfVpcInterfaceRequest(input.VpcInterfaces, context),
81
- }),
77
+ ...(input.VpcInterfaces != null && { vpcInterfaces: se___listOfVpcInterfaceRequest(input.VpcInterfaces, context) }),
82
78
  });
83
79
  return new __HttpRequest({
84
80
  protocol,
@@ -90,7 +86,7 @@ export const serializeAws_restJson1AddFlowVpcInterfacesCommand = async (input, c
90
86
  body,
91
87
  });
92
88
  };
93
- export const serializeAws_restJson1CreateFlowCommand = async (input, context) => {
89
+ export const se_CreateFlowCommand = async (input, context) => {
94
90
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
95
91
  const headers = {
96
92
  "content-type": "application/json",
@@ -100,22 +96,18 @@ export const serializeAws_restJson1CreateFlowCommand = async (input, context) =>
100
96
  body = JSON.stringify({
101
97
  ...(input.AvailabilityZone != null && { availabilityZone: input.AvailabilityZone }),
102
98
  ...(input.Entitlements != null && {
103
- entitlements: serializeAws_restJson1__listOfGrantEntitlementRequest(input.Entitlements, context),
104
- }),
105
- ...(input.Maintenance != null && { maintenance: serializeAws_restJson1AddMaintenance(input.Maintenance, context) }),
106
- ...(input.MediaStreams != null && {
107
- mediaStreams: serializeAws_restJson1__listOfAddMediaStreamRequest(input.MediaStreams, context),
99
+ entitlements: se___listOfGrantEntitlementRequest(input.Entitlements, context),
108
100
  }),
101
+ ...(input.Maintenance != null && { maintenance: se_AddMaintenance(input.Maintenance, context) }),
102
+ ...(input.MediaStreams != null && { mediaStreams: se___listOfAddMediaStreamRequest(input.MediaStreams, context) }),
109
103
  ...(input.Name != null && { name: input.Name }),
110
- ...(input.Outputs != null && { outputs: serializeAws_restJson1__listOfAddOutputRequest(input.Outputs, context) }),
111
- ...(input.Source != null && { source: serializeAws_restJson1SetSourceRequest(input.Source, context) }),
104
+ ...(input.Outputs != null && { outputs: se___listOfAddOutputRequest(input.Outputs, context) }),
105
+ ...(input.Source != null && { source: se_SetSourceRequest(input.Source, context) }),
112
106
  ...(input.SourceFailoverConfig != null && {
113
- sourceFailoverConfig: serializeAws_restJson1FailoverConfig(input.SourceFailoverConfig, context),
114
- }),
115
- ...(input.Sources != null && { sources: serializeAws_restJson1__listOfSetSourceRequest(input.Sources, context) }),
116
- ...(input.VpcInterfaces != null && {
117
- vpcInterfaces: serializeAws_restJson1__listOfVpcInterfaceRequest(input.VpcInterfaces, context),
107
+ sourceFailoverConfig: se_FailoverConfig(input.SourceFailoverConfig, context),
118
108
  }),
109
+ ...(input.Sources != null && { sources: se___listOfSetSourceRequest(input.Sources, context) }),
110
+ ...(input.VpcInterfaces != null && { vpcInterfaces: se___listOfVpcInterfaceRequest(input.VpcInterfaces, context) }),
119
111
  });
120
112
  return new __HttpRequest({
121
113
  protocol,
@@ -127,7 +119,7 @@ export const serializeAws_restJson1CreateFlowCommand = async (input, context) =>
127
119
  body,
128
120
  });
129
121
  };
130
- export const serializeAws_restJson1DeleteFlowCommand = async (input, context) => {
122
+ export const se_DeleteFlowCommand = async (input, context) => {
131
123
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
132
124
  const headers = {};
133
125
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/{FlowArn}";
@@ -143,7 +135,7 @@ export const serializeAws_restJson1DeleteFlowCommand = async (input, context) =>
143
135
  body,
144
136
  });
145
137
  };
146
- export const serializeAws_restJson1DescribeFlowCommand = async (input, context) => {
138
+ export const se_DescribeFlowCommand = async (input, context) => {
147
139
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
148
140
  const headers = {};
149
141
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/{FlowArn}";
@@ -159,7 +151,7 @@ export const serializeAws_restJson1DescribeFlowCommand = async (input, context)
159
151
  body,
160
152
  });
161
153
  };
162
- export const serializeAws_restJson1DescribeOfferingCommand = async (input, context) => {
154
+ export const se_DescribeOfferingCommand = async (input, context) => {
163
155
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
164
156
  const headers = {};
165
157
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/offerings/{OfferingArn}";
@@ -175,7 +167,7 @@ export const serializeAws_restJson1DescribeOfferingCommand = async (input, conte
175
167
  body,
176
168
  });
177
169
  };
178
- export const serializeAws_restJson1DescribeReservationCommand = async (input, context) => {
170
+ export const se_DescribeReservationCommand = async (input, context) => {
179
171
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
180
172
  const headers = {};
181
173
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/reservations/{ReservationArn}";
@@ -191,7 +183,7 @@ export const serializeAws_restJson1DescribeReservationCommand = async (input, co
191
183
  body,
192
184
  });
193
185
  };
194
- export const serializeAws_restJson1GrantFlowEntitlementsCommand = async (input, context) => {
186
+ export const se_GrantFlowEntitlementsCommand = async (input, context) => {
195
187
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
196
188
  const headers = {
197
189
  "content-type": "application/json",
@@ -201,7 +193,7 @@ export const serializeAws_restJson1GrantFlowEntitlementsCommand = async (input,
201
193
  let body;
202
194
  body = JSON.stringify({
203
195
  ...(input.Entitlements != null && {
204
- entitlements: serializeAws_restJson1__listOfGrantEntitlementRequest(input.Entitlements, context),
196
+ entitlements: se___listOfGrantEntitlementRequest(input.Entitlements, context),
205
197
  }),
206
198
  });
207
199
  return new __HttpRequest({
@@ -214,7 +206,7 @@ export const serializeAws_restJson1GrantFlowEntitlementsCommand = async (input,
214
206
  body,
215
207
  });
216
208
  };
217
- export const serializeAws_restJson1ListEntitlementsCommand = async (input, context) => {
209
+ export const se_ListEntitlementsCommand = async (input, context) => {
218
210
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
219
211
  const headers = {};
220
212
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/entitlements";
@@ -234,7 +226,7 @@ export const serializeAws_restJson1ListEntitlementsCommand = async (input, conte
234
226
  body,
235
227
  });
236
228
  };
237
- export const serializeAws_restJson1ListFlowsCommand = async (input, context) => {
229
+ export const se_ListFlowsCommand = async (input, context) => {
238
230
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
239
231
  const headers = {};
240
232
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows";
@@ -254,7 +246,7 @@ export const serializeAws_restJson1ListFlowsCommand = async (input, context) =>
254
246
  body,
255
247
  });
256
248
  };
257
- export const serializeAws_restJson1ListOfferingsCommand = async (input, context) => {
249
+ export const se_ListOfferingsCommand = async (input, context) => {
258
250
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
259
251
  const headers = {};
260
252
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/offerings";
@@ -274,7 +266,7 @@ export const serializeAws_restJson1ListOfferingsCommand = async (input, context)
274
266
  body,
275
267
  });
276
268
  };
277
- export const serializeAws_restJson1ListReservationsCommand = async (input, context) => {
269
+ export const se_ListReservationsCommand = async (input, context) => {
278
270
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
279
271
  const headers = {};
280
272
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/reservations";
@@ -294,7 +286,7 @@ export const serializeAws_restJson1ListReservationsCommand = async (input, conte
294
286
  body,
295
287
  });
296
288
  };
297
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
289
+ export const se_ListTagsForResourceCommand = async (input, context) => {
298
290
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
299
291
  const headers = {};
300
292
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -310,7 +302,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
310
302
  body,
311
303
  });
312
304
  };
313
- export const serializeAws_restJson1PurchaseOfferingCommand = async (input, context) => {
305
+ export const se_PurchaseOfferingCommand = async (input, context) => {
314
306
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
315
307
  const headers = {
316
308
  "content-type": "application/json",
@@ -332,7 +324,7 @@ export const serializeAws_restJson1PurchaseOfferingCommand = async (input, conte
332
324
  body,
333
325
  });
334
326
  };
335
- export const serializeAws_restJson1RemoveFlowMediaStreamCommand = async (input, context) => {
327
+ export const se_RemoveFlowMediaStreamCommand = async (input, context) => {
336
328
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
337
329
  const headers = {};
338
330
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -350,7 +342,7 @@ export const serializeAws_restJson1RemoveFlowMediaStreamCommand = async (input,
350
342
  body,
351
343
  });
352
344
  };
353
- export const serializeAws_restJson1RemoveFlowOutputCommand = async (input, context) => {
345
+ export const se_RemoveFlowOutputCommand = async (input, context) => {
354
346
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
355
347
  const headers = {};
356
348
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/{FlowArn}/outputs/{OutputArn}";
@@ -367,7 +359,7 @@ export const serializeAws_restJson1RemoveFlowOutputCommand = async (input, conte
367
359
  body,
368
360
  });
369
361
  };
370
- export const serializeAws_restJson1RemoveFlowSourceCommand = async (input, context) => {
362
+ export const se_RemoveFlowSourceCommand = async (input, context) => {
371
363
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
372
364
  const headers = {};
373
365
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/{FlowArn}/source/{SourceArn}";
@@ -384,7 +376,7 @@ export const serializeAws_restJson1RemoveFlowSourceCommand = async (input, conte
384
376
  body,
385
377
  });
386
378
  };
387
- export const serializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (input, context) => {
379
+ export const se_RemoveFlowVpcInterfaceCommand = async (input, context) => {
388
380
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
389
381
  const headers = {};
390
382
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -402,7 +394,7 @@ export const serializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (input,
402
394
  body,
403
395
  });
404
396
  };
405
- export const serializeAws_restJson1RevokeFlowEntitlementCommand = async (input, context) => {
397
+ export const se_RevokeFlowEntitlementCommand = async (input, context) => {
406
398
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
407
399
  const headers = {};
408
400
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -420,7 +412,7 @@ export const serializeAws_restJson1RevokeFlowEntitlementCommand = async (input,
420
412
  body,
421
413
  });
422
414
  };
423
- export const serializeAws_restJson1StartFlowCommand = async (input, context) => {
415
+ export const se_StartFlowCommand = async (input, context) => {
424
416
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
425
417
  const headers = {};
426
418
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/start/{FlowArn}";
@@ -436,7 +428,7 @@ export const serializeAws_restJson1StartFlowCommand = async (input, context) =>
436
428
  body,
437
429
  });
438
430
  };
439
- export const serializeAws_restJson1StopFlowCommand = async (input, context) => {
431
+ export const se_StopFlowCommand = async (input, context) => {
440
432
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
441
433
  const headers = {};
442
434
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/stop/{FlowArn}";
@@ -452,7 +444,7 @@ export const serializeAws_restJson1StopFlowCommand = async (input, context) => {
452
444
  body,
453
445
  });
454
446
  };
455
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
447
+ export const se_TagResourceCommand = async (input, context) => {
456
448
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
457
449
  const headers = {
458
450
  "content-type": "application/json",
@@ -461,7 +453,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
461
453
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
462
454
  let body;
463
455
  body = JSON.stringify({
464
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
456
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
465
457
  });
466
458
  return new __HttpRequest({
467
459
  protocol,
@@ -473,7 +465,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
473
465
  body,
474
466
  });
475
467
  };
476
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
468
+ export const se_UntagResourceCommand = async (input, context) => {
477
469
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
478
470
  const headers = {};
479
471
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -496,7 +488,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
496
488
  body,
497
489
  });
498
490
  };
499
- export const serializeAws_restJson1UpdateFlowCommand = async (input, context) => {
491
+ export const se_UpdateFlowCommand = async (input, context) => {
500
492
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
501
493
  const headers = {
502
494
  "content-type": "application/json",
@@ -505,11 +497,9 @@ export const serializeAws_restJson1UpdateFlowCommand = async (input, context) =>
505
497
  resolvedPath = __resolvedPath(resolvedPath, input, "FlowArn", () => input.FlowArn, "{FlowArn}", false);
506
498
  let body;
507
499
  body = JSON.stringify({
508
- ...(input.Maintenance != null && {
509
- maintenance: serializeAws_restJson1UpdateMaintenance(input.Maintenance, context),
510
- }),
500
+ ...(input.Maintenance != null && { maintenance: se_UpdateMaintenance(input.Maintenance, context) }),
511
501
  ...(input.SourceFailoverConfig != null && {
512
- sourceFailoverConfig: serializeAws_restJson1UpdateFailoverConfig(input.SourceFailoverConfig, context),
502
+ sourceFailoverConfig: se_UpdateFailoverConfig(input.SourceFailoverConfig, context),
513
503
  }),
514
504
  });
515
505
  return new __HttpRequest({
@@ -522,7 +512,7 @@ export const serializeAws_restJson1UpdateFlowCommand = async (input, context) =>
522
512
  body,
523
513
  });
524
514
  };
525
- export const serializeAws_restJson1UpdateFlowEntitlementCommand = async (input, context) => {
515
+ export const se_UpdateFlowEntitlementCommand = async (input, context) => {
526
516
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
527
517
  const headers = {
528
518
  "content-type": "application/json",
@@ -534,11 +524,9 @@ export const serializeAws_restJson1UpdateFlowEntitlementCommand = async (input,
534
524
  let body;
535
525
  body = JSON.stringify({
536
526
  ...(input.Description != null && { description: input.Description }),
537
- ...(input.Encryption != null && { encryption: serializeAws_restJson1UpdateEncryption(input.Encryption, context) }),
527
+ ...(input.Encryption != null && { encryption: se_UpdateEncryption(input.Encryption, context) }),
538
528
  ...(input.EntitlementStatus != null && { entitlementStatus: input.EntitlementStatus }),
539
- ...(input.Subscribers != null && {
540
- subscribers: serializeAws_restJson1__listOf__string(input.Subscribers, context),
541
- }),
529
+ ...(input.Subscribers != null && { subscribers: se___listOf__string(input.Subscribers, context) }),
542
530
  });
543
531
  return new __HttpRequest({
544
532
  protocol,
@@ -550,7 +538,7 @@ export const serializeAws_restJson1UpdateFlowEntitlementCommand = async (input,
550
538
  body,
551
539
  });
552
540
  };
553
- export const serializeAws_restJson1UpdateFlowMediaStreamCommand = async (input, context) => {
541
+ export const se_UpdateFlowMediaStreamCommand = async (input, context) => {
554
542
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
555
543
  const headers = {
556
544
  "content-type": "application/json",
@@ -561,9 +549,7 @@ export const serializeAws_restJson1UpdateFlowMediaStreamCommand = async (input,
561
549
  resolvedPath = __resolvedPath(resolvedPath, input, "MediaStreamName", () => input.MediaStreamName, "{MediaStreamName}", false);
562
550
  let body;
563
551
  body = JSON.stringify({
564
- ...(input.Attributes != null && {
565
- attributes: serializeAws_restJson1MediaStreamAttributesRequest(input.Attributes, context),
566
- }),
552
+ ...(input.Attributes != null && { attributes: se_MediaStreamAttributesRequest(input.Attributes, context) }),
567
553
  ...(input.ClockRate != null && { clockRate: input.ClockRate }),
568
554
  ...(input.Description != null && { description: input.Description }),
569
555
  ...(input.MediaStreamType != null && { mediaStreamType: input.MediaStreamType }),
@@ -579,7 +565,7 @@ export const serializeAws_restJson1UpdateFlowMediaStreamCommand = async (input,
579
565
  body,
580
566
  });
581
567
  };
582
- export const serializeAws_restJson1UpdateFlowOutputCommand = async (input, context) => {
568
+ export const se_UpdateFlowOutputCommand = async (input, context) => {
583
569
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
584
570
  const headers = {
585
571
  "content-type": "application/json",
@@ -589,15 +575,13 @@ export const serializeAws_restJson1UpdateFlowOutputCommand = async (input, conte
589
575
  resolvedPath = __resolvedPath(resolvedPath, input, "OutputArn", () => input.OutputArn, "{OutputArn}", false);
590
576
  let body;
591
577
  body = JSON.stringify({
592
- ...(input.CidrAllowList != null && {
593
- cidrAllowList: serializeAws_restJson1__listOf__string(input.CidrAllowList, context),
594
- }),
578
+ ...(input.CidrAllowList != null && { cidrAllowList: se___listOf__string(input.CidrAllowList, context) }),
595
579
  ...(input.Description != null && { description: input.Description }),
596
580
  ...(input.Destination != null && { destination: input.Destination }),
597
- ...(input.Encryption != null && { encryption: serializeAws_restJson1UpdateEncryption(input.Encryption, context) }),
581
+ ...(input.Encryption != null && { encryption: se_UpdateEncryption(input.Encryption, context) }),
598
582
  ...(input.MaxLatency != null && { maxLatency: input.MaxLatency }),
599
583
  ...(input.MediaStreamOutputConfigurations != null && {
600
- mediaStreamOutputConfigurations: serializeAws_restJson1__listOfMediaStreamOutputConfigurationRequest(input.MediaStreamOutputConfigurations, context),
584
+ mediaStreamOutputConfigurations: se___listOfMediaStreamOutputConfigurationRequest(input.MediaStreamOutputConfigurations, context),
601
585
  }),
602
586
  ...(input.MinLatency != null && { minLatency: input.MinLatency }),
603
587
  ...(input.Port != null && { port: input.Port }),
@@ -608,7 +592,7 @@ export const serializeAws_restJson1UpdateFlowOutputCommand = async (input, conte
608
592
  ...(input.SmoothingLatency != null && { smoothingLatency: input.SmoothingLatency }),
609
593
  ...(input.StreamId != null && { streamId: input.StreamId }),
610
594
  ...(input.VpcInterfaceAttachment != null && {
611
- vpcInterfaceAttachment: serializeAws_restJson1VpcInterfaceAttachment(input.VpcInterfaceAttachment, context),
595
+ vpcInterfaceAttachment: se_VpcInterfaceAttachment(input.VpcInterfaceAttachment, context),
612
596
  }),
613
597
  });
614
598
  return new __HttpRequest({
@@ -621,7 +605,7 @@ export const serializeAws_restJson1UpdateFlowOutputCommand = async (input, conte
621
605
  body,
622
606
  });
623
607
  };
624
- export const serializeAws_restJson1UpdateFlowSourceCommand = async (input, context) => {
608
+ export const se_UpdateFlowSourceCommand = async (input, context) => {
625
609
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
626
610
  const headers = {
627
611
  "content-type": "application/json",
@@ -631,7 +615,7 @@ export const serializeAws_restJson1UpdateFlowSourceCommand = async (input, conte
631
615
  resolvedPath = __resolvedPath(resolvedPath, input, "SourceArn", () => input.SourceArn, "{SourceArn}", false);
632
616
  let body;
633
617
  body = JSON.stringify({
634
- ...(input.Decryption != null && { decryption: serializeAws_restJson1UpdateEncryption(input.Decryption, context) }),
618
+ ...(input.Decryption != null && { decryption: se_UpdateEncryption(input.Decryption, context) }),
635
619
  ...(input.Description != null && { description: input.Description }),
636
620
  ...(input.EntitlementArn != null && { entitlementArn: input.EntitlementArn }),
637
621
  ...(input.IngestPort != null && { ingestPort: input.IngestPort }),
@@ -639,7 +623,7 @@ export const serializeAws_restJson1UpdateFlowSourceCommand = async (input, conte
639
623
  ...(input.MaxLatency != null && { maxLatency: input.MaxLatency }),
640
624
  ...(input.MaxSyncBuffer != null && { maxSyncBuffer: input.MaxSyncBuffer }),
641
625
  ...(input.MediaStreamSourceConfigurations != null && {
642
- mediaStreamSourceConfigurations: serializeAws_restJson1__listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
626
+ mediaStreamSourceConfigurations: se___listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
643
627
  }),
644
628
  ...(input.MinLatency != null && { minLatency: input.MinLatency }),
645
629
  ...(input.Protocol != null && { protocol: input.Protocol }),
@@ -661,9 +645,9 @@ export const serializeAws_restJson1UpdateFlowSourceCommand = async (input, conte
661
645
  body,
662
646
  });
663
647
  };
664
- export const deserializeAws_restJson1AddFlowMediaStreamsCommand = async (output, context) => {
648
+ export const de_AddFlowMediaStreamsCommand = async (output, context) => {
665
649
  if (output.statusCode !== 201 && output.statusCode >= 300) {
666
- return deserializeAws_restJson1AddFlowMediaStreamsCommandError(output, context);
650
+ return de_AddFlowMediaStreamsCommandError(output, context);
667
651
  }
668
652
  const contents = map({
669
653
  $metadata: deserializeMetadata(output),
@@ -673,11 +657,11 @@ export const deserializeAws_restJson1AddFlowMediaStreamsCommand = async (output,
673
657
  contents.FlowArn = __expectString(data.flowArn);
674
658
  }
675
659
  if (data.mediaStreams != null) {
676
- contents.MediaStreams = deserializeAws_restJson1__listOfMediaStream(data.mediaStreams, context);
660
+ contents.MediaStreams = de___listOfMediaStream(data.mediaStreams, context);
677
661
  }
678
662
  return contents;
679
663
  };
680
- const deserializeAws_restJson1AddFlowMediaStreamsCommandError = async (output, context) => {
664
+ const de_AddFlowMediaStreamsCommandError = async (output, context) => {
681
665
  const parsedOutput = {
682
666
  ...output,
683
667
  body: await parseErrorBody(output.body, context),
@@ -686,22 +670,22 @@ const deserializeAws_restJson1AddFlowMediaStreamsCommandError = async (output, c
686
670
  switch (errorCode) {
687
671
  case "BadRequestException":
688
672
  case "com.amazonaws.mediaconnect#BadRequestException":
689
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
673
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
690
674
  case "ForbiddenException":
691
675
  case "com.amazonaws.mediaconnect#ForbiddenException":
692
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
676
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
693
677
  case "InternalServerErrorException":
694
678
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
695
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
679
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
696
680
  case "NotFoundException":
697
681
  case "com.amazonaws.mediaconnect#NotFoundException":
698
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
682
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
699
683
  case "ServiceUnavailableException":
700
684
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
701
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
685
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
702
686
  case "TooManyRequestsException":
703
687
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
704
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
688
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
705
689
  default:
706
690
  const parsedBody = parsedOutput.body;
707
691
  throwDefaultError({
@@ -712,9 +696,9 @@ const deserializeAws_restJson1AddFlowMediaStreamsCommandError = async (output, c
712
696
  });
713
697
  }
714
698
  };
715
- export const deserializeAws_restJson1AddFlowOutputsCommand = async (output, context) => {
699
+ export const de_AddFlowOutputsCommand = async (output, context) => {
716
700
  if (output.statusCode !== 201 && output.statusCode >= 300) {
717
- return deserializeAws_restJson1AddFlowOutputsCommandError(output, context);
701
+ return de_AddFlowOutputsCommandError(output, context);
718
702
  }
719
703
  const contents = map({
720
704
  $metadata: deserializeMetadata(output),
@@ -724,11 +708,11 @@ export const deserializeAws_restJson1AddFlowOutputsCommand = async (output, cont
724
708
  contents.FlowArn = __expectString(data.flowArn);
725
709
  }
726
710
  if (data.outputs != null) {
727
- contents.Outputs = deserializeAws_restJson1__listOfOutput(data.outputs, context);
711
+ contents.Outputs = de___listOfOutput(data.outputs, context);
728
712
  }
729
713
  return contents;
730
714
  };
731
- const deserializeAws_restJson1AddFlowOutputsCommandError = async (output, context) => {
715
+ const de_AddFlowOutputsCommandError = async (output, context) => {
732
716
  const parsedOutput = {
733
717
  ...output,
734
718
  body: await parseErrorBody(output.body, context),
@@ -737,25 +721,25 @@ const deserializeAws_restJson1AddFlowOutputsCommandError = async (output, contex
737
721
  switch (errorCode) {
738
722
  case "AddFlowOutputs420Exception":
739
723
  case "com.amazonaws.mediaconnect#AddFlowOutputs420Exception":
740
- throw await deserializeAws_restJson1AddFlowOutputs420ExceptionResponse(parsedOutput, context);
724
+ throw await de_AddFlowOutputs420ExceptionRes(parsedOutput, context);
741
725
  case "BadRequestException":
742
726
  case "com.amazonaws.mediaconnect#BadRequestException":
743
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
727
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
744
728
  case "ForbiddenException":
745
729
  case "com.amazonaws.mediaconnect#ForbiddenException":
746
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
730
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
747
731
  case "InternalServerErrorException":
748
732
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
749
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
733
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
750
734
  case "NotFoundException":
751
735
  case "com.amazonaws.mediaconnect#NotFoundException":
752
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
736
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
753
737
  case "ServiceUnavailableException":
754
738
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
755
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
739
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
756
740
  case "TooManyRequestsException":
757
741
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
758
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
742
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
759
743
  default:
760
744
  const parsedBody = parsedOutput.body;
761
745
  throwDefaultError({
@@ -766,9 +750,9 @@ const deserializeAws_restJson1AddFlowOutputsCommandError = async (output, contex
766
750
  });
767
751
  }
768
752
  };
769
- export const deserializeAws_restJson1AddFlowSourcesCommand = async (output, context) => {
753
+ export const de_AddFlowSourcesCommand = async (output, context) => {
770
754
  if (output.statusCode !== 201 && output.statusCode >= 300) {
771
- return deserializeAws_restJson1AddFlowSourcesCommandError(output, context);
755
+ return de_AddFlowSourcesCommandError(output, context);
772
756
  }
773
757
  const contents = map({
774
758
  $metadata: deserializeMetadata(output),
@@ -778,11 +762,11 @@ export const deserializeAws_restJson1AddFlowSourcesCommand = async (output, cont
778
762
  contents.FlowArn = __expectString(data.flowArn);
779
763
  }
780
764
  if (data.sources != null) {
781
- contents.Sources = deserializeAws_restJson1__listOfSource(data.sources, context);
765
+ contents.Sources = de___listOfSource(data.sources, context);
782
766
  }
783
767
  return contents;
784
768
  };
785
- const deserializeAws_restJson1AddFlowSourcesCommandError = async (output, context) => {
769
+ const de_AddFlowSourcesCommandError = async (output, context) => {
786
770
  const parsedOutput = {
787
771
  ...output,
788
772
  body: await parseErrorBody(output.body, context),
@@ -791,22 +775,22 @@ const deserializeAws_restJson1AddFlowSourcesCommandError = async (output, contex
791
775
  switch (errorCode) {
792
776
  case "BadRequestException":
793
777
  case "com.amazonaws.mediaconnect#BadRequestException":
794
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
778
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
795
779
  case "ForbiddenException":
796
780
  case "com.amazonaws.mediaconnect#ForbiddenException":
797
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
781
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
798
782
  case "InternalServerErrorException":
799
783
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
800
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
784
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
801
785
  case "NotFoundException":
802
786
  case "com.amazonaws.mediaconnect#NotFoundException":
803
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
787
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
804
788
  case "ServiceUnavailableException":
805
789
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
806
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
790
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
807
791
  case "TooManyRequestsException":
808
792
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
809
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
793
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
810
794
  default:
811
795
  const parsedBody = parsedOutput.body;
812
796
  throwDefaultError({
@@ -817,9 +801,9 @@ const deserializeAws_restJson1AddFlowSourcesCommandError = async (output, contex
817
801
  });
818
802
  }
819
803
  };
820
- export const deserializeAws_restJson1AddFlowVpcInterfacesCommand = async (output, context) => {
804
+ export const de_AddFlowVpcInterfacesCommand = async (output, context) => {
821
805
  if (output.statusCode !== 201 && output.statusCode >= 300) {
822
- return deserializeAws_restJson1AddFlowVpcInterfacesCommandError(output, context);
806
+ return de_AddFlowVpcInterfacesCommandError(output, context);
823
807
  }
824
808
  const contents = map({
825
809
  $metadata: deserializeMetadata(output),
@@ -829,11 +813,11 @@ export const deserializeAws_restJson1AddFlowVpcInterfacesCommand = async (output
829
813
  contents.FlowArn = __expectString(data.flowArn);
830
814
  }
831
815
  if (data.vpcInterfaces != null) {
832
- contents.VpcInterfaces = deserializeAws_restJson1__listOfVpcInterface(data.vpcInterfaces, context);
816
+ contents.VpcInterfaces = de___listOfVpcInterface(data.vpcInterfaces, context);
833
817
  }
834
818
  return contents;
835
819
  };
836
- const deserializeAws_restJson1AddFlowVpcInterfacesCommandError = async (output, context) => {
820
+ const de_AddFlowVpcInterfacesCommandError = async (output, context) => {
837
821
  const parsedOutput = {
838
822
  ...output,
839
823
  body: await parseErrorBody(output.body, context),
@@ -842,22 +826,22 @@ const deserializeAws_restJson1AddFlowVpcInterfacesCommandError = async (output,
842
826
  switch (errorCode) {
843
827
  case "BadRequestException":
844
828
  case "com.amazonaws.mediaconnect#BadRequestException":
845
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
829
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
846
830
  case "ForbiddenException":
847
831
  case "com.amazonaws.mediaconnect#ForbiddenException":
848
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
832
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
849
833
  case "InternalServerErrorException":
850
834
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
851
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
835
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
852
836
  case "NotFoundException":
853
837
  case "com.amazonaws.mediaconnect#NotFoundException":
854
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
838
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
855
839
  case "ServiceUnavailableException":
856
840
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
857
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
841
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
858
842
  case "TooManyRequestsException":
859
843
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
860
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
844
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
861
845
  default:
862
846
  const parsedBody = parsedOutput.body;
863
847
  throwDefaultError({
@@ -868,20 +852,20 @@ const deserializeAws_restJson1AddFlowVpcInterfacesCommandError = async (output,
868
852
  });
869
853
  }
870
854
  };
871
- export const deserializeAws_restJson1CreateFlowCommand = async (output, context) => {
855
+ export const de_CreateFlowCommand = async (output, context) => {
872
856
  if (output.statusCode !== 201 && output.statusCode >= 300) {
873
- return deserializeAws_restJson1CreateFlowCommandError(output, context);
857
+ return de_CreateFlowCommandError(output, context);
874
858
  }
875
859
  const contents = map({
876
860
  $metadata: deserializeMetadata(output),
877
861
  });
878
862
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
879
863
  if (data.flow != null) {
880
- contents.Flow = deserializeAws_restJson1Flow(data.flow, context);
864
+ contents.Flow = de_Flow(data.flow, context);
881
865
  }
882
866
  return contents;
883
867
  };
884
- const deserializeAws_restJson1CreateFlowCommandError = async (output, context) => {
868
+ const de_CreateFlowCommandError = async (output, context) => {
885
869
  const parsedOutput = {
886
870
  ...output,
887
871
  body: await parseErrorBody(output.body, context),
@@ -890,22 +874,22 @@ const deserializeAws_restJson1CreateFlowCommandError = async (output, context) =
890
874
  switch (errorCode) {
891
875
  case "BadRequestException":
892
876
  case "com.amazonaws.mediaconnect#BadRequestException":
893
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
877
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
894
878
  case "CreateFlow420Exception":
895
879
  case "com.amazonaws.mediaconnect#CreateFlow420Exception":
896
- throw await deserializeAws_restJson1CreateFlow420ExceptionResponse(parsedOutput, context);
880
+ throw await de_CreateFlow420ExceptionRes(parsedOutput, context);
897
881
  case "ForbiddenException":
898
882
  case "com.amazonaws.mediaconnect#ForbiddenException":
899
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
883
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
900
884
  case "InternalServerErrorException":
901
885
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
902
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
886
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
903
887
  case "ServiceUnavailableException":
904
888
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
905
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
889
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
906
890
  case "TooManyRequestsException":
907
891
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
908
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
892
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
909
893
  default:
910
894
  const parsedBody = parsedOutput.body;
911
895
  throwDefaultError({
@@ -916,9 +900,9 @@ const deserializeAws_restJson1CreateFlowCommandError = async (output, context) =
916
900
  });
917
901
  }
918
902
  };
919
- export const deserializeAws_restJson1DeleteFlowCommand = async (output, context) => {
903
+ export const de_DeleteFlowCommand = async (output, context) => {
920
904
  if (output.statusCode !== 202 && output.statusCode >= 300) {
921
- return deserializeAws_restJson1DeleteFlowCommandError(output, context);
905
+ return de_DeleteFlowCommandError(output, context);
922
906
  }
923
907
  const contents = map({
924
908
  $metadata: deserializeMetadata(output),
@@ -932,7 +916,7 @@ export const deserializeAws_restJson1DeleteFlowCommand = async (output, context)
932
916
  }
933
917
  return contents;
934
918
  };
935
- const deserializeAws_restJson1DeleteFlowCommandError = async (output, context) => {
919
+ const de_DeleteFlowCommandError = async (output, context) => {
936
920
  const parsedOutput = {
937
921
  ...output,
938
922
  body: await parseErrorBody(output.body, context),
@@ -941,22 +925,22 @@ const deserializeAws_restJson1DeleteFlowCommandError = async (output, context) =
941
925
  switch (errorCode) {
942
926
  case "BadRequestException":
943
927
  case "com.amazonaws.mediaconnect#BadRequestException":
944
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
928
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
945
929
  case "ForbiddenException":
946
930
  case "com.amazonaws.mediaconnect#ForbiddenException":
947
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
931
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
948
932
  case "InternalServerErrorException":
949
933
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
950
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
934
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
951
935
  case "NotFoundException":
952
936
  case "com.amazonaws.mediaconnect#NotFoundException":
953
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
937
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
954
938
  case "ServiceUnavailableException":
955
939
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
956
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
940
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
957
941
  case "TooManyRequestsException":
958
942
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
959
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
943
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
960
944
  default:
961
945
  const parsedBody = parsedOutput.body;
962
946
  throwDefaultError({
@@ -967,23 +951,23 @@ const deserializeAws_restJson1DeleteFlowCommandError = async (output, context) =
967
951
  });
968
952
  }
969
953
  };
970
- export const deserializeAws_restJson1DescribeFlowCommand = async (output, context) => {
954
+ export const de_DescribeFlowCommand = async (output, context) => {
971
955
  if (output.statusCode !== 200 && output.statusCode >= 300) {
972
- return deserializeAws_restJson1DescribeFlowCommandError(output, context);
956
+ return de_DescribeFlowCommandError(output, context);
973
957
  }
974
958
  const contents = map({
975
959
  $metadata: deserializeMetadata(output),
976
960
  });
977
961
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
978
962
  if (data.flow != null) {
979
- contents.Flow = deserializeAws_restJson1Flow(data.flow, context);
963
+ contents.Flow = de_Flow(data.flow, context);
980
964
  }
981
965
  if (data.messages != null) {
982
- contents.Messages = deserializeAws_restJson1Messages(data.messages, context);
966
+ contents.Messages = de_Messages(data.messages, context);
983
967
  }
984
968
  return contents;
985
969
  };
986
- const deserializeAws_restJson1DescribeFlowCommandError = async (output, context) => {
970
+ const de_DescribeFlowCommandError = async (output, context) => {
987
971
  const parsedOutput = {
988
972
  ...output,
989
973
  body: await parseErrorBody(output.body, context),
@@ -992,22 +976,22 @@ const deserializeAws_restJson1DescribeFlowCommandError = async (output, context)
992
976
  switch (errorCode) {
993
977
  case "BadRequestException":
994
978
  case "com.amazonaws.mediaconnect#BadRequestException":
995
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
979
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
996
980
  case "ForbiddenException":
997
981
  case "com.amazonaws.mediaconnect#ForbiddenException":
998
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
982
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
999
983
  case "InternalServerErrorException":
1000
984
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1001
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
985
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1002
986
  case "NotFoundException":
1003
987
  case "com.amazonaws.mediaconnect#NotFoundException":
1004
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
988
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1005
989
  case "ServiceUnavailableException":
1006
990
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1007
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
991
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1008
992
  case "TooManyRequestsException":
1009
993
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1010
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
994
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1011
995
  default:
1012
996
  const parsedBody = parsedOutput.body;
1013
997
  throwDefaultError({
@@ -1018,20 +1002,20 @@ const deserializeAws_restJson1DescribeFlowCommandError = async (output, context)
1018
1002
  });
1019
1003
  }
1020
1004
  };
1021
- export const deserializeAws_restJson1DescribeOfferingCommand = async (output, context) => {
1005
+ export const de_DescribeOfferingCommand = async (output, context) => {
1022
1006
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1023
- return deserializeAws_restJson1DescribeOfferingCommandError(output, context);
1007
+ return de_DescribeOfferingCommandError(output, context);
1024
1008
  }
1025
1009
  const contents = map({
1026
1010
  $metadata: deserializeMetadata(output),
1027
1011
  });
1028
1012
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1029
1013
  if (data.offering != null) {
1030
- contents.Offering = deserializeAws_restJson1Offering(data.offering, context);
1014
+ contents.Offering = de_Offering(data.offering, context);
1031
1015
  }
1032
1016
  return contents;
1033
1017
  };
1034
- const deserializeAws_restJson1DescribeOfferingCommandError = async (output, context) => {
1018
+ const de_DescribeOfferingCommandError = async (output, context) => {
1035
1019
  const parsedOutput = {
1036
1020
  ...output,
1037
1021
  body: await parseErrorBody(output.body, context),
@@ -1040,19 +1024,19 @@ const deserializeAws_restJson1DescribeOfferingCommandError = async (output, cont
1040
1024
  switch (errorCode) {
1041
1025
  case "BadRequestException":
1042
1026
  case "com.amazonaws.mediaconnect#BadRequestException":
1043
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1027
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1044
1028
  case "InternalServerErrorException":
1045
1029
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1046
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1030
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1047
1031
  case "NotFoundException":
1048
1032
  case "com.amazonaws.mediaconnect#NotFoundException":
1049
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1033
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1050
1034
  case "ServiceUnavailableException":
1051
1035
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1052
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1036
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1053
1037
  case "TooManyRequestsException":
1054
1038
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1055
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1039
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1056
1040
  default:
1057
1041
  const parsedBody = parsedOutput.body;
1058
1042
  throwDefaultError({
@@ -1063,20 +1047,20 @@ const deserializeAws_restJson1DescribeOfferingCommandError = async (output, cont
1063
1047
  });
1064
1048
  }
1065
1049
  };
1066
- export const deserializeAws_restJson1DescribeReservationCommand = async (output, context) => {
1050
+ export const de_DescribeReservationCommand = async (output, context) => {
1067
1051
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1068
- return deserializeAws_restJson1DescribeReservationCommandError(output, context);
1052
+ return de_DescribeReservationCommandError(output, context);
1069
1053
  }
1070
1054
  const contents = map({
1071
1055
  $metadata: deserializeMetadata(output),
1072
1056
  });
1073
1057
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1074
1058
  if (data.reservation != null) {
1075
- contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
1059
+ contents.Reservation = de_Reservation(data.reservation, context);
1076
1060
  }
1077
1061
  return contents;
1078
1062
  };
1079
- const deserializeAws_restJson1DescribeReservationCommandError = async (output, context) => {
1063
+ const de_DescribeReservationCommandError = async (output, context) => {
1080
1064
  const parsedOutput = {
1081
1065
  ...output,
1082
1066
  body: await parseErrorBody(output.body, context),
@@ -1085,19 +1069,19 @@ const deserializeAws_restJson1DescribeReservationCommandError = async (output, c
1085
1069
  switch (errorCode) {
1086
1070
  case "BadRequestException":
1087
1071
  case "com.amazonaws.mediaconnect#BadRequestException":
1088
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1072
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1089
1073
  case "InternalServerErrorException":
1090
1074
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1091
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1075
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1092
1076
  case "NotFoundException":
1093
1077
  case "com.amazonaws.mediaconnect#NotFoundException":
1094
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1078
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1095
1079
  case "ServiceUnavailableException":
1096
1080
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1097
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1081
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1098
1082
  case "TooManyRequestsException":
1099
1083
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1100
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1084
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1101
1085
  default:
1102
1086
  const parsedBody = parsedOutput.body;
1103
1087
  throwDefaultError({
@@ -1108,23 +1092,23 @@ const deserializeAws_restJson1DescribeReservationCommandError = async (output, c
1108
1092
  });
1109
1093
  }
1110
1094
  };
1111
- export const deserializeAws_restJson1GrantFlowEntitlementsCommand = async (output, context) => {
1095
+ export const de_GrantFlowEntitlementsCommand = async (output, context) => {
1112
1096
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1113
- return deserializeAws_restJson1GrantFlowEntitlementsCommandError(output, context);
1097
+ return de_GrantFlowEntitlementsCommandError(output, context);
1114
1098
  }
1115
1099
  const contents = map({
1116
1100
  $metadata: deserializeMetadata(output),
1117
1101
  });
1118
1102
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1119
1103
  if (data.entitlements != null) {
1120
- contents.Entitlements = deserializeAws_restJson1__listOfEntitlement(data.entitlements, context);
1104
+ contents.Entitlements = de___listOfEntitlement(data.entitlements, context);
1121
1105
  }
1122
1106
  if (data.flowArn != null) {
1123
1107
  contents.FlowArn = __expectString(data.flowArn);
1124
1108
  }
1125
1109
  return contents;
1126
1110
  };
1127
- const deserializeAws_restJson1GrantFlowEntitlementsCommandError = async (output, context) => {
1111
+ const de_GrantFlowEntitlementsCommandError = async (output, context) => {
1128
1112
  const parsedOutput = {
1129
1113
  ...output,
1130
1114
  body: await parseErrorBody(output.body, context),
@@ -1133,25 +1117,25 @@ const deserializeAws_restJson1GrantFlowEntitlementsCommandError = async (output,
1133
1117
  switch (errorCode) {
1134
1118
  case "BadRequestException":
1135
1119
  case "com.amazonaws.mediaconnect#BadRequestException":
1136
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1120
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1137
1121
  case "ForbiddenException":
1138
1122
  case "com.amazonaws.mediaconnect#ForbiddenException":
1139
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1123
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1140
1124
  case "GrantFlowEntitlements420Exception":
1141
1125
  case "com.amazonaws.mediaconnect#GrantFlowEntitlements420Exception":
1142
- throw await deserializeAws_restJson1GrantFlowEntitlements420ExceptionResponse(parsedOutput, context);
1126
+ throw await de_GrantFlowEntitlements420ExceptionRes(parsedOutput, context);
1143
1127
  case "InternalServerErrorException":
1144
1128
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1145
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1129
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1146
1130
  case "NotFoundException":
1147
1131
  case "com.amazonaws.mediaconnect#NotFoundException":
1148
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1132
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1149
1133
  case "ServiceUnavailableException":
1150
1134
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1151
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1135
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1152
1136
  case "TooManyRequestsException":
1153
1137
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1154
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1138
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1155
1139
  default:
1156
1140
  const parsedBody = parsedOutput.body;
1157
1141
  throwDefaultError({
@@ -1162,23 +1146,23 @@ const deserializeAws_restJson1GrantFlowEntitlementsCommandError = async (output,
1162
1146
  });
1163
1147
  }
1164
1148
  };
1165
- export const deserializeAws_restJson1ListEntitlementsCommand = async (output, context) => {
1149
+ export const de_ListEntitlementsCommand = async (output, context) => {
1166
1150
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1167
- return deserializeAws_restJson1ListEntitlementsCommandError(output, context);
1151
+ return de_ListEntitlementsCommandError(output, context);
1168
1152
  }
1169
1153
  const contents = map({
1170
1154
  $metadata: deserializeMetadata(output),
1171
1155
  });
1172
1156
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1173
1157
  if (data.entitlements != null) {
1174
- contents.Entitlements = deserializeAws_restJson1__listOfListedEntitlement(data.entitlements, context);
1158
+ contents.Entitlements = de___listOfListedEntitlement(data.entitlements, context);
1175
1159
  }
1176
1160
  if (data.nextToken != null) {
1177
1161
  contents.NextToken = __expectString(data.nextToken);
1178
1162
  }
1179
1163
  return contents;
1180
1164
  };
1181
- const deserializeAws_restJson1ListEntitlementsCommandError = async (output, context) => {
1165
+ const de_ListEntitlementsCommandError = async (output, context) => {
1182
1166
  const parsedOutput = {
1183
1167
  ...output,
1184
1168
  body: await parseErrorBody(output.body, context),
@@ -1187,16 +1171,16 @@ const deserializeAws_restJson1ListEntitlementsCommandError = async (output, cont
1187
1171
  switch (errorCode) {
1188
1172
  case "BadRequestException":
1189
1173
  case "com.amazonaws.mediaconnect#BadRequestException":
1190
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1174
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1191
1175
  case "InternalServerErrorException":
1192
1176
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1193
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1177
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1194
1178
  case "ServiceUnavailableException":
1195
1179
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1196
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1180
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1197
1181
  case "TooManyRequestsException":
1198
1182
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1199
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1183
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1200
1184
  default:
1201
1185
  const parsedBody = parsedOutput.body;
1202
1186
  throwDefaultError({
@@ -1207,23 +1191,23 @@ const deserializeAws_restJson1ListEntitlementsCommandError = async (output, cont
1207
1191
  });
1208
1192
  }
1209
1193
  };
1210
- export const deserializeAws_restJson1ListFlowsCommand = async (output, context) => {
1194
+ export const de_ListFlowsCommand = async (output, context) => {
1211
1195
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1212
- return deserializeAws_restJson1ListFlowsCommandError(output, context);
1196
+ return de_ListFlowsCommandError(output, context);
1213
1197
  }
1214
1198
  const contents = map({
1215
1199
  $metadata: deserializeMetadata(output),
1216
1200
  });
1217
1201
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1218
1202
  if (data.flows != null) {
1219
- contents.Flows = deserializeAws_restJson1__listOfListedFlow(data.flows, context);
1203
+ contents.Flows = de___listOfListedFlow(data.flows, context);
1220
1204
  }
1221
1205
  if (data.nextToken != null) {
1222
1206
  contents.NextToken = __expectString(data.nextToken);
1223
1207
  }
1224
1208
  return contents;
1225
1209
  };
1226
- const deserializeAws_restJson1ListFlowsCommandError = async (output, context) => {
1210
+ const de_ListFlowsCommandError = async (output, context) => {
1227
1211
  const parsedOutput = {
1228
1212
  ...output,
1229
1213
  body: await parseErrorBody(output.body, context),
@@ -1232,16 +1216,16 @@ const deserializeAws_restJson1ListFlowsCommandError = async (output, context) =>
1232
1216
  switch (errorCode) {
1233
1217
  case "BadRequestException":
1234
1218
  case "com.amazonaws.mediaconnect#BadRequestException":
1235
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1219
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1236
1220
  case "InternalServerErrorException":
1237
1221
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1238
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1222
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1239
1223
  case "ServiceUnavailableException":
1240
1224
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1241
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1225
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1242
1226
  case "TooManyRequestsException":
1243
1227
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1244
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1228
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1245
1229
  default:
1246
1230
  const parsedBody = parsedOutput.body;
1247
1231
  throwDefaultError({
@@ -1252,9 +1236,9 @@ const deserializeAws_restJson1ListFlowsCommandError = async (output, context) =>
1252
1236
  });
1253
1237
  }
1254
1238
  };
1255
- export const deserializeAws_restJson1ListOfferingsCommand = async (output, context) => {
1239
+ export const de_ListOfferingsCommand = async (output, context) => {
1256
1240
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1257
- return deserializeAws_restJson1ListOfferingsCommandError(output, context);
1241
+ return de_ListOfferingsCommandError(output, context);
1258
1242
  }
1259
1243
  const contents = map({
1260
1244
  $metadata: deserializeMetadata(output),
@@ -1264,11 +1248,11 @@ export const deserializeAws_restJson1ListOfferingsCommand = async (output, conte
1264
1248
  contents.NextToken = __expectString(data.nextToken);
1265
1249
  }
1266
1250
  if (data.offerings != null) {
1267
- contents.Offerings = deserializeAws_restJson1__listOfOffering(data.offerings, context);
1251
+ contents.Offerings = de___listOfOffering(data.offerings, context);
1268
1252
  }
1269
1253
  return contents;
1270
1254
  };
1271
- const deserializeAws_restJson1ListOfferingsCommandError = async (output, context) => {
1255
+ const de_ListOfferingsCommandError = async (output, context) => {
1272
1256
  const parsedOutput = {
1273
1257
  ...output,
1274
1258
  body: await parseErrorBody(output.body, context),
@@ -1277,16 +1261,16 @@ const deserializeAws_restJson1ListOfferingsCommandError = async (output, context
1277
1261
  switch (errorCode) {
1278
1262
  case "BadRequestException":
1279
1263
  case "com.amazonaws.mediaconnect#BadRequestException":
1280
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1264
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1281
1265
  case "InternalServerErrorException":
1282
1266
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1283
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1267
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1284
1268
  case "ServiceUnavailableException":
1285
1269
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1286
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1270
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1287
1271
  case "TooManyRequestsException":
1288
1272
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1289
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1273
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1290
1274
  default:
1291
1275
  const parsedBody = parsedOutput.body;
1292
1276
  throwDefaultError({
@@ -1297,9 +1281,9 @@ const deserializeAws_restJson1ListOfferingsCommandError = async (output, context
1297
1281
  });
1298
1282
  }
1299
1283
  };
1300
- export const deserializeAws_restJson1ListReservationsCommand = async (output, context) => {
1284
+ export const de_ListReservationsCommand = async (output, context) => {
1301
1285
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1302
- return deserializeAws_restJson1ListReservationsCommandError(output, context);
1286
+ return de_ListReservationsCommandError(output, context);
1303
1287
  }
1304
1288
  const contents = map({
1305
1289
  $metadata: deserializeMetadata(output),
@@ -1309,11 +1293,11 @@ export const deserializeAws_restJson1ListReservationsCommand = async (output, co
1309
1293
  contents.NextToken = __expectString(data.nextToken);
1310
1294
  }
1311
1295
  if (data.reservations != null) {
1312
- contents.Reservations = deserializeAws_restJson1__listOfReservation(data.reservations, context);
1296
+ contents.Reservations = de___listOfReservation(data.reservations, context);
1313
1297
  }
1314
1298
  return contents;
1315
1299
  };
1316
- const deserializeAws_restJson1ListReservationsCommandError = async (output, context) => {
1300
+ const de_ListReservationsCommandError = async (output, context) => {
1317
1301
  const parsedOutput = {
1318
1302
  ...output,
1319
1303
  body: await parseErrorBody(output.body, context),
@@ -1322,16 +1306,16 @@ const deserializeAws_restJson1ListReservationsCommandError = async (output, cont
1322
1306
  switch (errorCode) {
1323
1307
  case "BadRequestException":
1324
1308
  case "com.amazonaws.mediaconnect#BadRequestException":
1325
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1309
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1326
1310
  case "InternalServerErrorException":
1327
1311
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1328
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1312
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1329
1313
  case "ServiceUnavailableException":
1330
1314
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1331
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1315
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1332
1316
  case "TooManyRequestsException":
1333
1317
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1334
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1318
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1335
1319
  default:
1336
1320
  const parsedBody = parsedOutput.body;
1337
1321
  throwDefaultError({
@@ -1342,20 +1326,20 @@ const deserializeAws_restJson1ListReservationsCommandError = async (output, cont
1342
1326
  });
1343
1327
  }
1344
1328
  };
1345
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1329
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1346
1330
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1347
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1331
+ return de_ListTagsForResourceCommandError(output, context);
1348
1332
  }
1349
1333
  const contents = map({
1350
1334
  $metadata: deserializeMetadata(output),
1351
1335
  });
1352
1336
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1353
1337
  if (data.tags != null) {
1354
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1338
+ contents.Tags = de___mapOf__string(data.tags, context);
1355
1339
  }
1356
1340
  return contents;
1357
1341
  };
1358
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1342
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1359
1343
  const parsedOutput = {
1360
1344
  ...output,
1361
1345
  body: await parseErrorBody(output.body, context),
@@ -1364,13 +1348,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1364
1348
  switch (errorCode) {
1365
1349
  case "BadRequestException":
1366
1350
  case "com.amazonaws.mediaconnect#BadRequestException":
1367
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1351
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1368
1352
  case "InternalServerErrorException":
1369
1353
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1370
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1354
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1371
1355
  case "NotFoundException":
1372
1356
  case "com.amazonaws.mediaconnect#NotFoundException":
1373
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1357
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1374
1358
  default:
1375
1359
  const parsedBody = parsedOutput.body;
1376
1360
  throwDefaultError({
@@ -1381,20 +1365,20 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1381
1365
  });
1382
1366
  }
1383
1367
  };
1384
- export const deserializeAws_restJson1PurchaseOfferingCommand = async (output, context) => {
1368
+ export const de_PurchaseOfferingCommand = async (output, context) => {
1385
1369
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1386
- return deserializeAws_restJson1PurchaseOfferingCommandError(output, context);
1370
+ return de_PurchaseOfferingCommandError(output, context);
1387
1371
  }
1388
1372
  const contents = map({
1389
1373
  $metadata: deserializeMetadata(output),
1390
1374
  });
1391
1375
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1392
1376
  if (data.reservation != null) {
1393
- contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
1377
+ contents.Reservation = de_Reservation(data.reservation, context);
1394
1378
  }
1395
1379
  return contents;
1396
1380
  };
1397
- const deserializeAws_restJson1PurchaseOfferingCommandError = async (output, context) => {
1381
+ const de_PurchaseOfferingCommandError = async (output, context) => {
1398
1382
  const parsedOutput = {
1399
1383
  ...output,
1400
1384
  body: await parseErrorBody(output.body, context),
@@ -1403,22 +1387,22 @@ const deserializeAws_restJson1PurchaseOfferingCommandError = async (output, cont
1403
1387
  switch (errorCode) {
1404
1388
  case "BadRequestException":
1405
1389
  case "com.amazonaws.mediaconnect#BadRequestException":
1406
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1390
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1407
1391
  case "ForbiddenException":
1408
1392
  case "com.amazonaws.mediaconnect#ForbiddenException":
1409
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1393
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1410
1394
  case "InternalServerErrorException":
1411
1395
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1412
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1396
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1413
1397
  case "NotFoundException":
1414
1398
  case "com.amazonaws.mediaconnect#NotFoundException":
1415
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1399
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1416
1400
  case "ServiceUnavailableException":
1417
1401
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1418
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1402
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1419
1403
  case "TooManyRequestsException":
1420
1404
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1421
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1405
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1422
1406
  default:
1423
1407
  const parsedBody = parsedOutput.body;
1424
1408
  throwDefaultError({
@@ -1429,9 +1413,9 @@ const deserializeAws_restJson1PurchaseOfferingCommandError = async (output, cont
1429
1413
  });
1430
1414
  }
1431
1415
  };
1432
- export const deserializeAws_restJson1RemoveFlowMediaStreamCommand = async (output, context) => {
1416
+ export const de_RemoveFlowMediaStreamCommand = async (output, context) => {
1433
1417
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1434
- return deserializeAws_restJson1RemoveFlowMediaStreamCommandError(output, context);
1418
+ return de_RemoveFlowMediaStreamCommandError(output, context);
1435
1419
  }
1436
1420
  const contents = map({
1437
1421
  $metadata: deserializeMetadata(output),
@@ -1445,7 +1429,7 @@ export const deserializeAws_restJson1RemoveFlowMediaStreamCommand = async (outpu
1445
1429
  }
1446
1430
  return contents;
1447
1431
  };
1448
- const deserializeAws_restJson1RemoveFlowMediaStreamCommandError = async (output, context) => {
1432
+ const de_RemoveFlowMediaStreamCommandError = async (output, context) => {
1449
1433
  const parsedOutput = {
1450
1434
  ...output,
1451
1435
  body: await parseErrorBody(output.body, context),
@@ -1454,22 +1438,22 @@ const deserializeAws_restJson1RemoveFlowMediaStreamCommandError = async (output,
1454
1438
  switch (errorCode) {
1455
1439
  case "BadRequestException":
1456
1440
  case "com.amazonaws.mediaconnect#BadRequestException":
1457
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1441
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1458
1442
  case "ForbiddenException":
1459
1443
  case "com.amazonaws.mediaconnect#ForbiddenException":
1460
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1444
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1461
1445
  case "InternalServerErrorException":
1462
1446
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1463
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1447
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1464
1448
  case "NotFoundException":
1465
1449
  case "com.amazonaws.mediaconnect#NotFoundException":
1466
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1450
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1467
1451
  case "ServiceUnavailableException":
1468
1452
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1469
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1453
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1470
1454
  case "TooManyRequestsException":
1471
1455
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1472
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1456
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1473
1457
  default:
1474
1458
  const parsedBody = parsedOutput.body;
1475
1459
  throwDefaultError({
@@ -1480,9 +1464,9 @@ const deserializeAws_restJson1RemoveFlowMediaStreamCommandError = async (output,
1480
1464
  });
1481
1465
  }
1482
1466
  };
1483
- export const deserializeAws_restJson1RemoveFlowOutputCommand = async (output, context) => {
1467
+ export const de_RemoveFlowOutputCommand = async (output, context) => {
1484
1468
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1485
- return deserializeAws_restJson1RemoveFlowOutputCommandError(output, context);
1469
+ return de_RemoveFlowOutputCommandError(output, context);
1486
1470
  }
1487
1471
  const contents = map({
1488
1472
  $metadata: deserializeMetadata(output),
@@ -1496,7 +1480,7 @@ export const deserializeAws_restJson1RemoveFlowOutputCommand = async (output, co
1496
1480
  }
1497
1481
  return contents;
1498
1482
  };
1499
- const deserializeAws_restJson1RemoveFlowOutputCommandError = async (output, context) => {
1483
+ const de_RemoveFlowOutputCommandError = async (output, context) => {
1500
1484
  const parsedOutput = {
1501
1485
  ...output,
1502
1486
  body: await parseErrorBody(output.body, context),
@@ -1505,22 +1489,22 @@ const deserializeAws_restJson1RemoveFlowOutputCommandError = async (output, cont
1505
1489
  switch (errorCode) {
1506
1490
  case "BadRequestException":
1507
1491
  case "com.amazonaws.mediaconnect#BadRequestException":
1508
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1492
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1509
1493
  case "ForbiddenException":
1510
1494
  case "com.amazonaws.mediaconnect#ForbiddenException":
1511
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1495
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1512
1496
  case "InternalServerErrorException":
1513
1497
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1514
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1498
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1515
1499
  case "NotFoundException":
1516
1500
  case "com.amazonaws.mediaconnect#NotFoundException":
1517
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1501
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1518
1502
  case "ServiceUnavailableException":
1519
1503
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1520
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1504
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1521
1505
  case "TooManyRequestsException":
1522
1506
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1523
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1507
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1524
1508
  default:
1525
1509
  const parsedBody = parsedOutput.body;
1526
1510
  throwDefaultError({
@@ -1531,9 +1515,9 @@ const deserializeAws_restJson1RemoveFlowOutputCommandError = async (output, cont
1531
1515
  });
1532
1516
  }
1533
1517
  };
1534
- export const deserializeAws_restJson1RemoveFlowSourceCommand = async (output, context) => {
1518
+ export const de_RemoveFlowSourceCommand = async (output, context) => {
1535
1519
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1536
- return deserializeAws_restJson1RemoveFlowSourceCommandError(output, context);
1520
+ return de_RemoveFlowSourceCommandError(output, context);
1537
1521
  }
1538
1522
  const contents = map({
1539
1523
  $metadata: deserializeMetadata(output),
@@ -1547,7 +1531,7 @@ export const deserializeAws_restJson1RemoveFlowSourceCommand = async (output, co
1547
1531
  }
1548
1532
  return contents;
1549
1533
  };
1550
- const deserializeAws_restJson1RemoveFlowSourceCommandError = async (output, context) => {
1534
+ const de_RemoveFlowSourceCommandError = async (output, context) => {
1551
1535
  const parsedOutput = {
1552
1536
  ...output,
1553
1537
  body: await parseErrorBody(output.body, context),
@@ -1556,22 +1540,22 @@ const deserializeAws_restJson1RemoveFlowSourceCommandError = async (output, cont
1556
1540
  switch (errorCode) {
1557
1541
  case "BadRequestException":
1558
1542
  case "com.amazonaws.mediaconnect#BadRequestException":
1559
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1543
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1560
1544
  case "ForbiddenException":
1561
1545
  case "com.amazonaws.mediaconnect#ForbiddenException":
1562
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1546
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1563
1547
  case "InternalServerErrorException":
1564
1548
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1565
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1549
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1566
1550
  case "NotFoundException":
1567
1551
  case "com.amazonaws.mediaconnect#NotFoundException":
1568
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1552
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1569
1553
  case "ServiceUnavailableException":
1570
1554
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1571
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1555
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1572
1556
  case "TooManyRequestsException":
1573
1557
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1574
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1558
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1575
1559
  default:
1576
1560
  const parsedBody = parsedOutput.body;
1577
1561
  throwDefaultError({
@@ -1582,9 +1566,9 @@ const deserializeAws_restJson1RemoveFlowSourceCommandError = async (output, cont
1582
1566
  });
1583
1567
  }
1584
1568
  };
1585
- export const deserializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (output, context) => {
1569
+ export const de_RemoveFlowVpcInterfaceCommand = async (output, context) => {
1586
1570
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1587
- return deserializeAws_restJson1RemoveFlowVpcInterfaceCommandError(output, context);
1571
+ return de_RemoveFlowVpcInterfaceCommandError(output, context);
1588
1572
  }
1589
1573
  const contents = map({
1590
1574
  $metadata: deserializeMetadata(output),
@@ -1594,14 +1578,14 @@ export const deserializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (outp
1594
1578
  contents.FlowArn = __expectString(data.flowArn);
1595
1579
  }
1596
1580
  if (data.nonDeletedNetworkInterfaceIds != null) {
1597
- contents.NonDeletedNetworkInterfaceIds = deserializeAws_restJson1__listOf__string(data.nonDeletedNetworkInterfaceIds, context);
1581
+ contents.NonDeletedNetworkInterfaceIds = de___listOf__string(data.nonDeletedNetworkInterfaceIds, context);
1598
1582
  }
1599
1583
  if (data.vpcInterfaceName != null) {
1600
1584
  contents.VpcInterfaceName = __expectString(data.vpcInterfaceName);
1601
1585
  }
1602
1586
  return contents;
1603
1587
  };
1604
- const deserializeAws_restJson1RemoveFlowVpcInterfaceCommandError = async (output, context) => {
1588
+ const de_RemoveFlowVpcInterfaceCommandError = async (output, context) => {
1605
1589
  const parsedOutput = {
1606
1590
  ...output,
1607
1591
  body: await parseErrorBody(output.body, context),
@@ -1610,22 +1594,22 @@ const deserializeAws_restJson1RemoveFlowVpcInterfaceCommandError = async (output
1610
1594
  switch (errorCode) {
1611
1595
  case "BadRequestException":
1612
1596
  case "com.amazonaws.mediaconnect#BadRequestException":
1613
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1597
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1614
1598
  case "ForbiddenException":
1615
1599
  case "com.amazonaws.mediaconnect#ForbiddenException":
1616
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1600
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1617
1601
  case "InternalServerErrorException":
1618
1602
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1619
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1603
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1620
1604
  case "NotFoundException":
1621
1605
  case "com.amazonaws.mediaconnect#NotFoundException":
1622
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1606
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1623
1607
  case "ServiceUnavailableException":
1624
1608
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1625
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1609
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1626
1610
  case "TooManyRequestsException":
1627
1611
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1628
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1612
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1629
1613
  default:
1630
1614
  const parsedBody = parsedOutput.body;
1631
1615
  throwDefaultError({
@@ -1636,9 +1620,9 @@ const deserializeAws_restJson1RemoveFlowVpcInterfaceCommandError = async (output
1636
1620
  });
1637
1621
  }
1638
1622
  };
1639
- export const deserializeAws_restJson1RevokeFlowEntitlementCommand = async (output, context) => {
1623
+ export const de_RevokeFlowEntitlementCommand = async (output, context) => {
1640
1624
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1641
- return deserializeAws_restJson1RevokeFlowEntitlementCommandError(output, context);
1625
+ return de_RevokeFlowEntitlementCommandError(output, context);
1642
1626
  }
1643
1627
  const contents = map({
1644
1628
  $metadata: deserializeMetadata(output),
@@ -1652,7 +1636,7 @@ export const deserializeAws_restJson1RevokeFlowEntitlementCommand = async (outpu
1652
1636
  }
1653
1637
  return contents;
1654
1638
  };
1655
- const deserializeAws_restJson1RevokeFlowEntitlementCommandError = async (output, context) => {
1639
+ const de_RevokeFlowEntitlementCommandError = async (output, context) => {
1656
1640
  const parsedOutput = {
1657
1641
  ...output,
1658
1642
  body: await parseErrorBody(output.body, context),
@@ -1661,22 +1645,22 @@ const deserializeAws_restJson1RevokeFlowEntitlementCommandError = async (output,
1661
1645
  switch (errorCode) {
1662
1646
  case "BadRequestException":
1663
1647
  case "com.amazonaws.mediaconnect#BadRequestException":
1664
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1648
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1665
1649
  case "ForbiddenException":
1666
1650
  case "com.amazonaws.mediaconnect#ForbiddenException":
1667
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1651
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1668
1652
  case "InternalServerErrorException":
1669
1653
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1670
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1654
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1671
1655
  case "NotFoundException":
1672
1656
  case "com.amazonaws.mediaconnect#NotFoundException":
1673
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1657
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1674
1658
  case "ServiceUnavailableException":
1675
1659
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1676
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1660
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1677
1661
  case "TooManyRequestsException":
1678
1662
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1679
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1663
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1680
1664
  default:
1681
1665
  const parsedBody = parsedOutput.body;
1682
1666
  throwDefaultError({
@@ -1687,9 +1671,9 @@ const deserializeAws_restJson1RevokeFlowEntitlementCommandError = async (output,
1687
1671
  });
1688
1672
  }
1689
1673
  };
1690
- export const deserializeAws_restJson1StartFlowCommand = async (output, context) => {
1674
+ export const de_StartFlowCommand = async (output, context) => {
1691
1675
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1692
- return deserializeAws_restJson1StartFlowCommandError(output, context);
1676
+ return de_StartFlowCommandError(output, context);
1693
1677
  }
1694
1678
  const contents = map({
1695
1679
  $metadata: deserializeMetadata(output),
@@ -1703,7 +1687,7 @@ export const deserializeAws_restJson1StartFlowCommand = async (output, context)
1703
1687
  }
1704
1688
  return contents;
1705
1689
  };
1706
- const deserializeAws_restJson1StartFlowCommandError = async (output, context) => {
1690
+ const de_StartFlowCommandError = async (output, context) => {
1707
1691
  const parsedOutput = {
1708
1692
  ...output,
1709
1693
  body: await parseErrorBody(output.body, context),
@@ -1712,22 +1696,22 @@ const deserializeAws_restJson1StartFlowCommandError = async (output, context) =>
1712
1696
  switch (errorCode) {
1713
1697
  case "BadRequestException":
1714
1698
  case "com.amazonaws.mediaconnect#BadRequestException":
1715
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1699
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1716
1700
  case "ForbiddenException":
1717
1701
  case "com.amazonaws.mediaconnect#ForbiddenException":
1718
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1702
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1719
1703
  case "InternalServerErrorException":
1720
1704
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1721
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1705
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1722
1706
  case "NotFoundException":
1723
1707
  case "com.amazonaws.mediaconnect#NotFoundException":
1724
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1708
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1725
1709
  case "ServiceUnavailableException":
1726
1710
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1727
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1711
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1728
1712
  case "TooManyRequestsException":
1729
1713
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1730
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1714
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1731
1715
  default:
1732
1716
  const parsedBody = parsedOutput.body;
1733
1717
  throwDefaultError({
@@ -1738,9 +1722,9 @@ const deserializeAws_restJson1StartFlowCommandError = async (output, context) =>
1738
1722
  });
1739
1723
  }
1740
1724
  };
1741
- export const deserializeAws_restJson1StopFlowCommand = async (output, context) => {
1725
+ export const de_StopFlowCommand = async (output, context) => {
1742
1726
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1743
- return deserializeAws_restJson1StopFlowCommandError(output, context);
1727
+ return de_StopFlowCommandError(output, context);
1744
1728
  }
1745
1729
  const contents = map({
1746
1730
  $metadata: deserializeMetadata(output),
@@ -1754,7 +1738,7 @@ export const deserializeAws_restJson1StopFlowCommand = async (output, context) =
1754
1738
  }
1755
1739
  return contents;
1756
1740
  };
1757
- const deserializeAws_restJson1StopFlowCommandError = async (output, context) => {
1741
+ const de_StopFlowCommandError = async (output, context) => {
1758
1742
  const parsedOutput = {
1759
1743
  ...output,
1760
1744
  body: await parseErrorBody(output.body, context),
@@ -1763,22 +1747,22 @@ const deserializeAws_restJson1StopFlowCommandError = async (output, context) =>
1763
1747
  switch (errorCode) {
1764
1748
  case "BadRequestException":
1765
1749
  case "com.amazonaws.mediaconnect#BadRequestException":
1766
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1750
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1767
1751
  case "ForbiddenException":
1768
1752
  case "com.amazonaws.mediaconnect#ForbiddenException":
1769
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1753
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1770
1754
  case "InternalServerErrorException":
1771
1755
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1772
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1756
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1773
1757
  case "NotFoundException":
1774
1758
  case "com.amazonaws.mediaconnect#NotFoundException":
1775
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1759
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1776
1760
  case "ServiceUnavailableException":
1777
1761
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1778
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1762
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1779
1763
  case "TooManyRequestsException":
1780
1764
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1781
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1765
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1782
1766
  default:
1783
1767
  const parsedBody = parsedOutput.body;
1784
1768
  throwDefaultError({
@@ -1789,9 +1773,9 @@ const deserializeAws_restJson1StopFlowCommandError = async (output, context) =>
1789
1773
  });
1790
1774
  }
1791
1775
  };
1792
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1776
+ export const de_TagResourceCommand = async (output, context) => {
1793
1777
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1794
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1778
+ return de_TagResourceCommandError(output, context);
1795
1779
  }
1796
1780
  const contents = map({
1797
1781
  $metadata: deserializeMetadata(output),
@@ -1799,7 +1783,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1799
1783
  await collectBody(output.body, context);
1800
1784
  return contents;
1801
1785
  };
1802
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1786
+ const de_TagResourceCommandError = async (output, context) => {
1803
1787
  const parsedOutput = {
1804
1788
  ...output,
1805
1789
  body: await parseErrorBody(output.body, context),
@@ -1808,13 +1792,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1808
1792
  switch (errorCode) {
1809
1793
  case "BadRequestException":
1810
1794
  case "com.amazonaws.mediaconnect#BadRequestException":
1811
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1795
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1812
1796
  case "InternalServerErrorException":
1813
1797
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1814
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1798
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1815
1799
  case "NotFoundException":
1816
1800
  case "com.amazonaws.mediaconnect#NotFoundException":
1817
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1801
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1818
1802
  default:
1819
1803
  const parsedBody = parsedOutput.body;
1820
1804
  throwDefaultError({
@@ -1825,9 +1809,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1825
1809
  });
1826
1810
  }
1827
1811
  };
1828
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1812
+ export const de_UntagResourceCommand = async (output, context) => {
1829
1813
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1830
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1814
+ return de_UntagResourceCommandError(output, context);
1831
1815
  }
1832
1816
  const contents = map({
1833
1817
  $metadata: deserializeMetadata(output),
@@ -1835,7 +1819,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1835
1819
  await collectBody(output.body, context);
1836
1820
  return contents;
1837
1821
  };
1838
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1822
+ const de_UntagResourceCommandError = async (output, context) => {
1839
1823
  const parsedOutput = {
1840
1824
  ...output,
1841
1825
  body: await parseErrorBody(output.body, context),
@@ -1844,13 +1828,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1844
1828
  switch (errorCode) {
1845
1829
  case "BadRequestException":
1846
1830
  case "com.amazonaws.mediaconnect#BadRequestException":
1847
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1831
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1848
1832
  case "InternalServerErrorException":
1849
1833
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1850
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1834
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1851
1835
  case "NotFoundException":
1852
1836
  case "com.amazonaws.mediaconnect#NotFoundException":
1853
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1837
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1854
1838
  default:
1855
1839
  const parsedBody = parsedOutput.body;
1856
1840
  throwDefaultError({
@@ -1861,20 +1845,20 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1861
1845
  });
1862
1846
  }
1863
1847
  };
1864
- export const deserializeAws_restJson1UpdateFlowCommand = async (output, context) => {
1848
+ export const de_UpdateFlowCommand = async (output, context) => {
1865
1849
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1866
- return deserializeAws_restJson1UpdateFlowCommandError(output, context);
1850
+ return de_UpdateFlowCommandError(output, context);
1867
1851
  }
1868
1852
  const contents = map({
1869
1853
  $metadata: deserializeMetadata(output),
1870
1854
  });
1871
1855
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1872
1856
  if (data.flow != null) {
1873
- contents.Flow = deserializeAws_restJson1Flow(data.flow, context);
1857
+ contents.Flow = de_Flow(data.flow, context);
1874
1858
  }
1875
1859
  return contents;
1876
1860
  };
1877
- const deserializeAws_restJson1UpdateFlowCommandError = async (output, context) => {
1861
+ const de_UpdateFlowCommandError = async (output, context) => {
1878
1862
  const parsedOutput = {
1879
1863
  ...output,
1880
1864
  body: await parseErrorBody(output.body, context),
@@ -1883,22 +1867,22 @@ const deserializeAws_restJson1UpdateFlowCommandError = async (output, context) =
1883
1867
  switch (errorCode) {
1884
1868
  case "BadRequestException":
1885
1869
  case "com.amazonaws.mediaconnect#BadRequestException":
1886
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1870
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1887
1871
  case "ForbiddenException":
1888
1872
  case "com.amazonaws.mediaconnect#ForbiddenException":
1889
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1873
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1890
1874
  case "InternalServerErrorException":
1891
1875
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1892
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1876
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1893
1877
  case "NotFoundException":
1894
1878
  case "com.amazonaws.mediaconnect#NotFoundException":
1895
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1879
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1896
1880
  case "ServiceUnavailableException":
1897
1881
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1898
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1882
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1899
1883
  case "TooManyRequestsException":
1900
1884
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1901
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1885
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1902
1886
  default:
1903
1887
  const parsedBody = parsedOutput.body;
1904
1888
  throwDefaultError({
@@ -1909,23 +1893,23 @@ const deserializeAws_restJson1UpdateFlowCommandError = async (output, context) =
1909
1893
  });
1910
1894
  }
1911
1895
  };
1912
- export const deserializeAws_restJson1UpdateFlowEntitlementCommand = async (output, context) => {
1896
+ export const de_UpdateFlowEntitlementCommand = async (output, context) => {
1913
1897
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1914
- return deserializeAws_restJson1UpdateFlowEntitlementCommandError(output, context);
1898
+ return de_UpdateFlowEntitlementCommandError(output, context);
1915
1899
  }
1916
1900
  const contents = map({
1917
1901
  $metadata: deserializeMetadata(output),
1918
1902
  });
1919
1903
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1920
1904
  if (data.entitlement != null) {
1921
- contents.Entitlement = deserializeAws_restJson1Entitlement(data.entitlement, context);
1905
+ contents.Entitlement = de_Entitlement(data.entitlement, context);
1922
1906
  }
1923
1907
  if (data.flowArn != null) {
1924
1908
  contents.FlowArn = __expectString(data.flowArn);
1925
1909
  }
1926
1910
  return contents;
1927
1911
  };
1928
- const deserializeAws_restJson1UpdateFlowEntitlementCommandError = async (output, context) => {
1912
+ const de_UpdateFlowEntitlementCommandError = async (output, context) => {
1929
1913
  const parsedOutput = {
1930
1914
  ...output,
1931
1915
  body: await parseErrorBody(output.body, context),
@@ -1934,22 +1918,22 @@ const deserializeAws_restJson1UpdateFlowEntitlementCommandError = async (output,
1934
1918
  switch (errorCode) {
1935
1919
  case "BadRequestException":
1936
1920
  case "com.amazonaws.mediaconnect#BadRequestException":
1937
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1921
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1938
1922
  case "ForbiddenException":
1939
1923
  case "com.amazonaws.mediaconnect#ForbiddenException":
1940
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1924
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1941
1925
  case "InternalServerErrorException":
1942
1926
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1943
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1927
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1944
1928
  case "NotFoundException":
1945
1929
  case "com.amazonaws.mediaconnect#NotFoundException":
1946
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1930
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1947
1931
  case "ServiceUnavailableException":
1948
1932
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1949
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1933
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1950
1934
  case "TooManyRequestsException":
1951
1935
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1952
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1936
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1953
1937
  default:
1954
1938
  const parsedBody = parsedOutput.body;
1955
1939
  throwDefaultError({
@@ -1960,9 +1944,9 @@ const deserializeAws_restJson1UpdateFlowEntitlementCommandError = async (output,
1960
1944
  });
1961
1945
  }
1962
1946
  };
1963
- export const deserializeAws_restJson1UpdateFlowMediaStreamCommand = async (output, context) => {
1947
+ export const de_UpdateFlowMediaStreamCommand = async (output, context) => {
1964
1948
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1965
- return deserializeAws_restJson1UpdateFlowMediaStreamCommandError(output, context);
1949
+ return de_UpdateFlowMediaStreamCommandError(output, context);
1966
1950
  }
1967
1951
  const contents = map({
1968
1952
  $metadata: deserializeMetadata(output),
@@ -1972,11 +1956,11 @@ export const deserializeAws_restJson1UpdateFlowMediaStreamCommand = async (outpu
1972
1956
  contents.FlowArn = __expectString(data.flowArn);
1973
1957
  }
1974
1958
  if (data.mediaStream != null) {
1975
- contents.MediaStream = deserializeAws_restJson1MediaStream(data.mediaStream, context);
1959
+ contents.MediaStream = de_MediaStream(data.mediaStream, context);
1976
1960
  }
1977
1961
  return contents;
1978
1962
  };
1979
- const deserializeAws_restJson1UpdateFlowMediaStreamCommandError = async (output, context) => {
1963
+ const de_UpdateFlowMediaStreamCommandError = async (output, context) => {
1980
1964
  const parsedOutput = {
1981
1965
  ...output,
1982
1966
  body: await parseErrorBody(output.body, context),
@@ -1985,22 +1969,22 @@ const deserializeAws_restJson1UpdateFlowMediaStreamCommandError = async (output,
1985
1969
  switch (errorCode) {
1986
1970
  case "BadRequestException":
1987
1971
  case "com.amazonaws.mediaconnect#BadRequestException":
1988
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1972
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1989
1973
  case "ForbiddenException":
1990
1974
  case "com.amazonaws.mediaconnect#ForbiddenException":
1991
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1975
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1992
1976
  case "InternalServerErrorException":
1993
1977
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1994
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1978
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1995
1979
  case "NotFoundException":
1996
1980
  case "com.amazonaws.mediaconnect#NotFoundException":
1997
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1981
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1998
1982
  case "ServiceUnavailableException":
1999
1983
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
2000
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1984
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2001
1985
  case "TooManyRequestsException":
2002
1986
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
2003
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1987
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2004
1988
  default:
2005
1989
  const parsedBody = parsedOutput.body;
2006
1990
  throwDefaultError({
@@ -2011,9 +1995,9 @@ const deserializeAws_restJson1UpdateFlowMediaStreamCommandError = async (output,
2011
1995
  });
2012
1996
  }
2013
1997
  };
2014
- export const deserializeAws_restJson1UpdateFlowOutputCommand = async (output, context) => {
1998
+ export const de_UpdateFlowOutputCommand = async (output, context) => {
2015
1999
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2016
- return deserializeAws_restJson1UpdateFlowOutputCommandError(output, context);
2000
+ return de_UpdateFlowOutputCommandError(output, context);
2017
2001
  }
2018
2002
  const contents = map({
2019
2003
  $metadata: deserializeMetadata(output),
@@ -2023,11 +2007,11 @@ export const deserializeAws_restJson1UpdateFlowOutputCommand = async (output, co
2023
2007
  contents.FlowArn = __expectString(data.flowArn);
2024
2008
  }
2025
2009
  if (data.output != null) {
2026
- contents.Output = deserializeAws_restJson1Output(data.output, context);
2010
+ contents.Output = de_Output(data.output, context);
2027
2011
  }
2028
2012
  return contents;
2029
2013
  };
2030
- const deserializeAws_restJson1UpdateFlowOutputCommandError = async (output, context) => {
2014
+ const de_UpdateFlowOutputCommandError = async (output, context) => {
2031
2015
  const parsedOutput = {
2032
2016
  ...output,
2033
2017
  body: await parseErrorBody(output.body, context),
@@ -2036,22 +2020,22 @@ const deserializeAws_restJson1UpdateFlowOutputCommandError = async (output, cont
2036
2020
  switch (errorCode) {
2037
2021
  case "BadRequestException":
2038
2022
  case "com.amazonaws.mediaconnect#BadRequestException":
2039
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2023
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2040
2024
  case "ForbiddenException":
2041
2025
  case "com.amazonaws.mediaconnect#ForbiddenException":
2042
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2026
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2043
2027
  case "InternalServerErrorException":
2044
2028
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
2045
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2029
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2046
2030
  case "NotFoundException":
2047
2031
  case "com.amazonaws.mediaconnect#NotFoundException":
2048
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2032
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2049
2033
  case "ServiceUnavailableException":
2050
2034
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
2051
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2035
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2052
2036
  case "TooManyRequestsException":
2053
2037
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
2054
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
2038
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2055
2039
  default:
2056
2040
  const parsedBody = parsedOutput.body;
2057
2041
  throwDefaultError({
@@ -2062,9 +2046,9 @@ const deserializeAws_restJson1UpdateFlowOutputCommandError = async (output, cont
2062
2046
  });
2063
2047
  }
2064
2048
  };
2065
- export const deserializeAws_restJson1UpdateFlowSourceCommand = async (output, context) => {
2049
+ export const de_UpdateFlowSourceCommand = async (output, context) => {
2066
2050
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2067
- return deserializeAws_restJson1UpdateFlowSourceCommandError(output, context);
2051
+ return de_UpdateFlowSourceCommandError(output, context);
2068
2052
  }
2069
2053
  const contents = map({
2070
2054
  $metadata: deserializeMetadata(output),
@@ -2074,11 +2058,11 @@ export const deserializeAws_restJson1UpdateFlowSourceCommand = async (output, co
2074
2058
  contents.FlowArn = __expectString(data.flowArn);
2075
2059
  }
2076
2060
  if (data.source != null) {
2077
- contents.Source = deserializeAws_restJson1Source(data.source, context);
2061
+ contents.Source = de_Source(data.source, context);
2078
2062
  }
2079
2063
  return contents;
2080
2064
  };
2081
- const deserializeAws_restJson1UpdateFlowSourceCommandError = async (output, context) => {
2065
+ const de_UpdateFlowSourceCommandError = async (output, context) => {
2082
2066
  const parsedOutput = {
2083
2067
  ...output,
2084
2068
  body: await parseErrorBody(output.body, context),
@@ -2087,22 +2071,22 @@ const deserializeAws_restJson1UpdateFlowSourceCommandError = async (output, cont
2087
2071
  switch (errorCode) {
2088
2072
  case "BadRequestException":
2089
2073
  case "com.amazonaws.mediaconnect#BadRequestException":
2090
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2074
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2091
2075
  case "ForbiddenException":
2092
2076
  case "com.amazonaws.mediaconnect#ForbiddenException":
2093
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2077
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2094
2078
  case "InternalServerErrorException":
2095
2079
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
2096
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2080
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2097
2081
  case "NotFoundException":
2098
2082
  case "com.amazonaws.mediaconnect#NotFoundException":
2099
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2083
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2100
2084
  case "ServiceUnavailableException":
2101
2085
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
2102
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2086
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2103
2087
  case "TooManyRequestsException":
2104
2088
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
2105
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
2089
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2106
2090
  default:
2107
2091
  const parsedBody = parsedOutput.body;
2108
2092
  throwDefaultError({
@@ -2114,7 +2098,7 @@ const deserializeAws_restJson1UpdateFlowSourceCommandError = async (output, cont
2114
2098
  }
2115
2099
  };
2116
2100
  const map = __map;
2117
- const deserializeAws_restJson1AddFlowOutputs420ExceptionResponse = async (parsedOutput, context) => {
2101
+ const de_AddFlowOutputs420ExceptionRes = async (parsedOutput, context) => {
2118
2102
  const contents = map({});
2119
2103
  const data = parsedOutput.body;
2120
2104
  if (data.message != null) {
@@ -2126,7 +2110,7 @@ const deserializeAws_restJson1AddFlowOutputs420ExceptionResponse = async (parsed
2126
2110
  });
2127
2111
  return __decorateServiceException(exception, parsedOutput.body);
2128
2112
  };
2129
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
2113
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
2130
2114
  const contents = map({});
2131
2115
  const data = parsedOutput.body;
2132
2116
  if (data.message != null) {
@@ -2138,7 +2122,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
2138
2122
  });
2139
2123
  return __decorateServiceException(exception, parsedOutput.body);
2140
2124
  };
2141
- const deserializeAws_restJson1CreateFlow420ExceptionResponse = async (parsedOutput, context) => {
2125
+ const de_CreateFlow420ExceptionRes = async (parsedOutput, context) => {
2142
2126
  const contents = map({});
2143
2127
  const data = parsedOutput.body;
2144
2128
  if (data.message != null) {
@@ -2150,7 +2134,7 @@ const deserializeAws_restJson1CreateFlow420ExceptionResponse = async (parsedOutp
2150
2134
  });
2151
2135
  return __decorateServiceException(exception, parsedOutput.body);
2152
2136
  };
2153
- const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
2137
+ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
2154
2138
  const contents = map({});
2155
2139
  const data = parsedOutput.body;
2156
2140
  if (data.message != null) {
@@ -2162,7 +2146,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
2162
2146
  });
2163
2147
  return __decorateServiceException(exception, parsedOutput.body);
2164
2148
  };
2165
- const deserializeAws_restJson1GrantFlowEntitlements420ExceptionResponse = async (parsedOutput, context) => {
2149
+ const de_GrantFlowEntitlements420ExceptionRes = async (parsedOutput, context) => {
2166
2150
  const contents = map({});
2167
2151
  const data = parsedOutput.body;
2168
2152
  if (data.message != null) {
@@ -2174,7 +2158,7 @@ const deserializeAws_restJson1GrantFlowEntitlements420ExceptionResponse = async
2174
2158
  });
2175
2159
  return __decorateServiceException(exception, parsedOutput.body);
2176
2160
  };
2177
- const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
2161
+ const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
2178
2162
  const contents = map({});
2179
2163
  const data = parsedOutput.body;
2180
2164
  if (data.message != null) {
@@ -2186,7 +2170,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
2186
2170
  });
2187
2171
  return __decorateServiceException(exception, parsedOutput.body);
2188
2172
  };
2189
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
2173
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
2190
2174
  const contents = map({});
2191
2175
  const data = parsedOutput.body;
2192
2176
  if (data.message != null) {
@@ -2198,7 +2182,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
2198
2182
  });
2199
2183
  return __decorateServiceException(exception, parsedOutput.body);
2200
2184
  };
2201
- const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
2185
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
2202
2186
  const contents = map({});
2203
2187
  const data = parsedOutput.body;
2204
2188
  if (data.message != null) {
@@ -2210,7 +2194,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
2210
2194
  });
2211
2195
  return __decorateServiceException(exception, parsedOutput.body);
2212
2196
  };
2213
- const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
2197
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
2214
2198
  const contents = map({});
2215
2199
  const data = parsedOutput.body;
2216
2200
  if (data.message != null) {
@@ -2222,77 +2206,77 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
2222
2206
  });
2223
2207
  return __decorateServiceException(exception, parsedOutput.body);
2224
2208
  };
2225
- const serializeAws_restJson1__listOf__string = (input, context) => {
2209
+ const se___listOf__string = (input, context) => {
2226
2210
  return input
2227
2211
  .filter((e) => e != null)
2228
2212
  .map((entry) => {
2229
2213
  return entry;
2230
2214
  });
2231
2215
  };
2232
- const serializeAws_restJson1__listOfAddMediaStreamRequest = (input, context) => {
2216
+ const se___listOfAddMediaStreamRequest = (input, context) => {
2233
2217
  return input
2234
2218
  .filter((e) => e != null)
2235
2219
  .map((entry) => {
2236
- return serializeAws_restJson1AddMediaStreamRequest(entry, context);
2220
+ return se_AddMediaStreamRequest(entry, context);
2237
2221
  });
2238
2222
  };
2239
- const serializeAws_restJson1__listOfAddOutputRequest = (input, context) => {
2223
+ const se___listOfAddOutputRequest = (input, context) => {
2240
2224
  return input
2241
2225
  .filter((e) => e != null)
2242
2226
  .map((entry) => {
2243
- return serializeAws_restJson1AddOutputRequest(entry, context);
2227
+ return se_AddOutputRequest(entry, context);
2244
2228
  });
2245
2229
  };
2246
- const serializeAws_restJson1__listOfDestinationConfigurationRequest = (input, context) => {
2230
+ const se___listOfDestinationConfigurationRequest = (input, context) => {
2247
2231
  return input
2248
2232
  .filter((e) => e != null)
2249
2233
  .map((entry) => {
2250
- return serializeAws_restJson1DestinationConfigurationRequest(entry, context);
2234
+ return se_DestinationConfigurationRequest(entry, context);
2251
2235
  });
2252
2236
  };
2253
- const serializeAws_restJson1__listOfGrantEntitlementRequest = (input, context) => {
2237
+ const se___listOfGrantEntitlementRequest = (input, context) => {
2254
2238
  return input
2255
2239
  .filter((e) => e != null)
2256
2240
  .map((entry) => {
2257
- return serializeAws_restJson1GrantEntitlementRequest(entry, context);
2241
+ return se_GrantEntitlementRequest(entry, context);
2258
2242
  });
2259
2243
  };
2260
- const serializeAws_restJson1__listOfInputConfigurationRequest = (input, context) => {
2244
+ const se___listOfInputConfigurationRequest = (input, context) => {
2261
2245
  return input
2262
2246
  .filter((e) => e != null)
2263
2247
  .map((entry) => {
2264
- return serializeAws_restJson1InputConfigurationRequest(entry, context);
2248
+ return se_InputConfigurationRequest(entry, context);
2265
2249
  });
2266
2250
  };
2267
- const serializeAws_restJson1__listOfMediaStreamOutputConfigurationRequest = (input, context) => {
2251
+ const se___listOfMediaStreamOutputConfigurationRequest = (input, context) => {
2268
2252
  return input
2269
2253
  .filter((e) => e != null)
2270
2254
  .map((entry) => {
2271
- return serializeAws_restJson1MediaStreamOutputConfigurationRequest(entry, context);
2255
+ return se_MediaStreamOutputConfigurationRequest(entry, context);
2272
2256
  });
2273
2257
  };
2274
- const serializeAws_restJson1__listOfMediaStreamSourceConfigurationRequest = (input, context) => {
2258
+ const se___listOfMediaStreamSourceConfigurationRequest = (input, context) => {
2275
2259
  return input
2276
2260
  .filter((e) => e != null)
2277
2261
  .map((entry) => {
2278
- return serializeAws_restJson1MediaStreamSourceConfigurationRequest(entry, context);
2262
+ return se_MediaStreamSourceConfigurationRequest(entry, context);
2279
2263
  });
2280
2264
  };
2281
- const serializeAws_restJson1__listOfSetSourceRequest = (input, context) => {
2265
+ const se___listOfSetSourceRequest = (input, context) => {
2282
2266
  return input
2283
2267
  .filter((e) => e != null)
2284
2268
  .map((entry) => {
2285
- return serializeAws_restJson1SetSourceRequest(entry, context);
2269
+ return se_SetSourceRequest(entry, context);
2286
2270
  });
2287
2271
  };
2288
- const serializeAws_restJson1__listOfVpcInterfaceRequest = (input, context) => {
2272
+ const se___listOfVpcInterfaceRequest = (input, context) => {
2289
2273
  return input
2290
2274
  .filter((e) => e != null)
2291
2275
  .map((entry) => {
2292
- return serializeAws_restJson1VpcInterfaceRequest(entry, context);
2276
+ return se_VpcInterfaceRequest(entry, context);
2293
2277
  });
2294
2278
  };
2295
- const serializeAws_restJson1__mapOf__string = (input, context) => {
2279
+ const se___mapOf__string = (input, context) => {
2296
2280
  return Object.entries(input).reduce((acc, [key, value]) => {
2297
2281
  if (value === null) {
2298
2282
  return acc;
@@ -2301,17 +2285,15 @@ const serializeAws_restJson1__mapOf__string = (input, context) => {
2301
2285
  return acc;
2302
2286
  }, {});
2303
2287
  };
2304
- const serializeAws_restJson1AddMaintenance = (input, context) => {
2288
+ const se_AddMaintenance = (input, context) => {
2305
2289
  return {
2306
2290
  ...(input.MaintenanceDay != null && { maintenanceDay: input.MaintenanceDay }),
2307
2291
  ...(input.MaintenanceStartHour != null && { maintenanceStartHour: input.MaintenanceStartHour }),
2308
2292
  };
2309
2293
  };
2310
- const serializeAws_restJson1AddMediaStreamRequest = (input, context) => {
2294
+ const se_AddMediaStreamRequest = (input, context) => {
2311
2295
  return {
2312
- ...(input.Attributes != null && {
2313
- attributes: serializeAws_restJson1MediaStreamAttributesRequest(input.Attributes, context),
2314
- }),
2296
+ ...(input.Attributes != null && { attributes: se_MediaStreamAttributesRequest(input.Attributes, context) }),
2315
2297
  ...(input.ClockRate != null && { clockRate: input.ClockRate }),
2316
2298
  ...(input.Description != null && { description: input.Description }),
2317
2299
  ...(input.MediaStreamId != null && { mediaStreamId: input.MediaStreamId }),
@@ -2320,17 +2302,15 @@ const serializeAws_restJson1AddMediaStreamRequest = (input, context) => {
2320
2302
  ...(input.VideoFormat != null && { videoFormat: input.VideoFormat }),
2321
2303
  };
2322
2304
  };
2323
- const serializeAws_restJson1AddOutputRequest = (input, context) => {
2305
+ const se_AddOutputRequest = (input, context) => {
2324
2306
  return {
2325
- ...(input.CidrAllowList != null && {
2326
- cidrAllowList: serializeAws_restJson1__listOf__string(input.CidrAllowList, context),
2327
- }),
2307
+ ...(input.CidrAllowList != null && { cidrAllowList: se___listOf__string(input.CidrAllowList, context) }),
2328
2308
  ...(input.Description != null && { description: input.Description }),
2329
2309
  ...(input.Destination != null && { destination: input.Destination }),
2330
- ...(input.Encryption != null && { encryption: serializeAws_restJson1Encryption(input.Encryption, context) }),
2310
+ ...(input.Encryption != null && { encryption: se_Encryption(input.Encryption, context) }),
2331
2311
  ...(input.MaxLatency != null && { maxLatency: input.MaxLatency }),
2332
2312
  ...(input.MediaStreamOutputConfigurations != null && {
2333
- mediaStreamOutputConfigurations: serializeAws_restJson1__listOfMediaStreamOutputConfigurationRequest(input.MediaStreamOutputConfigurations, context),
2313
+ mediaStreamOutputConfigurations: se___listOfMediaStreamOutputConfigurationRequest(input.MediaStreamOutputConfigurations, context),
2334
2314
  }),
2335
2315
  ...(input.MinLatency != null && { minLatency: input.MinLatency }),
2336
2316
  ...(input.Name != null && { name: input.Name }),
@@ -2341,24 +2321,24 @@ const serializeAws_restJson1AddOutputRequest = (input, context) => {
2341
2321
  ...(input.SmoothingLatency != null && { smoothingLatency: input.SmoothingLatency }),
2342
2322
  ...(input.StreamId != null && { streamId: input.StreamId }),
2343
2323
  ...(input.VpcInterfaceAttachment != null && {
2344
- vpcInterfaceAttachment: serializeAws_restJson1VpcInterfaceAttachment(input.VpcInterfaceAttachment, context),
2324
+ vpcInterfaceAttachment: se_VpcInterfaceAttachment(input.VpcInterfaceAttachment, context),
2345
2325
  }),
2346
2326
  };
2347
2327
  };
2348
- const serializeAws_restJson1DestinationConfigurationRequest = (input, context) => {
2328
+ const se_DestinationConfigurationRequest = (input, context) => {
2349
2329
  return {
2350
2330
  ...(input.DestinationIp != null && { destinationIp: input.DestinationIp }),
2351
2331
  ...(input.DestinationPort != null && { destinationPort: input.DestinationPort }),
2352
- ...(input.Interface != null && { interface: serializeAws_restJson1InterfaceRequest(input.Interface, context) }),
2332
+ ...(input.Interface != null && { interface: se_InterfaceRequest(input.Interface, context) }),
2353
2333
  };
2354
2334
  };
2355
- const serializeAws_restJson1EncodingParametersRequest = (input, context) => {
2335
+ const se_EncodingParametersRequest = (input, context) => {
2356
2336
  return {
2357
2337
  ...(input.CompressionFactor != null && { compressionFactor: __serializeFloat(input.CompressionFactor) }),
2358
2338
  ...(input.EncoderProfile != null && { encoderProfile: input.EncoderProfile }),
2359
2339
  };
2360
2340
  };
2361
- const serializeAws_restJson1Encryption = (input, context) => {
2341
+ const se_Encryption = (input, context) => {
2362
2342
  return {
2363
2343
  ...(input.Algorithm != null && { algorithm: input.Algorithm }),
2364
2344
  ...(input.ConstantInitializationVector != null && {
@@ -2373,17 +2353,15 @@ const serializeAws_restJson1Encryption = (input, context) => {
2373
2353
  ...(input.Url != null && { url: input.Url }),
2374
2354
  };
2375
2355
  };
2376
- const serializeAws_restJson1FailoverConfig = (input, context) => {
2356
+ const se_FailoverConfig = (input, context) => {
2377
2357
  return {
2378
2358
  ...(input.FailoverMode != null && { failoverMode: input.FailoverMode }),
2379
2359
  ...(input.RecoveryWindow != null && { recoveryWindow: input.RecoveryWindow }),
2380
- ...(input.SourcePriority != null && {
2381
- sourcePriority: serializeAws_restJson1SourcePriority(input.SourcePriority, context),
2382
- }),
2360
+ ...(input.SourcePriority != null && { sourcePriority: se_SourcePriority(input.SourcePriority, context) }),
2383
2361
  ...(input.State != null && { state: input.State }),
2384
2362
  };
2385
2363
  };
2386
- const serializeAws_restJson1FmtpRequest = (input, context) => {
2364
+ const se_FmtpRequest = (input, context) => {
2387
2365
  return {
2388
2366
  ...(input.ChannelOrder != null && { channelOrder: input.ChannelOrder }),
2389
2367
  ...(input.Colorimetry != null && { colorimetry: input.Colorimetry }),
@@ -2394,61 +2372,59 @@ const serializeAws_restJson1FmtpRequest = (input, context) => {
2394
2372
  ...(input.Tcs != null && { tcs: input.Tcs }),
2395
2373
  };
2396
2374
  };
2397
- const serializeAws_restJson1GrantEntitlementRequest = (input, context) => {
2375
+ const se_GrantEntitlementRequest = (input, context) => {
2398
2376
  return {
2399
2377
  ...(input.DataTransferSubscriberFeePercent != null && {
2400
2378
  dataTransferSubscriberFeePercent: input.DataTransferSubscriberFeePercent,
2401
2379
  }),
2402
2380
  ...(input.Description != null && { description: input.Description }),
2403
- ...(input.Encryption != null && { encryption: serializeAws_restJson1Encryption(input.Encryption, context) }),
2381
+ ...(input.Encryption != null && { encryption: se_Encryption(input.Encryption, context) }),
2404
2382
  ...(input.EntitlementStatus != null && { entitlementStatus: input.EntitlementStatus }),
2405
2383
  ...(input.Name != null && { name: input.Name }),
2406
- ...(input.Subscribers != null && {
2407
- subscribers: serializeAws_restJson1__listOf__string(input.Subscribers, context),
2408
- }),
2384
+ ...(input.Subscribers != null && { subscribers: se___listOf__string(input.Subscribers, context) }),
2409
2385
  };
2410
2386
  };
2411
- const serializeAws_restJson1InputConfigurationRequest = (input, context) => {
2387
+ const se_InputConfigurationRequest = (input, context) => {
2412
2388
  return {
2413
2389
  ...(input.InputPort != null && { inputPort: input.InputPort }),
2414
- ...(input.Interface != null && { interface: serializeAws_restJson1InterfaceRequest(input.Interface, context) }),
2390
+ ...(input.Interface != null && { interface: se_InterfaceRequest(input.Interface, context) }),
2415
2391
  };
2416
2392
  };
2417
- const serializeAws_restJson1InterfaceRequest = (input, context) => {
2393
+ const se_InterfaceRequest = (input, context) => {
2418
2394
  return {
2419
2395
  ...(input.Name != null && { name: input.Name }),
2420
2396
  };
2421
2397
  };
2422
- const serializeAws_restJson1MediaStreamAttributesRequest = (input, context) => {
2398
+ const se_MediaStreamAttributesRequest = (input, context) => {
2423
2399
  return {
2424
- ...(input.Fmtp != null && { fmtp: serializeAws_restJson1FmtpRequest(input.Fmtp, context) }),
2400
+ ...(input.Fmtp != null && { fmtp: se_FmtpRequest(input.Fmtp, context) }),
2425
2401
  ...(input.Lang != null && { lang: input.Lang }),
2426
2402
  };
2427
2403
  };
2428
- const serializeAws_restJson1MediaStreamOutputConfigurationRequest = (input, context) => {
2404
+ const se_MediaStreamOutputConfigurationRequest = (input, context) => {
2429
2405
  return {
2430
2406
  ...(input.DestinationConfigurations != null && {
2431
- destinationConfigurations: serializeAws_restJson1__listOfDestinationConfigurationRequest(input.DestinationConfigurations, context),
2407
+ destinationConfigurations: se___listOfDestinationConfigurationRequest(input.DestinationConfigurations, context),
2432
2408
  }),
2433
2409
  ...(input.EncodingName != null && { encodingName: input.EncodingName }),
2434
2410
  ...(input.EncodingParameters != null && {
2435
- encodingParameters: serializeAws_restJson1EncodingParametersRequest(input.EncodingParameters, context),
2411
+ encodingParameters: se_EncodingParametersRequest(input.EncodingParameters, context),
2436
2412
  }),
2437
2413
  ...(input.MediaStreamName != null && { mediaStreamName: input.MediaStreamName }),
2438
2414
  };
2439
2415
  };
2440
- const serializeAws_restJson1MediaStreamSourceConfigurationRequest = (input, context) => {
2416
+ const se_MediaStreamSourceConfigurationRequest = (input, context) => {
2441
2417
  return {
2442
2418
  ...(input.EncodingName != null && { encodingName: input.EncodingName }),
2443
2419
  ...(input.InputConfigurations != null && {
2444
- inputConfigurations: serializeAws_restJson1__listOfInputConfigurationRequest(input.InputConfigurations, context),
2420
+ inputConfigurations: se___listOfInputConfigurationRequest(input.InputConfigurations, context),
2445
2421
  }),
2446
2422
  ...(input.MediaStreamName != null && { mediaStreamName: input.MediaStreamName }),
2447
2423
  };
2448
2424
  };
2449
- const serializeAws_restJson1SetSourceRequest = (input, context) => {
2425
+ const se_SetSourceRequest = (input, context) => {
2450
2426
  return {
2451
- ...(input.Decryption != null && { decryption: serializeAws_restJson1Encryption(input.Decryption, context) }),
2427
+ ...(input.Decryption != null && { decryption: se_Encryption(input.Decryption, context) }),
2452
2428
  ...(input.Description != null && { description: input.Description }),
2453
2429
  ...(input.EntitlementArn != null && { entitlementArn: input.EntitlementArn }),
2454
2430
  ...(input.IngestPort != null && { ingestPort: input.IngestPort }),
@@ -2456,7 +2432,7 @@ const serializeAws_restJson1SetSourceRequest = (input, context) => {
2456
2432
  ...(input.MaxLatency != null && { maxLatency: input.MaxLatency }),
2457
2433
  ...(input.MaxSyncBuffer != null && { maxSyncBuffer: input.MaxSyncBuffer }),
2458
2434
  ...(input.MediaStreamSourceConfigurations != null && {
2459
- mediaStreamSourceConfigurations: serializeAws_restJson1__listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
2435
+ mediaStreamSourceConfigurations: se___listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
2460
2436
  }),
2461
2437
  ...(input.MinLatency != null && { minLatency: input.MinLatency }),
2462
2438
  ...(input.Name != null && { name: input.Name }),
@@ -2470,12 +2446,12 @@ const serializeAws_restJson1SetSourceRequest = (input, context) => {
2470
2446
  ...(input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr }),
2471
2447
  };
2472
2448
  };
2473
- const serializeAws_restJson1SourcePriority = (input, context) => {
2449
+ const se_SourcePriority = (input, context) => {
2474
2450
  return {
2475
2451
  ...(input.PrimarySource != null && { primarySource: input.PrimarySource }),
2476
2452
  };
2477
2453
  };
2478
- const serializeAws_restJson1UpdateEncryption = (input, context) => {
2454
+ const se_UpdateEncryption = (input, context) => {
2479
2455
  return {
2480
2456
  ...(input.Algorithm != null && { algorithm: input.Algorithm }),
2481
2457
  ...(input.ConstantInitializationVector != null && {
@@ -2490,40 +2466,36 @@ const serializeAws_restJson1UpdateEncryption = (input, context) => {
2490
2466
  ...(input.Url != null && { url: input.Url }),
2491
2467
  };
2492
2468
  };
2493
- const serializeAws_restJson1UpdateFailoverConfig = (input, context) => {
2469
+ const se_UpdateFailoverConfig = (input, context) => {
2494
2470
  return {
2495
2471
  ...(input.FailoverMode != null && { failoverMode: input.FailoverMode }),
2496
2472
  ...(input.RecoveryWindow != null && { recoveryWindow: input.RecoveryWindow }),
2497
- ...(input.SourcePriority != null && {
2498
- sourcePriority: serializeAws_restJson1SourcePriority(input.SourcePriority, context),
2499
- }),
2473
+ ...(input.SourcePriority != null && { sourcePriority: se_SourcePriority(input.SourcePriority, context) }),
2500
2474
  ...(input.State != null && { state: input.State }),
2501
2475
  };
2502
2476
  };
2503
- const serializeAws_restJson1UpdateMaintenance = (input, context) => {
2477
+ const se_UpdateMaintenance = (input, context) => {
2504
2478
  return {
2505
2479
  ...(input.MaintenanceDay != null && { maintenanceDay: input.MaintenanceDay }),
2506
2480
  ...(input.MaintenanceScheduledDate != null && { maintenanceScheduledDate: input.MaintenanceScheduledDate }),
2507
2481
  ...(input.MaintenanceStartHour != null && { maintenanceStartHour: input.MaintenanceStartHour }),
2508
2482
  };
2509
2483
  };
2510
- const serializeAws_restJson1VpcInterfaceAttachment = (input, context) => {
2484
+ const se_VpcInterfaceAttachment = (input, context) => {
2511
2485
  return {
2512
2486
  ...(input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName }),
2513
2487
  };
2514
2488
  };
2515
- const serializeAws_restJson1VpcInterfaceRequest = (input, context) => {
2489
+ const se_VpcInterfaceRequest = (input, context) => {
2516
2490
  return {
2517
2491
  ...(input.Name != null && { name: input.Name }),
2518
2492
  ...(input.NetworkInterfaceType != null && { networkInterfaceType: input.NetworkInterfaceType }),
2519
2493
  ...(input.RoleArn != null && { roleArn: input.RoleArn }),
2520
- ...(input.SecurityGroupIds != null && {
2521
- securityGroupIds: serializeAws_restJson1__listOf__string(input.SecurityGroupIds, context),
2522
- }),
2494
+ ...(input.SecurityGroupIds != null && { securityGroupIds: se___listOf__string(input.SecurityGroupIds, context) }),
2523
2495
  ...(input.SubnetId != null && { subnetId: input.SubnetId }),
2524
2496
  };
2525
2497
  };
2526
- const deserializeAws_restJson1__listOf__string = (output, context) => {
2498
+ const de___listOf__string = (output, context) => {
2527
2499
  const retVal = (output || [])
2528
2500
  .filter((e) => e != null)
2529
2501
  .map((entry) => {
@@ -2534,150 +2506,150 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
2534
2506
  });
2535
2507
  return retVal;
2536
2508
  };
2537
- const deserializeAws_restJson1__listOfDestinationConfiguration = (output, context) => {
2509
+ const de___listOfDestinationConfiguration = (output, context) => {
2538
2510
  const retVal = (output || [])
2539
2511
  .filter((e) => e != null)
2540
2512
  .map((entry) => {
2541
2513
  if (entry === null) {
2542
2514
  return null;
2543
2515
  }
2544
- return deserializeAws_restJson1DestinationConfiguration(entry, context);
2516
+ return de_DestinationConfiguration(entry, context);
2545
2517
  });
2546
2518
  return retVal;
2547
2519
  };
2548
- const deserializeAws_restJson1__listOfEntitlement = (output, context) => {
2520
+ const de___listOfEntitlement = (output, context) => {
2549
2521
  const retVal = (output || [])
2550
2522
  .filter((e) => e != null)
2551
2523
  .map((entry) => {
2552
2524
  if (entry === null) {
2553
2525
  return null;
2554
2526
  }
2555
- return deserializeAws_restJson1Entitlement(entry, context);
2527
+ return de_Entitlement(entry, context);
2556
2528
  });
2557
2529
  return retVal;
2558
2530
  };
2559
- const deserializeAws_restJson1__listOfInputConfiguration = (output, context) => {
2531
+ const de___listOfInputConfiguration = (output, context) => {
2560
2532
  const retVal = (output || [])
2561
2533
  .filter((e) => e != null)
2562
2534
  .map((entry) => {
2563
2535
  if (entry === null) {
2564
2536
  return null;
2565
2537
  }
2566
- return deserializeAws_restJson1InputConfiguration(entry, context);
2538
+ return de_InputConfiguration(entry, context);
2567
2539
  });
2568
2540
  return retVal;
2569
2541
  };
2570
- const deserializeAws_restJson1__listOfListedEntitlement = (output, context) => {
2542
+ const de___listOfListedEntitlement = (output, context) => {
2571
2543
  const retVal = (output || [])
2572
2544
  .filter((e) => e != null)
2573
2545
  .map((entry) => {
2574
2546
  if (entry === null) {
2575
2547
  return null;
2576
2548
  }
2577
- return deserializeAws_restJson1ListedEntitlement(entry, context);
2549
+ return de_ListedEntitlement(entry, context);
2578
2550
  });
2579
2551
  return retVal;
2580
2552
  };
2581
- const deserializeAws_restJson1__listOfListedFlow = (output, context) => {
2553
+ const de___listOfListedFlow = (output, context) => {
2582
2554
  const retVal = (output || [])
2583
2555
  .filter((e) => e != null)
2584
2556
  .map((entry) => {
2585
2557
  if (entry === null) {
2586
2558
  return null;
2587
2559
  }
2588
- return deserializeAws_restJson1ListedFlow(entry, context);
2560
+ return de_ListedFlow(entry, context);
2589
2561
  });
2590
2562
  return retVal;
2591
2563
  };
2592
- const deserializeAws_restJson1__listOfMediaStream = (output, context) => {
2564
+ const de___listOfMediaStream = (output, context) => {
2593
2565
  const retVal = (output || [])
2594
2566
  .filter((e) => e != null)
2595
2567
  .map((entry) => {
2596
2568
  if (entry === null) {
2597
2569
  return null;
2598
2570
  }
2599
- return deserializeAws_restJson1MediaStream(entry, context);
2571
+ return de_MediaStream(entry, context);
2600
2572
  });
2601
2573
  return retVal;
2602
2574
  };
2603
- const deserializeAws_restJson1__listOfMediaStreamOutputConfiguration = (output, context) => {
2575
+ const de___listOfMediaStreamOutputConfiguration = (output, context) => {
2604
2576
  const retVal = (output || [])
2605
2577
  .filter((e) => e != null)
2606
2578
  .map((entry) => {
2607
2579
  if (entry === null) {
2608
2580
  return null;
2609
2581
  }
2610
- return deserializeAws_restJson1MediaStreamOutputConfiguration(entry, context);
2582
+ return de_MediaStreamOutputConfiguration(entry, context);
2611
2583
  });
2612
2584
  return retVal;
2613
2585
  };
2614
- const deserializeAws_restJson1__listOfMediaStreamSourceConfiguration = (output, context) => {
2586
+ const de___listOfMediaStreamSourceConfiguration = (output, context) => {
2615
2587
  const retVal = (output || [])
2616
2588
  .filter((e) => e != null)
2617
2589
  .map((entry) => {
2618
2590
  if (entry === null) {
2619
2591
  return null;
2620
2592
  }
2621
- return deserializeAws_restJson1MediaStreamSourceConfiguration(entry, context);
2593
+ return de_MediaStreamSourceConfiguration(entry, context);
2622
2594
  });
2623
2595
  return retVal;
2624
2596
  };
2625
- const deserializeAws_restJson1__listOfOffering = (output, context) => {
2597
+ const de___listOfOffering = (output, context) => {
2626
2598
  const retVal = (output || [])
2627
2599
  .filter((e) => e != null)
2628
2600
  .map((entry) => {
2629
2601
  if (entry === null) {
2630
2602
  return null;
2631
2603
  }
2632
- return deserializeAws_restJson1Offering(entry, context);
2604
+ return de_Offering(entry, context);
2633
2605
  });
2634
2606
  return retVal;
2635
2607
  };
2636
- const deserializeAws_restJson1__listOfOutput = (output, context) => {
2608
+ const de___listOfOutput = (output, context) => {
2637
2609
  const retVal = (output || [])
2638
2610
  .filter((e) => e != null)
2639
2611
  .map((entry) => {
2640
2612
  if (entry === null) {
2641
2613
  return null;
2642
2614
  }
2643
- return deserializeAws_restJson1Output(entry, context);
2615
+ return de_Output(entry, context);
2644
2616
  });
2645
2617
  return retVal;
2646
2618
  };
2647
- const deserializeAws_restJson1__listOfReservation = (output, context) => {
2619
+ const de___listOfReservation = (output, context) => {
2648
2620
  const retVal = (output || [])
2649
2621
  .filter((e) => e != null)
2650
2622
  .map((entry) => {
2651
2623
  if (entry === null) {
2652
2624
  return null;
2653
2625
  }
2654
- return deserializeAws_restJson1Reservation(entry, context);
2626
+ return de_Reservation(entry, context);
2655
2627
  });
2656
2628
  return retVal;
2657
2629
  };
2658
- const deserializeAws_restJson1__listOfSource = (output, context) => {
2630
+ const de___listOfSource = (output, context) => {
2659
2631
  const retVal = (output || [])
2660
2632
  .filter((e) => e != null)
2661
2633
  .map((entry) => {
2662
2634
  if (entry === null) {
2663
2635
  return null;
2664
2636
  }
2665
- return deserializeAws_restJson1Source(entry, context);
2637
+ return de_Source(entry, context);
2666
2638
  });
2667
2639
  return retVal;
2668
2640
  };
2669
- const deserializeAws_restJson1__listOfVpcInterface = (output, context) => {
2641
+ const de___listOfVpcInterface = (output, context) => {
2670
2642
  const retVal = (output || [])
2671
2643
  .filter((e) => e != null)
2672
2644
  .map((entry) => {
2673
2645
  if (entry === null) {
2674
2646
  return null;
2675
2647
  }
2676
- return deserializeAws_restJson1VpcInterface(entry, context);
2648
+ return de_VpcInterface(entry, context);
2677
2649
  });
2678
2650
  return retVal;
2679
2651
  };
2680
- const deserializeAws_restJson1__mapOf__string = (output, context) => {
2652
+ const de___mapOf__string = (output, context) => {
2681
2653
  return Object.entries(output).reduce((acc, [key, value]) => {
2682
2654
  if (value === null) {
2683
2655
  return acc;
@@ -2686,21 +2658,21 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
2686
2658
  return acc;
2687
2659
  }, {});
2688
2660
  };
2689
- const deserializeAws_restJson1DestinationConfiguration = (output, context) => {
2661
+ const de_DestinationConfiguration = (output, context) => {
2690
2662
  return {
2691
2663
  DestinationIp: __expectString(output.destinationIp),
2692
2664
  DestinationPort: __expectInt32(output.destinationPort),
2693
- Interface: output.interface != null ? deserializeAws_restJson1Interface(output.interface, context) : undefined,
2665
+ Interface: output.interface != null ? de_Interface(output.interface, context) : undefined,
2694
2666
  OutboundIp: __expectString(output.outboundIp),
2695
2667
  };
2696
2668
  };
2697
- const deserializeAws_restJson1EncodingParameters = (output, context) => {
2669
+ const de_EncodingParameters = (output, context) => {
2698
2670
  return {
2699
2671
  CompressionFactor: __limitedParseDouble(output.compressionFactor),
2700
2672
  EncoderProfile: __expectString(output.encoderProfile),
2701
2673
  };
2702
2674
  };
2703
- const deserializeAws_restJson1Encryption = (output, context) => {
2675
+ const de_Encryption = (output, context) => {
2704
2676
  return {
2705
2677
  Algorithm: __expectString(output.algorithm),
2706
2678
  ConstantInitializationVector: __expectString(output.constantInitializationVector),
@@ -2713,54 +2685,44 @@ const deserializeAws_restJson1Encryption = (output, context) => {
2713
2685
  Url: __expectString(output.url),
2714
2686
  };
2715
2687
  };
2716
- const deserializeAws_restJson1Entitlement = (output, context) => {
2688
+ const de_Entitlement = (output, context) => {
2717
2689
  return {
2718
2690
  DataTransferSubscriberFeePercent: __expectInt32(output.dataTransferSubscriberFeePercent),
2719
2691
  Description: __expectString(output.description),
2720
- Encryption: output.encryption != null ? deserializeAws_restJson1Encryption(output.encryption, context) : undefined,
2692
+ Encryption: output.encryption != null ? de_Encryption(output.encryption, context) : undefined,
2721
2693
  EntitlementArn: __expectString(output.entitlementArn),
2722
2694
  EntitlementStatus: __expectString(output.entitlementStatus),
2723
2695
  Name: __expectString(output.name),
2724
- Subscribers: output.subscribers != null ? deserializeAws_restJson1__listOf__string(output.subscribers, context) : undefined,
2696
+ Subscribers: output.subscribers != null ? de___listOf__string(output.subscribers, context) : undefined,
2725
2697
  };
2726
2698
  };
2727
- const deserializeAws_restJson1FailoverConfig = (output, context) => {
2699
+ const de_FailoverConfig = (output, context) => {
2728
2700
  return {
2729
2701
  FailoverMode: __expectString(output.failoverMode),
2730
2702
  RecoveryWindow: __expectInt32(output.recoveryWindow),
2731
- SourcePriority: output.sourcePriority != null
2732
- ? deserializeAws_restJson1SourcePriority(output.sourcePriority, context)
2733
- : undefined,
2703
+ SourcePriority: output.sourcePriority != null ? de_SourcePriority(output.sourcePriority, context) : undefined,
2734
2704
  State: __expectString(output.state),
2735
2705
  };
2736
2706
  };
2737
- const deserializeAws_restJson1Flow = (output, context) => {
2707
+ const de_Flow = (output, context) => {
2738
2708
  return {
2739
2709
  AvailabilityZone: __expectString(output.availabilityZone),
2740
2710
  Description: __expectString(output.description),
2741
2711
  EgressIp: __expectString(output.egressIp),
2742
- Entitlements: output.entitlements != null
2743
- ? deserializeAws_restJson1__listOfEntitlement(output.entitlements, context)
2744
- : undefined,
2712
+ Entitlements: output.entitlements != null ? de___listOfEntitlement(output.entitlements, context) : undefined,
2745
2713
  FlowArn: __expectString(output.flowArn),
2746
- Maintenance: output.maintenance != null ? deserializeAws_restJson1Maintenance(output.maintenance, context) : undefined,
2747
- MediaStreams: output.mediaStreams != null
2748
- ? deserializeAws_restJson1__listOfMediaStream(output.mediaStreams, context)
2749
- : undefined,
2714
+ Maintenance: output.maintenance != null ? de_Maintenance(output.maintenance, context) : undefined,
2715
+ MediaStreams: output.mediaStreams != null ? de___listOfMediaStream(output.mediaStreams, context) : undefined,
2750
2716
  Name: __expectString(output.name),
2751
- Outputs: output.outputs != null ? deserializeAws_restJson1__listOfOutput(output.outputs, context) : undefined,
2752
- Source: output.source != null ? deserializeAws_restJson1Source(output.source, context) : undefined,
2753
- SourceFailoverConfig: output.sourceFailoverConfig != null
2754
- ? deserializeAws_restJson1FailoverConfig(output.sourceFailoverConfig, context)
2755
- : undefined,
2756
- Sources: output.sources != null ? deserializeAws_restJson1__listOfSource(output.sources, context) : undefined,
2717
+ Outputs: output.outputs != null ? de___listOfOutput(output.outputs, context) : undefined,
2718
+ Source: output.source != null ? de_Source(output.source, context) : undefined,
2719
+ SourceFailoverConfig: output.sourceFailoverConfig != null ? de_FailoverConfig(output.sourceFailoverConfig, context) : undefined,
2720
+ Sources: output.sources != null ? de___listOfSource(output.sources, context) : undefined,
2757
2721
  Status: __expectString(output.status),
2758
- VpcInterfaces: output.vpcInterfaces != null
2759
- ? deserializeAws_restJson1__listOfVpcInterface(output.vpcInterfaces, context)
2760
- : undefined,
2722
+ VpcInterfaces: output.vpcInterfaces != null ? de___listOfVpcInterface(output.vpcInterfaces, context) : undefined,
2761
2723
  };
2762
2724
  };
2763
- const deserializeAws_restJson1Fmtp = (output, context) => {
2725
+ const de_Fmtp = (output, context) => {
2764
2726
  return {
2765
2727
  ChannelOrder: __expectString(output.channelOrder),
2766
2728
  Colorimetry: __expectString(output.colorimetry),
@@ -2771,37 +2733,37 @@ const deserializeAws_restJson1Fmtp = (output, context) => {
2771
2733
  Tcs: __expectString(output.tcs),
2772
2734
  };
2773
2735
  };
2774
- const deserializeAws_restJson1InputConfiguration = (output, context) => {
2736
+ const de_InputConfiguration = (output, context) => {
2775
2737
  return {
2776
2738
  InputIp: __expectString(output.inputIp),
2777
2739
  InputPort: __expectInt32(output.inputPort),
2778
- Interface: output.interface != null ? deserializeAws_restJson1Interface(output.interface, context) : undefined,
2740
+ Interface: output.interface != null ? de_Interface(output.interface, context) : undefined,
2779
2741
  };
2780
2742
  };
2781
- const deserializeAws_restJson1Interface = (output, context) => {
2743
+ const de_Interface = (output, context) => {
2782
2744
  return {
2783
2745
  Name: __expectString(output.name),
2784
2746
  };
2785
2747
  };
2786
- const deserializeAws_restJson1ListedEntitlement = (output, context) => {
2748
+ const de_ListedEntitlement = (output, context) => {
2787
2749
  return {
2788
2750
  DataTransferSubscriberFeePercent: __expectInt32(output.dataTransferSubscriberFeePercent),
2789
2751
  EntitlementArn: __expectString(output.entitlementArn),
2790
2752
  EntitlementName: __expectString(output.entitlementName),
2791
2753
  };
2792
2754
  };
2793
- const deserializeAws_restJson1ListedFlow = (output, context) => {
2755
+ const de_ListedFlow = (output, context) => {
2794
2756
  return {
2795
2757
  AvailabilityZone: __expectString(output.availabilityZone),
2796
2758
  Description: __expectString(output.description),
2797
2759
  FlowArn: __expectString(output.flowArn),
2798
- Maintenance: output.maintenance != null ? deserializeAws_restJson1Maintenance(output.maintenance, context) : undefined,
2760
+ Maintenance: output.maintenance != null ? de_Maintenance(output.maintenance, context) : undefined,
2799
2761
  Name: __expectString(output.name),
2800
2762
  SourceType: __expectString(output.sourceType),
2801
2763
  Status: __expectString(output.status),
2802
2764
  };
2803
2765
  };
2804
- const deserializeAws_restJson1Maintenance = (output, context) => {
2766
+ const de_Maintenance = (output, context) => {
2805
2767
  return {
2806
2768
  MaintenanceDay: __expectString(output.maintenanceDay),
2807
2769
  MaintenanceDeadline: __expectString(output.maintenanceDeadline),
@@ -2809,9 +2771,9 @@ const deserializeAws_restJson1Maintenance = (output, context) => {
2809
2771
  MaintenanceStartHour: __expectString(output.maintenanceStartHour),
2810
2772
  };
2811
2773
  };
2812
- const deserializeAws_restJson1MediaStream = (output, context) => {
2774
+ const de_MediaStream = (output, context) => {
2813
2775
  return {
2814
- Attributes: output.attributes != null ? deserializeAws_restJson1MediaStreamAttributes(output.attributes, context) : undefined,
2776
+ Attributes: output.attributes != null ? de_MediaStreamAttributes(output.attributes, context) : undefined,
2815
2777
  ClockRate: __expectInt32(output.clockRate),
2816
2778
  Description: __expectString(output.description),
2817
2779
  Fmt: __expectInt32(output.fmt),
@@ -2821,39 +2783,37 @@ const deserializeAws_restJson1MediaStream = (output, context) => {
2821
2783
  VideoFormat: __expectString(output.videoFormat),
2822
2784
  };
2823
2785
  };
2824
- const deserializeAws_restJson1MediaStreamAttributes = (output, context) => {
2786
+ const de_MediaStreamAttributes = (output, context) => {
2825
2787
  return {
2826
- Fmtp: output.fmtp != null ? deserializeAws_restJson1Fmtp(output.fmtp, context) : undefined,
2788
+ Fmtp: output.fmtp != null ? de_Fmtp(output.fmtp, context) : undefined,
2827
2789
  Lang: __expectString(output.lang),
2828
2790
  };
2829
2791
  };
2830
- const deserializeAws_restJson1MediaStreamOutputConfiguration = (output, context) => {
2792
+ const de_MediaStreamOutputConfiguration = (output, context) => {
2831
2793
  return {
2832
2794
  DestinationConfigurations: output.destinationConfigurations != null
2833
- ? deserializeAws_restJson1__listOfDestinationConfiguration(output.destinationConfigurations, context)
2795
+ ? de___listOfDestinationConfiguration(output.destinationConfigurations, context)
2834
2796
  : undefined,
2835
2797
  EncodingName: __expectString(output.encodingName),
2836
- EncodingParameters: output.encodingParameters != null
2837
- ? deserializeAws_restJson1EncodingParameters(output.encodingParameters, context)
2838
- : undefined,
2798
+ EncodingParameters: output.encodingParameters != null ? de_EncodingParameters(output.encodingParameters, context) : undefined,
2839
2799
  MediaStreamName: __expectString(output.mediaStreamName),
2840
2800
  };
2841
2801
  };
2842
- const deserializeAws_restJson1MediaStreamSourceConfiguration = (output, context) => {
2802
+ const de_MediaStreamSourceConfiguration = (output, context) => {
2843
2803
  return {
2844
2804
  EncodingName: __expectString(output.encodingName),
2845
2805
  InputConfigurations: output.inputConfigurations != null
2846
- ? deserializeAws_restJson1__listOfInputConfiguration(output.inputConfigurations, context)
2806
+ ? de___listOfInputConfiguration(output.inputConfigurations, context)
2847
2807
  : undefined,
2848
2808
  MediaStreamName: __expectString(output.mediaStreamName),
2849
2809
  };
2850
2810
  };
2851
- const deserializeAws_restJson1Messages = (output, context) => {
2811
+ const de_Messages = (output, context) => {
2852
2812
  return {
2853
- Errors: output.errors != null ? deserializeAws_restJson1__listOf__string(output.errors, context) : undefined,
2813
+ Errors: output.errors != null ? de___listOf__string(output.errors, context) : undefined,
2854
2814
  };
2855
2815
  };
2856
- const deserializeAws_restJson1Offering = (output, context) => {
2816
+ const de_Offering = (output, context) => {
2857
2817
  return {
2858
2818
  CurrencyCode: __expectString(output.currencyCode),
2859
2819
  Duration: __expectInt32(output.duration),
@@ -2863,32 +2823,32 @@ const deserializeAws_restJson1Offering = (output, context) => {
2863
2823
  PricePerUnit: __expectString(output.pricePerUnit),
2864
2824
  PriceUnits: __expectString(output.priceUnits),
2865
2825
  ResourceSpecification: output.resourceSpecification != null
2866
- ? deserializeAws_restJson1ResourceSpecification(output.resourceSpecification, context)
2826
+ ? de_ResourceSpecification(output.resourceSpecification, context)
2867
2827
  : undefined,
2868
2828
  };
2869
2829
  };
2870
- const deserializeAws_restJson1Output = (output, context) => {
2830
+ const de_Output = (output, context) => {
2871
2831
  return {
2872
2832
  DataTransferSubscriberFeePercent: __expectInt32(output.dataTransferSubscriberFeePercent),
2873
2833
  Description: __expectString(output.description),
2874
2834
  Destination: __expectString(output.destination),
2875
- Encryption: output.encryption != null ? deserializeAws_restJson1Encryption(output.encryption, context) : undefined,
2835
+ Encryption: output.encryption != null ? de_Encryption(output.encryption, context) : undefined,
2876
2836
  EntitlementArn: __expectString(output.entitlementArn),
2877
2837
  ListenerAddress: __expectString(output.listenerAddress),
2878
2838
  MediaLiveInputArn: __expectString(output.mediaLiveInputArn),
2879
2839
  MediaStreamOutputConfigurations: output.mediaStreamOutputConfigurations != null
2880
- ? deserializeAws_restJson1__listOfMediaStreamOutputConfiguration(output.mediaStreamOutputConfigurations, context)
2840
+ ? de___listOfMediaStreamOutputConfiguration(output.mediaStreamOutputConfigurations, context)
2881
2841
  : undefined,
2882
2842
  Name: __expectString(output.name),
2883
2843
  OutputArn: __expectString(output.outputArn),
2884
2844
  Port: __expectInt32(output.port),
2885
- Transport: output.transport != null ? deserializeAws_restJson1Transport(output.transport, context) : undefined,
2845
+ Transport: output.transport != null ? de_Transport(output.transport, context) : undefined,
2886
2846
  VpcInterfaceAttachment: output.vpcInterfaceAttachment != null
2887
- ? deserializeAws_restJson1VpcInterfaceAttachment(output.vpcInterfaceAttachment, context)
2847
+ ? de_VpcInterfaceAttachment(output.vpcInterfaceAttachment, context)
2888
2848
  : undefined,
2889
2849
  };
2890
2850
  };
2891
- const deserializeAws_restJson1Reservation = (output, context) => {
2851
+ const de_Reservation = (output, context) => {
2892
2852
  return {
2893
2853
  CurrencyCode: __expectString(output.currencyCode),
2894
2854
  Duration: __expectInt32(output.duration),
@@ -2902,47 +2862,45 @@ const deserializeAws_restJson1Reservation = (output, context) => {
2902
2862
  ReservationName: __expectString(output.reservationName),
2903
2863
  ReservationState: __expectString(output.reservationState),
2904
2864
  ResourceSpecification: output.resourceSpecification != null
2905
- ? deserializeAws_restJson1ResourceSpecification(output.resourceSpecification, context)
2865
+ ? de_ResourceSpecification(output.resourceSpecification, context)
2906
2866
  : undefined,
2907
2867
  Start: __expectString(output.start),
2908
2868
  };
2909
2869
  };
2910
- const deserializeAws_restJson1ResourceSpecification = (output, context) => {
2870
+ const de_ResourceSpecification = (output, context) => {
2911
2871
  return {
2912
2872
  ReservedBitrate: __expectInt32(output.reservedBitrate),
2913
2873
  ResourceType: __expectString(output.resourceType),
2914
2874
  };
2915
2875
  };
2916
- const deserializeAws_restJson1Source = (output, context) => {
2876
+ const de_Source = (output, context) => {
2917
2877
  return {
2918
2878
  DataTransferSubscriberFeePercent: __expectInt32(output.dataTransferSubscriberFeePercent),
2919
- Decryption: output.decryption != null ? deserializeAws_restJson1Encryption(output.decryption, context) : undefined,
2879
+ Decryption: output.decryption != null ? de_Encryption(output.decryption, context) : undefined,
2920
2880
  Description: __expectString(output.description),
2921
2881
  EntitlementArn: __expectString(output.entitlementArn),
2922
2882
  IngestIp: __expectString(output.ingestIp),
2923
2883
  IngestPort: __expectInt32(output.ingestPort),
2924
2884
  MediaStreamSourceConfigurations: output.mediaStreamSourceConfigurations != null
2925
- ? deserializeAws_restJson1__listOfMediaStreamSourceConfiguration(output.mediaStreamSourceConfigurations, context)
2885
+ ? de___listOfMediaStreamSourceConfiguration(output.mediaStreamSourceConfigurations, context)
2926
2886
  : undefined,
2927
2887
  Name: __expectString(output.name),
2928
2888
  SenderControlPort: __expectInt32(output.senderControlPort),
2929
2889
  SenderIpAddress: __expectString(output.senderIpAddress),
2930
2890
  SourceArn: __expectString(output.sourceArn),
2931
- Transport: output.transport != null ? deserializeAws_restJson1Transport(output.transport, context) : undefined,
2891
+ Transport: output.transport != null ? de_Transport(output.transport, context) : undefined,
2932
2892
  VpcInterfaceName: __expectString(output.vpcInterfaceName),
2933
2893
  WhitelistCidr: __expectString(output.whitelistCidr),
2934
2894
  };
2935
2895
  };
2936
- const deserializeAws_restJson1SourcePriority = (output, context) => {
2896
+ const de_SourcePriority = (output, context) => {
2937
2897
  return {
2938
2898
  PrimarySource: __expectString(output.primarySource),
2939
2899
  };
2940
2900
  };
2941
- const deserializeAws_restJson1Transport = (output, context) => {
2901
+ const de_Transport = (output, context) => {
2942
2902
  return {
2943
- CidrAllowList: output.cidrAllowList != null
2944
- ? deserializeAws_restJson1__listOf__string(output.cidrAllowList, context)
2945
- : undefined,
2903
+ CidrAllowList: output.cidrAllowList != null ? de___listOf__string(output.cidrAllowList, context) : undefined,
2946
2904
  MaxBitrate: __expectInt32(output.maxBitrate),
2947
2905
  MaxLatency: __expectInt32(output.maxLatency),
2948
2906
  MaxSyncBuffer: __expectInt32(output.maxSyncBuffer),
@@ -2957,21 +2915,17 @@ const deserializeAws_restJson1Transport = (output, context) => {
2957
2915
  StreamId: __expectString(output.streamId),
2958
2916
  };
2959
2917
  };
2960
- const deserializeAws_restJson1VpcInterface = (output, context) => {
2918
+ const de_VpcInterface = (output, context) => {
2961
2919
  return {
2962
2920
  Name: __expectString(output.name),
2963
- NetworkInterfaceIds: output.networkInterfaceIds != null
2964
- ? deserializeAws_restJson1__listOf__string(output.networkInterfaceIds, context)
2965
- : undefined,
2921
+ NetworkInterfaceIds: output.networkInterfaceIds != null ? de___listOf__string(output.networkInterfaceIds, context) : undefined,
2966
2922
  NetworkInterfaceType: __expectString(output.networkInterfaceType),
2967
2923
  RoleArn: __expectString(output.roleArn),
2968
- SecurityGroupIds: output.securityGroupIds != null
2969
- ? deserializeAws_restJson1__listOf__string(output.securityGroupIds, context)
2970
- : undefined,
2924
+ SecurityGroupIds: output.securityGroupIds != null ? de___listOf__string(output.securityGroupIds, context) : undefined,
2971
2925
  SubnetId: __expectString(output.subnetId),
2972
2926
  };
2973
2927
  };
2974
- const deserializeAws_restJson1VpcInterfaceAttachment = (output, context) => {
2928
+ const de_VpcInterfaceAttachment = (output, context) => {
2975
2929
  return {
2976
2930
  VpcInterfaceName: __expectString(output.vpcInterfaceName),
2977
2931
  };