@aws-sdk/client-app-mesh 3.54.0 → 3.56.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 (58) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/AppMeshClient.js +13 -13
  3. package/dist-cjs/commands/CreateGatewayRouteCommand.js +3 -3
  4. package/dist-cjs/commands/CreateMeshCommand.js +3 -3
  5. package/dist-cjs/commands/CreateRouteCommand.js +3 -3
  6. package/dist-cjs/commands/CreateVirtualGatewayCommand.js +3 -3
  7. package/dist-cjs/commands/CreateVirtualNodeCommand.js +3 -3
  8. package/dist-cjs/commands/CreateVirtualRouterCommand.js +3 -3
  9. package/dist-cjs/commands/CreateVirtualServiceCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteGatewayRouteCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteMeshCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteRouteCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteVirtualGatewayCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteVirtualNodeCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteVirtualRouterCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteVirtualServiceCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeGatewayRouteCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeMeshCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeRouteCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeVirtualGatewayCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeVirtualNodeCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeVirtualRouterCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeVirtualServiceCommand.js +3 -3
  24. package/dist-cjs/commands/ListGatewayRoutesCommand.js +3 -3
  25. package/dist-cjs/commands/ListMeshesCommand.js +3 -3
  26. package/dist-cjs/commands/ListRoutesCommand.js +3 -3
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  28. package/dist-cjs/commands/ListVirtualGatewaysCommand.js +3 -3
  29. package/dist-cjs/commands/ListVirtualNodesCommand.js +3 -3
  30. package/dist-cjs/commands/ListVirtualRoutersCommand.js +3 -3
  31. package/dist-cjs/commands/ListVirtualServicesCommand.js +3 -3
  32. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  33. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  34. package/dist-cjs/commands/UpdateGatewayRouteCommand.js +3 -3
  35. package/dist-cjs/commands/UpdateMeshCommand.js +3 -3
  36. package/dist-cjs/commands/UpdateRouteCommand.js +3 -3
  37. package/dist-cjs/commands/UpdateVirtualGatewayCommand.js +3 -3
  38. package/dist-cjs/commands/UpdateVirtualNodeCommand.js +3 -3
  39. package/dist-cjs/commands/UpdateVirtualRouterCommand.js +3 -3
  40. package/dist-cjs/commands/UpdateVirtualServiceCommand.js +3 -3
  41. package/dist-cjs/endpoints.js +1 -1
  42. package/dist-cjs/protocols/Aws_restJson1.js +410 -410
  43. package/dist-cjs/runtimeConfig.browser.js +4 -4
  44. package/dist-cjs/runtimeConfig.js +9 -9
  45. package/dist-cjs/runtimeConfig.native.js +1 -1
  46. package/dist-es/AppMesh.js +38 -38
  47. package/dist-es/pagination/ListGatewayRoutesPaginator.js +4 -4
  48. package/dist-es/pagination/ListMeshesPaginator.js +4 -4
  49. package/dist-es/pagination/ListRoutesPaginator.js +4 -4
  50. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  51. package/dist-es/pagination/ListVirtualGatewaysPaginator.js +4 -4
  52. package/dist-es/pagination/ListVirtualNodesPaginator.js +4 -4
  53. package/dist-es/pagination/ListVirtualRoutersPaginator.js +4 -4
  54. package/dist-es/pagination/ListVirtualServicesPaginator.js +4 -4
  55. package/dist-es/protocols/Aws_restJson1.js +38 -38
  56. package/dist-types/runtimeConfig.native.d.ts +2 -2
  57. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  58. package/package.json +34 -34
@@ -20,7 +20,7 @@ const serializeAws_restJson1CreateGatewayRouteCommand = async (input, context) =
20
20
  if (labelValue.length <= 0) {
21
21
  throw new Error("Empty value provided for input HTTP label: meshName.");
22
22
  }
23
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
23
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
24
24
  }
25
25
  else {
26
26
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -30,7 +30,7 @@ const serializeAws_restJson1CreateGatewayRouteCommand = async (input, context) =
30
30
  if (labelValue.length <= 0) {
31
31
  throw new Error("Empty value provided for input HTTP label: virtualGatewayName.");
32
32
  }
33
- resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
33
+ resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
34
34
  }
35
35
  else {
36
36
  throw new Error("No value provided for input HTTP label: virtualGatewayName.");
@@ -40,7 +40,7 @@ const serializeAws_restJson1CreateGatewayRouteCommand = async (input, context) =
40
40
  };
41
41
  let body;
42
42
  body = JSON.stringify({
43
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
43
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
44
44
  ...(input.gatewayRouteName !== undefined &&
45
45
  input.gatewayRouteName !== null && { gatewayRouteName: input.gatewayRouteName }),
46
46
  ...(input.spec !== undefined &&
@@ -69,7 +69,7 @@ const serializeAws_restJson1CreateMeshCommand = async (input, context) => {
69
69
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes";
70
70
  let body;
71
71
  body = JSON.stringify({
72
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
72
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
73
73
  ...(input.meshName !== undefined && input.meshName !== null && { meshName: input.meshName }),
74
74
  ...(input.spec !== undefined &&
75
75
  input.spec !== null && { spec: serializeAws_restJson1MeshSpec(input.spec, context) }),
@@ -100,7 +100,7 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => {
100
100
  if (labelValue.length <= 0) {
101
101
  throw new Error("Empty value provided for input HTTP label: meshName.");
102
102
  }
103
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
103
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
104
104
  }
105
105
  else {
106
106
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -110,7 +110,7 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => {
110
110
  if (labelValue.length <= 0) {
111
111
  throw new Error("Empty value provided for input HTTP label: virtualRouterName.");
112
112
  }
113
- resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
113
+ resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
114
114
  }
115
115
  else {
116
116
  throw new Error("No value provided for input HTTP label: virtualRouterName.");
@@ -120,7 +120,7 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => {
120
120
  };
121
121
  let body;
122
122
  body = JSON.stringify({
123
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
123
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
124
124
  ...(input.routeName !== undefined && input.routeName !== null && { routeName: input.routeName }),
125
125
  ...(input.spec !== undefined &&
126
126
  input.spec !== null && { spec: serializeAws_restJson1RouteSpec(input.spec, context) }),
@@ -152,7 +152,7 @@ const serializeAws_restJson1CreateVirtualGatewayCommand = async (input, context)
152
152
  if (labelValue.length <= 0) {
153
153
  throw new Error("Empty value provided for input HTTP label: meshName.");
154
154
  }
155
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
155
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
156
156
  }
157
157
  else {
158
158
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -162,7 +162,7 @@ const serializeAws_restJson1CreateVirtualGatewayCommand = async (input, context)
162
162
  };
163
163
  let body;
164
164
  body = JSON.stringify({
165
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
165
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
166
166
  ...(input.spec !== undefined &&
167
167
  input.spec !== null && { spec: serializeAws_restJson1VirtualGatewaySpec(input.spec, context) }),
168
168
  ...(input.tags !== undefined &&
@@ -194,7 +194,7 @@ const serializeAws_restJson1CreateVirtualNodeCommand = async (input, context) =>
194
194
  if (labelValue.length <= 0) {
195
195
  throw new Error("Empty value provided for input HTTP label: meshName.");
196
196
  }
197
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
197
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
198
198
  }
199
199
  else {
200
200
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -204,7 +204,7 @@ const serializeAws_restJson1CreateVirtualNodeCommand = async (input, context) =>
204
204
  };
205
205
  let body;
206
206
  body = JSON.stringify({
207
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
207
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
208
208
  ...(input.spec !== undefined &&
209
209
  input.spec !== null && { spec: serializeAws_restJson1VirtualNodeSpec(input.spec, context) }),
210
210
  ...(input.tags !== undefined &&
@@ -237,7 +237,7 @@ const serializeAws_restJson1CreateVirtualRouterCommand = async (input, context)
237
237
  if (labelValue.length <= 0) {
238
238
  throw new Error("Empty value provided for input HTTP label: meshName.");
239
239
  }
240
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
240
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
241
241
  }
242
242
  else {
243
243
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -247,7 +247,7 @@ const serializeAws_restJson1CreateVirtualRouterCommand = async (input, context)
247
247
  };
248
248
  let body;
249
249
  body = JSON.stringify({
250
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
250
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
251
251
  ...(input.spec !== undefined &&
252
252
  input.spec !== null && { spec: serializeAws_restJson1VirtualRouterSpec(input.spec, context) }),
253
253
  ...(input.tags !== undefined &&
@@ -280,7 +280,7 @@ const serializeAws_restJson1CreateVirtualServiceCommand = async (input, context)
280
280
  if (labelValue.length <= 0) {
281
281
  throw new Error("Empty value provided for input HTTP label: meshName.");
282
282
  }
283
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
283
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
284
284
  }
285
285
  else {
286
286
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -290,7 +290,7 @@ const serializeAws_restJson1CreateVirtualServiceCommand = async (input, context)
290
290
  };
291
291
  let body;
292
292
  body = JSON.stringify({
293
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
293
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
294
294
  ...(input.spec !== undefined &&
295
295
  input.spec !== null && { spec: serializeAws_restJson1VirtualServiceSpec(input.spec, context) }),
296
296
  ...(input.tags !== undefined &&
@@ -320,7 +320,7 @@ const serializeAws_restJson1DeleteGatewayRouteCommand = async (input, context) =
320
320
  if (labelValue.length <= 0) {
321
321
  throw new Error("Empty value provided for input HTTP label: gatewayRouteName.");
322
322
  }
323
- resolvedPath = resolvedPath.replace("{gatewayRouteName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
323
+ resolvedPath = resolvedPath.replace("{gatewayRouteName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
324
324
  }
325
325
  else {
326
326
  throw new Error("No value provided for input HTTP label: gatewayRouteName.");
@@ -330,7 +330,7 @@ const serializeAws_restJson1DeleteGatewayRouteCommand = async (input, context) =
330
330
  if (labelValue.length <= 0) {
331
331
  throw new Error("Empty value provided for input HTTP label: meshName.");
332
332
  }
333
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
333
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
334
334
  }
335
335
  else {
336
336
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -340,7 +340,7 @@ const serializeAws_restJson1DeleteGatewayRouteCommand = async (input, context) =
340
340
  if (labelValue.length <= 0) {
341
341
  throw new Error("Empty value provided for input HTTP label: virtualGatewayName.");
342
342
  }
343
- resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
343
+ resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
344
344
  }
345
345
  else {
346
346
  throw new Error("No value provided for input HTTP label: virtualGatewayName.");
@@ -370,7 +370,7 @@ const serializeAws_restJson1DeleteMeshCommand = async (input, context) => {
370
370
  if (labelValue.length <= 0) {
371
371
  throw new Error("Empty value provided for input HTTP label: meshName.");
372
372
  }
373
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
373
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
374
374
  }
375
375
  else {
376
376
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -397,7 +397,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => {
397
397
  if (labelValue.length <= 0) {
398
398
  throw new Error("Empty value provided for input HTTP label: routeName.");
399
399
  }
400
- resolvedPath = resolvedPath.replace("{routeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
400
+ resolvedPath = resolvedPath.replace("{routeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
401
401
  }
402
402
  else {
403
403
  throw new Error("No value provided for input HTTP label: routeName.");
@@ -407,7 +407,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => {
407
407
  if (labelValue.length <= 0) {
408
408
  throw new Error("Empty value provided for input HTTP label: meshName.");
409
409
  }
410
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
410
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
411
411
  }
412
412
  else {
413
413
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -417,7 +417,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => {
417
417
  if (labelValue.length <= 0) {
418
418
  throw new Error("Empty value provided for input HTTP label: virtualRouterName.");
419
419
  }
420
- resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
420
+ resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
421
421
  }
422
422
  else {
423
423
  throw new Error("No value provided for input HTTP label: virtualRouterName.");
@@ -448,7 +448,7 @@ const serializeAws_restJson1DeleteVirtualGatewayCommand = async (input, context)
448
448
  if (labelValue.length <= 0) {
449
449
  throw new Error("Empty value provided for input HTTP label: virtualGatewayName.");
450
450
  }
451
- resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
451
+ resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
452
452
  }
453
453
  else {
454
454
  throw new Error("No value provided for input HTTP label: virtualGatewayName.");
@@ -458,7 +458,7 @@ const serializeAws_restJson1DeleteVirtualGatewayCommand = async (input, context)
458
458
  if (labelValue.length <= 0) {
459
459
  throw new Error("Empty value provided for input HTTP label: meshName.");
460
460
  }
461
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
461
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
462
462
  }
463
463
  else {
464
464
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -489,7 +489,7 @@ const serializeAws_restJson1DeleteVirtualNodeCommand = async (input, context) =>
489
489
  if (labelValue.length <= 0) {
490
490
  throw new Error("Empty value provided for input HTTP label: virtualNodeName.");
491
491
  }
492
- resolvedPath = resolvedPath.replace("{virtualNodeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
492
+ resolvedPath = resolvedPath.replace("{virtualNodeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
493
493
  }
494
494
  else {
495
495
  throw new Error("No value provided for input HTTP label: virtualNodeName.");
@@ -499,7 +499,7 @@ const serializeAws_restJson1DeleteVirtualNodeCommand = async (input, context) =>
499
499
  if (labelValue.length <= 0) {
500
500
  throw new Error("Empty value provided for input HTTP label: meshName.");
501
501
  }
502
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
502
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
503
503
  }
504
504
  else {
505
505
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -530,7 +530,7 @@ const serializeAws_restJson1DeleteVirtualRouterCommand = async (input, context)
530
530
  if (labelValue.length <= 0) {
531
531
  throw new Error("Empty value provided for input HTTP label: virtualRouterName.");
532
532
  }
533
- resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
533
+ resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
534
534
  }
535
535
  else {
536
536
  throw new Error("No value provided for input HTTP label: virtualRouterName.");
@@ -540,7 +540,7 @@ const serializeAws_restJson1DeleteVirtualRouterCommand = async (input, context)
540
540
  if (labelValue.length <= 0) {
541
541
  throw new Error("Empty value provided for input HTTP label: meshName.");
542
542
  }
543
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
543
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
544
544
  }
545
545
  else {
546
546
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -571,7 +571,7 @@ const serializeAws_restJson1DeleteVirtualServiceCommand = async (input, context)
571
571
  if (labelValue.length <= 0) {
572
572
  throw new Error("Empty value provided for input HTTP label: virtualServiceName.");
573
573
  }
574
- resolvedPath = resolvedPath.replace("{virtualServiceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
574
+ resolvedPath = resolvedPath.replace("{virtualServiceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
575
575
  }
576
576
  else {
577
577
  throw new Error("No value provided for input HTTP label: virtualServiceName.");
@@ -581,7 +581,7 @@ const serializeAws_restJson1DeleteVirtualServiceCommand = async (input, context)
581
581
  if (labelValue.length <= 0) {
582
582
  throw new Error("Empty value provided for input HTTP label: meshName.");
583
583
  }
584
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
584
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
585
585
  }
586
586
  else {
587
587
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -612,7 +612,7 @@ const serializeAws_restJson1DescribeGatewayRouteCommand = async (input, context)
612
612
  if (labelValue.length <= 0) {
613
613
  throw new Error("Empty value provided for input HTTP label: gatewayRouteName.");
614
614
  }
615
- resolvedPath = resolvedPath.replace("{gatewayRouteName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
615
+ resolvedPath = resolvedPath.replace("{gatewayRouteName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
616
616
  }
617
617
  else {
618
618
  throw new Error("No value provided for input HTTP label: gatewayRouteName.");
@@ -622,7 +622,7 @@ const serializeAws_restJson1DescribeGatewayRouteCommand = async (input, context)
622
622
  if (labelValue.length <= 0) {
623
623
  throw new Error("Empty value provided for input HTTP label: meshName.");
624
624
  }
625
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
625
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
626
626
  }
627
627
  else {
628
628
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -632,7 +632,7 @@ const serializeAws_restJson1DescribeGatewayRouteCommand = async (input, context)
632
632
  if (labelValue.length <= 0) {
633
633
  throw new Error("Empty value provided for input HTTP label: virtualGatewayName.");
634
634
  }
635
- resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
635
+ resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
636
636
  }
637
637
  else {
638
638
  throw new Error("No value provided for input HTTP label: virtualGatewayName.");
@@ -662,7 +662,7 @@ const serializeAws_restJson1DescribeMeshCommand = async (input, context) => {
662
662
  if (labelValue.length <= 0) {
663
663
  throw new Error("Empty value provided for input HTTP label: meshName.");
664
664
  }
665
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
665
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
666
666
  }
667
667
  else {
668
668
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -693,7 +693,7 @@ const serializeAws_restJson1DescribeRouteCommand = async (input, context) => {
693
693
  if (labelValue.length <= 0) {
694
694
  throw new Error("Empty value provided for input HTTP label: routeName.");
695
695
  }
696
- resolvedPath = resolvedPath.replace("{routeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
696
+ resolvedPath = resolvedPath.replace("{routeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
697
697
  }
698
698
  else {
699
699
  throw new Error("No value provided for input HTTP label: routeName.");
@@ -703,7 +703,7 @@ const serializeAws_restJson1DescribeRouteCommand = async (input, context) => {
703
703
  if (labelValue.length <= 0) {
704
704
  throw new Error("Empty value provided for input HTTP label: meshName.");
705
705
  }
706
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
706
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
707
707
  }
708
708
  else {
709
709
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -713,7 +713,7 @@ const serializeAws_restJson1DescribeRouteCommand = async (input, context) => {
713
713
  if (labelValue.length <= 0) {
714
714
  throw new Error("Empty value provided for input HTTP label: virtualRouterName.");
715
715
  }
716
- resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
716
+ resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
717
717
  }
718
718
  else {
719
719
  throw new Error("No value provided for input HTTP label: virtualRouterName.");
@@ -744,7 +744,7 @@ const serializeAws_restJson1DescribeVirtualGatewayCommand = async (input, contex
744
744
  if (labelValue.length <= 0) {
745
745
  throw new Error("Empty value provided for input HTTP label: virtualGatewayName.");
746
746
  }
747
- resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
747
+ resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
748
748
  }
749
749
  else {
750
750
  throw new Error("No value provided for input HTTP label: virtualGatewayName.");
@@ -754,7 +754,7 @@ const serializeAws_restJson1DescribeVirtualGatewayCommand = async (input, contex
754
754
  if (labelValue.length <= 0) {
755
755
  throw new Error("Empty value provided for input HTTP label: meshName.");
756
756
  }
757
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
757
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
758
758
  }
759
759
  else {
760
760
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -785,7 +785,7 @@ const serializeAws_restJson1DescribeVirtualNodeCommand = async (input, context)
785
785
  if (labelValue.length <= 0) {
786
786
  throw new Error("Empty value provided for input HTTP label: virtualNodeName.");
787
787
  }
788
- resolvedPath = resolvedPath.replace("{virtualNodeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
788
+ resolvedPath = resolvedPath.replace("{virtualNodeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
789
789
  }
790
790
  else {
791
791
  throw new Error("No value provided for input HTTP label: virtualNodeName.");
@@ -795,7 +795,7 @@ const serializeAws_restJson1DescribeVirtualNodeCommand = async (input, context)
795
795
  if (labelValue.length <= 0) {
796
796
  throw new Error("Empty value provided for input HTTP label: meshName.");
797
797
  }
798
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
798
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
799
799
  }
800
800
  else {
801
801
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -826,7 +826,7 @@ const serializeAws_restJson1DescribeVirtualRouterCommand = async (input, context
826
826
  if (labelValue.length <= 0) {
827
827
  throw new Error("Empty value provided for input HTTP label: virtualRouterName.");
828
828
  }
829
- resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
829
+ resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
830
830
  }
831
831
  else {
832
832
  throw new Error("No value provided for input HTTP label: virtualRouterName.");
@@ -836,7 +836,7 @@ const serializeAws_restJson1DescribeVirtualRouterCommand = async (input, context
836
836
  if (labelValue.length <= 0) {
837
837
  throw new Error("Empty value provided for input HTTP label: meshName.");
838
838
  }
839
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
839
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
840
840
  }
841
841
  else {
842
842
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -867,7 +867,7 @@ const serializeAws_restJson1DescribeVirtualServiceCommand = async (input, contex
867
867
  if (labelValue.length <= 0) {
868
868
  throw new Error("Empty value provided for input HTTP label: virtualServiceName.");
869
869
  }
870
- resolvedPath = resolvedPath.replace("{virtualServiceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
870
+ resolvedPath = resolvedPath.replace("{virtualServiceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
871
871
  }
872
872
  else {
873
873
  throw new Error("No value provided for input HTTP label: virtualServiceName.");
@@ -877,7 +877,7 @@ const serializeAws_restJson1DescribeVirtualServiceCommand = async (input, contex
877
877
  if (labelValue.length <= 0) {
878
878
  throw new Error("Empty value provided for input HTTP label: meshName.");
879
879
  }
880
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
880
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
881
881
  }
882
882
  else {
883
883
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -908,7 +908,7 @@ const serializeAws_restJson1ListGatewayRoutesCommand = async (input, context) =>
908
908
  if (labelValue.length <= 0) {
909
909
  throw new Error("Empty value provided for input HTTP label: meshName.");
910
910
  }
911
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
911
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
912
912
  }
913
913
  else {
914
914
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -918,7 +918,7 @@ const serializeAws_restJson1ListGatewayRoutesCommand = async (input, context) =>
918
918
  if (labelValue.length <= 0) {
919
919
  throw new Error("Empty value provided for input HTTP label: virtualGatewayName.");
920
920
  }
921
- resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
921
+ resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
922
922
  }
923
923
  else {
924
924
  throw new Error("No value provided for input HTTP label: virtualGatewayName.");
@@ -972,7 +972,7 @@ const serializeAws_restJson1ListRoutesCommand = async (input, context) => {
972
972
  if (labelValue.length <= 0) {
973
973
  throw new Error("Empty value provided for input HTTP label: meshName.");
974
974
  }
975
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
975
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
976
976
  }
977
977
  else {
978
978
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -982,7 +982,7 @@ const serializeAws_restJson1ListRoutesCommand = async (input, context) => {
982
982
  if (labelValue.length <= 0) {
983
983
  throw new Error("Empty value provided for input HTTP label: virtualRouterName.");
984
984
  }
985
- resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
985
+ resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
986
986
  }
987
987
  else {
988
988
  throw new Error("No value provided for input HTTP label: virtualRouterName.");
@@ -1037,7 +1037,7 @@ const serializeAws_restJson1ListVirtualGatewaysCommand = async (input, context)
1037
1037
  if (labelValue.length <= 0) {
1038
1038
  throw new Error("Empty value provided for input HTTP label: meshName.");
1039
1039
  }
1040
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1040
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1041
1041
  }
1042
1042
  else {
1043
1043
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -1069,7 +1069,7 @@ const serializeAws_restJson1ListVirtualNodesCommand = async (input, context) =>
1069
1069
  if (labelValue.length <= 0) {
1070
1070
  throw new Error("Empty value provided for input HTTP label: meshName.");
1071
1071
  }
1072
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1072
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1073
1073
  }
1074
1074
  else {
1075
1075
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -1102,7 +1102,7 @@ const serializeAws_restJson1ListVirtualRoutersCommand = async (input, context) =
1102
1102
  if (labelValue.length <= 0) {
1103
1103
  throw new Error("Empty value provided for input HTTP label: meshName.");
1104
1104
  }
1105
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1105
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1106
1106
  }
1107
1107
  else {
1108
1108
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -1135,7 +1135,7 @@ const serializeAws_restJson1ListVirtualServicesCommand = async (input, context)
1135
1135
  if (labelValue.length <= 0) {
1136
1136
  throw new Error("Empty value provided for input HTTP label: meshName.");
1137
1137
  }
1138
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1138
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1139
1139
  }
1140
1140
  else {
1141
1141
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -1223,7 +1223,7 @@ const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) =
1223
1223
  if (labelValue.length <= 0) {
1224
1224
  throw new Error("Empty value provided for input HTTP label: gatewayRouteName.");
1225
1225
  }
1226
- resolvedPath = resolvedPath.replace("{gatewayRouteName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1226
+ resolvedPath = resolvedPath.replace("{gatewayRouteName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1227
1227
  }
1228
1228
  else {
1229
1229
  throw new Error("No value provided for input HTTP label: gatewayRouteName.");
@@ -1233,7 +1233,7 @@ const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) =
1233
1233
  if (labelValue.length <= 0) {
1234
1234
  throw new Error("Empty value provided for input HTTP label: meshName.");
1235
1235
  }
1236
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1236
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1237
1237
  }
1238
1238
  else {
1239
1239
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -1243,7 +1243,7 @@ const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) =
1243
1243
  if (labelValue.length <= 0) {
1244
1244
  throw new Error("Empty value provided for input HTTP label: virtualGatewayName.");
1245
1245
  }
1246
- resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1246
+ resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1247
1247
  }
1248
1248
  else {
1249
1249
  throw new Error("No value provided for input HTTP label: virtualGatewayName.");
@@ -1253,7 +1253,7 @@ const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) =
1253
1253
  };
1254
1254
  let body;
1255
1255
  body = JSON.stringify({
1256
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1256
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1257
1257
  ...(input.spec !== undefined &&
1258
1258
  input.spec !== null && { spec: serializeAws_restJson1GatewayRouteSpec(input.spec, context) }),
1259
1259
  });
@@ -1281,14 +1281,14 @@ const serializeAws_restJson1UpdateMeshCommand = async (input, context) => {
1281
1281
  if (labelValue.length <= 0) {
1282
1282
  throw new Error("Empty value provided for input HTTP label: meshName.");
1283
1283
  }
1284
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1284
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1285
1285
  }
1286
1286
  else {
1287
1287
  throw new Error("No value provided for input HTTP label: meshName.");
1288
1288
  }
1289
1289
  let body;
1290
1290
  body = JSON.stringify({
1291
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1291
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1292
1292
  ...(input.spec !== undefined &&
1293
1293
  input.spec !== null && { spec: serializeAws_restJson1MeshSpec(input.spec, context) }),
1294
1294
  });
@@ -1316,7 +1316,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => {
1316
1316
  if (labelValue.length <= 0) {
1317
1317
  throw new Error("Empty value provided for input HTTP label: routeName.");
1318
1318
  }
1319
- resolvedPath = resolvedPath.replace("{routeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1319
+ resolvedPath = resolvedPath.replace("{routeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1320
1320
  }
1321
1321
  else {
1322
1322
  throw new Error("No value provided for input HTTP label: routeName.");
@@ -1326,7 +1326,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => {
1326
1326
  if (labelValue.length <= 0) {
1327
1327
  throw new Error("Empty value provided for input HTTP label: meshName.");
1328
1328
  }
1329
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1329
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1330
1330
  }
1331
1331
  else {
1332
1332
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -1336,7 +1336,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => {
1336
1336
  if (labelValue.length <= 0) {
1337
1337
  throw new Error("Empty value provided for input HTTP label: virtualRouterName.");
1338
1338
  }
1339
- resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1339
+ resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1340
1340
  }
1341
1341
  else {
1342
1342
  throw new Error("No value provided for input HTTP label: virtualRouterName.");
@@ -1346,7 +1346,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => {
1346
1346
  };
1347
1347
  let body;
1348
1348
  body = JSON.stringify({
1349
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1349
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1350
1350
  ...(input.spec !== undefined &&
1351
1351
  input.spec !== null && { spec: serializeAws_restJson1RouteSpec(input.spec, context) }),
1352
1352
  });
@@ -1375,7 +1375,7 @@ const serializeAws_restJson1UpdateVirtualGatewayCommand = async (input, context)
1375
1375
  if (labelValue.length <= 0) {
1376
1376
  throw new Error("Empty value provided for input HTTP label: virtualGatewayName.");
1377
1377
  }
1378
- resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1378
+ resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1379
1379
  }
1380
1380
  else {
1381
1381
  throw new Error("No value provided for input HTTP label: virtualGatewayName.");
@@ -1385,7 +1385,7 @@ const serializeAws_restJson1UpdateVirtualGatewayCommand = async (input, context)
1385
1385
  if (labelValue.length <= 0) {
1386
1386
  throw new Error("Empty value provided for input HTTP label: meshName.");
1387
1387
  }
1388
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1388
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1389
1389
  }
1390
1390
  else {
1391
1391
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -1395,7 +1395,7 @@ const serializeAws_restJson1UpdateVirtualGatewayCommand = async (input, context)
1395
1395
  };
1396
1396
  let body;
1397
1397
  body = JSON.stringify({
1398
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1398
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1399
1399
  ...(input.spec !== undefined &&
1400
1400
  input.spec !== null && { spec: serializeAws_restJson1VirtualGatewaySpec(input.spec, context) }),
1401
1401
  });
@@ -1424,7 +1424,7 @@ const serializeAws_restJson1UpdateVirtualNodeCommand = async (input, context) =>
1424
1424
  if (labelValue.length <= 0) {
1425
1425
  throw new Error("Empty value provided for input HTTP label: virtualNodeName.");
1426
1426
  }
1427
- resolvedPath = resolvedPath.replace("{virtualNodeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1427
+ resolvedPath = resolvedPath.replace("{virtualNodeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1428
1428
  }
1429
1429
  else {
1430
1430
  throw new Error("No value provided for input HTTP label: virtualNodeName.");
@@ -1434,7 +1434,7 @@ const serializeAws_restJson1UpdateVirtualNodeCommand = async (input, context) =>
1434
1434
  if (labelValue.length <= 0) {
1435
1435
  throw new Error("Empty value provided for input HTTP label: meshName.");
1436
1436
  }
1437
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1437
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1438
1438
  }
1439
1439
  else {
1440
1440
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -1444,7 +1444,7 @@ const serializeAws_restJson1UpdateVirtualNodeCommand = async (input, context) =>
1444
1444
  };
1445
1445
  let body;
1446
1446
  body = JSON.stringify({
1447
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1447
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1448
1448
  ...(input.spec !== undefined &&
1449
1449
  input.spec !== null && { spec: serializeAws_restJson1VirtualNodeSpec(input.spec, context) }),
1450
1450
  });
@@ -1473,7 +1473,7 @@ const serializeAws_restJson1UpdateVirtualRouterCommand = async (input, context)
1473
1473
  if (labelValue.length <= 0) {
1474
1474
  throw new Error("Empty value provided for input HTTP label: virtualRouterName.");
1475
1475
  }
1476
- resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1476
+ resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1477
1477
  }
1478
1478
  else {
1479
1479
  throw new Error("No value provided for input HTTP label: virtualRouterName.");
@@ -1483,7 +1483,7 @@ const serializeAws_restJson1UpdateVirtualRouterCommand = async (input, context)
1483
1483
  if (labelValue.length <= 0) {
1484
1484
  throw new Error("Empty value provided for input HTTP label: meshName.");
1485
1485
  }
1486
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1486
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1487
1487
  }
1488
1488
  else {
1489
1489
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -1493,7 +1493,7 @@ const serializeAws_restJson1UpdateVirtualRouterCommand = async (input, context)
1493
1493
  };
1494
1494
  let body;
1495
1495
  body = JSON.stringify({
1496
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1496
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1497
1497
  ...(input.spec !== undefined &&
1498
1498
  input.spec !== null && { spec: serializeAws_restJson1VirtualRouterSpec(input.spec, context) }),
1499
1499
  });
@@ -1522,7 +1522,7 @@ const serializeAws_restJson1UpdateVirtualServiceCommand = async (input, context)
1522
1522
  if (labelValue.length <= 0) {
1523
1523
  throw new Error("Empty value provided for input HTTP label: virtualServiceName.");
1524
1524
  }
1525
- resolvedPath = resolvedPath.replace("{virtualServiceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1525
+ resolvedPath = resolvedPath.replace("{virtualServiceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1526
1526
  }
1527
1527
  else {
1528
1528
  throw new Error("No value provided for input HTTP label: virtualServiceName.");
@@ -1532,7 +1532,7 @@ const serializeAws_restJson1UpdateVirtualServiceCommand = async (input, context)
1532
1532
  if (labelValue.length <= 0) {
1533
1533
  throw new Error("Empty value provided for input HTTP label: meshName.");
1534
1534
  }
1535
- resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1535
+ resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1536
1536
  }
1537
1537
  else {
1538
1538
  throw new Error("No value provided for input HTTP label: meshName.");
@@ -1542,7 +1542,7 @@ const serializeAws_restJson1UpdateVirtualServiceCommand = async (input, context)
1542
1542
  };
1543
1543
  let body;
1544
1544
  body = JSON.stringify({
1545
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1545
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1546
1546
  ...(input.spec !== undefined &&
1547
1547
  input.spec !== null && { spec: serializeAws_restJson1VirtualServiceSpec(input.spec, context) }),
1548
1548
  });
@@ -1566,7 +1566,7 @@ const deserializeAws_restJson1CreateGatewayRouteCommand = async (output, context
1566
1566
  $metadata: deserializeMetadata(output),
1567
1567
  gatewayRoute: undefined,
1568
1568
  };
1569
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1569
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
1570
1570
  contents.gatewayRoute = deserializeAws_restJson1GatewayRouteData(data, context);
1571
1571
  return Promise.resolve(contents);
1572
1572
  };
@@ -1611,7 +1611,7 @@ const deserializeAws_restJson1CreateGatewayRouteCommandError = async (output, co
1611
1611
  $fault: "client",
1612
1612
  $metadata: deserializeMetadata(output),
1613
1613
  });
1614
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1614
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1615
1615
  }
1616
1616
  };
1617
1617
  const deserializeAws_restJson1CreateMeshCommand = async (output, context) => {
@@ -1622,7 +1622,7 @@ const deserializeAws_restJson1CreateMeshCommand = async (output, context) => {
1622
1622
  $metadata: deserializeMetadata(output),
1623
1623
  mesh: undefined,
1624
1624
  };
1625
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1625
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
1626
1626
  contents.mesh = deserializeAws_restJson1MeshData(data, context);
1627
1627
  return Promise.resolve(contents);
1628
1628
  };
@@ -1667,7 +1667,7 @@ const deserializeAws_restJson1CreateMeshCommandError = async (output, context) =
1667
1667
  $fault: "client",
1668
1668
  $metadata: deserializeMetadata(output),
1669
1669
  });
1670
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1670
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1671
1671
  }
1672
1672
  };
1673
1673
  const deserializeAws_restJson1CreateRouteCommand = async (output, context) => {
@@ -1678,7 +1678,7 @@ const deserializeAws_restJson1CreateRouteCommand = async (output, context) => {
1678
1678
  $metadata: deserializeMetadata(output),
1679
1679
  route: undefined,
1680
1680
  };
1681
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1681
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
1682
1682
  contents.route = deserializeAws_restJson1RouteData(data, context);
1683
1683
  return Promise.resolve(contents);
1684
1684
  };
@@ -1723,7 +1723,7 @@ const deserializeAws_restJson1CreateRouteCommandError = async (output, context)
1723
1723
  $fault: "client",
1724
1724
  $metadata: deserializeMetadata(output),
1725
1725
  });
1726
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1726
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1727
1727
  }
1728
1728
  };
1729
1729
  const deserializeAws_restJson1CreateVirtualGatewayCommand = async (output, context) => {
@@ -1734,7 +1734,7 @@ const deserializeAws_restJson1CreateVirtualGatewayCommand = async (output, conte
1734
1734
  $metadata: deserializeMetadata(output),
1735
1735
  virtualGateway: undefined,
1736
1736
  };
1737
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1737
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
1738
1738
  contents.virtualGateway = deserializeAws_restJson1VirtualGatewayData(data, context);
1739
1739
  return Promise.resolve(contents);
1740
1740
  };
@@ -1779,7 +1779,7 @@ const deserializeAws_restJson1CreateVirtualGatewayCommandError = async (output,
1779
1779
  $fault: "client",
1780
1780
  $metadata: deserializeMetadata(output),
1781
1781
  });
1782
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1782
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1783
1783
  }
1784
1784
  };
1785
1785
  const deserializeAws_restJson1CreateVirtualNodeCommand = async (output, context) => {
@@ -1790,7 +1790,7 @@ const deserializeAws_restJson1CreateVirtualNodeCommand = async (output, context)
1790
1790
  $metadata: deserializeMetadata(output),
1791
1791
  virtualNode: undefined,
1792
1792
  };
1793
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1793
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
1794
1794
  contents.virtualNode = deserializeAws_restJson1VirtualNodeData(data, context);
1795
1795
  return Promise.resolve(contents);
1796
1796
  };
@@ -1835,7 +1835,7 @@ const deserializeAws_restJson1CreateVirtualNodeCommandError = async (output, con
1835
1835
  $fault: "client",
1836
1836
  $metadata: deserializeMetadata(output),
1837
1837
  });
1838
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1838
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1839
1839
  }
1840
1840
  };
1841
1841
  const deserializeAws_restJson1CreateVirtualRouterCommand = async (output, context) => {
@@ -1846,7 +1846,7 @@ const deserializeAws_restJson1CreateVirtualRouterCommand = async (output, contex
1846
1846
  $metadata: deserializeMetadata(output),
1847
1847
  virtualRouter: undefined,
1848
1848
  };
1849
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1849
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
1850
1850
  contents.virtualRouter = deserializeAws_restJson1VirtualRouterData(data, context);
1851
1851
  return Promise.resolve(contents);
1852
1852
  };
@@ -1891,7 +1891,7 @@ const deserializeAws_restJson1CreateVirtualRouterCommandError = async (output, c
1891
1891
  $fault: "client",
1892
1892
  $metadata: deserializeMetadata(output),
1893
1893
  });
1894
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1894
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1895
1895
  }
1896
1896
  };
1897
1897
  const deserializeAws_restJson1CreateVirtualServiceCommand = async (output, context) => {
@@ -1902,7 +1902,7 @@ const deserializeAws_restJson1CreateVirtualServiceCommand = async (output, conte
1902
1902
  $metadata: deserializeMetadata(output),
1903
1903
  virtualService: undefined,
1904
1904
  };
1905
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1905
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
1906
1906
  contents.virtualService = deserializeAws_restJson1VirtualServiceData(data, context);
1907
1907
  return Promise.resolve(contents);
1908
1908
  };
@@ -1947,7 +1947,7 @@ const deserializeAws_restJson1CreateVirtualServiceCommandError = async (output,
1947
1947
  $fault: "client",
1948
1948
  $metadata: deserializeMetadata(output),
1949
1949
  });
1950
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1950
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1951
1951
  }
1952
1952
  };
1953
1953
  const deserializeAws_restJson1DeleteGatewayRouteCommand = async (output, context) => {
@@ -1958,7 +1958,7 @@ const deserializeAws_restJson1DeleteGatewayRouteCommand = async (output, context
1958
1958
  $metadata: deserializeMetadata(output),
1959
1959
  gatewayRoute: undefined,
1960
1960
  };
1961
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1961
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
1962
1962
  contents.gatewayRoute = deserializeAws_restJson1GatewayRouteData(data, context);
1963
1963
  return Promise.resolve(contents);
1964
1964
  };
@@ -2000,7 +2000,7 @@ const deserializeAws_restJson1DeleteGatewayRouteCommandError = async (output, co
2000
2000
  $fault: "client",
2001
2001
  $metadata: deserializeMetadata(output),
2002
2002
  });
2003
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2003
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2004
2004
  }
2005
2005
  };
2006
2006
  const deserializeAws_restJson1DeleteMeshCommand = async (output, context) => {
@@ -2011,7 +2011,7 @@ const deserializeAws_restJson1DeleteMeshCommand = async (output, context) => {
2011
2011
  $metadata: deserializeMetadata(output),
2012
2012
  mesh: undefined,
2013
2013
  };
2014
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2014
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2015
2015
  contents.mesh = deserializeAws_restJson1MeshData(data, context);
2016
2016
  return Promise.resolve(contents);
2017
2017
  };
@@ -2053,7 +2053,7 @@ const deserializeAws_restJson1DeleteMeshCommandError = async (output, context) =
2053
2053
  $fault: "client",
2054
2054
  $metadata: deserializeMetadata(output),
2055
2055
  });
2056
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2056
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2057
2057
  }
2058
2058
  };
2059
2059
  const deserializeAws_restJson1DeleteRouteCommand = async (output, context) => {
@@ -2064,7 +2064,7 @@ const deserializeAws_restJson1DeleteRouteCommand = async (output, context) => {
2064
2064
  $metadata: deserializeMetadata(output),
2065
2065
  route: undefined,
2066
2066
  };
2067
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2067
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2068
2068
  contents.route = deserializeAws_restJson1RouteData(data, context);
2069
2069
  return Promise.resolve(contents);
2070
2070
  };
@@ -2106,7 +2106,7 @@ const deserializeAws_restJson1DeleteRouteCommandError = async (output, context)
2106
2106
  $fault: "client",
2107
2107
  $metadata: deserializeMetadata(output),
2108
2108
  });
2109
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2109
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2110
2110
  }
2111
2111
  };
2112
2112
  const deserializeAws_restJson1DeleteVirtualGatewayCommand = async (output, context) => {
@@ -2117,7 +2117,7 @@ const deserializeAws_restJson1DeleteVirtualGatewayCommand = async (output, conte
2117
2117
  $metadata: deserializeMetadata(output),
2118
2118
  virtualGateway: undefined,
2119
2119
  };
2120
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2120
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2121
2121
  contents.virtualGateway = deserializeAws_restJson1VirtualGatewayData(data, context);
2122
2122
  return Promise.resolve(contents);
2123
2123
  };
@@ -2159,7 +2159,7 @@ const deserializeAws_restJson1DeleteVirtualGatewayCommandError = async (output,
2159
2159
  $fault: "client",
2160
2160
  $metadata: deserializeMetadata(output),
2161
2161
  });
2162
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2162
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2163
2163
  }
2164
2164
  };
2165
2165
  const deserializeAws_restJson1DeleteVirtualNodeCommand = async (output, context) => {
@@ -2170,7 +2170,7 @@ const deserializeAws_restJson1DeleteVirtualNodeCommand = async (output, context)
2170
2170
  $metadata: deserializeMetadata(output),
2171
2171
  virtualNode: undefined,
2172
2172
  };
2173
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2173
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2174
2174
  contents.virtualNode = deserializeAws_restJson1VirtualNodeData(data, context);
2175
2175
  return Promise.resolve(contents);
2176
2176
  };
@@ -2212,7 +2212,7 @@ const deserializeAws_restJson1DeleteVirtualNodeCommandError = async (output, con
2212
2212
  $fault: "client",
2213
2213
  $metadata: deserializeMetadata(output),
2214
2214
  });
2215
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2215
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2216
2216
  }
2217
2217
  };
2218
2218
  const deserializeAws_restJson1DeleteVirtualRouterCommand = async (output, context) => {
@@ -2223,7 +2223,7 @@ const deserializeAws_restJson1DeleteVirtualRouterCommand = async (output, contex
2223
2223
  $metadata: deserializeMetadata(output),
2224
2224
  virtualRouter: undefined,
2225
2225
  };
2226
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2226
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2227
2227
  contents.virtualRouter = deserializeAws_restJson1VirtualRouterData(data, context);
2228
2228
  return Promise.resolve(contents);
2229
2229
  };
@@ -2265,7 +2265,7 @@ const deserializeAws_restJson1DeleteVirtualRouterCommandError = async (output, c
2265
2265
  $fault: "client",
2266
2266
  $metadata: deserializeMetadata(output),
2267
2267
  });
2268
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2268
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2269
2269
  }
2270
2270
  };
2271
2271
  const deserializeAws_restJson1DeleteVirtualServiceCommand = async (output, context) => {
@@ -2276,7 +2276,7 @@ const deserializeAws_restJson1DeleteVirtualServiceCommand = async (output, conte
2276
2276
  $metadata: deserializeMetadata(output),
2277
2277
  virtualService: undefined,
2278
2278
  };
2279
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2279
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2280
2280
  contents.virtualService = deserializeAws_restJson1VirtualServiceData(data, context);
2281
2281
  return Promise.resolve(contents);
2282
2282
  };
@@ -2318,7 +2318,7 @@ const deserializeAws_restJson1DeleteVirtualServiceCommandError = async (output,
2318
2318
  $fault: "client",
2319
2319
  $metadata: deserializeMetadata(output),
2320
2320
  });
2321
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2321
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2322
2322
  }
2323
2323
  };
2324
2324
  const deserializeAws_restJson1DescribeGatewayRouteCommand = async (output, context) => {
@@ -2329,7 +2329,7 @@ const deserializeAws_restJson1DescribeGatewayRouteCommand = async (output, conte
2329
2329
  $metadata: deserializeMetadata(output),
2330
2330
  gatewayRoute: undefined,
2331
2331
  };
2332
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2332
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2333
2333
  contents.gatewayRoute = deserializeAws_restJson1GatewayRouteData(data, context);
2334
2334
  return Promise.resolve(contents);
2335
2335
  };
@@ -2368,7 +2368,7 @@ const deserializeAws_restJson1DescribeGatewayRouteCommandError = async (output,
2368
2368
  $fault: "client",
2369
2369
  $metadata: deserializeMetadata(output),
2370
2370
  });
2371
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2371
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2372
2372
  }
2373
2373
  };
2374
2374
  const deserializeAws_restJson1DescribeMeshCommand = async (output, context) => {
@@ -2379,7 +2379,7 @@ const deserializeAws_restJson1DescribeMeshCommand = async (output, context) => {
2379
2379
  $metadata: deserializeMetadata(output),
2380
2380
  mesh: undefined,
2381
2381
  };
2382
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2382
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2383
2383
  contents.mesh = deserializeAws_restJson1MeshData(data, context);
2384
2384
  return Promise.resolve(contents);
2385
2385
  };
@@ -2418,7 +2418,7 @@ const deserializeAws_restJson1DescribeMeshCommandError = async (output, context)
2418
2418
  $fault: "client",
2419
2419
  $metadata: deserializeMetadata(output),
2420
2420
  });
2421
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2421
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2422
2422
  }
2423
2423
  };
2424
2424
  const deserializeAws_restJson1DescribeRouteCommand = async (output, context) => {
@@ -2429,7 +2429,7 @@ const deserializeAws_restJson1DescribeRouteCommand = async (output, context) =>
2429
2429
  $metadata: deserializeMetadata(output),
2430
2430
  route: undefined,
2431
2431
  };
2432
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2432
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2433
2433
  contents.route = deserializeAws_restJson1RouteData(data, context);
2434
2434
  return Promise.resolve(contents);
2435
2435
  };
@@ -2468,7 +2468,7 @@ const deserializeAws_restJson1DescribeRouteCommandError = async (output, context
2468
2468
  $fault: "client",
2469
2469
  $metadata: deserializeMetadata(output),
2470
2470
  });
2471
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2471
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2472
2472
  }
2473
2473
  };
2474
2474
  const deserializeAws_restJson1DescribeVirtualGatewayCommand = async (output, context) => {
@@ -2479,7 +2479,7 @@ const deserializeAws_restJson1DescribeVirtualGatewayCommand = async (output, con
2479
2479
  $metadata: deserializeMetadata(output),
2480
2480
  virtualGateway: undefined,
2481
2481
  };
2482
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2482
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2483
2483
  contents.virtualGateway = deserializeAws_restJson1VirtualGatewayData(data, context);
2484
2484
  return Promise.resolve(contents);
2485
2485
  };
@@ -2518,7 +2518,7 @@ const deserializeAws_restJson1DescribeVirtualGatewayCommandError = async (output
2518
2518
  $fault: "client",
2519
2519
  $metadata: deserializeMetadata(output),
2520
2520
  });
2521
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2521
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2522
2522
  }
2523
2523
  };
2524
2524
  const deserializeAws_restJson1DescribeVirtualNodeCommand = async (output, context) => {
@@ -2529,7 +2529,7 @@ const deserializeAws_restJson1DescribeVirtualNodeCommand = async (output, contex
2529
2529
  $metadata: deserializeMetadata(output),
2530
2530
  virtualNode: undefined,
2531
2531
  };
2532
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2532
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2533
2533
  contents.virtualNode = deserializeAws_restJson1VirtualNodeData(data, context);
2534
2534
  return Promise.resolve(contents);
2535
2535
  };
@@ -2568,7 +2568,7 @@ const deserializeAws_restJson1DescribeVirtualNodeCommandError = async (output, c
2568
2568
  $fault: "client",
2569
2569
  $metadata: deserializeMetadata(output),
2570
2570
  });
2571
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2571
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2572
2572
  }
2573
2573
  };
2574
2574
  const deserializeAws_restJson1DescribeVirtualRouterCommand = async (output, context) => {
@@ -2579,7 +2579,7 @@ const deserializeAws_restJson1DescribeVirtualRouterCommand = async (output, cont
2579
2579
  $metadata: deserializeMetadata(output),
2580
2580
  virtualRouter: undefined,
2581
2581
  };
2582
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2582
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2583
2583
  contents.virtualRouter = deserializeAws_restJson1VirtualRouterData(data, context);
2584
2584
  return Promise.resolve(contents);
2585
2585
  };
@@ -2618,7 +2618,7 @@ const deserializeAws_restJson1DescribeVirtualRouterCommandError = async (output,
2618
2618
  $fault: "client",
2619
2619
  $metadata: deserializeMetadata(output),
2620
2620
  });
2621
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2621
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2622
2622
  }
2623
2623
  };
2624
2624
  const deserializeAws_restJson1DescribeVirtualServiceCommand = async (output, context) => {
@@ -2629,7 +2629,7 @@ const deserializeAws_restJson1DescribeVirtualServiceCommand = async (output, con
2629
2629
  $metadata: deserializeMetadata(output),
2630
2630
  virtualService: undefined,
2631
2631
  };
2632
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2632
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2633
2633
  contents.virtualService = deserializeAws_restJson1VirtualServiceData(data, context);
2634
2634
  return Promise.resolve(contents);
2635
2635
  };
@@ -2668,7 +2668,7 @@ const deserializeAws_restJson1DescribeVirtualServiceCommandError = async (output
2668
2668
  $fault: "client",
2669
2669
  $metadata: deserializeMetadata(output),
2670
2670
  });
2671
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2671
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2672
2672
  }
2673
2673
  };
2674
2674
  const deserializeAws_restJson1ListGatewayRoutesCommand = async (output, context) => {
@@ -2680,12 +2680,12 @@ const deserializeAws_restJson1ListGatewayRoutesCommand = async (output, context)
2680
2680
  gatewayRoutes: undefined,
2681
2681
  nextToken: undefined,
2682
2682
  };
2683
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2683
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2684
2684
  if (data.gatewayRoutes !== undefined && data.gatewayRoutes !== null) {
2685
2685
  contents.gatewayRoutes = deserializeAws_restJson1GatewayRouteList(data.gatewayRoutes, context);
2686
2686
  }
2687
2687
  if (data.nextToken !== undefined && data.nextToken !== null) {
2688
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2688
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2689
2689
  }
2690
2690
  return Promise.resolve(contents);
2691
2691
  };
@@ -2724,7 +2724,7 @@ const deserializeAws_restJson1ListGatewayRoutesCommandError = async (output, con
2724
2724
  $fault: "client",
2725
2725
  $metadata: deserializeMetadata(output),
2726
2726
  });
2727
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2727
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2728
2728
  }
2729
2729
  };
2730
2730
  const deserializeAws_restJson1ListMeshesCommand = async (output, context) => {
@@ -2736,12 +2736,12 @@ const deserializeAws_restJson1ListMeshesCommand = async (output, context) => {
2736
2736
  meshes: undefined,
2737
2737
  nextToken: undefined,
2738
2738
  };
2739
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2739
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2740
2740
  if (data.meshes !== undefined && data.meshes !== null) {
2741
2741
  contents.meshes = deserializeAws_restJson1MeshList(data.meshes, context);
2742
2742
  }
2743
2743
  if (data.nextToken !== undefined && data.nextToken !== null) {
2744
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2744
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2745
2745
  }
2746
2746
  return Promise.resolve(contents);
2747
2747
  };
@@ -2780,7 +2780,7 @@ const deserializeAws_restJson1ListMeshesCommandError = async (output, context) =
2780
2780
  $fault: "client",
2781
2781
  $metadata: deserializeMetadata(output),
2782
2782
  });
2783
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2783
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2784
2784
  }
2785
2785
  };
2786
2786
  const deserializeAws_restJson1ListRoutesCommand = async (output, context) => {
@@ -2792,9 +2792,9 @@ const deserializeAws_restJson1ListRoutesCommand = async (output, context) => {
2792
2792
  nextToken: undefined,
2793
2793
  routes: undefined,
2794
2794
  };
2795
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2795
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2796
2796
  if (data.nextToken !== undefined && data.nextToken !== null) {
2797
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2797
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2798
2798
  }
2799
2799
  if (data.routes !== undefined && data.routes !== null) {
2800
2800
  contents.routes = deserializeAws_restJson1RouteList(data.routes, context);
@@ -2836,7 +2836,7 @@ const deserializeAws_restJson1ListRoutesCommandError = async (output, context) =
2836
2836
  $fault: "client",
2837
2837
  $metadata: deserializeMetadata(output),
2838
2838
  });
2839
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2839
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2840
2840
  }
2841
2841
  };
2842
2842
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -2848,9 +2848,9 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2848
2848
  nextToken: undefined,
2849
2849
  tags: undefined,
2850
2850
  };
2851
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2851
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2852
2852
  if (data.nextToken !== undefined && data.nextToken !== null) {
2853
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2853
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2854
2854
  }
2855
2855
  if (data.tags !== undefined && data.tags !== null) {
2856
2856
  contents.tags = deserializeAws_restJson1TagList(data.tags, context);
@@ -2892,7 +2892,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2892
2892
  $fault: "client",
2893
2893
  $metadata: deserializeMetadata(output),
2894
2894
  });
2895
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2895
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2896
2896
  }
2897
2897
  };
2898
2898
  const deserializeAws_restJson1ListVirtualGatewaysCommand = async (output, context) => {
@@ -2904,9 +2904,9 @@ const deserializeAws_restJson1ListVirtualGatewaysCommand = async (output, contex
2904
2904
  nextToken: undefined,
2905
2905
  virtualGateways: undefined,
2906
2906
  };
2907
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2907
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2908
2908
  if (data.nextToken !== undefined && data.nextToken !== null) {
2909
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2909
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2910
2910
  }
2911
2911
  if (data.virtualGateways !== undefined && data.virtualGateways !== null) {
2912
2912
  contents.virtualGateways = deserializeAws_restJson1VirtualGatewayList(data.virtualGateways, context);
@@ -2948,7 +2948,7 @@ const deserializeAws_restJson1ListVirtualGatewaysCommandError = async (output, c
2948
2948
  $fault: "client",
2949
2949
  $metadata: deserializeMetadata(output),
2950
2950
  });
2951
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2951
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2952
2952
  }
2953
2953
  };
2954
2954
  const deserializeAws_restJson1ListVirtualNodesCommand = async (output, context) => {
@@ -2960,9 +2960,9 @@ const deserializeAws_restJson1ListVirtualNodesCommand = async (output, context)
2960
2960
  nextToken: undefined,
2961
2961
  virtualNodes: undefined,
2962
2962
  };
2963
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2963
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2964
2964
  if (data.nextToken !== undefined && data.nextToken !== null) {
2965
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2965
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2966
2966
  }
2967
2967
  if (data.virtualNodes !== undefined && data.virtualNodes !== null) {
2968
2968
  contents.virtualNodes = deserializeAws_restJson1VirtualNodeList(data.virtualNodes, context);
@@ -3004,7 +3004,7 @@ const deserializeAws_restJson1ListVirtualNodesCommandError = async (output, cont
3004
3004
  $fault: "client",
3005
3005
  $metadata: deserializeMetadata(output),
3006
3006
  });
3007
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3007
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3008
3008
  }
3009
3009
  };
3010
3010
  const deserializeAws_restJson1ListVirtualRoutersCommand = async (output, context) => {
@@ -3016,9 +3016,9 @@ const deserializeAws_restJson1ListVirtualRoutersCommand = async (output, context
3016
3016
  nextToken: undefined,
3017
3017
  virtualRouters: undefined,
3018
3018
  };
3019
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3019
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3020
3020
  if (data.nextToken !== undefined && data.nextToken !== null) {
3021
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3021
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3022
3022
  }
3023
3023
  if (data.virtualRouters !== undefined && data.virtualRouters !== null) {
3024
3024
  contents.virtualRouters = deserializeAws_restJson1VirtualRouterList(data.virtualRouters, context);
@@ -3060,7 +3060,7 @@ const deserializeAws_restJson1ListVirtualRoutersCommandError = async (output, co
3060
3060
  $fault: "client",
3061
3061
  $metadata: deserializeMetadata(output),
3062
3062
  });
3063
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3063
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3064
3064
  }
3065
3065
  };
3066
3066
  const deserializeAws_restJson1ListVirtualServicesCommand = async (output, context) => {
@@ -3072,9 +3072,9 @@ const deserializeAws_restJson1ListVirtualServicesCommand = async (output, contex
3072
3072
  nextToken: undefined,
3073
3073
  virtualServices: undefined,
3074
3074
  };
3075
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3075
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3076
3076
  if (data.nextToken !== undefined && data.nextToken !== null) {
3077
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3077
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3078
3078
  }
3079
3079
  if (data.virtualServices !== undefined && data.virtualServices !== null) {
3080
3080
  contents.virtualServices = deserializeAws_restJson1VirtualServiceList(data.virtualServices, context);
@@ -3116,7 +3116,7 @@ const deserializeAws_restJson1ListVirtualServicesCommandError = async (output, c
3116
3116
  $fault: "client",
3117
3117
  $metadata: deserializeMetadata(output),
3118
3118
  });
3119
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3119
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3120
3120
  }
3121
3121
  };
3122
3122
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -3167,7 +3167,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3167
3167
  $fault: "client",
3168
3168
  $metadata: deserializeMetadata(output),
3169
3169
  });
3170
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3170
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3171
3171
  }
3172
3172
  };
3173
3173
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -3215,7 +3215,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3215
3215
  $fault: "client",
3216
3216
  $metadata: deserializeMetadata(output),
3217
3217
  });
3218
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3218
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3219
3219
  }
3220
3220
  };
3221
3221
  const deserializeAws_restJson1UpdateGatewayRouteCommand = async (output, context) => {
@@ -3226,7 +3226,7 @@ const deserializeAws_restJson1UpdateGatewayRouteCommand = async (output, context
3226
3226
  $metadata: deserializeMetadata(output),
3227
3227
  gatewayRoute: undefined,
3228
3228
  };
3229
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
3229
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
3230
3230
  contents.gatewayRoute = deserializeAws_restJson1GatewayRouteData(data, context);
3231
3231
  return Promise.resolve(contents);
3232
3232
  };
@@ -3271,7 +3271,7 @@ const deserializeAws_restJson1UpdateGatewayRouteCommandError = async (output, co
3271
3271
  $fault: "client",
3272
3272
  $metadata: deserializeMetadata(output),
3273
3273
  });
3274
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3274
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3275
3275
  }
3276
3276
  };
3277
3277
  const deserializeAws_restJson1UpdateMeshCommand = async (output, context) => {
@@ -3282,7 +3282,7 @@ const deserializeAws_restJson1UpdateMeshCommand = async (output, context) => {
3282
3282
  $metadata: deserializeMetadata(output),
3283
3283
  mesh: undefined,
3284
3284
  };
3285
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
3285
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
3286
3286
  contents.mesh = deserializeAws_restJson1MeshData(data, context);
3287
3287
  return Promise.resolve(contents);
3288
3288
  };
@@ -3324,7 +3324,7 @@ const deserializeAws_restJson1UpdateMeshCommandError = async (output, context) =
3324
3324
  $fault: "client",
3325
3325
  $metadata: deserializeMetadata(output),
3326
3326
  });
3327
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3327
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3328
3328
  }
3329
3329
  };
3330
3330
  const deserializeAws_restJson1UpdateRouteCommand = async (output, context) => {
@@ -3335,7 +3335,7 @@ const deserializeAws_restJson1UpdateRouteCommand = async (output, context) => {
3335
3335
  $metadata: deserializeMetadata(output),
3336
3336
  route: undefined,
3337
3337
  };
3338
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
3338
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
3339
3339
  contents.route = deserializeAws_restJson1RouteData(data, context);
3340
3340
  return Promise.resolve(contents);
3341
3341
  };
@@ -3380,7 +3380,7 @@ const deserializeAws_restJson1UpdateRouteCommandError = async (output, context)
3380
3380
  $fault: "client",
3381
3381
  $metadata: deserializeMetadata(output),
3382
3382
  });
3383
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3383
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3384
3384
  }
3385
3385
  };
3386
3386
  const deserializeAws_restJson1UpdateVirtualGatewayCommand = async (output, context) => {
@@ -3391,7 +3391,7 @@ const deserializeAws_restJson1UpdateVirtualGatewayCommand = async (output, conte
3391
3391
  $metadata: deserializeMetadata(output),
3392
3392
  virtualGateway: undefined,
3393
3393
  };
3394
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
3394
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
3395
3395
  contents.virtualGateway = deserializeAws_restJson1VirtualGatewayData(data, context);
3396
3396
  return Promise.resolve(contents);
3397
3397
  };
@@ -3436,7 +3436,7 @@ const deserializeAws_restJson1UpdateVirtualGatewayCommandError = async (output,
3436
3436
  $fault: "client",
3437
3437
  $metadata: deserializeMetadata(output),
3438
3438
  });
3439
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3439
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3440
3440
  }
3441
3441
  };
3442
3442
  const deserializeAws_restJson1UpdateVirtualNodeCommand = async (output, context) => {
@@ -3447,7 +3447,7 @@ const deserializeAws_restJson1UpdateVirtualNodeCommand = async (output, context)
3447
3447
  $metadata: deserializeMetadata(output),
3448
3448
  virtualNode: undefined,
3449
3449
  };
3450
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
3450
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
3451
3451
  contents.virtualNode = deserializeAws_restJson1VirtualNodeData(data, context);
3452
3452
  return Promise.resolve(contents);
3453
3453
  };
@@ -3492,7 +3492,7 @@ const deserializeAws_restJson1UpdateVirtualNodeCommandError = async (output, con
3492
3492
  $fault: "client",
3493
3493
  $metadata: deserializeMetadata(output),
3494
3494
  });
3495
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3495
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3496
3496
  }
3497
3497
  };
3498
3498
  const deserializeAws_restJson1UpdateVirtualRouterCommand = async (output, context) => {
@@ -3503,7 +3503,7 @@ const deserializeAws_restJson1UpdateVirtualRouterCommand = async (output, contex
3503
3503
  $metadata: deserializeMetadata(output),
3504
3504
  virtualRouter: undefined,
3505
3505
  };
3506
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
3506
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
3507
3507
  contents.virtualRouter = deserializeAws_restJson1VirtualRouterData(data, context);
3508
3508
  return Promise.resolve(contents);
3509
3509
  };
@@ -3548,7 +3548,7 @@ const deserializeAws_restJson1UpdateVirtualRouterCommandError = async (output, c
3548
3548
  $fault: "client",
3549
3549
  $metadata: deserializeMetadata(output),
3550
3550
  });
3551
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3551
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3552
3552
  }
3553
3553
  };
3554
3554
  const deserializeAws_restJson1UpdateVirtualServiceCommand = async (output, context) => {
@@ -3559,7 +3559,7 @@ const deserializeAws_restJson1UpdateVirtualServiceCommand = async (output, conte
3559
3559
  $metadata: deserializeMetadata(output),
3560
3560
  virtualService: undefined,
3561
3561
  };
3562
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
3562
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
3563
3563
  contents.virtualService = deserializeAws_restJson1VirtualServiceData(data, context);
3564
3564
  return Promise.resolve(contents);
3565
3565
  };
@@ -3604,128 +3604,128 @@ const deserializeAws_restJson1UpdateVirtualServiceCommandError = async (output,
3604
3604
  $fault: "client",
3605
3605
  $metadata: deserializeMetadata(output),
3606
3606
  });
3607
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3607
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3608
3608
  }
3609
3609
  };
3610
3610
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
3611
3611
  const contents = {};
3612
3612
  const data = parsedOutput.body;
3613
3613
  if (data.message !== undefined && data.message !== null) {
3614
- contents.message = smithy_client_1.expectString(data.message);
3614
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3615
3615
  }
3616
3616
  const exception = new models_0_1.BadRequestException({
3617
3617
  $metadata: deserializeMetadata(parsedOutput),
3618
3618
  ...contents,
3619
3619
  });
3620
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3620
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3621
3621
  };
3622
3622
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
3623
3623
  const contents = {};
3624
3624
  const data = parsedOutput.body;
3625
3625
  if (data.message !== undefined && data.message !== null) {
3626
- contents.message = smithy_client_1.expectString(data.message);
3626
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3627
3627
  }
3628
3628
  const exception = new models_0_1.ConflictException({
3629
3629
  $metadata: deserializeMetadata(parsedOutput),
3630
3630
  ...contents,
3631
3631
  });
3632
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3632
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3633
3633
  };
3634
3634
  const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
3635
3635
  const contents = {};
3636
3636
  const data = parsedOutput.body;
3637
3637
  if (data.message !== undefined && data.message !== null) {
3638
- contents.message = smithy_client_1.expectString(data.message);
3638
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3639
3639
  }
3640
3640
  const exception = new models_0_1.ForbiddenException({
3641
3641
  $metadata: deserializeMetadata(parsedOutput),
3642
3642
  ...contents,
3643
3643
  });
3644
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3644
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3645
3645
  };
3646
3646
  const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
3647
3647
  const contents = {};
3648
3648
  const data = parsedOutput.body;
3649
3649
  if (data.message !== undefined && data.message !== null) {
3650
- contents.message = smithy_client_1.expectString(data.message);
3650
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3651
3651
  }
3652
3652
  const exception = new models_0_1.InternalServerErrorException({
3653
3653
  $metadata: deserializeMetadata(parsedOutput),
3654
3654
  ...contents,
3655
3655
  });
3656
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3656
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3657
3657
  };
3658
3658
  const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
3659
3659
  const contents = {};
3660
3660
  const data = parsedOutput.body;
3661
3661
  if (data.message !== undefined && data.message !== null) {
3662
- contents.message = smithy_client_1.expectString(data.message);
3662
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3663
3663
  }
3664
3664
  const exception = new models_0_1.LimitExceededException({
3665
3665
  $metadata: deserializeMetadata(parsedOutput),
3666
3666
  ...contents,
3667
3667
  });
3668
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3668
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3669
3669
  };
3670
3670
  const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
3671
3671
  const contents = {};
3672
3672
  const data = parsedOutput.body;
3673
3673
  if (data.message !== undefined && data.message !== null) {
3674
- contents.message = smithy_client_1.expectString(data.message);
3674
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3675
3675
  }
3676
3676
  const exception = new models_0_1.NotFoundException({
3677
3677
  $metadata: deserializeMetadata(parsedOutput),
3678
3678
  ...contents,
3679
3679
  });
3680
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3680
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3681
3681
  };
3682
3682
  const deserializeAws_restJson1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
3683
3683
  const contents = {};
3684
3684
  const data = parsedOutput.body;
3685
3685
  if (data.message !== undefined && data.message !== null) {
3686
- contents.message = smithy_client_1.expectString(data.message);
3686
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3687
3687
  }
3688
3688
  const exception = new models_0_1.ResourceInUseException({
3689
3689
  $metadata: deserializeMetadata(parsedOutput),
3690
3690
  ...contents,
3691
3691
  });
3692
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3692
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3693
3693
  };
3694
3694
  const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
3695
3695
  const contents = {};
3696
3696
  const data = parsedOutput.body;
3697
3697
  if (data.message !== undefined && data.message !== null) {
3698
- contents.message = smithy_client_1.expectString(data.message);
3698
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3699
3699
  }
3700
3700
  const exception = new models_0_1.ServiceUnavailableException({
3701
3701
  $metadata: deserializeMetadata(parsedOutput),
3702
3702
  ...contents,
3703
3703
  });
3704
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3704
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3705
3705
  };
3706
3706
  const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
3707
3707
  const contents = {};
3708
3708
  const data = parsedOutput.body;
3709
3709
  if (data.message !== undefined && data.message !== null) {
3710
- contents.message = smithy_client_1.expectString(data.message);
3710
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3711
3711
  }
3712
3712
  const exception = new models_0_1.TooManyRequestsException({
3713
3713
  $metadata: deserializeMetadata(parsedOutput),
3714
3714
  ...contents,
3715
3715
  });
3716
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3716
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3717
3717
  };
3718
3718
  const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
3719
3719
  const contents = {};
3720
3720
  const data = parsedOutput.body;
3721
3721
  if (data.message !== undefined && data.message !== null) {
3722
- contents.message = smithy_client_1.expectString(data.message);
3722
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3723
3723
  }
3724
3724
  const exception = new models_0_1.TooManyTagsException({
3725
3725
  $metadata: deserializeMetadata(parsedOutput),
3726
3726
  ...contents,
3727
3727
  });
3728
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3728
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3729
3729
  };
3730
3730
  const serializeAws_restJson1AccessLog = (input, context) => {
3731
3731
  return models_0_1.AccessLog.visit(input, {
@@ -4919,8 +4919,8 @@ const deserializeAws_restJson1AccessLog = (output, context) => {
4919
4919
  };
4920
4920
  const deserializeAws_restJson1AwsCloudMapInstanceAttribute = (output, context) => {
4921
4921
  return {
4922
- key: smithy_client_1.expectString(output.key),
4923
- value: smithy_client_1.expectString(output.value),
4922
+ key: (0, smithy_client_1.expectString)(output.key),
4923
+ value: (0, smithy_client_1.expectString)(output.value),
4924
4924
  };
4925
4925
  };
4926
4926
  const deserializeAws_restJson1AwsCloudMapInstanceAttributes = (output, context) => {
@@ -4939,8 +4939,8 @@ const deserializeAws_restJson1AwsCloudMapServiceDiscovery = (output, context) =>
4939
4939
  attributes: output.attributes !== undefined && output.attributes !== null
4940
4940
  ? deserializeAws_restJson1AwsCloudMapInstanceAttributes(output.attributes, context)
4941
4941
  : undefined,
4942
- namespaceName: smithy_client_1.expectString(output.namespaceName),
4943
- serviceName: smithy_client_1.expectString(output.serviceName),
4942
+ namespaceName: (0, smithy_client_1.expectString)(output.namespaceName),
4943
+ serviceName: (0, smithy_client_1.expectString)(output.serviceName),
4944
4944
  };
4945
4945
  };
4946
4946
  const deserializeAws_restJson1Backend = (output, context) => {
@@ -4965,7 +4965,7 @@ const deserializeAws_restJson1Backends = (output, context) => {
4965
4965
  if (entry === null) {
4966
4966
  return null;
4967
4967
  }
4968
- return deserializeAws_restJson1Backend(smithy_client_1.expectUnion(entry), context);
4968
+ return deserializeAws_restJson1Backend((0, smithy_client_1.expectUnion)(entry), context);
4969
4969
  });
4970
4970
  return retVal;
4971
4971
  };
@@ -4976,7 +4976,7 @@ const deserializeAws_restJson1CertificateAuthorityArns = (output, context) => {
4976
4976
  if (entry === null) {
4977
4977
  return null;
4978
4978
  }
4979
- return smithy_client_1.expectString(entry);
4979
+ return (0, smithy_client_1.expectString)(entry);
4980
4980
  });
4981
4981
  return retVal;
4982
4982
  };
@@ -4990,9 +4990,9 @@ const deserializeAws_restJson1ClientPolicy = (output, context) => {
4990
4990
  const deserializeAws_restJson1ClientPolicyTls = (output, context) => {
4991
4991
  return {
4992
4992
  certificate: output.certificate !== undefined && output.certificate !== null
4993
- ? deserializeAws_restJson1ClientTlsCertificate(smithy_client_1.expectUnion(output.certificate), context)
4993
+ ? deserializeAws_restJson1ClientTlsCertificate((0, smithy_client_1.expectUnion)(output.certificate), context)
4994
4994
  : undefined,
4995
- enforce: smithy_client_1.expectBoolean(output.enforce),
4995
+ enforce: (0, smithy_client_1.expectBoolean)(output.enforce),
4996
4996
  ports: output.ports !== undefined && output.ports !== null
4997
4997
  ? deserializeAws_restJson1PortSet(output.ports, context)
4998
4998
  : undefined,
@@ -5016,30 +5016,30 @@ const deserializeAws_restJson1ClientTlsCertificate = (output, context) => {
5016
5016
  };
5017
5017
  const deserializeAws_restJson1DnsServiceDiscovery = (output, context) => {
5018
5018
  return {
5019
- hostname: smithy_client_1.expectString(output.hostname),
5020
- responseType: smithy_client_1.expectString(output.responseType),
5019
+ hostname: (0, smithy_client_1.expectString)(output.hostname),
5020
+ responseType: (0, smithy_client_1.expectString)(output.responseType),
5021
5021
  };
5022
5022
  };
5023
5023
  const deserializeAws_restJson1Duration = (output, context) => {
5024
5024
  return {
5025
- unit: smithy_client_1.expectString(output.unit),
5026
- value: smithy_client_1.expectLong(output.value),
5025
+ unit: (0, smithy_client_1.expectString)(output.unit),
5026
+ value: (0, smithy_client_1.expectLong)(output.value),
5027
5027
  };
5028
5028
  };
5029
5029
  const deserializeAws_restJson1EgressFilter = (output, context) => {
5030
5030
  return {
5031
- type: smithy_client_1.expectString(output.type),
5031
+ type: (0, smithy_client_1.expectString)(output.type),
5032
5032
  };
5033
5033
  };
5034
5034
  const deserializeAws_restJson1FileAccessLog = (output, context) => {
5035
5035
  return {
5036
- path: smithy_client_1.expectString(output.path),
5036
+ path: (0, smithy_client_1.expectString)(output.path),
5037
5037
  };
5038
5038
  };
5039
5039
  const deserializeAws_restJson1GatewayRouteData = (output, context) => {
5040
5040
  return {
5041
- gatewayRouteName: smithy_client_1.expectString(output.gatewayRouteName),
5042
- meshName: smithy_client_1.expectString(output.meshName),
5041
+ gatewayRouteName: (0, smithy_client_1.expectString)(output.gatewayRouteName),
5042
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
5043
5043
  metadata: output.metadata !== undefined && output.metadata !== null
5044
5044
  ? deserializeAws_restJson1ResourceMetadata(output.metadata, context)
5045
5045
  : undefined,
@@ -5049,18 +5049,18 @@ const deserializeAws_restJson1GatewayRouteData = (output, context) => {
5049
5049
  status: output.status !== undefined && output.status !== null
5050
5050
  ? deserializeAws_restJson1GatewayRouteStatus(output.status, context)
5051
5051
  : undefined,
5052
- virtualGatewayName: smithy_client_1.expectString(output.virtualGatewayName),
5052
+ virtualGatewayName: (0, smithy_client_1.expectString)(output.virtualGatewayName),
5053
5053
  };
5054
5054
  };
5055
5055
  const deserializeAws_restJson1GatewayRouteHostnameMatch = (output, context) => {
5056
5056
  return {
5057
- exact: smithy_client_1.expectString(output.exact),
5058
- suffix: smithy_client_1.expectString(output.suffix),
5057
+ exact: (0, smithy_client_1.expectString)(output.exact),
5058
+ suffix: (0, smithy_client_1.expectString)(output.suffix),
5059
5059
  };
5060
5060
  };
5061
5061
  const deserializeAws_restJson1GatewayRouteHostnameRewrite = (output, context) => {
5062
5062
  return {
5063
- defaultTargetHostname: smithy_client_1.expectString(output.defaultTargetHostname),
5063
+ defaultTargetHostname: (0, smithy_client_1.expectString)(output.defaultTargetHostname),
5064
5064
  };
5065
5065
  };
5066
5066
  const deserializeAws_restJson1GatewayRouteList = (output, context) => {
@@ -5076,19 +5076,19 @@ const deserializeAws_restJson1GatewayRouteList = (output, context) => {
5076
5076
  };
5077
5077
  const deserializeAws_restJson1GatewayRouteRef = (output, context) => {
5078
5078
  return {
5079
- arn: smithy_client_1.expectString(output.arn),
5079
+ arn: (0, smithy_client_1.expectString)(output.arn),
5080
5080
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5081
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5081
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5082
5082
  : undefined,
5083
- gatewayRouteName: smithy_client_1.expectString(output.gatewayRouteName),
5083
+ gatewayRouteName: (0, smithy_client_1.expectString)(output.gatewayRouteName),
5084
5084
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
5085
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
5085
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
5086
5086
  : undefined,
5087
- meshName: smithy_client_1.expectString(output.meshName),
5088
- meshOwner: smithy_client_1.expectString(output.meshOwner),
5089
- resourceOwner: smithy_client_1.expectString(output.resourceOwner),
5090
- version: smithy_client_1.expectLong(output.version),
5091
- virtualGatewayName: smithy_client_1.expectString(output.virtualGatewayName),
5087
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
5088
+ meshOwner: (0, smithy_client_1.expectString)(output.meshOwner),
5089
+ resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner),
5090
+ version: (0, smithy_client_1.expectLong)(output.version),
5091
+ virtualGatewayName: (0, smithy_client_1.expectString)(output.virtualGatewayName),
5092
5092
  };
5093
5093
  };
5094
5094
  const deserializeAws_restJson1GatewayRouteSpec = (output, context) => {
@@ -5102,12 +5102,12 @@ const deserializeAws_restJson1GatewayRouteSpec = (output, context) => {
5102
5102
  httpRoute: output.httpRoute !== undefined && output.httpRoute !== null
5103
5103
  ? deserializeAws_restJson1HttpGatewayRoute(output.httpRoute, context)
5104
5104
  : undefined,
5105
- priority: smithy_client_1.expectInt32(output.priority),
5105
+ priority: (0, smithy_client_1.expectInt32)(output.priority),
5106
5106
  };
5107
5107
  };
5108
5108
  const deserializeAws_restJson1GatewayRouteStatus = (output, context) => {
5109
5109
  return {
5110
- status: smithy_client_1.expectString(output.status),
5110
+ status: (0, smithy_client_1.expectString)(output.status),
5111
5111
  };
5112
5112
  };
5113
5113
  const deserializeAws_restJson1GatewayRouteTarget = (output, context) => {
@@ -5119,7 +5119,7 @@ const deserializeAws_restJson1GatewayRouteTarget = (output, context) => {
5119
5119
  };
5120
5120
  const deserializeAws_restJson1GatewayRouteVirtualService = (output, context) => {
5121
5121
  return {
5122
- virtualServiceName: smithy_client_1.expectString(output.virtualServiceName),
5122
+ virtualServiceName: (0, smithy_client_1.expectString)(output.virtualServiceName),
5123
5123
  };
5124
5124
  };
5125
5125
  const deserializeAws_restJson1GrpcGatewayRoute = (output, context) => {
@@ -5150,16 +5150,16 @@ const deserializeAws_restJson1GrpcGatewayRouteMatch = (output, context) => {
5150
5150
  metadata: output.metadata !== undefined && output.metadata !== null
5151
5151
  ? deserializeAws_restJson1GrpcGatewayRouteMetadataList(output.metadata, context)
5152
5152
  : undefined,
5153
- serviceName: smithy_client_1.expectString(output.serviceName),
5153
+ serviceName: (0, smithy_client_1.expectString)(output.serviceName),
5154
5154
  };
5155
5155
  };
5156
5156
  const deserializeAws_restJson1GrpcGatewayRouteMetadata = (output, context) => {
5157
5157
  return {
5158
- invert: smithy_client_1.expectBoolean(output.invert),
5158
+ invert: (0, smithy_client_1.expectBoolean)(output.invert),
5159
5159
  match: output.match !== undefined && output.match !== null
5160
- ? deserializeAws_restJson1GrpcMetadataMatchMethod(smithy_client_1.expectUnion(output.match), context)
5160
+ ? deserializeAws_restJson1GrpcMetadataMatchMethod((0, smithy_client_1.expectUnion)(output.match), context)
5161
5161
  : undefined,
5162
- name: smithy_client_1.expectString(output.name),
5162
+ name: (0, smithy_client_1.expectString)(output.name),
5163
5163
  };
5164
5164
  };
5165
5165
  const deserializeAws_restJson1GrpcGatewayRouteMetadataList = (output, context) => {
@@ -5181,22 +5181,22 @@ const deserializeAws_restJson1GrpcGatewayRouteRewrite = (output, context) => {
5181
5181
  };
5182
5182
  };
5183
5183
  const deserializeAws_restJson1GrpcMetadataMatchMethod = (output, context) => {
5184
- if (smithy_client_1.expectString(output.exact) !== undefined) {
5185
- return { exact: smithy_client_1.expectString(output.exact) };
5184
+ if ((0, smithy_client_1.expectString)(output.exact) !== undefined) {
5185
+ return { exact: (0, smithy_client_1.expectString)(output.exact) };
5186
5186
  }
5187
- if (smithy_client_1.expectString(output.prefix) !== undefined) {
5188
- return { prefix: smithy_client_1.expectString(output.prefix) };
5187
+ if ((0, smithy_client_1.expectString)(output.prefix) !== undefined) {
5188
+ return { prefix: (0, smithy_client_1.expectString)(output.prefix) };
5189
5189
  }
5190
5190
  if (output.range !== undefined && output.range !== null) {
5191
5191
  return {
5192
5192
  range: deserializeAws_restJson1MatchRange(output.range, context),
5193
5193
  };
5194
5194
  }
5195
- if (smithy_client_1.expectString(output.regex) !== undefined) {
5196
- return { regex: smithy_client_1.expectString(output.regex) };
5195
+ if ((0, smithy_client_1.expectString)(output.regex) !== undefined) {
5196
+ return { regex: (0, smithy_client_1.expectString)(output.regex) };
5197
5197
  }
5198
- if (smithy_client_1.expectString(output.suffix) !== undefined) {
5199
- return { suffix: smithy_client_1.expectString(output.suffix) };
5198
+ if ((0, smithy_client_1.expectString)(output.suffix) !== undefined) {
5199
+ return { suffix: (0, smithy_client_1.expectString)(output.suffix) };
5200
5200
  }
5201
5201
  return { $unknown: Object.entries(output)[0] };
5202
5202
  };
@@ -5208,7 +5208,7 @@ const deserializeAws_restJson1GrpcRetryPolicy = (output, context) => {
5208
5208
  httpRetryEvents: output.httpRetryEvents !== undefined && output.httpRetryEvents !== null
5209
5209
  ? deserializeAws_restJson1HttpRetryPolicyEvents(output.httpRetryEvents, context)
5210
5210
  : undefined,
5211
- maxRetries: smithy_client_1.expectLong(output.maxRetries),
5211
+ maxRetries: (0, smithy_client_1.expectLong)(output.maxRetries),
5212
5212
  perRetryTimeout: output.perRetryTimeout !== undefined && output.perRetryTimeout !== null
5213
5213
  ? deserializeAws_restJson1Duration(output.perRetryTimeout, context)
5214
5214
  : undefined,
@@ -5224,7 +5224,7 @@ const deserializeAws_restJson1GrpcRetryPolicyEvents = (output, context) => {
5224
5224
  if (entry === null) {
5225
5225
  return null;
5226
5226
  }
5227
- return smithy_client_1.expectString(entry);
5227
+ return (0, smithy_client_1.expectString)(entry);
5228
5228
  });
5229
5229
  return retVal;
5230
5230
  };
@@ -5256,17 +5256,17 @@ const deserializeAws_restJson1GrpcRouteMatch = (output, context) => {
5256
5256
  metadata: output.metadata !== undefined && output.metadata !== null
5257
5257
  ? deserializeAws_restJson1GrpcRouteMetadataList(output.metadata, context)
5258
5258
  : undefined,
5259
- methodName: smithy_client_1.expectString(output.methodName),
5260
- serviceName: smithy_client_1.expectString(output.serviceName),
5259
+ methodName: (0, smithy_client_1.expectString)(output.methodName),
5260
+ serviceName: (0, smithy_client_1.expectString)(output.serviceName),
5261
5261
  };
5262
5262
  };
5263
5263
  const deserializeAws_restJson1GrpcRouteMetadata = (output, context) => {
5264
5264
  return {
5265
- invert: smithy_client_1.expectBoolean(output.invert),
5265
+ invert: (0, smithy_client_1.expectBoolean)(output.invert),
5266
5266
  match: output.match !== undefined && output.match !== null
5267
- ? deserializeAws_restJson1GrpcRouteMetadataMatchMethod(smithy_client_1.expectUnion(output.match), context)
5267
+ ? deserializeAws_restJson1GrpcRouteMetadataMatchMethod((0, smithy_client_1.expectUnion)(output.match), context)
5268
5268
  : undefined,
5269
- name: smithy_client_1.expectString(output.name),
5269
+ name: (0, smithy_client_1.expectString)(output.name),
5270
5270
  };
5271
5271
  };
5272
5272
  const deserializeAws_restJson1GrpcRouteMetadataList = (output, context) => {
@@ -5281,22 +5281,22 @@ const deserializeAws_restJson1GrpcRouteMetadataList = (output, context) => {
5281
5281
  return retVal;
5282
5282
  };
5283
5283
  const deserializeAws_restJson1GrpcRouteMetadataMatchMethod = (output, context) => {
5284
- if (smithy_client_1.expectString(output.exact) !== undefined) {
5285
- return { exact: smithy_client_1.expectString(output.exact) };
5284
+ if ((0, smithy_client_1.expectString)(output.exact) !== undefined) {
5285
+ return { exact: (0, smithy_client_1.expectString)(output.exact) };
5286
5286
  }
5287
- if (smithy_client_1.expectString(output.prefix) !== undefined) {
5288
- return { prefix: smithy_client_1.expectString(output.prefix) };
5287
+ if ((0, smithy_client_1.expectString)(output.prefix) !== undefined) {
5288
+ return { prefix: (0, smithy_client_1.expectString)(output.prefix) };
5289
5289
  }
5290
5290
  if (output.range !== undefined && output.range !== null) {
5291
5291
  return {
5292
5292
  range: deserializeAws_restJson1MatchRange(output.range, context),
5293
5293
  };
5294
5294
  }
5295
- if (smithy_client_1.expectString(output.regex) !== undefined) {
5296
- return { regex: smithy_client_1.expectString(output.regex) };
5295
+ if ((0, smithy_client_1.expectString)(output.regex) !== undefined) {
5296
+ return { regex: (0, smithy_client_1.expectString)(output.regex) };
5297
5297
  }
5298
- if (smithy_client_1.expectString(output.suffix) !== undefined) {
5299
- return { suffix: smithy_client_1.expectString(output.suffix) };
5298
+ if ((0, smithy_client_1.expectString)(output.suffix) !== undefined) {
5299
+ return { suffix: (0, smithy_client_1.expectString)(output.suffix) };
5300
5300
  }
5301
5301
  return { $unknown: Object.entries(output)[0] };
5302
5302
  };
@@ -5311,34 +5311,34 @@ const deserializeAws_restJson1GrpcTimeout = (output, context) => {
5311
5311
  };
5312
5312
  };
5313
5313
  const deserializeAws_restJson1HeaderMatchMethod = (output, context) => {
5314
- if (smithy_client_1.expectString(output.exact) !== undefined) {
5315
- return { exact: smithy_client_1.expectString(output.exact) };
5314
+ if ((0, smithy_client_1.expectString)(output.exact) !== undefined) {
5315
+ return { exact: (0, smithy_client_1.expectString)(output.exact) };
5316
5316
  }
5317
- if (smithy_client_1.expectString(output.prefix) !== undefined) {
5318
- return { prefix: smithy_client_1.expectString(output.prefix) };
5317
+ if ((0, smithy_client_1.expectString)(output.prefix) !== undefined) {
5318
+ return { prefix: (0, smithy_client_1.expectString)(output.prefix) };
5319
5319
  }
5320
5320
  if (output.range !== undefined && output.range !== null) {
5321
5321
  return {
5322
5322
  range: deserializeAws_restJson1MatchRange(output.range, context),
5323
5323
  };
5324
5324
  }
5325
- if (smithy_client_1.expectString(output.regex) !== undefined) {
5326
- return { regex: smithy_client_1.expectString(output.regex) };
5325
+ if ((0, smithy_client_1.expectString)(output.regex) !== undefined) {
5326
+ return { regex: (0, smithy_client_1.expectString)(output.regex) };
5327
5327
  }
5328
- if (smithy_client_1.expectString(output.suffix) !== undefined) {
5329
- return { suffix: smithy_client_1.expectString(output.suffix) };
5328
+ if ((0, smithy_client_1.expectString)(output.suffix) !== undefined) {
5329
+ return { suffix: (0, smithy_client_1.expectString)(output.suffix) };
5330
5330
  }
5331
5331
  return { $unknown: Object.entries(output)[0] };
5332
5332
  };
5333
5333
  const deserializeAws_restJson1HealthCheckPolicy = (output, context) => {
5334
5334
  return {
5335
- healthyThreshold: smithy_client_1.expectInt32(output.healthyThreshold),
5336
- intervalMillis: smithy_client_1.expectLong(output.intervalMillis),
5337
- path: smithy_client_1.expectString(output.path),
5338
- port: smithy_client_1.expectInt32(output.port),
5339
- protocol: smithy_client_1.expectString(output.protocol),
5340
- timeoutMillis: smithy_client_1.expectLong(output.timeoutMillis),
5341
- unhealthyThreshold: smithy_client_1.expectInt32(output.unhealthyThreshold),
5335
+ healthyThreshold: (0, smithy_client_1.expectInt32)(output.healthyThreshold),
5336
+ intervalMillis: (0, smithy_client_1.expectLong)(output.intervalMillis),
5337
+ path: (0, smithy_client_1.expectString)(output.path),
5338
+ port: (0, smithy_client_1.expectInt32)(output.port),
5339
+ protocol: (0, smithy_client_1.expectString)(output.protocol),
5340
+ timeoutMillis: (0, smithy_client_1.expectLong)(output.timeoutMillis),
5341
+ unhealthyThreshold: (0, smithy_client_1.expectInt32)(output.unhealthyThreshold),
5342
5342
  };
5343
5343
  };
5344
5344
  const deserializeAws_restJson1HttpGatewayRoute = (output, context) => {
@@ -5363,11 +5363,11 @@ const deserializeAws_restJson1HttpGatewayRouteAction = (output, context) => {
5363
5363
  };
5364
5364
  const deserializeAws_restJson1HttpGatewayRouteHeader = (output, context) => {
5365
5365
  return {
5366
- invert: smithy_client_1.expectBoolean(output.invert),
5366
+ invert: (0, smithy_client_1.expectBoolean)(output.invert),
5367
5367
  match: output.match !== undefined && output.match !== null
5368
- ? deserializeAws_restJson1HeaderMatchMethod(smithy_client_1.expectUnion(output.match), context)
5368
+ ? deserializeAws_restJson1HeaderMatchMethod((0, smithy_client_1.expectUnion)(output.match), context)
5369
5369
  : undefined,
5370
- name: smithy_client_1.expectString(output.name),
5370
+ name: (0, smithy_client_1.expectString)(output.name),
5371
5371
  };
5372
5372
  };
5373
5373
  const deserializeAws_restJson1HttpGatewayRouteHeaders = (output, context) => {
@@ -5389,11 +5389,11 @@ const deserializeAws_restJson1HttpGatewayRouteMatch = (output, context) => {
5389
5389
  hostname: output.hostname !== undefined && output.hostname !== null
5390
5390
  ? deserializeAws_restJson1GatewayRouteHostnameMatch(output.hostname, context)
5391
5391
  : undefined,
5392
- method: smithy_client_1.expectString(output.method),
5392
+ method: (0, smithy_client_1.expectString)(output.method),
5393
5393
  path: output.path !== undefined && output.path !== null
5394
5394
  ? deserializeAws_restJson1HttpPathMatch(output.path, context)
5395
5395
  : undefined,
5396
- prefix: smithy_client_1.expectString(output.prefix),
5396
+ prefix: (0, smithy_client_1.expectString)(output.prefix),
5397
5397
  queryParameters: output.queryParameters !== undefined && output.queryParameters !== null
5398
5398
  ? deserializeAws_restJson1HttpQueryParameters(output.queryParameters, context)
5399
5399
  : undefined,
@@ -5401,13 +5401,13 @@ const deserializeAws_restJson1HttpGatewayRouteMatch = (output, context) => {
5401
5401
  };
5402
5402
  const deserializeAws_restJson1HttpGatewayRoutePathRewrite = (output, context) => {
5403
5403
  return {
5404
- exact: smithy_client_1.expectString(output.exact),
5404
+ exact: (0, smithy_client_1.expectString)(output.exact),
5405
5405
  };
5406
5406
  };
5407
5407
  const deserializeAws_restJson1HttpGatewayRoutePrefixRewrite = (output, context) => {
5408
5408
  return {
5409
- defaultPrefix: smithy_client_1.expectString(output.defaultPrefix),
5410
- value: smithy_client_1.expectString(output.value),
5409
+ defaultPrefix: (0, smithy_client_1.expectString)(output.defaultPrefix),
5410
+ value: (0, smithy_client_1.expectString)(output.value),
5411
5411
  };
5412
5412
  };
5413
5413
  const deserializeAws_restJson1HttpGatewayRouteRewrite = (output, context) => {
@@ -5425,8 +5425,8 @@ const deserializeAws_restJson1HttpGatewayRouteRewrite = (output, context) => {
5425
5425
  };
5426
5426
  const deserializeAws_restJson1HttpPathMatch = (output, context) => {
5427
5427
  return {
5428
- exact: smithy_client_1.expectString(output.exact),
5429
- regex: smithy_client_1.expectString(output.regex),
5428
+ exact: (0, smithy_client_1.expectString)(output.exact),
5429
+ regex: (0, smithy_client_1.expectString)(output.regex),
5430
5430
  };
5431
5431
  };
5432
5432
  const deserializeAws_restJson1HttpQueryParameter = (output, context) => {
@@ -5434,7 +5434,7 @@ const deserializeAws_restJson1HttpQueryParameter = (output, context) => {
5434
5434
  match: output.match !== undefined && output.match !== null
5435
5435
  ? deserializeAws_restJson1QueryParameterMatch(output.match, context)
5436
5436
  : undefined,
5437
- name: smithy_client_1.expectString(output.name),
5437
+ name: (0, smithy_client_1.expectString)(output.name),
5438
5438
  };
5439
5439
  };
5440
5440
  const deserializeAws_restJson1HttpQueryParameters = (output, context) => {
@@ -5453,7 +5453,7 @@ const deserializeAws_restJson1HttpRetryPolicy = (output, context) => {
5453
5453
  httpRetryEvents: output.httpRetryEvents !== undefined && output.httpRetryEvents !== null
5454
5454
  ? deserializeAws_restJson1HttpRetryPolicyEvents(output.httpRetryEvents, context)
5455
5455
  : undefined,
5456
- maxRetries: smithy_client_1.expectLong(output.maxRetries),
5456
+ maxRetries: (0, smithy_client_1.expectLong)(output.maxRetries),
5457
5457
  perRetryTimeout: output.perRetryTimeout !== undefined && output.perRetryTimeout !== null
5458
5458
  ? deserializeAws_restJson1Duration(output.perRetryTimeout, context)
5459
5459
  : undefined,
@@ -5469,7 +5469,7 @@ const deserializeAws_restJson1HttpRetryPolicyEvents = (output, context) => {
5469
5469
  if (entry === null) {
5470
5470
  return null;
5471
5471
  }
5472
- return smithy_client_1.expectString(entry);
5472
+ return (0, smithy_client_1.expectString)(entry);
5473
5473
  });
5474
5474
  return retVal;
5475
5475
  };
@@ -5498,11 +5498,11 @@ const deserializeAws_restJson1HttpRouteAction = (output, context) => {
5498
5498
  };
5499
5499
  const deserializeAws_restJson1HttpRouteHeader = (output, context) => {
5500
5500
  return {
5501
- invert: smithy_client_1.expectBoolean(output.invert),
5501
+ invert: (0, smithy_client_1.expectBoolean)(output.invert),
5502
5502
  match: output.match !== undefined && output.match !== null
5503
- ? deserializeAws_restJson1HeaderMatchMethod(smithy_client_1.expectUnion(output.match), context)
5503
+ ? deserializeAws_restJson1HeaderMatchMethod((0, smithy_client_1.expectUnion)(output.match), context)
5504
5504
  : undefined,
5505
- name: smithy_client_1.expectString(output.name),
5505
+ name: (0, smithy_client_1.expectString)(output.name),
5506
5506
  };
5507
5507
  };
5508
5508
  const deserializeAws_restJson1HttpRouteHeaders = (output, context) => {
@@ -5521,15 +5521,15 @@ const deserializeAws_restJson1HttpRouteMatch = (output, context) => {
5521
5521
  headers: output.headers !== undefined && output.headers !== null
5522
5522
  ? deserializeAws_restJson1HttpRouteHeaders(output.headers, context)
5523
5523
  : undefined,
5524
- method: smithy_client_1.expectString(output.method),
5524
+ method: (0, smithy_client_1.expectString)(output.method),
5525
5525
  path: output.path !== undefined && output.path !== null
5526
5526
  ? deserializeAws_restJson1HttpPathMatch(output.path, context)
5527
5527
  : undefined,
5528
- prefix: smithy_client_1.expectString(output.prefix),
5528
+ prefix: (0, smithy_client_1.expectString)(output.prefix),
5529
5529
  queryParameters: output.queryParameters !== undefined && output.queryParameters !== null
5530
5530
  ? deserializeAws_restJson1HttpQueryParameters(output.queryParameters, context)
5531
5531
  : undefined,
5532
- scheme: smithy_client_1.expectString(output.scheme),
5532
+ scheme: (0, smithy_client_1.expectString)(output.scheme),
5533
5533
  };
5534
5534
  };
5535
5535
  const deserializeAws_restJson1HttpTimeout = (output, context) => {
@@ -5545,7 +5545,7 @@ const deserializeAws_restJson1HttpTimeout = (output, context) => {
5545
5545
  const deserializeAws_restJson1Listener = (output, context) => {
5546
5546
  return {
5547
5547
  connectionPool: output.connectionPool !== undefined && output.connectionPool !== null
5548
- ? deserializeAws_restJson1VirtualNodeConnectionPool(smithy_client_1.expectUnion(output.connectionPool), context)
5548
+ ? deserializeAws_restJson1VirtualNodeConnectionPool((0, smithy_client_1.expectUnion)(output.connectionPool), context)
5549
5549
  : undefined,
5550
5550
  healthCheck: output.healthCheck !== undefined && output.healthCheck !== null
5551
5551
  ? deserializeAws_restJson1HealthCheckPolicy(output.healthCheck, context)
@@ -5557,7 +5557,7 @@ const deserializeAws_restJson1Listener = (output, context) => {
5557
5557
  ? deserializeAws_restJson1PortMapping(output.portMapping, context)
5558
5558
  : undefined,
5559
5559
  timeout: output.timeout !== undefined && output.timeout !== null
5560
- ? deserializeAws_restJson1ListenerTimeout(smithy_client_1.expectUnion(output.timeout), context)
5560
+ ? deserializeAws_restJson1ListenerTimeout((0, smithy_client_1.expectUnion)(output.timeout), context)
5561
5561
  : undefined,
5562
5562
  tls: output.tls !== undefined && output.tls !== null
5563
5563
  ? deserializeAws_restJson1ListenerTls(output.tls, context)
@@ -5601,9 +5601,9 @@ const deserializeAws_restJson1ListenerTimeout = (output, context) => {
5601
5601
  const deserializeAws_restJson1ListenerTls = (output, context) => {
5602
5602
  return {
5603
5603
  certificate: output.certificate !== undefined && output.certificate !== null
5604
- ? deserializeAws_restJson1ListenerTlsCertificate(smithy_client_1.expectUnion(output.certificate), context)
5604
+ ? deserializeAws_restJson1ListenerTlsCertificate((0, smithy_client_1.expectUnion)(output.certificate), context)
5605
5605
  : undefined,
5606
- mode: smithy_client_1.expectString(output.mode),
5606
+ mode: (0, smithy_client_1.expectString)(output.mode),
5607
5607
  validation: output.validation !== undefined && output.validation !== null
5608
5608
  ? deserializeAws_restJson1ListenerTlsValidationContext(output.validation, context)
5609
5609
  : undefined,
@@ -5611,7 +5611,7 @@ const deserializeAws_restJson1ListenerTls = (output, context) => {
5611
5611
  };
5612
5612
  const deserializeAws_restJson1ListenerTlsAcmCertificate = (output, context) => {
5613
5613
  return {
5614
- certificateArn: smithy_client_1.expectString(output.certificateArn),
5614
+ certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
5615
5615
  };
5616
5616
  };
5617
5617
  const deserializeAws_restJson1ListenerTlsCertificate = (output, context) => {
@@ -5634,13 +5634,13 @@ const deserializeAws_restJson1ListenerTlsCertificate = (output, context) => {
5634
5634
  };
5635
5635
  const deserializeAws_restJson1ListenerTlsFileCertificate = (output, context) => {
5636
5636
  return {
5637
- certificateChain: smithy_client_1.expectString(output.certificateChain),
5638
- privateKey: smithy_client_1.expectString(output.privateKey),
5637
+ certificateChain: (0, smithy_client_1.expectString)(output.certificateChain),
5638
+ privateKey: (0, smithy_client_1.expectString)(output.privateKey),
5639
5639
  };
5640
5640
  };
5641
5641
  const deserializeAws_restJson1ListenerTlsSdsCertificate = (output, context) => {
5642
5642
  return {
5643
- secretName: smithy_client_1.expectString(output.secretName),
5643
+ secretName: (0, smithy_client_1.expectString)(output.secretName),
5644
5644
  };
5645
5645
  };
5646
5646
  const deserializeAws_restJson1ListenerTlsValidationContext = (output, context) => {
@@ -5649,7 +5649,7 @@ const deserializeAws_restJson1ListenerTlsValidationContext = (output, context) =
5649
5649
  ? deserializeAws_restJson1SubjectAlternativeNames(output.subjectAlternativeNames, context)
5650
5650
  : undefined,
5651
5651
  trust: output.trust !== undefined && output.trust !== null
5652
- ? deserializeAws_restJson1ListenerTlsValidationContextTrust(smithy_client_1.expectUnion(output.trust), context)
5652
+ ? deserializeAws_restJson1ListenerTlsValidationContextTrust((0, smithy_client_1.expectUnion)(output.trust), context)
5653
5653
  : undefined,
5654
5654
  };
5655
5655
  };
@@ -5669,19 +5669,19 @@ const deserializeAws_restJson1ListenerTlsValidationContextTrust = (output, conte
5669
5669
  const deserializeAws_restJson1Logging = (output, context) => {
5670
5670
  return {
5671
5671
  accessLog: output.accessLog !== undefined && output.accessLog !== null
5672
- ? deserializeAws_restJson1AccessLog(smithy_client_1.expectUnion(output.accessLog), context)
5672
+ ? deserializeAws_restJson1AccessLog((0, smithy_client_1.expectUnion)(output.accessLog), context)
5673
5673
  : undefined,
5674
5674
  };
5675
5675
  };
5676
5676
  const deserializeAws_restJson1MatchRange = (output, context) => {
5677
5677
  return {
5678
- end: smithy_client_1.expectLong(output.end),
5679
- start: smithy_client_1.expectLong(output.start),
5678
+ end: (0, smithy_client_1.expectLong)(output.end),
5679
+ start: (0, smithy_client_1.expectLong)(output.start),
5680
5680
  };
5681
5681
  };
5682
5682
  const deserializeAws_restJson1MeshData = (output, context) => {
5683
5683
  return {
5684
- meshName: smithy_client_1.expectString(output.meshName),
5684
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
5685
5685
  metadata: output.metadata !== undefined && output.metadata !== null
5686
5686
  ? deserializeAws_restJson1ResourceMetadata(output.metadata, context)
5687
5687
  : undefined,
@@ -5706,17 +5706,17 @@ const deserializeAws_restJson1MeshList = (output, context) => {
5706
5706
  };
5707
5707
  const deserializeAws_restJson1MeshRef = (output, context) => {
5708
5708
  return {
5709
- arn: smithy_client_1.expectString(output.arn),
5709
+ arn: (0, smithy_client_1.expectString)(output.arn),
5710
5710
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5711
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5711
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5712
5712
  : undefined,
5713
5713
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
5714
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
5714
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
5715
5715
  : undefined,
5716
- meshName: smithy_client_1.expectString(output.meshName),
5717
- meshOwner: smithy_client_1.expectString(output.meshOwner),
5718
- resourceOwner: smithy_client_1.expectString(output.resourceOwner),
5719
- version: smithy_client_1.expectLong(output.version),
5716
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
5717
+ meshOwner: (0, smithy_client_1.expectString)(output.meshOwner),
5718
+ resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner),
5719
+ version: (0, smithy_client_1.expectLong)(output.version),
5720
5720
  };
5721
5721
  };
5722
5722
  const deserializeAws_restJson1MeshSpec = (output, context) => {
@@ -5728,7 +5728,7 @@ const deserializeAws_restJson1MeshSpec = (output, context) => {
5728
5728
  };
5729
5729
  const deserializeAws_restJson1MeshStatus = (output, context) => {
5730
5730
  return {
5731
- status: smithy_client_1.expectString(output.status),
5731
+ status: (0, smithy_client_1.expectString)(output.status),
5732
5732
  };
5733
5733
  };
5734
5734
  const deserializeAws_restJson1OutlierDetection = (output, context) => {
@@ -5739,14 +5739,14 @@ const deserializeAws_restJson1OutlierDetection = (output, context) => {
5739
5739
  interval: output.interval !== undefined && output.interval !== null
5740
5740
  ? deserializeAws_restJson1Duration(output.interval, context)
5741
5741
  : undefined,
5742
- maxEjectionPercent: smithy_client_1.expectInt32(output.maxEjectionPercent),
5743
- maxServerErrors: smithy_client_1.expectLong(output.maxServerErrors),
5742
+ maxEjectionPercent: (0, smithy_client_1.expectInt32)(output.maxEjectionPercent),
5743
+ maxServerErrors: (0, smithy_client_1.expectLong)(output.maxServerErrors),
5744
5744
  };
5745
5745
  };
5746
5746
  const deserializeAws_restJson1PortMapping = (output, context) => {
5747
5747
  return {
5748
- port: smithy_client_1.expectInt32(output.port),
5749
- protocol: smithy_client_1.expectString(output.protocol),
5748
+ port: (0, smithy_client_1.expectInt32)(output.port),
5749
+ protocol: (0, smithy_client_1.expectString)(output.protocol),
5750
5750
  };
5751
5751
  };
5752
5752
  const deserializeAws_restJson1PortSet = (output, context) => {
@@ -5756,44 +5756,44 @@ const deserializeAws_restJson1PortSet = (output, context) => {
5756
5756
  if (entry === null) {
5757
5757
  return null;
5758
5758
  }
5759
- return smithy_client_1.expectInt32(entry);
5759
+ return (0, smithy_client_1.expectInt32)(entry);
5760
5760
  });
5761
5761
  return retVal;
5762
5762
  };
5763
5763
  const deserializeAws_restJson1QueryParameterMatch = (output, context) => {
5764
5764
  return {
5765
- exact: smithy_client_1.expectString(output.exact),
5765
+ exact: (0, smithy_client_1.expectString)(output.exact),
5766
5766
  };
5767
5767
  };
5768
5768
  const deserializeAws_restJson1ResourceMetadata = (output, context) => {
5769
5769
  return {
5770
- arn: smithy_client_1.expectString(output.arn),
5770
+ arn: (0, smithy_client_1.expectString)(output.arn),
5771
5771
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5772
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5772
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5773
5773
  : undefined,
5774
5774
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
5775
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
5775
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
5776
5776
  : undefined,
5777
- meshOwner: smithy_client_1.expectString(output.meshOwner),
5778
- resourceOwner: smithy_client_1.expectString(output.resourceOwner),
5779
- uid: smithy_client_1.expectString(output.uid),
5780
- version: smithy_client_1.expectLong(output.version),
5777
+ meshOwner: (0, smithy_client_1.expectString)(output.meshOwner),
5778
+ resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner),
5779
+ uid: (0, smithy_client_1.expectString)(output.uid),
5780
+ version: (0, smithy_client_1.expectLong)(output.version),
5781
5781
  };
5782
5782
  };
5783
5783
  const deserializeAws_restJson1RouteData = (output, context) => {
5784
5784
  return {
5785
- meshName: smithy_client_1.expectString(output.meshName),
5785
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
5786
5786
  metadata: output.metadata !== undefined && output.metadata !== null
5787
5787
  ? deserializeAws_restJson1ResourceMetadata(output.metadata, context)
5788
5788
  : undefined,
5789
- routeName: smithy_client_1.expectString(output.routeName),
5789
+ routeName: (0, smithy_client_1.expectString)(output.routeName),
5790
5790
  spec: output.spec !== undefined && output.spec !== null
5791
5791
  ? deserializeAws_restJson1RouteSpec(output.spec, context)
5792
5792
  : undefined,
5793
5793
  status: output.status !== undefined && output.status !== null
5794
5794
  ? deserializeAws_restJson1RouteStatus(output.status, context)
5795
5795
  : undefined,
5796
- virtualRouterName: smithy_client_1.expectString(output.virtualRouterName),
5796
+ virtualRouterName: (0, smithy_client_1.expectString)(output.virtualRouterName),
5797
5797
  };
5798
5798
  };
5799
5799
  const deserializeAws_restJson1RouteList = (output, context) => {
@@ -5809,19 +5809,19 @@ const deserializeAws_restJson1RouteList = (output, context) => {
5809
5809
  };
5810
5810
  const deserializeAws_restJson1RouteRef = (output, context) => {
5811
5811
  return {
5812
- arn: smithy_client_1.expectString(output.arn),
5812
+ arn: (0, smithy_client_1.expectString)(output.arn),
5813
5813
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5814
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5814
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5815
5815
  : undefined,
5816
5816
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
5817
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
5817
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
5818
5818
  : undefined,
5819
- meshName: smithy_client_1.expectString(output.meshName),
5820
- meshOwner: smithy_client_1.expectString(output.meshOwner),
5821
- resourceOwner: smithy_client_1.expectString(output.resourceOwner),
5822
- routeName: smithy_client_1.expectString(output.routeName),
5823
- version: smithy_client_1.expectLong(output.version),
5824
- virtualRouterName: smithy_client_1.expectString(output.virtualRouterName),
5819
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
5820
+ meshOwner: (0, smithy_client_1.expectString)(output.meshOwner),
5821
+ resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner),
5822
+ routeName: (0, smithy_client_1.expectString)(output.routeName),
5823
+ version: (0, smithy_client_1.expectLong)(output.version),
5824
+ virtualRouterName: (0, smithy_client_1.expectString)(output.virtualRouterName),
5825
5825
  };
5826
5826
  };
5827
5827
  const deserializeAws_restJson1RouteSpec = (output, context) => {
@@ -5835,7 +5835,7 @@ const deserializeAws_restJson1RouteSpec = (output, context) => {
5835
5835
  httpRoute: output.httpRoute !== undefined && output.httpRoute !== null
5836
5836
  ? deserializeAws_restJson1HttpRoute(output.httpRoute, context)
5837
5837
  : undefined,
5838
- priority: smithy_client_1.expectInt32(output.priority),
5838
+ priority: (0, smithy_client_1.expectInt32)(output.priority),
5839
5839
  tcpRoute: output.tcpRoute !== undefined && output.tcpRoute !== null
5840
5840
  ? deserializeAws_restJson1TcpRoute(output.tcpRoute, context)
5841
5841
  : undefined,
@@ -5843,7 +5843,7 @@ const deserializeAws_restJson1RouteSpec = (output, context) => {
5843
5843
  };
5844
5844
  const deserializeAws_restJson1RouteStatus = (output, context) => {
5845
5845
  return {
5846
- status: smithy_client_1.expectString(output.status),
5846
+ status: (0, smithy_client_1.expectString)(output.status),
5847
5847
  };
5848
5848
  };
5849
5849
  const deserializeAws_restJson1ServiceDiscovery = (output, context) => {
@@ -5866,7 +5866,7 @@ const deserializeAws_restJson1SubjectAlternativeNameList = (output, context) =>
5866
5866
  if (entry === null) {
5867
5867
  return null;
5868
5868
  }
5869
- return smithy_client_1.expectString(entry);
5869
+ return (0, smithy_client_1.expectString)(entry);
5870
5870
  });
5871
5871
  return retVal;
5872
5872
  };
@@ -5897,8 +5897,8 @@ const deserializeAws_restJson1TagList = (output, context) => {
5897
5897
  };
5898
5898
  const deserializeAws_restJson1TagRef = (output, context) => {
5899
5899
  return {
5900
- key: smithy_client_1.expectString(output.key),
5901
- value: smithy_client_1.expectString(output.value),
5900
+ key: (0, smithy_client_1.expectString)(output.key),
5901
+ value: (0, smithy_client_1.expectString)(output.value),
5902
5902
  };
5903
5903
  };
5904
5904
  const deserializeAws_restJson1TcpRetryPolicyEvents = (output, context) => {
@@ -5908,7 +5908,7 @@ const deserializeAws_restJson1TcpRetryPolicyEvents = (output, context) => {
5908
5908
  if (entry === null) {
5909
5909
  return null;
5910
5910
  }
5911
- return smithy_client_1.expectString(entry);
5911
+ return (0, smithy_client_1.expectString)(entry);
5912
5912
  });
5913
5913
  return retVal;
5914
5914
  };
@@ -5942,7 +5942,7 @@ const deserializeAws_restJson1TlsValidationContext = (output, context) => {
5942
5942
  ? deserializeAws_restJson1SubjectAlternativeNames(output.subjectAlternativeNames, context)
5943
5943
  : undefined,
5944
5944
  trust: output.trust !== undefined && output.trust !== null
5945
- ? deserializeAws_restJson1TlsValidationContextTrust(smithy_client_1.expectUnion(output.trust), context)
5945
+ ? deserializeAws_restJson1TlsValidationContextTrust((0, smithy_client_1.expectUnion)(output.trust), context)
5946
5946
  : undefined,
5947
5947
  };
5948
5948
  };
@@ -5955,12 +5955,12 @@ const deserializeAws_restJson1TlsValidationContextAcmTrust = (output, context) =
5955
5955
  };
5956
5956
  const deserializeAws_restJson1TlsValidationContextFileTrust = (output, context) => {
5957
5957
  return {
5958
- certificateChain: smithy_client_1.expectString(output.certificateChain),
5958
+ certificateChain: (0, smithy_client_1.expectString)(output.certificateChain),
5959
5959
  };
5960
5960
  };
5961
5961
  const deserializeAws_restJson1TlsValidationContextSdsTrust = (output, context) => {
5962
5962
  return {
5963
- secretName: smithy_client_1.expectString(output.secretName),
5963
+ secretName: (0, smithy_client_1.expectString)(output.secretName),
5964
5964
  };
5965
5965
  };
5966
5966
  const deserializeAws_restJson1TlsValidationContextTrust = (output, context) => {
@@ -6003,7 +6003,7 @@ const deserializeAws_restJson1VirtualGatewayCertificateAuthorityArns = (output,
6003
6003
  if (entry === null) {
6004
6004
  return null;
6005
6005
  }
6006
- return smithy_client_1.expectString(entry);
6006
+ return (0, smithy_client_1.expectString)(entry);
6007
6007
  });
6008
6008
  return retVal;
6009
6009
  };
@@ -6017,9 +6017,9 @@ const deserializeAws_restJson1VirtualGatewayClientPolicy = (output, context) =>
6017
6017
  const deserializeAws_restJson1VirtualGatewayClientPolicyTls = (output, context) => {
6018
6018
  return {
6019
6019
  certificate: output.certificate !== undefined && output.certificate !== null
6020
- ? deserializeAws_restJson1VirtualGatewayClientTlsCertificate(smithy_client_1.expectUnion(output.certificate), context)
6020
+ ? deserializeAws_restJson1VirtualGatewayClientTlsCertificate((0, smithy_client_1.expectUnion)(output.certificate), context)
6021
6021
  : undefined,
6022
- enforce: smithy_client_1.expectBoolean(output.enforce),
6022
+ enforce: (0, smithy_client_1.expectBoolean)(output.enforce),
6023
6023
  ports: output.ports !== undefined && output.ports !== null
6024
6024
  ? deserializeAws_restJson1PortSet(output.ports, context)
6025
6025
  : undefined,
@@ -6061,7 +6061,7 @@ const deserializeAws_restJson1VirtualGatewayConnectionPool = (output, context) =
6061
6061
  };
6062
6062
  const deserializeAws_restJson1VirtualGatewayData = (output, context) => {
6063
6063
  return {
6064
- meshName: smithy_client_1.expectString(output.meshName),
6064
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
6065
6065
  metadata: output.metadata !== undefined && output.metadata !== null
6066
6066
  ? deserializeAws_restJson1ResourceMetadata(output.metadata, context)
6067
6067
  : undefined,
@@ -6071,39 +6071,39 @@ const deserializeAws_restJson1VirtualGatewayData = (output, context) => {
6071
6071
  status: output.status !== undefined && output.status !== null
6072
6072
  ? deserializeAws_restJson1VirtualGatewayStatus(output.status, context)
6073
6073
  : undefined,
6074
- virtualGatewayName: smithy_client_1.expectString(output.virtualGatewayName),
6074
+ virtualGatewayName: (0, smithy_client_1.expectString)(output.virtualGatewayName),
6075
6075
  };
6076
6076
  };
6077
6077
  const deserializeAws_restJson1VirtualGatewayFileAccessLog = (output, context) => {
6078
6078
  return {
6079
- path: smithy_client_1.expectString(output.path),
6079
+ path: (0, smithy_client_1.expectString)(output.path),
6080
6080
  };
6081
6081
  };
6082
6082
  const deserializeAws_restJson1VirtualGatewayGrpcConnectionPool = (output, context) => {
6083
6083
  return {
6084
- maxRequests: smithy_client_1.expectInt32(output.maxRequests),
6084
+ maxRequests: (0, smithy_client_1.expectInt32)(output.maxRequests),
6085
6085
  };
6086
6086
  };
6087
6087
  const deserializeAws_restJson1VirtualGatewayHealthCheckPolicy = (output, context) => {
6088
6088
  return {
6089
- healthyThreshold: smithy_client_1.expectInt32(output.healthyThreshold),
6090
- intervalMillis: smithy_client_1.expectLong(output.intervalMillis),
6091
- path: smithy_client_1.expectString(output.path),
6092
- port: smithy_client_1.expectInt32(output.port),
6093
- protocol: smithy_client_1.expectString(output.protocol),
6094
- timeoutMillis: smithy_client_1.expectLong(output.timeoutMillis),
6095
- unhealthyThreshold: smithy_client_1.expectInt32(output.unhealthyThreshold),
6089
+ healthyThreshold: (0, smithy_client_1.expectInt32)(output.healthyThreshold),
6090
+ intervalMillis: (0, smithy_client_1.expectLong)(output.intervalMillis),
6091
+ path: (0, smithy_client_1.expectString)(output.path),
6092
+ port: (0, smithy_client_1.expectInt32)(output.port),
6093
+ protocol: (0, smithy_client_1.expectString)(output.protocol),
6094
+ timeoutMillis: (0, smithy_client_1.expectLong)(output.timeoutMillis),
6095
+ unhealthyThreshold: (0, smithy_client_1.expectInt32)(output.unhealthyThreshold),
6096
6096
  };
6097
6097
  };
6098
6098
  const deserializeAws_restJson1VirtualGatewayHttp2ConnectionPool = (output, context) => {
6099
6099
  return {
6100
- maxRequests: smithy_client_1.expectInt32(output.maxRequests),
6100
+ maxRequests: (0, smithy_client_1.expectInt32)(output.maxRequests),
6101
6101
  };
6102
6102
  };
6103
6103
  const deserializeAws_restJson1VirtualGatewayHttpConnectionPool = (output, context) => {
6104
6104
  return {
6105
- maxConnections: smithy_client_1.expectInt32(output.maxConnections),
6106
- maxPendingRequests: smithy_client_1.expectInt32(output.maxPendingRequests),
6105
+ maxConnections: (0, smithy_client_1.expectInt32)(output.maxConnections),
6106
+ maxPendingRequests: (0, smithy_client_1.expectInt32)(output.maxPendingRequests),
6107
6107
  };
6108
6108
  };
6109
6109
  const deserializeAws_restJson1VirtualGatewayList = (output, context) => {
@@ -6120,7 +6120,7 @@ const deserializeAws_restJson1VirtualGatewayList = (output, context) => {
6120
6120
  const deserializeAws_restJson1VirtualGatewayListener = (output, context) => {
6121
6121
  return {
6122
6122
  connectionPool: output.connectionPool !== undefined && output.connectionPool !== null
6123
- ? deserializeAws_restJson1VirtualGatewayConnectionPool(smithy_client_1.expectUnion(output.connectionPool), context)
6123
+ ? deserializeAws_restJson1VirtualGatewayConnectionPool((0, smithy_client_1.expectUnion)(output.connectionPool), context)
6124
6124
  : undefined,
6125
6125
  healthCheck: output.healthCheck !== undefined && output.healthCheck !== null
6126
6126
  ? deserializeAws_restJson1VirtualGatewayHealthCheckPolicy(output.healthCheck, context)
@@ -6147,9 +6147,9 @@ const deserializeAws_restJson1VirtualGatewayListeners = (output, context) => {
6147
6147
  const deserializeAws_restJson1VirtualGatewayListenerTls = (output, context) => {
6148
6148
  return {
6149
6149
  certificate: output.certificate !== undefined && output.certificate !== null
6150
- ? deserializeAws_restJson1VirtualGatewayListenerTlsCertificate(smithy_client_1.expectUnion(output.certificate), context)
6150
+ ? deserializeAws_restJson1VirtualGatewayListenerTlsCertificate((0, smithy_client_1.expectUnion)(output.certificate), context)
6151
6151
  : undefined,
6152
- mode: smithy_client_1.expectString(output.mode),
6152
+ mode: (0, smithy_client_1.expectString)(output.mode),
6153
6153
  validation: output.validation !== undefined && output.validation !== null
6154
6154
  ? deserializeAws_restJson1VirtualGatewayListenerTlsValidationContext(output.validation, context)
6155
6155
  : undefined,
@@ -6157,7 +6157,7 @@ const deserializeAws_restJson1VirtualGatewayListenerTls = (output, context) => {
6157
6157
  };
6158
6158
  const deserializeAws_restJson1VirtualGatewayListenerTlsAcmCertificate = (output, context) => {
6159
6159
  return {
6160
- certificateArn: smithy_client_1.expectString(output.certificateArn),
6160
+ certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
6161
6161
  };
6162
6162
  };
6163
6163
  const deserializeAws_restJson1VirtualGatewayListenerTlsCertificate = (output, context) => {
@@ -6180,13 +6180,13 @@ const deserializeAws_restJson1VirtualGatewayListenerTlsCertificate = (output, co
6180
6180
  };
6181
6181
  const deserializeAws_restJson1VirtualGatewayListenerTlsFileCertificate = (output, context) => {
6182
6182
  return {
6183
- certificateChain: smithy_client_1.expectString(output.certificateChain),
6184
- privateKey: smithy_client_1.expectString(output.privateKey),
6183
+ certificateChain: (0, smithy_client_1.expectString)(output.certificateChain),
6184
+ privateKey: (0, smithy_client_1.expectString)(output.privateKey),
6185
6185
  };
6186
6186
  };
6187
6187
  const deserializeAws_restJson1VirtualGatewayListenerTlsSdsCertificate = (output, context) => {
6188
6188
  return {
6189
- secretName: smithy_client_1.expectString(output.secretName),
6189
+ secretName: (0, smithy_client_1.expectString)(output.secretName),
6190
6190
  };
6191
6191
  };
6192
6192
  const deserializeAws_restJson1VirtualGatewayListenerTlsValidationContext = (output, context) => {
@@ -6195,7 +6195,7 @@ const deserializeAws_restJson1VirtualGatewayListenerTlsValidationContext = (outp
6195
6195
  ? deserializeAws_restJson1SubjectAlternativeNames(output.subjectAlternativeNames, context)
6196
6196
  : undefined,
6197
6197
  trust: output.trust !== undefined && output.trust !== null
6198
- ? deserializeAws_restJson1VirtualGatewayListenerTlsValidationContextTrust(smithy_client_1.expectUnion(output.trust), context)
6198
+ ? deserializeAws_restJson1VirtualGatewayListenerTlsValidationContextTrust((0, smithy_client_1.expectUnion)(output.trust), context)
6199
6199
  : undefined,
6200
6200
  };
6201
6201
  };
@@ -6215,30 +6215,30 @@ const deserializeAws_restJson1VirtualGatewayListenerTlsValidationContextTrust =
6215
6215
  const deserializeAws_restJson1VirtualGatewayLogging = (output, context) => {
6216
6216
  return {
6217
6217
  accessLog: output.accessLog !== undefined && output.accessLog !== null
6218
- ? deserializeAws_restJson1VirtualGatewayAccessLog(smithy_client_1.expectUnion(output.accessLog), context)
6218
+ ? deserializeAws_restJson1VirtualGatewayAccessLog((0, smithy_client_1.expectUnion)(output.accessLog), context)
6219
6219
  : undefined,
6220
6220
  };
6221
6221
  };
6222
6222
  const deserializeAws_restJson1VirtualGatewayPortMapping = (output, context) => {
6223
6223
  return {
6224
- port: smithy_client_1.expectInt32(output.port),
6225
- protocol: smithy_client_1.expectString(output.protocol),
6224
+ port: (0, smithy_client_1.expectInt32)(output.port),
6225
+ protocol: (0, smithy_client_1.expectString)(output.protocol),
6226
6226
  };
6227
6227
  };
6228
6228
  const deserializeAws_restJson1VirtualGatewayRef = (output, context) => {
6229
6229
  return {
6230
- arn: smithy_client_1.expectString(output.arn),
6230
+ arn: (0, smithy_client_1.expectString)(output.arn),
6231
6231
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6232
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
6232
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6233
6233
  : undefined,
6234
6234
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
6235
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
6235
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
6236
6236
  : undefined,
6237
- meshName: smithy_client_1.expectString(output.meshName),
6238
- meshOwner: smithy_client_1.expectString(output.meshOwner),
6239
- resourceOwner: smithy_client_1.expectString(output.resourceOwner),
6240
- version: smithy_client_1.expectLong(output.version),
6241
- virtualGatewayName: smithy_client_1.expectString(output.virtualGatewayName),
6237
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
6238
+ meshOwner: (0, smithy_client_1.expectString)(output.meshOwner),
6239
+ resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner),
6240
+ version: (0, smithy_client_1.expectLong)(output.version),
6241
+ virtualGatewayName: (0, smithy_client_1.expectString)(output.virtualGatewayName),
6242
6242
  };
6243
6243
  };
6244
6244
  const deserializeAws_restJson1VirtualGatewaySpec = (output, context) => {
@@ -6256,7 +6256,7 @@ const deserializeAws_restJson1VirtualGatewaySpec = (output, context) => {
6256
6256
  };
6257
6257
  const deserializeAws_restJson1VirtualGatewayStatus = (output, context) => {
6258
6258
  return {
6259
- status: smithy_client_1.expectString(output.status),
6259
+ status: (0, smithy_client_1.expectString)(output.status),
6260
6260
  };
6261
6261
  };
6262
6262
  const deserializeAws_restJson1VirtualGatewayTlsValidationContext = (output, context) => {
@@ -6265,7 +6265,7 @@ const deserializeAws_restJson1VirtualGatewayTlsValidationContext = (output, cont
6265
6265
  ? deserializeAws_restJson1SubjectAlternativeNames(output.subjectAlternativeNames, context)
6266
6266
  : undefined,
6267
6267
  trust: output.trust !== undefined && output.trust !== null
6268
- ? deserializeAws_restJson1VirtualGatewayTlsValidationContextTrust(smithy_client_1.expectUnion(output.trust), context)
6268
+ ? deserializeAws_restJson1VirtualGatewayTlsValidationContextTrust((0, smithy_client_1.expectUnion)(output.trust), context)
6269
6269
  : undefined,
6270
6270
  };
6271
6271
  };
@@ -6278,12 +6278,12 @@ const deserializeAws_restJson1VirtualGatewayTlsValidationContextAcmTrust = (outp
6278
6278
  };
6279
6279
  const deserializeAws_restJson1VirtualGatewayTlsValidationContextFileTrust = (output, context) => {
6280
6280
  return {
6281
- certificateChain: smithy_client_1.expectString(output.certificateChain),
6281
+ certificateChain: (0, smithy_client_1.expectString)(output.certificateChain),
6282
6282
  };
6283
6283
  };
6284
6284
  const deserializeAws_restJson1VirtualGatewayTlsValidationContextSdsTrust = (output, context) => {
6285
6285
  return {
6286
- secretName: smithy_client_1.expectString(output.secretName),
6286
+ secretName: (0, smithy_client_1.expectString)(output.secretName),
6287
6287
  };
6288
6288
  };
6289
6289
  const deserializeAws_restJson1VirtualGatewayTlsValidationContextTrust = (output, context) => {
@@ -6329,7 +6329,7 @@ const deserializeAws_restJson1VirtualNodeConnectionPool = (output, context) => {
6329
6329
  };
6330
6330
  const deserializeAws_restJson1VirtualNodeData = (output, context) => {
6331
6331
  return {
6332
- meshName: smithy_client_1.expectString(output.meshName),
6332
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
6333
6333
  metadata: output.metadata !== undefined && output.metadata !== null
6334
6334
  ? deserializeAws_restJson1ResourceMetadata(output.metadata, context)
6335
6335
  : undefined,
@@ -6339,23 +6339,23 @@ const deserializeAws_restJson1VirtualNodeData = (output, context) => {
6339
6339
  status: output.status !== undefined && output.status !== null
6340
6340
  ? deserializeAws_restJson1VirtualNodeStatus(output.status, context)
6341
6341
  : undefined,
6342
- virtualNodeName: smithy_client_1.expectString(output.virtualNodeName),
6342
+ virtualNodeName: (0, smithy_client_1.expectString)(output.virtualNodeName),
6343
6343
  };
6344
6344
  };
6345
6345
  const deserializeAws_restJson1VirtualNodeGrpcConnectionPool = (output, context) => {
6346
6346
  return {
6347
- maxRequests: smithy_client_1.expectInt32(output.maxRequests),
6347
+ maxRequests: (0, smithy_client_1.expectInt32)(output.maxRequests),
6348
6348
  };
6349
6349
  };
6350
6350
  const deserializeAws_restJson1VirtualNodeHttp2ConnectionPool = (output, context) => {
6351
6351
  return {
6352
- maxRequests: smithy_client_1.expectInt32(output.maxRequests),
6352
+ maxRequests: (0, smithy_client_1.expectInt32)(output.maxRequests),
6353
6353
  };
6354
6354
  };
6355
6355
  const deserializeAws_restJson1VirtualNodeHttpConnectionPool = (output, context) => {
6356
6356
  return {
6357
- maxConnections: smithy_client_1.expectInt32(output.maxConnections),
6358
- maxPendingRequests: smithy_client_1.expectInt32(output.maxPendingRequests),
6357
+ maxConnections: (0, smithy_client_1.expectInt32)(output.maxConnections),
6358
+ maxPendingRequests: (0, smithy_client_1.expectInt32)(output.maxPendingRequests),
6359
6359
  };
6360
6360
  };
6361
6361
  const deserializeAws_restJson1VirtualNodeList = (output, context) => {
@@ -6371,23 +6371,23 @@ const deserializeAws_restJson1VirtualNodeList = (output, context) => {
6371
6371
  };
6372
6372
  const deserializeAws_restJson1VirtualNodeRef = (output, context) => {
6373
6373
  return {
6374
- arn: smithy_client_1.expectString(output.arn),
6374
+ arn: (0, smithy_client_1.expectString)(output.arn),
6375
6375
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6376
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
6376
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6377
6377
  : undefined,
6378
6378
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
6379
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
6379
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
6380
6380
  : undefined,
6381
- meshName: smithy_client_1.expectString(output.meshName),
6382
- meshOwner: smithy_client_1.expectString(output.meshOwner),
6383
- resourceOwner: smithy_client_1.expectString(output.resourceOwner),
6384
- version: smithy_client_1.expectLong(output.version),
6385
- virtualNodeName: smithy_client_1.expectString(output.virtualNodeName),
6381
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
6382
+ meshOwner: (0, smithy_client_1.expectString)(output.meshOwner),
6383
+ resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner),
6384
+ version: (0, smithy_client_1.expectLong)(output.version),
6385
+ virtualNodeName: (0, smithy_client_1.expectString)(output.virtualNodeName),
6386
6386
  };
6387
6387
  };
6388
6388
  const deserializeAws_restJson1VirtualNodeServiceProvider = (output, context) => {
6389
6389
  return {
6390
- virtualNodeName: smithy_client_1.expectString(output.virtualNodeName),
6390
+ virtualNodeName: (0, smithy_client_1.expectString)(output.virtualNodeName),
6391
6391
  };
6392
6392
  };
6393
6393
  const deserializeAws_restJson1VirtualNodeSpec = (output, context) => {
@@ -6405,23 +6405,23 @@ const deserializeAws_restJson1VirtualNodeSpec = (output, context) => {
6405
6405
  ? deserializeAws_restJson1Logging(output.logging, context)
6406
6406
  : undefined,
6407
6407
  serviceDiscovery: output.serviceDiscovery !== undefined && output.serviceDiscovery !== null
6408
- ? deserializeAws_restJson1ServiceDiscovery(smithy_client_1.expectUnion(output.serviceDiscovery), context)
6408
+ ? deserializeAws_restJson1ServiceDiscovery((0, smithy_client_1.expectUnion)(output.serviceDiscovery), context)
6409
6409
  : undefined,
6410
6410
  };
6411
6411
  };
6412
6412
  const deserializeAws_restJson1VirtualNodeStatus = (output, context) => {
6413
6413
  return {
6414
- status: smithy_client_1.expectString(output.status),
6414
+ status: (0, smithy_client_1.expectString)(output.status),
6415
6415
  };
6416
6416
  };
6417
6417
  const deserializeAws_restJson1VirtualNodeTcpConnectionPool = (output, context) => {
6418
6418
  return {
6419
- maxConnections: smithy_client_1.expectInt32(output.maxConnections),
6419
+ maxConnections: (0, smithy_client_1.expectInt32)(output.maxConnections),
6420
6420
  };
6421
6421
  };
6422
6422
  const deserializeAws_restJson1VirtualRouterData = (output, context) => {
6423
6423
  return {
6424
- meshName: smithy_client_1.expectString(output.meshName),
6424
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
6425
6425
  metadata: output.metadata !== undefined && output.metadata !== null
6426
6426
  ? deserializeAws_restJson1ResourceMetadata(output.metadata, context)
6427
6427
  : undefined,
@@ -6431,7 +6431,7 @@ const deserializeAws_restJson1VirtualRouterData = (output, context) => {
6431
6431
  status: output.status !== undefined && output.status !== null
6432
6432
  ? deserializeAws_restJson1VirtualRouterStatus(output.status, context)
6433
6433
  : undefined,
6434
- virtualRouterName: smithy_client_1.expectString(output.virtualRouterName),
6434
+ virtualRouterName: (0, smithy_client_1.expectString)(output.virtualRouterName),
6435
6435
  };
6436
6436
  };
6437
6437
  const deserializeAws_restJson1VirtualRouterList = (output, context) => {
@@ -6465,23 +6465,23 @@ const deserializeAws_restJson1VirtualRouterListeners = (output, context) => {
6465
6465
  };
6466
6466
  const deserializeAws_restJson1VirtualRouterRef = (output, context) => {
6467
6467
  return {
6468
- arn: smithy_client_1.expectString(output.arn),
6468
+ arn: (0, smithy_client_1.expectString)(output.arn),
6469
6469
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6470
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
6470
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6471
6471
  : undefined,
6472
6472
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
6473
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
6473
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
6474
6474
  : undefined,
6475
- meshName: smithy_client_1.expectString(output.meshName),
6476
- meshOwner: smithy_client_1.expectString(output.meshOwner),
6477
- resourceOwner: smithy_client_1.expectString(output.resourceOwner),
6478
- version: smithy_client_1.expectLong(output.version),
6479
- virtualRouterName: smithy_client_1.expectString(output.virtualRouterName),
6475
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
6476
+ meshOwner: (0, smithy_client_1.expectString)(output.meshOwner),
6477
+ resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner),
6478
+ version: (0, smithy_client_1.expectLong)(output.version),
6479
+ virtualRouterName: (0, smithy_client_1.expectString)(output.virtualRouterName),
6480
6480
  };
6481
6481
  };
6482
6482
  const deserializeAws_restJson1VirtualRouterServiceProvider = (output, context) => {
6483
6483
  return {
6484
- virtualRouterName: smithy_client_1.expectString(output.virtualRouterName),
6484
+ virtualRouterName: (0, smithy_client_1.expectString)(output.virtualRouterName),
6485
6485
  };
6486
6486
  };
6487
6487
  const deserializeAws_restJson1VirtualRouterSpec = (output, context) => {
@@ -6493,7 +6493,7 @@ const deserializeAws_restJson1VirtualRouterSpec = (output, context) => {
6493
6493
  };
6494
6494
  const deserializeAws_restJson1VirtualRouterStatus = (output, context) => {
6495
6495
  return {
6496
- status: smithy_client_1.expectString(output.status),
6496
+ status: (0, smithy_client_1.expectString)(output.status),
6497
6497
  };
6498
6498
  };
6499
6499
  const deserializeAws_restJson1VirtualServiceBackend = (output, context) => {
@@ -6501,12 +6501,12 @@ const deserializeAws_restJson1VirtualServiceBackend = (output, context) => {
6501
6501
  clientPolicy: output.clientPolicy !== undefined && output.clientPolicy !== null
6502
6502
  ? deserializeAws_restJson1ClientPolicy(output.clientPolicy, context)
6503
6503
  : undefined,
6504
- virtualServiceName: smithy_client_1.expectString(output.virtualServiceName),
6504
+ virtualServiceName: (0, smithy_client_1.expectString)(output.virtualServiceName),
6505
6505
  };
6506
6506
  };
6507
6507
  const deserializeAws_restJson1VirtualServiceData = (output, context) => {
6508
6508
  return {
6509
- meshName: smithy_client_1.expectString(output.meshName),
6509
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
6510
6510
  metadata: output.metadata !== undefined && output.metadata !== null
6511
6511
  ? deserializeAws_restJson1ResourceMetadata(output.metadata, context)
6512
6512
  : undefined,
@@ -6516,7 +6516,7 @@ const deserializeAws_restJson1VirtualServiceData = (output, context) => {
6516
6516
  status: output.status !== undefined && output.status !== null
6517
6517
  ? deserializeAws_restJson1VirtualServiceStatus(output.status, context)
6518
6518
  : undefined,
6519
- virtualServiceName: smithy_client_1.expectString(output.virtualServiceName),
6519
+ virtualServiceName: (0, smithy_client_1.expectString)(output.virtualServiceName),
6520
6520
  };
6521
6521
  };
6522
6522
  const deserializeAws_restJson1VirtualServiceList = (output, context) => {
@@ -6545,36 +6545,36 @@ const deserializeAws_restJson1VirtualServiceProvider = (output, context) => {
6545
6545
  };
6546
6546
  const deserializeAws_restJson1VirtualServiceRef = (output, context) => {
6547
6547
  return {
6548
- arn: smithy_client_1.expectString(output.arn),
6548
+ arn: (0, smithy_client_1.expectString)(output.arn),
6549
6549
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6550
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
6550
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6551
6551
  : undefined,
6552
6552
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
6553
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
6553
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
6554
6554
  : undefined,
6555
- meshName: smithy_client_1.expectString(output.meshName),
6556
- meshOwner: smithy_client_1.expectString(output.meshOwner),
6557
- resourceOwner: smithy_client_1.expectString(output.resourceOwner),
6558
- version: smithy_client_1.expectLong(output.version),
6559
- virtualServiceName: smithy_client_1.expectString(output.virtualServiceName),
6555
+ meshName: (0, smithy_client_1.expectString)(output.meshName),
6556
+ meshOwner: (0, smithy_client_1.expectString)(output.meshOwner),
6557
+ resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner),
6558
+ version: (0, smithy_client_1.expectLong)(output.version),
6559
+ virtualServiceName: (0, smithy_client_1.expectString)(output.virtualServiceName),
6560
6560
  };
6561
6561
  };
6562
6562
  const deserializeAws_restJson1VirtualServiceSpec = (output, context) => {
6563
6563
  return {
6564
6564
  provider: output.provider !== undefined && output.provider !== null
6565
- ? deserializeAws_restJson1VirtualServiceProvider(smithy_client_1.expectUnion(output.provider), context)
6565
+ ? deserializeAws_restJson1VirtualServiceProvider((0, smithy_client_1.expectUnion)(output.provider), context)
6566
6566
  : undefined,
6567
6567
  };
6568
6568
  };
6569
6569
  const deserializeAws_restJson1VirtualServiceStatus = (output, context) => {
6570
6570
  return {
6571
- status: smithy_client_1.expectString(output.status),
6571
+ status: (0, smithy_client_1.expectString)(output.status),
6572
6572
  };
6573
6573
  };
6574
6574
  const deserializeAws_restJson1WeightedTarget = (output, context) => {
6575
6575
  return {
6576
- virtualNode: smithy_client_1.expectString(output.virtualNode),
6577
- weight: smithy_client_1.expectInt32(output.weight),
6576
+ virtualNode: (0, smithy_client_1.expectString)(output.virtualNode),
6577
+ weight: (0, smithy_client_1.expectInt32)(output.weight),
6578
6578
  };
6579
6579
  };
6580
6580
  const deserializeAws_restJson1WeightedTargets = (output, context) => {