@aws-sdk/client-migration-hub-refactor-spaces 3.54.1 → 3.58.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 (40) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/MigrationHubRefactorSpacesClient.js +13 -13
  3. package/dist-cjs/commands/CreateApplicationCommand.js +3 -3
  4. package/dist-cjs/commands/CreateEnvironmentCommand.js +3 -3
  5. package/dist-cjs/commands/CreateRouteCommand.js +3 -3
  6. package/dist-cjs/commands/CreateServiceCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteApplicationCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteEnvironmentCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteRouteCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteServiceCommand.js +3 -3
  12. package/dist-cjs/commands/GetApplicationCommand.js +3 -3
  13. package/dist-cjs/commands/GetEnvironmentCommand.js +3 -3
  14. package/dist-cjs/commands/GetResourcePolicyCommand.js +3 -3
  15. package/dist-cjs/commands/GetRouteCommand.js +3 -3
  16. package/dist-cjs/commands/GetServiceCommand.js +3 -3
  17. package/dist-cjs/commands/ListApplicationsCommand.js +3 -3
  18. package/dist-cjs/commands/ListEnvironmentVpcsCommand.js +3 -3
  19. package/dist-cjs/commands/ListEnvironmentsCommand.js +3 -3
  20. package/dist-cjs/commands/ListRoutesCommand.js +3 -3
  21. package/dist-cjs/commands/ListServicesCommand.js +3 -3
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  23. package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
  24. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  25. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  26. package/dist-cjs/endpoints.js +1 -1
  27. package/dist-cjs/protocols/Aws_restJson1.js +318 -318
  28. package/dist-cjs/runtimeConfig.browser.js +4 -4
  29. package/dist-cjs/runtimeConfig.js +9 -9
  30. package/dist-cjs/runtimeConfig.native.js +1 -1
  31. package/dist-es/MigrationHubRefactorSpaces.js +23 -23
  32. package/dist-es/pagination/ListApplicationsPaginator.js +4 -4
  33. package/dist-es/pagination/ListEnvironmentVpcsPaginator.js +4 -4
  34. package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -4
  35. package/dist-es/pagination/ListRoutesPaginator.js +4 -4
  36. package/dist-es/pagination/ListServicesPaginator.js +4 -4
  37. package/dist-es/protocols/Aws_restJson1.js +23 -23
  38. package/dist-types/runtimeConfig.native.d.ts +2 -2
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  40. package/package.json +34 -34
@@ -19,7 +19,7 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
19
19
  if (labelValue.length <= 0) {
20
20
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
21
21
  }
22
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
22
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
23
23
  }
24
24
  else {
25
25
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -30,7 +30,7 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
30
30
  input.ApiGatewayProxy !== null && {
31
31
  ApiGatewayProxy: serializeAws_restJson1ApiGatewayProxyInput(input.ApiGatewayProxy, context),
32
32
  }),
33
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
33
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
34
34
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
35
35
  ...(input.ProxyType !== undefined && input.ProxyType !== null && { ProxyType: input.ProxyType }),
36
36
  ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
@@ -56,7 +56,7 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
56
56
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/environments";
57
57
  let body;
58
58
  body = JSON.stringify({
59
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
59
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
60
60
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
61
61
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
62
62
  ...(input.NetworkFabricType !== undefined &&
@@ -87,7 +87,7 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => {
87
87
  if (labelValue.length <= 0) {
88
88
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
89
89
  }
90
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
90
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
91
91
  }
92
92
  else {
93
93
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -97,14 +97,14 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => {
97
97
  if (labelValue.length <= 0) {
98
98
  throw new Error("Empty value provided for input HTTP label: ApplicationIdentifier.");
99
99
  }
100
- resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
100
+ resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
101
101
  }
102
102
  else {
103
103
  throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
104
104
  }
105
105
  let body;
106
106
  body = JSON.stringify({
107
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
107
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
108
108
  ...(input.RouteType !== undefined && input.RouteType !== null && { RouteType: input.RouteType }),
109
109
  ...(input.ServiceIdentifier !== undefined &&
110
110
  input.ServiceIdentifier !== null && { ServiceIdentifier: input.ServiceIdentifier }),
@@ -138,7 +138,7 @@ const serializeAws_restJson1CreateServiceCommand = async (input, context) => {
138
138
  if (labelValue.length <= 0) {
139
139
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
140
140
  }
141
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
141
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
142
142
  }
143
143
  else {
144
144
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -148,14 +148,14 @@ const serializeAws_restJson1CreateServiceCommand = async (input, context) => {
148
148
  if (labelValue.length <= 0) {
149
149
  throw new Error("Empty value provided for input HTTP label: ApplicationIdentifier.");
150
150
  }
151
- resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
151
+ resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
152
152
  }
153
153
  else {
154
154
  throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
155
155
  }
156
156
  let body;
157
157
  body = JSON.stringify({
158
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
158
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
159
159
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
160
160
  ...(input.EndpointType !== undefined && input.EndpointType !== null && { EndpointType: input.EndpointType }),
161
161
  ...(input.LambdaEndpoint !== undefined &&
@@ -191,7 +191,7 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
191
191
  if (labelValue.length <= 0) {
192
192
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
193
193
  }
194
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
194
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
195
195
  }
196
196
  else {
197
197
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -201,7 +201,7 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
201
201
  if (labelValue.length <= 0) {
202
202
  throw new Error("Empty value provided for input HTTP label: ApplicationIdentifier.");
203
203
  }
204
- resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
204
+ resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
205
205
  }
206
206
  else {
207
207
  throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
@@ -227,7 +227,7 @@ const serializeAws_restJson1DeleteEnvironmentCommand = async (input, context) =>
227
227
  if (labelValue.length <= 0) {
228
228
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
229
229
  }
230
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
230
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
231
231
  }
232
232
  else {
233
233
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -253,7 +253,7 @@ const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, context)
253
253
  if (labelValue.length <= 0) {
254
254
  throw new Error("Empty value provided for input HTTP label: Identifier.");
255
255
  }
256
- resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
256
+ resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
257
257
  }
258
258
  else {
259
259
  throw new Error("No value provided for input HTTP label: Identifier.");
@@ -280,7 +280,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => {
280
280
  if (labelValue.length <= 0) {
281
281
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
282
282
  }
283
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
283
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
284
284
  }
285
285
  else {
286
286
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -290,7 +290,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => {
290
290
  if (labelValue.length <= 0) {
291
291
  throw new Error("Empty value provided for input HTTP label: ApplicationIdentifier.");
292
292
  }
293
- resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
293
+ resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
294
294
  }
295
295
  else {
296
296
  throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
@@ -300,7 +300,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => {
300
300
  if (labelValue.length <= 0) {
301
301
  throw new Error("Empty value provided for input HTTP label: RouteIdentifier.");
302
302
  }
303
- resolvedPath = resolvedPath.replace("{RouteIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
303
+ resolvedPath = resolvedPath.replace("{RouteIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
304
304
  }
305
305
  else {
306
306
  throw new Error("No value provided for input HTTP label: RouteIdentifier.");
@@ -327,7 +327,7 @@ const serializeAws_restJson1DeleteServiceCommand = async (input, context) => {
327
327
  if (labelValue.length <= 0) {
328
328
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
329
329
  }
330
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
330
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
331
331
  }
332
332
  else {
333
333
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -337,7 +337,7 @@ const serializeAws_restJson1DeleteServiceCommand = async (input, context) => {
337
337
  if (labelValue.length <= 0) {
338
338
  throw new Error("Empty value provided for input HTTP label: ApplicationIdentifier.");
339
339
  }
340
- resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
340
+ resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
341
341
  }
342
342
  else {
343
343
  throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
@@ -347,7 +347,7 @@ const serializeAws_restJson1DeleteServiceCommand = async (input, context) => {
347
347
  if (labelValue.length <= 0) {
348
348
  throw new Error("Empty value provided for input HTTP label: ServiceIdentifier.");
349
349
  }
350
- resolvedPath = resolvedPath.replace("{ServiceIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
350
+ resolvedPath = resolvedPath.replace("{ServiceIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
351
351
  }
352
352
  else {
353
353
  throw new Error("No value provided for input HTTP label: ServiceIdentifier.");
@@ -374,7 +374,7 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
374
374
  if (labelValue.length <= 0) {
375
375
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
376
376
  }
377
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
377
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
378
378
  }
379
379
  else {
380
380
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -384,7 +384,7 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
384
384
  if (labelValue.length <= 0) {
385
385
  throw new Error("Empty value provided for input HTTP label: ApplicationIdentifier.");
386
386
  }
387
- resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
387
+ resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
388
388
  }
389
389
  else {
390
390
  throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
@@ -410,7 +410,7 @@ const serializeAws_restJson1GetEnvironmentCommand = async (input, context) => {
410
410
  if (labelValue.length <= 0) {
411
411
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
412
412
  }
413
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
413
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
414
414
  }
415
415
  else {
416
416
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -436,7 +436,7 @@ const serializeAws_restJson1GetResourcePolicyCommand = async (input, context) =>
436
436
  if (labelValue.length <= 0) {
437
437
  throw new Error("Empty value provided for input HTTP label: Identifier.");
438
438
  }
439
- resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
439
+ resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
440
440
  }
441
441
  else {
442
442
  throw new Error("No value provided for input HTTP label: Identifier.");
@@ -463,7 +463,7 @@ const serializeAws_restJson1GetRouteCommand = async (input, context) => {
463
463
  if (labelValue.length <= 0) {
464
464
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
465
465
  }
466
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
466
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
467
467
  }
468
468
  else {
469
469
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -473,7 +473,7 @@ const serializeAws_restJson1GetRouteCommand = async (input, context) => {
473
473
  if (labelValue.length <= 0) {
474
474
  throw new Error("Empty value provided for input HTTP label: ApplicationIdentifier.");
475
475
  }
476
- resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
476
+ resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
477
477
  }
478
478
  else {
479
479
  throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
@@ -483,7 +483,7 @@ const serializeAws_restJson1GetRouteCommand = async (input, context) => {
483
483
  if (labelValue.length <= 0) {
484
484
  throw new Error("Empty value provided for input HTTP label: RouteIdentifier.");
485
485
  }
486
- resolvedPath = resolvedPath.replace("{RouteIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
486
+ resolvedPath = resolvedPath.replace("{RouteIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
487
487
  }
488
488
  else {
489
489
  throw new Error("No value provided for input HTTP label: RouteIdentifier.");
@@ -510,7 +510,7 @@ const serializeAws_restJson1GetServiceCommand = async (input, context) => {
510
510
  if (labelValue.length <= 0) {
511
511
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
512
512
  }
513
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
513
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
514
514
  }
515
515
  else {
516
516
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -520,7 +520,7 @@ const serializeAws_restJson1GetServiceCommand = async (input, context) => {
520
520
  if (labelValue.length <= 0) {
521
521
  throw new Error("Empty value provided for input HTTP label: ApplicationIdentifier.");
522
522
  }
523
- resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
523
+ resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
524
524
  }
525
525
  else {
526
526
  throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
@@ -530,7 +530,7 @@ const serializeAws_restJson1GetServiceCommand = async (input, context) => {
530
530
  if (labelValue.length <= 0) {
531
531
  throw new Error("Empty value provided for input HTTP label: ServiceIdentifier.");
532
532
  }
533
- resolvedPath = resolvedPath.replace("{ServiceIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
533
+ resolvedPath = resolvedPath.replace("{ServiceIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
534
534
  }
535
535
  else {
536
536
  throw new Error("No value provided for input HTTP label: ServiceIdentifier.");
@@ -557,7 +557,7 @@ const serializeAws_restJson1ListApplicationsCommand = async (input, context) =>
557
557
  if (labelValue.length <= 0) {
558
558
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
559
559
  }
560
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
560
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
561
561
  }
562
562
  else {
563
563
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -610,7 +610,7 @@ const serializeAws_restJson1ListEnvironmentVpcsCommand = async (input, context)
610
610
  if (labelValue.length <= 0) {
611
611
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
612
612
  }
613
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
613
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
614
614
  }
615
615
  else {
616
616
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -642,7 +642,7 @@ const serializeAws_restJson1ListRoutesCommand = async (input, context) => {
642
642
  if (labelValue.length <= 0) {
643
643
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
644
644
  }
645
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
645
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
646
646
  }
647
647
  else {
648
648
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -652,7 +652,7 @@ const serializeAws_restJson1ListRoutesCommand = async (input, context) => {
652
652
  if (labelValue.length <= 0) {
653
653
  throw new Error("Empty value provided for input HTTP label: ApplicationIdentifier.");
654
654
  }
655
- resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
655
+ resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
656
656
  }
657
657
  else {
658
658
  throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
@@ -684,7 +684,7 @@ const serializeAws_restJson1ListServicesCommand = async (input, context) => {
684
684
  if (labelValue.length <= 0) {
685
685
  throw new Error("Empty value provided for input HTTP label: EnvironmentIdentifier.");
686
686
  }
687
- resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
687
+ resolvedPath = resolvedPath.replace("{EnvironmentIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
688
688
  }
689
689
  else {
690
690
  throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
@@ -694,7 +694,7 @@ const serializeAws_restJson1ListServicesCommand = async (input, context) => {
694
694
  if (labelValue.length <= 0) {
695
695
  throw new Error("Empty value provided for input HTTP label: ApplicationIdentifier.");
696
696
  }
697
- resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
697
+ resolvedPath = resolvedPath.replace("{ApplicationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
698
698
  }
699
699
  else {
700
700
  throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
@@ -725,7 +725,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
725
725
  if (labelValue.length <= 0) {
726
726
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
727
727
  }
728
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
728
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
729
729
  }
730
730
  else {
731
731
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -775,7 +775,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
775
775
  if (labelValue.length <= 0) {
776
776
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
777
777
  }
778
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
778
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
779
779
  }
780
780
  else {
781
781
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -804,7 +804,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
804
804
  if (labelValue.length <= 0) {
805
805
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
806
806
  }
807
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
807
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
808
808
  }
809
809
  else {
810
810
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -845,45 +845,45 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
845
845
  Tags: undefined,
846
846
  VpcId: undefined,
847
847
  };
848
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
848
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
849
849
  if (data.ApiGatewayProxy !== undefined && data.ApiGatewayProxy !== null) {
850
850
  contents.ApiGatewayProxy = deserializeAws_restJson1ApiGatewayProxyInput(data.ApiGatewayProxy, context);
851
851
  }
852
852
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
853
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
853
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
854
854
  }
855
855
  if (data.Arn !== undefined && data.Arn !== null) {
856
- contents.Arn = smithy_client_1.expectString(data.Arn);
856
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
857
857
  }
858
858
  if (data.CreatedByAccountId !== undefined && data.CreatedByAccountId !== null) {
859
- contents.CreatedByAccountId = smithy_client_1.expectString(data.CreatedByAccountId);
859
+ contents.CreatedByAccountId = (0, smithy_client_1.expectString)(data.CreatedByAccountId);
860
860
  }
861
861
  if (data.CreatedTime !== undefined && data.CreatedTime !== null) {
862
- contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTime)));
862
+ contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTime)));
863
863
  }
864
864
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
865
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
865
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
866
866
  }
867
867
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
868
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
868
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
869
869
  }
870
870
  if (data.Name !== undefined && data.Name !== null) {
871
- contents.Name = smithy_client_1.expectString(data.Name);
871
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
872
872
  }
873
873
  if (data.OwnerAccountId !== undefined && data.OwnerAccountId !== null) {
874
- contents.OwnerAccountId = smithy_client_1.expectString(data.OwnerAccountId);
874
+ contents.OwnerAccountId = (0, smithy_client_1.expectString)(data.OwnerAccountId);
875
875
  }
876
876
  if (data.ProxyType !== undefined && data.ProxyType !== null) {
877
- contents.ProxyType = smithy_client_1.expectString(data.ProxyType);
877
+ contents.ProxyType = (0, smithy_client_1.expectString)(data.ProxyType);
878
878
  }
879
879
  if (data.State !== undefined && data.State !== null) {
880
- contents.State = smithy_client_1.expectString(data.State);
880
+ contents.State = (0, smithy_client_1.expectString)(data.State);
881
881
  }
882
882
  if (data.Tags !== undefined && data.Tags !== null) {
883
883
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
884
884
  }
885
885
  if (data.VpcId !== undefined && data.VpcId !== null) {
886
- contents.VpcId = smithy_client_1.expectString(data.VpcId);
886
+ contents.VpcId = (0, smithy_client_1.expectString)(data.VpcId);
887
887
  }
888
888
  return Promise.resolve(contents);
889
889
  };
@@ -925,7 +925,7 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
925
925
  $fault: "client",
926
926
  $metadata: deserializeMetadata(output),
927
927
  });
928
- throw smithy_client_1.decorateServiceException(response, parsedBody);
928
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
929
929
  }
930
930
  };
931
931
  const deserializeAws_restJson1CreateEnvironmentCommand = async (output, context) => {
@@ -945,33 +945,33 @@ const deserializeAws_restJson1CreateEnvironmentCommand = async (output, context)
945
945
  State: undefined,
946
946
  Tags: undefined,
947
947
  };
948
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
948
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
949
949
  if (data.Arn !== undefined && data.Arn !== null) {
950
- contents.Arn = smithy_client_1.expectString(data.Arn);
950
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
951
951
  }
952
952
  if (data.CreatedTime !== undefined && data.CreatedTime !== null) {
953
- contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTime)));
953
+ contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTime)));
954
954
  }
955
955
  if (data.Description !== undefined && data.Description !== null) {
956
- contents.Description = smithy_client_1.expectString(data.Description);
956
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
957
957
  }
958
958
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
959
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
959
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
960
960
  }
961
961
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
962
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
962
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
963
963
  }
964
964
  if (data.Name !== undefined && data.Name !== null) {
965
- contents.Name = smithy_client_1.expectString(data.Name);
965
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
966
966
  }
967
967
  if (data.NetworkFabricType !== undefined && data.NetworkFabricType !== null) {
968
- contents.NetworkFabricType = smithy_client_1.expectString(data.NetworkFabricType);
968
+ contents.NetworkFabricType = (0, smithy_client_1.expectString)(data.NetworkFabricType);
969
969
  }
970
970
  if (data.OwnerAccountId !== undefined && data.OwnerAccountId !== null) {
971
- contents.OwnerAccountId = smithy_client_1.expectString(data.OwnerAccountId);
971
+ contents.OwnerAccountId = (0, smithy_client_1.expectString)(data.OwnerAccountId);
972
972
  }
973
973
  if (data.State !== undefined && data.State !== null) {
974
- contents.State = smithy_client_1.expectString(data.State);
974
+ contents.State = (0, smithy_client_1.expectString)(data.State);
975
975
  }
976
976
  if (data.Tags !== undefined && data.Tags !== null) {
977
977
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
@@ -1016,7 +1016,7 @@ const deserializeAws_restJson1CreateEnvironmentCommandError = async (output, con
1016
1016
  $fault: "client",
1017
1017
  $metadata: deserializeMetadata(output),
1018
1018
  });
1019
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1019
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1020
1020
  }
1021
1021
  };
1022
1022
  const deserializeAws_restJson1CreateRouteCommand = async (output, context) => {
@@ -1038,36 +1038,36 @@ const deserializeAws_restJson1CreateRouteCommand = async (output, context) => {
1038
1038
  Tags: undefined,
1039
1039
  UriPathRoute: undefined,
1040
1040
  };
1041
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1041
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1042
1042
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1043
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1043
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1044
1044
  }
1045
1045
  if (data.Arn !== undefined && data.Arn !== null) {
1046
- contents.Arn = smithy_client_1.expectString(data.Arn);
1046
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1047
1047
  }
1048
1048
  if (data.CreatedByAccountId !== undefined && data.CreatedByAccountId !== null) {
1049
- contents.CreatedByAccountId = smithy_client_1.expectString(data.CreatedByAccountId);
1049
+ contents.CreatedByAccountId = (0, smithy_client_1.expectString)(data.CreatedByAccountId);
1050
1050
  }
1051
1051
  if (data.CreatedTime !== undefined && data.CreatedTime !== null) {
1052
- contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTime)));
1052
+ contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTime)));
1053
1053
  }
1054
1054
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
1055
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
1055
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
1056
1056
  }
1057
1057
  if (data.OwnerAccountId !== undefined && data.OwnerAccountId !== null) {
1058
- contents.OwnerAccountId = smithy_client_1.expectString(data.OwnerAccountId);
1058
+ contents.OwnerAccountId = (0, smithy_client_1.expectString)(data.OwnerAccountId);
1059
1059
  }
1060
1060
  if (data.RouteId !== undefined && data.RouteId !== null) {
1061
- contents.RouteId = smithy_client_1.expectString(data.RouteId);
1061
+ contents.RouteId = (0, smithy_client_1.expectString)(data.RouteId);
1062
1062
  }
1063
1063
  if (data.RouteType !== undefined && data.RouteType !== null) {
1064
- contents.RouteType = smithy_client_1.expectString(data.RouteType);
1064
+ contents.RouteType = (0, smithy_client_1.expectString)(data.RouteType);
1065
1065
  }
1066
1066
  if (data.ServiceId !== undefined && data.ServiceId !== null) {
1067
- contents.ServiceId = smithy_client_1.expectString(data.ServiceId);
1067
+ contents.ServiceId = (0, smithy_client_1.expectString)(data.ServiceId);
1068
1068
  }
1069
1069
  if (data.State !== undefined && data.State !== null) {
1070
- contents.State = smithy_client_1.expectString(data.State);
1070
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1071
1071
  }
1072
1072
  if (data.Tags !== undefined && data.Tags !== null) {
1073
1073
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
@@ -1115,7 +1115,7 @@ const deserializeAws_restJson1CreateRouteCommandError = async (output, context)
1115
1115
  $fault: "client",
1116
1116
  $metadata: deserializeMetadata(output),
1117
1117
  });
1118
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1118
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1119
1119
  }
1120
1120
  };
1121
1121
  const deserializeAws_restJson1CreateServiceCommand = async (output, context) => {
@@ -1141,45 +1141,45 @@ const deserializeAws_restJson1CreateServiceCommand = async (output, context) =>
1141
1141
  UrlEndpoint: undefined,
1142
1142
  VpcId: undefined,
1143
1143
  };
1144
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1144
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1145
1145
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1146
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1146
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1147
1147
  }
1148
1148
  if (data.Arn !== undefined && data.Arn !== null) {
1149
- contents.Arn = smithy_client_1.expectString(data.Arn);
1149
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1150
1150
  }
1151
1151
  if (data.CreatedByAccountId !== undefined && data.CreatedByAccountId !== null) {
1152
- contents.CreatedByAccountId = smithy_client_1.expectString(data.CreatedByAccountId);
1152
+ contents.CreatedByAccountId = (0, smithy_client_1.expectString)(data.CreatedByAccountId);
1153
1153
  }
1154
1154
  if (data.CreatedTime !== undefined && data.CreatedTime !== null) {
1155
- contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTime)));
1155
+ contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTime)));
1156
1156
  }
1157
1157
  if (data.Description !== undefined && data.Description !== null) {
1158
- contents.Description = smithy_client_1.expectString(data.Description);
1158
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1159
1159
  }
1160
1160
  if (data.EndpointType !== undefined && data.EndpointType !== null) {
1161
- contents.EndpointType = smithy_client_1.expectString(data.EndpointType);
1161
+ contents.EndpointType = (0, smithy_client_1.expectString)(data.EndpointType);
1162
1162
  }
1163
1163
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
1164
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
1164
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
1165
1165
  }
1166
1166
  if (data.LambdaEndpoint !== undefined && data.LambdaEndpoint !== null) {
1167
1167
  contents.LambdaEndpoint = deserializeAws_restJson1LambdaEndpointInput(data.LambdaEndpoint, context);
1168
1168
  }
1169
1169
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
1170
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
1170
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
1171
1171
  }
1172
1172
  if (data.Name !== undefined && data.Name !== null) {
1173
- contents.Name = smithy_client_1.expectString(data.Name);
1173
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1174
1174
  }
1175
1175
  if (data.OwnerAccountId !== undefined && data.OwnerAccountId !== null) {
1176
- contents.OwnerAccountId = smithy_client_1.expectString(data.OwnerAccountId);
1176
+ contents.OwnerAccountId = (0, smithy_client_1.expectString)(data.OwnerAccountId);
1177
1177
  }
1178
1178
  if (data.ServiceId !== undefined && data.ServiceId !== null) {
1179
- contents.ServiceId = smithy_client_1.expectString(data.ServiceId);
1179
+ contents.ServiceId = (0, smithy_client_1.expectString)(data.ServiceId);
1180
1180
  }
1181
1181
  if (data.State !== undefined && data.State !== null) {
1182
- contents.State = smithy_client_1.expectString(data.State);
1182
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1183
1183
  }
1184
1184
  if (data.Tags !== undefined && data.Tags !== null) {
1185
1185
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
@@ -1188,7 +1188,7 @@ const deserializeAws_restJson1CreateServiceCommand = async (output, context) =>
1188
1188
  contents.UrlEndpoint = deserializeAws_restJson1UrlEndpointInput(data.UrlEndpoint, context);
1189
1189
  }
1190
1190
  if (data.VpcId !== undefined && data.VpcId !== null) {
1191
- contents.VpcId = smithy_client_1.expectString(data.VpcId);
1191
+ contents.VpcId = (0, smithy_client_1.expectString)(data.VpcId);
1192
1192
  }
1193
1193
  return Promise.resolve(contents);
1194
1194
  };
@@ -1230,7 +1230,7 @@ const deserializeAws_restJson1CreateServiceCommandError = async (output, context
1230
1230
  $fault: "client",
1231
1231
  $metadata: deserializeMetadata(output),
1232
1232
  });
1233
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1233
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1234
1234
  }
1235
1235
  };
1236
1236
  const deserializeAws_restJson1DeleteApplicationCommand = async (output, context) => {
@@ -1246,24 +1246,24 @@ const deserializeAws_restJson1DeleteApplicationCommand = async (output, context)
1246
1246
  Name: undefined,
1247
1247
  State: undefined,
1248
1248
  };
1249
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1249
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1250
1250
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1251
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1251
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1252
1252
  }
1253
1253
  if (data.Arn !== undefined && data.Arn !== null) {
1254
- contents.Arn = smithy_client_1.expectString(data.Arn);
1254
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1255
1255
  }
1256
1256
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
1257
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
1257
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
1258
1258
  }
1259
1259
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
1260
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
1260
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
1261
1261
  }
1262
1262
  if (data.Name !== undefined && data.Name !== null) {
1263
- contents.Name = smithy_client_1.expectString(data.Name);
1263
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1264
1264
  }
1265
1265
  if (data.State !== undefined && data.State !== null) {
1266
- contents.State = smithy_client_1.expectString(data.State);
1266
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1267
1267
  }
1268
1268
  return Promise.resolve(contents);
1269
1269
  };
@@ -1302,7 +1302,7 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
1302
1302
  $fault: "client",
1303
1303
  $metadata: deserializeMetadata(output),
1304
1304
  });
1305
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1305
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1306
1306
  }
1307
1307
  };
1308
1308
  const deserializeAws_restJson1DeleteEnvironmentCommand = async (output, context) => {
@@ -1317,21 +1317,21 @@ const deserializeAws_restJson1DeleteEnvironmentCommand = async (output, context)
1317
1317
  Name: undefined,
1318
1318
  State: undefined,
1319
1319
  };
1320
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1320
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1321
1321
  if (data.Arn !== undefined && data.Arn !== null) {
1322
- contents.Arn = smithy_client_1.expectString(data.Arn);
1322
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1323
1323
  }
1324
1324
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
1325
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
1325
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
1326
1326
  }
1327
1327
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
1328
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
1328
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
1329
1329
  }
1330
1330
  if (data.Name !== undefined && data.Name !== null) {
1331
- contents.Name = smithy_client_1.expectString(data.Name);
1331
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1332
1332
  }
1333
1333
  if (data.State !== undefined && data.State !== null) {
1334
- contents.State = smithy_client_1.expectString(data.State);
1334
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1335
1335
  }
1336
1336
  return Promise.resolve(contents);
1337
1337
  };
@@ -1370,7 +1370,7 @@ const deserializeAws_restJson1DeleteEnvironmentCommandError = async (output, con
1370
1370
  $fault: "client",
1371
1371
  $metadata: deserializeMetadata(output),
1372
1372
  });
1373
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1373
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1374
1374
  }
1375
1375
  };
1376
1376
  const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, context) => {
@@ -1415,7 +1415,7 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
1415
1415
  $fault: "client",
1416
1416
  $metadata: deserializeMetadata(output),
1417
1417
  });
1418
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1418
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1419
1419
  }
1420
1420
  };
1421
1421
  const deserializeAws_restJson1DeleteRouteCommand = async (output, context) => {
@@ -1431,24 +1431,24 @@ const deserializeAws_restJson1DeleteRouteCommand = async (output, context) => {
1431
1431
  ServiceId: undefined,
1432
1432
  State: undefined,
1433
1433
  };
1434
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1434
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1435
1435
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1436
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1436
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1437
1437
  }
1438
1438
  if (data.Arn !== undefined && data.Arn !== null) {
1439
- contents.Arn = smithy_client_1.expectString(data.Arn);
1439
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1440
1440
  }
1441
1441
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
1442
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
1442
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
1443
1443
  }
1444
1444
  if (data.RouteId !== undefined && data.RouteId !== null) {
1445
- contents.RouteId = smithy_client_1.expectString(data.RouteId);
1445
+ contents.RouteId = (0, smithy_client_1.expectString)(data.RouteId);
1446
1446
  }
1447
1447
  if (data.ServiceId !== undefined && data.ServiceId !== null) {
1448
- contents.ServiceId = smithy_client_1.expectString(data.ServiceId);
1448
+ contents.ServiceId = (0, smithy_client_1.expectString)(data.ServiceId);
1449
1449
  }
1450
1450
  if (data.State !== undefined && data.State !== null) {
1451
- contents.State = smithy_client_1.expectString(data.State);
1451
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1452
1452
  }
1453
1453
  return Promise.resolve(contents);
1454
1454
  };
@@ -1487,7 +1487,7 @@ const deserializeAws_restJson1DeleteRouteCommandError = async (output, context)
1487
1487
  $fault: "client",
1488
1488
  $metadata: deserializeMetadata(output),
1489
1489
  });
1490
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1490
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1491
1491
  }
1492
1492
  };
1493
1493
  const deserializeAws_restJson1DeleteServiceCommand = async (output, context) => {
@@ -1504,27 +1504,27 @@ const deserializeAws_restJson1DeleteServiceCommand = async (output, context) =>
1504
1504
  ServiceId: undefined,
1505
1505
  State: undefined,
1506
1506
  };
1507
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1507
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1508
1508
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1509
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1509
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1510
1510
  }
1511
1511
  if (data.Arn !== undefined && data.Arn !== null) {
1512
- contents.Arn = smithy_client_1.expectString(data.Arn);
1512
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1513
1513
  }
1514
1514
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
1515
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
1515
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
1516
1516
  }
1517
1517
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
1518
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
1518
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
1519
1519
  }
1520
1520
  if (data.Name !== undefined && data.Name !== null) {
1521
- contents.Name = smithy_client_1.expectString(data.Name);
1521
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1522
1522
  }
1523
1523
  if (data.ServiceId !== undefined && data.ServiceId !== null) {
1524
- contents.ServiceId = smithy_client_1.expectString(data.ServiceId);
1524
+ contents.ServiceId = (0, smithy_client_1.expectString)(data.ServiceId);
1525
1525
  }
1526
1526
  if (data.State !== undefined && data.State !== null) {
1527
- contents.State = smithy_client_1.expectString(data.State);
1527
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1528
1528
  }
1529
1529
  return Promise.resolve(contents);
1530
1530
  };
@@ -1563,7 +1563,7 @@ const deserializeAws_restJson1DeleteServiceCommandError = async (output, context
1563
1563
  $fault: "client",
1564
1564
  $metadata: deserializeMetadata(output),
1565
1565
  });
1566
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1566
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1567
1567
  }
1568
1568
  };
1569
1569
  const deserializeAws_restJson1GetApplicationCommand = async (output, context) => {
@@ -1587,48 +1587,48 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
1587
1587
  Tags: undefined,
1588
1588
  VpcId: undefined,
1589
1589
  };
1590
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1590
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1591
1591
  if (data.ApiGatewayProxy !== undefined && data.ApiGatewayProxy !== null) {
1592
1592
  contents.ApiGatewayProxy = deserializeAws_restJson1ApiGatewayProxyConfig(data.ApiGatewayProxy, context);
1593
1593
  }
1594
1594
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1595
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1595
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1596
1596
  }
1597
1597
  if (data.Arn !== undefined && data.Arn !== null) {
1598
- contents.Arn = smithy_client_1.expectString(data.Arn);
1598
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1599
1599
  }
1600
1600
  if (data.CreatedByAccountId !== undefined && data.CreatedByAccountId !== null) {
1601
- contents.CreatedByAccountId = smithy_client_1.expectString(data.CreatedByAccountId);
1601
+ contents.CreatedByAccountId = (0, smithy_client_1.expectString)(data.CreatedByAccountId);
1602
1602
  }
1603
1603
  if (data.CreatedTime !== undefined && data.CreatedTime !== null) {
1604
- contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTime)));
1604
+ contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTime)));
1605
1605
  }
1606
1606
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
1607
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
1607
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
1608
1608
  }
1609
1609
  if (data.Error !== undefined && data.Error !== null) {
1610
1610
  contents.Error = deserializeAws_restJson1ErrorResponse(data.Error, context);
1611
1611
  }
1612
1612
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
1613
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
1613
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
1614
1614
  }
1615
1615
  if (data.Name !== undefined && data.Name !== null) {
1616
- contents.Name = smithy_client_1.expectString(data.Name);
1616
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1617
1617
  }
1618
1618
  if (data.OwnerAccountId !== undefined && data.OwnerAccountId !== null) {
1619
- contents.OwnerAccountId = smithy_client_1.expectString(data.OwnerAccountId);
1619
+ contents.OwnerAccountId = (0, smithy_client_1.expectString)(data.OwnerAccountId);
1620
1620
  }
1621
1621
  if (data.ProxyType !== undefined && data.ProxyType !== null) {
1622
- contents.ProxyType = smithy_client_1.expectString(data.ProxyType);
1622
+ contents.ProxyType = (0, smithy_client_1.expectString)(data.ProxyType);
1623
1623
  }
1624
1624
  if (data.State !== undefined && data.State !== null) {
1625
- contents.State = smithy_client_1.expectString(data.State);
1625
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1626
1626
  }
1627
1627
  if (data.Tags !== undefined && data.Tags !== null) {
1628
1628
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
1629
1629
  }
1630
1630
  if (data.VpcId !== undefined && data.VpcId !== null) {
1631
- contents.VpcId = smithy_client_1.expectString(data.VpcId);
1631
+ contents.VpcId = (0, smithy_client_1.expectString)(data.VpcId);
1632
1632
  }
1633
1633
  return Promise.resolve(contents);
1634
1634
  };
@@ -1664,7 +1664,7 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
1664
1664
  $fault: "client",
1665
1665
  $metadata: deserializeMetadata(output),
1666
1666
  });
1667
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1667
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1668
1668
  }
1669
1669
  };
1670
1670
  const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) => {
@@ -1686,42 +1686,42 @@ const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) =>
1686
1686
  Tags: undefined,
1687
1687
  TransitGatewayId: undefined,
1688
1688
  };
1689
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1689
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1690
1690
  if (data.Arn !== undefined && data.Arn !== null) {
1691
- contents.Arn = smithy_client_1.expectString(data.Arn);
1691
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1692
1692
  }
1693
1693
  if (data.CreatedTime !== undefined && data.CreatedTime !== null) {
1694
- contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTime)));
1694
+ contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTime)));
1695
1695
  }
1696
1696
  if (data.Description !== undefined && data.Description !== null) {
1697
- contents.Description = smithy_client_1.expectString(data.Description);
1697
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1698
1698
  }
1699
1699
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
1700
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
1700
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
1701
1701
  }
1702
1702
  if (data.Error !== undefined && data.Error !== null) {
1703
1703
  contents.Error = deserializeAws_restJson1ErrorResponse(data.Error, context);
1704
1704
  }
1705
1705
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
1706
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
1706
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
1707
1707
  }
1708
1708
  if (data.Name !== undefined && data.Name !== null) {
1709
- contents.Name = smithy_client_1.expectString(data.Name);
1709
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1710
1710
  }
1711
1711
  if (data.NetworkFabricType !== undefined && data.NetworkFabricType !== null) {
1712
- contents.NetworkFabricType = smithy_client_1.expectString(data.NetworkFabricType);
1712
+ contents.NetworkFabricType = (0, smithy_client_1.expectString)(data.NetworkFabricType);
1713
1713
  }
1714
1714
  if (data.OwnerAccountId !== undefined && data.OwnerAccountId !== null) {
1715
- contents.OwnerAccountId = smithy_client_1.expectString(data.OwnerAccountId);
1715
+ contents.OwnerAccountId = (0, smithy_client_1.expectString)(data.OwnerAccountId);
1716
1716
  }
1717
1717
  if (data.State !== undefined && data.State !== null) {
1718
- contents.State = smithy_client_1.expectString(data.State);
1718
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1719
1719
  }
1720
1720
  if (data.Tags !== undefined && data.Tags !== null) {
1721
1721
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
1722
1722
  }
1723
1723
  if (data.TransitGatewayId !== undefined && data.TransitGatewayId !== null) {
1724
- contents.TransitGatewayId = smithy_client_1.expectString(data.TransitGatewayId);
1724
+ contents.TransitGatewayId = (0, smithy_client_1.expectString)(data.TransitGatewayId);
1725
1725
  }
1726
1726
  return Promise.resolve(contents);
1727
1727
  };
@@ -1757,7 +1757,7 @@ const deserializeAws_restJson1GetEnvironmentCommandError = async (output, contex
1757
1757
  $fault: "client",
1758
1758
  $metadata: deserializeMetadata(output),
1759
1759
  });
1760
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1760
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1761
1761
  }
1762
1762
  };
1763
1763
  const deserializeAws_restJson1GetResourcePolicyCommand = async (output, context) => {
@@ -1768,9 +1768,9 @@ const deserializeAws_restJson1GetResourcePolicyCommand = async (output, context)
1768
1768
  $metadata: deserializeMetadata(output),
1769
1769
  Policy: undefined,
1770
1770
  };
1771
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1771
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1772
1772
  if (data.Policy !== undefined && data.Policy !== null) {
1773
- contents.Policy = smithy_client_1.expectString(data.Policy);
1773
+ contents.Policy = (0, smithy_client_1.expectString)(data.Policy);
1774
1774
  }
1775
1775
  return Promise.resolve(contents);
1776
1776
  };
@@ -1806,7 +1806,7 @@ const deserializeAws_restJson1GetResourcePolicyCommandError = async (output, con
1806
1806
  $fault: "client",
1807
1807
  $metadata: deserializeMetadata(output),
1808
1808
  });
1809
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1809
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1810
1810
  }
1811
1811
  };
1812
1812
  const deserializeAws_restJson1GetRouteCommand = async (output, context) => {
@@ -1833,54 +1833,54 @@ const deserializeAws_restJson1GetRouteCommand = async (output, context) => {
1833
1833
  State: undefined,
1834
1834
  Tags: undefined,
1835
1835
  };
1836
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1836
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1837
1837
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1838
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1838
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1839
1839
  }
1840
1840
  if (data.Arn !== undefined && data.Arn !== null) {
1841
- contents.Arn = smithy_client_1.expectString(data.Arn);
1841
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1842
1842
  }
1843
1843
  if (data.CreatedByAccountId !== undefined && data.CreatedByAccountId !== null) {
1844
- contents.CreatedByAccountId = smithy_client_1.expectString(data.CreatedByAccountId);
1844
+ contents.CreatedByAccountId = (0, smithy_client_1.expectString)(data.CreatedByAccountId);
1845
1845
  }
1846
1846
  if (data.CreatedTime !== undefined && data.CreatedTime !== null) {
1847
- contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTime)));
1847
+ contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTime)));
1848
1848
  }
1849
1849
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
1850
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
1850
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
1851
1851
  }
1852
1852
  if (data.Error !== undefined && data.Error !== null) {
1853
1853
  contents.Error = deserializeAws_restJson1ErrorResponse(data.Error, context);
1854
1854
  }
1855
1855
  if (data.IncludeChildPaths !== undefined && data.IncludeChildPaths !== null) {
1856
- contents.IncludeChildPaths = smithy_client_1.expectBoolean(data.IncludeChildPaths);
1856
+ contents.IncludeChildPaths = (0, smithy_client_1.expectBoolean)(data.IncludeChildPaths);
1857
1857
  }
1858
1858
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
1859
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
1859
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
1860
1860
  }
1861
1861
  if (data.Methods !== undefined && data.Methods !== null) {
1862
1862
  contents.Methods = deserializeAws_restJson1HttpMethods(data.Methods, context);
1863
1863
  }
1864
1864
  if (data.OwnerAccountId !== undefined && data.OwnerAccountId !== null) {
1865
- contents.OwnerAccountId = smithy_client_1.expectString(data.OwnerAccountId);
1865
+ contents.OwnerAccountId = (0, smithy_client_1.expectString)(data.OwnerAccountId);
1866
1866
  }
1867
1867
  if (data.PathResourceToId !== undefined && data.PathResourceToId !== null) {
1868
1868
  contents.PathResourceToId = deserializeAws_restJson1PathResourceToId(data.PathResourceToId, context);
1869
1869
  }
1870
1870
  if (data.RouteId !== undefined && data.RouteId !== null) {
1871
- contents.RouteId = smithy_client_1.expectString(data.RouteId);
1871
+ contents.RouteId = (0, smithy_client_1.expectString)(data.RouteId);
1872
1872
  }
1873
1873
  if (data.RouteType !== undefined && data.RouteType !== null) {
1874
- contents.RouteType = smithy_client_1.expectString(data.RouteType);
1874
+ contents.RouteType = (0, smithy_client_1.expectString)(data.RouteType);
1875
1875
  }
1876
1876
  if (data.ServiceId !== undefined && data.ServiceId !== null) {
1877
- contents.ServiceId = smithy_client_1.expectString(data.ServiceId);
1877
+ contents.ServiceId = (0, smithy_client_1.expectString)(data.ServiceId);
1878
1878
  }
1879
1879
  if (data.SourcePath !== undefined && data.SourcePath !== null) {
1880
- contents.SourcePath = smithy_client_1.expectString(data.SourcePath);
1880
+ contents.SourcePath = (0, smithy_client_1.expectString)(data.SourcePath);
1881
1881
  }
1882
1882
  if (data.State !== undefined && data.State !== null) {
1883
- contents.State = smithy_client_1.expectString(data.State);
1883
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1884
1884
  }
1885
1885
  if (data.Tags !== undefined && data.Tags !== null) {
1886
1886
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
@@ -1919,7 +1919,7 @@ const deserializeAws_restJson1GetRouteCommandError = async (output, context) =>
1919
1919
  $fault: "client",
1920
1920
  $metadata: deserializeMetadata(output),
1921
1921
  });
1922
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1922
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1923
1923
  }
1924
1924
  };
1925
1925
  const deserializeAws_restJson1GetServiceCommand = async (output, context) => {
@@ -1946,27 +1946,27 @@ const deserializeAws_restJson1GetServiceCommand = async (output, context) => {
1946
1946
  UrlEndpoint: undefined,
1947
1947
  VpcId: undefined,
1948
1948
  };
1949
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1949
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1950
1950
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1951
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1951
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1952
1952
  }
1953
1953
  if (data.Arn !== undefined && data.Arn !== null) {
1954
- contents.Arn = smithy_client_1.expectString(data.Arn);
1954
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1955
1955
  }
1956
1956
  if (data.CreatedByAccountId !== undefined && data.CreatedByAccountId !== null) {
1957
- contents.CreatedByAccountId = smithy_client_1.expectString(data.CreatedByAccountId);
1957
+ contents.CreatedByAccountId = (0, smithy_client_1.expectString)(data.CreatedByAccountId);
1958
1958
  }
1959
1959
  if (data.CreatedTime !== undefined && data.CreatedTime !== null) {
1960
- contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTime)));
1960
+ contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTime)));
1961
1961
  }
1962
1962
  if (data.Description !== undefined && data.Description !== null) {
1963
- contents.Description = smithy_client_1.expectString(data.Description);
1963
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1964
1964
  }
1965
1965
  if (data.EndpointType !== undefined && data.EndpointType !== null) {
1966
- contents.EndpointType = smithy_client_1.expectString(data.EndpointType);
1966
+ contents.EndpointType = (0, smithy_client_1.expectString)(data.EndpointType);
1967
1967
  }
1968
1968
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
1969
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
1969
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
1970
1970
  }
1971
1971
  if (data.Error !== undefined && data.Error !== null) {
1972
1972
  contents.Error = deserializeAws_restJson1ErrorResponse(data.Error, context);
@@ -1975,19 +1975,19 @@ const deserializeAws_restJson1GetServiceCommand = async (output, context) => {
1975
1975
  contents.LambdaEndpoint = deserializeAws_restJson1LambdaEndpointConfig(data.LambdaEndpoint, context);
1976
1976
  }
1977
1977
  if (data.LastUpdatedTime !== undefined && data.LastUpdatedTime !== null) {
1978
- contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTime)));
1978
+ contents.LastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTime)));
1979
1979
  }
1980
1980
  if (data.Name !== undefined && data.Name !== null) {
1981
- contents.Name = smithy_client_1.expectString(data.Name);
1981
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1982
1982
  }
1983
1983
  if (data.OwnerAccountId !== undefined && data.OwnerAccountId !== null) {
1984
- contents.OwnerAccountId = smithy_client_1.expectString(data.OwnerAccountId);
1984
+ contents.OwnerAccountId = (0, smithy_client_1.expectString)(data.OwnerAccountId);
1985
1985
  }
1986
1986
  if (data.ServiceId !== undefined && data.ServiceId !== null) {
1987
- contents.ServiceId = smithy_client_1.expectString(data.ServiceId);
1987
+ contents.ServiceId = (0, smithy_client_1.expectString)(data.ServiceId);
1988
1988
  }
1989
1989
  if (data.State !== undefined && data.State !== null) {
1990
- contents.State = smithy_client_1.expectString(data.State);
1990
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1991
1991
  }
1992
1992
  if (data.Tags !== undefined && data.Tags !== null) {
1993
1993
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
@@ -1996,7 +1996,7 @@ const deserializeAws_restJson1GetServiceCommand = async (output, context) => {
1996
1996
  contents.UrlEndpoint = deserializeAws_restJson1UrlEndpointConfig(data.UrlEndpoint, context);
1997
1997
  }
1998
1998
  if (data.VpcId !== undefined && data.VpcId !== null) {
1999
- contents.VpcId = smithy_client_1.expectString(data.VpcId);
1999
+ contents.VpcId = (0, smithy_client_1.expectString)(data.VpcId);
2000
2000
  }
2001
2001
  return Promise.resolve(contents);
2002
2002
  };
@@ -2032,7 +2032,7 @@ const deserializeAws_restJson1GetServiceCommandError = async (output, context) =
2032
2032
  $fault: "client",
2033
2033
  $metadata: deserializeMetadata(output),
2034
2034
  });
2035
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2035
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2036
2036
  }
2037
2037
  };
2038
2038
  const deserializeAws_restJson1ListApplicationsCommand = async (output, context) => {
@@ -2044,12 +2044,12 @@ const deserializeAws_restJson1ListApplicationsCommand = async (output, context)
2044
2044
  ApplicationSummaryList: undefined,
2045
2045
  NextToken: undefined,
2046
2046
  };
2047
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2047
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2048
2048
  if (data.ApplicationSummaryList !== undefined && data.ApplicationSummaryList !== null) {
2049
2049
  contents.ApplicationSummaryList = deserializeAws_restJson1ApplicationSummaries(data.ApplicationSummaryList, context);
2050
2050
  }
2051
2051
  if (data.NextToken !== undefined && data.NextToken !== null) {
2052
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2052
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2053
2053
  }
2054
2054
  return Promise.resolve(contents);
2055
2055
  };
@@ -2091,7 +2091,7 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
2091
2091
  $fault: "client",
2092
2092
  $metadata: deserializeMetadata(output),
2093
2093
  });
2094
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2094
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2095
2095
  }
2096
2096
  };
2097
2097
  const deserializeAws_restJson1ListEnvironmentsCommand = async (output, context) => {
@@ -2103,12 +2103,12 @@ const deserializeAws_restJson1ListEnvironmentsCommand = async (output, context)
2103
2103
  EnvironmentSummaryList: undefined,
2104
2104
  NextToken: undefined,
2105
2105
  };
2106
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2106
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2107
2107
  if (data.EnvironmentSummaryList !== undefined && data.EnvironmentSummaryList !== null) {
2108
2108
  contents.EnvironmentSummaryList = deserializeAws_restJson1EnvironmentSummaries(data.EnvironmentSummaryList, context);
2109
2109
  }
2110
2110
  if (data.NextToken !== undefined && data.NextToken !== null) {
2111
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2111
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2112
2112
  }
2113
2113
  return Promise.resolve(contents);
2114
2114
  };
@@ -2144,7 +2144,7 @@ const deserializeAws_restJson1ListEnvironmentsCommandError = async (output, cont
2144
2144
  $fault: "client",
2145
2145
  $metadata: deserializeMetadata(output),
2146
2146
  });
2147
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2147
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2148
2148
  }
2149
2149
  };
2150
2150
  const deserializeAws_restJson1ListEnvironmentVpcsCommand = async (output, context) => {
@@ -2156,12 +2156,12 @@ const deserializeAws_restJson1ListEnvironmentVpcsCommand = async (output, contex
2156
2156
  EnvironmentVpcList: undefined,
2157
2157
  NextToken: undefined,
2158
2158
  };
2159
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2159
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2160
2160
  if (data.EnvironmentVpcList !== undefined && data.EnvironmentVpcList !== null) {
2161
2161
  contents.EnvironmentVpcList = deserializeAws_restJson1EnvironmentVpcs(data.EnvironmentVpcList, context);
2162
2162
  }
2163
2163
  if (data.NextToken !== undefined && data.NextToken !== null) {
2164
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2164
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2165
2165
  }
2166
2166
  return Promise.resolve(contents);
2167
2167
  };
@@ -2197,7 +2197,7 @@ const deserializeAws_restJson1ListEnvironmentVpcsCommandError = async (output, c
2197
2197
  $fault: "client",
2198
2198
  $metadata: deserializeMetadata(output),
2199
2199
  });
2200
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2200
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2201
2201
  }
2202
2202
  };
2203
2203
  const deserializeAws_restJson1ListRoutesCommand = async (output, context) => {
@@ -2209,9 +2209,9 @@ const deserializeAws_restJson1ListRoutesCommand = async (output, context) => {
2209
2209
  NextToken: undefined,
2210
2210
  RouteSummaryList: undefined,
2211
2211
  };
2212
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2212
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2213
2213
  if (data.NextToken !== undefined && data.NextToken !== null) {
2214
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2214
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2215
2215
  }
2216
2216
  if (data.RouteSummaryList !== undefined && data.RouteSummaryList !== null) {
2217
2217
  contents.RouteSummaryList = deserializeAws_restJson1RouteSummaries(data.RouteSummaryList, context);
@@ -2256,7 +2256,7 @@ const deserializeAws_restJson1ListRoutesCommandError = async (output, context) =
2256
2256
  $fault: "client",
2257
2257
  $metadata: deserializeMetadata(output),
2258
2258
  });
2259
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2259
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2260
2260
  }
2261
2261
  };
2262
2262
  const deserializeAws_restJson1ListServicesCommand = async (output, context) => {
@@ -2268,9 +2268,9 @@ const deserializeAws_restJson1ListServicesCommand = async (output, context) => {
2268
2268
  NextToken: undefined,
2269
2269
  ServiceSummaryList: undefined,
2270
2270
  };
2271
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2271
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2272
2272
  if (data.NextToken !== undefined && data.NextToken !== null) {
2273
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2273
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2274
2274
  }
2275
2275
  if (data.ServiceSummaryList !== undefined && data.ServiceSummaryList !== null) {
2276
2276
  contents.ServiceSummaryList = deserializeAws_restJson1ServiceSummaries(data.ServiceSummaryList, context);
@@ -2315,7 +2315,7 @@ const deserializeAws_restJson1ListServicesCommandError = async (output, context)
2315
2315
  $fault: "client",
2316
2316
  $metadata: deserializeMetadata(output),
2317
2317
  });
2318
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2318
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2319
2319
  }
2320
2320
  };
2321
2321
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -2326,7 +2326,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2326
2326
  $metadata: deserializeMetadata(output),
2327
2327
  Tags: undefined,
2328
2328
  };
2329
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2329
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2330
2330
  if (data.Tags !== undefined && data.Tags !== null) {
2331
2331
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2332
2332
  }
@@ -2358,7 +2358,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2358
2358
  $fault: "client",
2359
2359
  $metadata: deserializeMetadata(output),
2360
2360
  });
2361
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2361
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2362
2362
  }
2363
2363
  };
2364
2364
  const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context) => {
@@ -2406,7 +2406,7 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
2406
2406
  $fault: "client",
2407
2407
  $metadata: deserializeMetadata(output),
2408
2408
  });
2409
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2409
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2410
2410
  }
2411
2411
  };
2412
2412
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -2445,7 +2445,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2445
2445
  $fault: "client",
2446
2446
  $metadata: deserializeMetadata(output),
2447
2447
  });
2448
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2448
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2449
2449
  }
2450
2450
  };
2451
2451
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -2484,137 +2484,137 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2484
2484
  $fault: "client",
2485
2485
  $metadata: deserializeMetadata(output),
2486
2486
  });
2487
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2487
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2488
2488
  }
2489
2489
  };
2490
2490
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2491
2491
  const contents = {};
2492
2492
  const data = parsedOutput.body;
2493
2493
  if (data.Message !== undefined && data.Message !== null) {
2494
- contents.Message = smithy_client_1.expectString(data.Message);
2494
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2495
2495
  }
2496
2496
  const exception = new models_0_1.AccessDeniedException({
2497
2497
  $metadata: deserializeMetadata(parsedOutput),
2498
2498
  ...contents,
2499
2499
  });
2500
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2500
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2501
2501
  };
2502
2502
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2503
2503
  const contents = {};
2504
2504
  const data = parsedOutput.body;
2505
2505
  if (data.Message !== undefined && data.Message !== null) {
2506
- contents.Message = smithy_client_1.expectString(data.Message);
2506
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2507
2507
  }
2508
2508
  if (data.ResourceId !== undefined && data.ResourceId !== null) {
2509
- contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
2509
+ contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
2510
2510
  }
2511
2511
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
2512
- contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
2512
+ contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
2513
2513
  }
2514
2514
  const exception = new models_0_1.ConflictException({
2515
2515
  $metadata: deserializeMetadata(parsedOutput),
2516
2516
  ...contents,
2517
2517
  });
2518
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2518
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2519
2519
  };
2520
2520
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2521
2521
  const contents = {};
2522
2522
  const data = parsedOutput.body;
2523
2523
  if (data.Message !== undefined && data.Message !== null) {
2524
- contents.Message = smithy_client_1.expectString(data.Message);
2524
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2525
2525
  }
2526
2526
  const exception = new models_0_1.InternalServerException({
2527
2527
  $metadata: deserializeMetadata(parsedOutput),
2528
2528
  ...contents,
2529
2529
  });
2530
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2530
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2531
2531
  };
2532
2532
  const deserializeAws_restJson1InvalidResourcePolicyExceptionResponse = async (parsedOutput, context) => {
2533
2533
  const contents = {};
2534
2534
  const data = parsedOutput.body;
2535
2535
  if (data.Message !== undefined && data.Message !== null) {
2536
- contents.Message = smithy_client_1.expectString(data.Message);
2536
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2537
2537
  }
2538
2538
  const exception = new models_0_1.InvalidResourcePolicyException({
2539
2539
  $metadata: deserializeMetadata(parsedOutput),
2540
2540
  ...contents,
2541
2541
  });
2542
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2542
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2543
2543
  };
2544
2544
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2545
2545
  const contents = {};
2546
2546
  const data = parsedOutput.body;
2547
2547
  if (data.Message !== undefined && data.Message !== null) {
2548
- contents.Message = smithy_client_1.expectString(data.Message);
2548
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2549
2549
  }
2550
2550
  if (data.ResourceId !== undefined && data.ResourceId !== null) {
2551
- contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
2551
+ contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
2552
2552
  }
2553
2553
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
2554
- contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
2554
+ contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
2555
2555
  }
2556
2556
  const exception = new models_0_1.ResourceNotFoundException({
2557
2557
  $metadata: deserializeMetadata(parsedOutput),
2558
2558
  ...contents,
2559
2559
  });
2560
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2560
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2561
2561
  };
2562
2562
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2563
2563
  const contents = {};
2564
2564
  const data = parsedOutput.body;
2565
2565
  if (data.Message !== undefined && data.Message !== null) {
2566
- contents.Message = smithy_client_1.expectString(data.Message);
2566
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2567
2567
  }
2568
2568
  if (data.QuotaCode !== undefined && data.QuotaCode !== null) {
2569
- contents.QuotaCode = smithy_client_1.expectString(data.QuotaCode);
2569
+ contents.QuotaCode = (0, smithy_client_1.expectString)(data.QuotaCode);
2570
2570
  }
2571
2571
  if (data.ResourceId !== undefined && data.ResourceId !== null) {
2572
- contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
2572
+ contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
2573
2573
  }
2574
2574
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
2575
- contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
2575
+ contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
2576
2576
  }
2577
2577
  if (data.ServiceCode !== undefined && data.ServiceCode !== null) {
2578
- contents.ServiceCode = smithy_client_1.expectString(data.ServiceCode);
2578
+ contents.ServiceCode = (0, smithy_client_1.expectString)(data.ServiceCode);
2579
2579
  }
2580
2580
  const exception = new models_0_1.ServiceQuotaExceededException({
2581
2581
  $metadata: deserializeMetadata(parsedOutput),
2582
2582
  ...contents,
2583
2583
  });
2584
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2584
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2585
2585
  };
2586
2586
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2587
2587
  const contents = {};
2588
2588
  if (parsedOutput.headers["retry-after"] !== undefined) {
2589
- contents.RetryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
2589
+ contents.RetryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
2590
2590
  }
2591
2591
  const data = parsedOutput.body;
2592
2592
  if (data.Message !== undefined && data.Message !== null) {
2593
- contents.Message = smithy_client_1.expectString(data.Message);
2593
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2594
2594
  }
2595
2595
  if (data.QuotaCode !== undefined && data.QuotaCode !== null) {
2596
- contents.QuotaCode = smithy_client_1.expectString(data.QuotaCode);
2596
+ contents.QuotaCode = (0, smithy_client_1.expectString)(data.QuotaCode);
2597
2597
  }
2598
2598
  if (data.ServiceCode !== undefined && data.ServiceCode !== null) {
2599
- contents.ServiceCode = smithy_client_1.expectString(data.ServiceCode);
2599
+ contents.ServiceCode = (0, smithy_client_1.expectString)(data.ServiceCode);
2600
2600
  }
2601
2601
  const exception = new models_0_1.ThrottlingException({
2602
2602
  $metadata: deserializeMetadata(parsedOutput),
2603
2603
  ...contents,
2604
2604
  });
2605
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2605
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2606
2606
  };
2607
2607
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2608
2608
  const contents = {};
2609
2609
  const data = parsedOutput.body;
2610
2610
  if (data.Message !== undefined && data.Message !== null) {
2611
- contents.Message = smithy_client_1.expectString(data.Message);
2611
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2612
2612
  }
2613
2613
  const exception = new models_0_1.ValidationException({
2614
2614
  $metadata: deserializeMetadata(parsedOutput),
2615
2615
  ...contents,
2616
2616
  });
2617
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2617
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2618
2618
  };
2619
2619
  const serializeAws_restJson1ApiGatewayProxyInput = (input, context) => {
2620
2620
  return {
@@ -2672,36 +2672,36 @@ const deserializeAws_restJson1AdditionalDetails = (output, context) => {
2672
2672
  }
2673
2673
  return {
2674
2674
  ...acc,
2675
- [key]: smithy_client_1.expectString(value),
2675
+ [key]: (0, smithy_client_1.expectString)(value),
2676
2676
  };
2677
2677
  }, {});
2678
2678
  };
2679
2679
  const deserializeAws_restJson1ApiGatewayProxyConfig = (output, context) => {
2680
2680
  return {
2681
- ApiGatewayId: smithy_client_1.expectString(output.ApiGatewayId),
2682
- EndpointType: smithy_client_1.expectString(output.EndpointType),
2683
- NlbArn: smithy_client_1.expectString(output.NlbArn),
2684
- NlbName: smithy_client_1.expectString(output.NlbName),
2685
- ProxyUrl: smithy_client_1.expectString(output.ProxyUrl),
2686
- StageName: smithy_client_1.expectString(output.StageName),
2687
- VpcLinkId: smithy_client_1.expectString(output.VpcLinkId),
2681
+ ApiGatewayId: (0, smithy_client_1.expectString)(output.ApiGatewayId),
2682
+ EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
2683
+ NlbArn: (0, smithy_client_1.expectString)(output.NlbArn),
2684
+ NlbName: (0, smithy_client_1.expectString)(output.NlbName),
2685
+ ProxyUrl: (0, smithy_client_1.expectString)(output.ProxyUrl),
2686
+ StageName: (0, smithy_client_1.expectString)(output.StageName),
2687
+ VpcLinkId: (0, smithy_client_1.expectString)(output.VpcLinkId),
2688
2688
  };
2689
2689
  };
2690
2690
  const deserializeAws_restJson1ApiGatewayProxyInput = (output, context) => {
2691
2691
  return {
2692
- EndpointType: smithy_client_1.expectString(output.EndpointType),
2693
- StageName: smithy_client_1.expectString(output.StageName),
2692
+ EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
2693
+ StageName: (0, smithy_client_1.expectString)(output.StageName),
2694
2694
  };
2695
2695
  };
2696
2696
  const deserializeAws_restJson1ApiGatewayProxySummary = (output, context) => {
2697
2697
  return {
2698
- ApiGatewayId: smithy_client_1.expectString(output.ApiGatewayId),
2699
- EndpointType: smithy_client_1.expectString(output.EndpointType),
2700
- NlbArn: smithy_client_1.expectString(output.NlbArn),
2701
- NlbName: smithy_client_1.expectString(output.NlbName),
2702
- ProxyUrl: smithy_client_1.expectString(output.ProxyUrl),
2703
- StageName: smithy_client_1.expectString(output.StageName),
2704
- VpcLinkId: smithy_client_1.expectString(output.VpcLinkId),
2698
+ ApiGatewayId: (0, smithy_client_1.expectString)(output.ApiGatewayId),
2699
+ EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
2700
+ NlbArn: (0, smithy_client_1.expectString)(output.NlbArn),
2701
+ NlbName: (0, smithy_client_1.expectString)(output.NlbName),
2702
+ ProxyUrl: (0, smithy_client_1.expectString)(output.ProxyUrl),
2703
+ StageName: (0, smithy_client_1.expectString)(output.StageName),
2704
+ VpcLinkId: (0, smithy_client_1.expectString)(output.VpcLinkId),
2705
2705
  };
2706
2706
  };
2707
2707
  const deserializeAws_restJson1ApplicationSummaries = (output, context) => {
@@ -2720,27 +2720,27 @@ const deserializeAws_restJson1ApplicationSummary = (output, context) => {
2720
2720
  ApiGatewayProxy: output.ApiGatewayProxy !== undefined && output.ApiGatewayProxy !== null
2721
2721
  ? deserializeAws_restJson1ApiGatewayProxySummary(output.ApiGatewayProxy, context)
2722
2722
  : undefined,
2723
- ApplicationId: smithy_client_1.expectString(output.ApplicationId),
2724
- Arn: smithy_client_1.expectString(output.Arn),
2725
- CreatedByAccountId: smithy_client_1.expectString(output.CreatedByAccountId),
2723
+ ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
2724
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2725
+ CreatedByAccountId: (0, smithy_client_1.expectString)(output.CreatedByAccountId),
2726
2726
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
2727
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
2727
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
2728
2728
  : undefined,
2729
- EnvironmentId: smithy_client_1.expectString(output.EnvironmentId),
2729
+ EnvironmentId: (0, smithy_client_1.expectString)(output.EnvironmentId),
2730
2730
  Error: output.Error !== undefined && output.Error !== null
2731
2731
  ? deserializeAws_restJson1ErrorResponse(output.Error, context)
2732
2732
  : undefined,
2733
2733
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
2734
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
2734
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
2735
2735
  : undefined,
2736
- Name: smithy_client_1.expectString(output.Name),
2737
- OwnerAccountId: smithy_client_1.expectString(output.OwnerAccountId),
2738
- ProxyType: smithy_client_1.expectString(output.ProxyType),
2739
- State: smithy_client_1.expectString(output.State),
2736
+ Name: (0, smithy_client_1.expectString)(output.Name),
2737
+ OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
2738
+ ProxyType: (0, smithy_client_1.expectString)(output.ProxyType),
2739
+ State: (0, smithy_client_1.expectString)(output.State),
2740
2740
  Tags: output.Tags !== undefined && output.Tags !== null
2741
2741
  ? deserializeAws_restJson1TagMap(output.Tags, context)
2742
2742
  : undefined,
2743
- VpcId: smithy_client_1.expectString(output.VpcId),
2743
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
2744
2744
  };
2745
2745
  };
2746
2746
  const deserializeAws_restJson1CidrBlocks = (output, context) => {
@@ -2750,7 +2750,7 @@ const deserializeAws_restJson1CidrBlocks = (output, context) => {
2750
2750
  if (entry === null) {
2751
2751
  return null;
2752
2752
  }
2753
- return smithy_client_1.expectString(entry);
2753
+ return (0, smithy_client_1.expectString)(entry);
2754
2754
  });
2755
2755
  return retVal;
2756
2756
  };
@@ -2767,43 +2767,43 @@ const deserializeAws_restJson1EnvironmentSummaries = (output, context) => {
2767
2767
  };
2768
2768
  const deserializeAws_restJson1EnvironmentSummary = (output, context) => {
2769
2769
  return {
2770
- Arn: smithy_client_1.expectString(output.Arn),
2770
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2771
2771
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
2772
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
2772
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
2773
2773
  : undefined,
2774
- Description: smithy_client_1.expectString(output.Description),
2775
- EnvironmentId: smithy_client_1.expectString(output.EnvironmentId),
2774
+ Description: (0, smithy_client_1.expectString)(output.Description),
2775
+ EnvironmentId: (0, smithy_client_1.expectString)(output.EnvironmentId),
2776
2776
  Error: output.Error !== undefined && output.Error !== null
2777
2777
  ? deserializeAws_restJson1ErrorResponse(output.Error, context)
2778
2778
  : undefined,
2779
2779
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
2780
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
2780
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
2781
2781
  : undefined,
2782
- Name: smithy_client_1.expectString(output.Name),
2783
- NetworkFabricType: smithy_client_1.expectString(output.NetworkFabricType),
2784
- OwnerAccountId: smithy_client_1.expectString(output.OwnerAccountId),
2785
- State: smithy_client_1.expectString(output.State),
2782
+ Name: (0, smithy_client_1.expectString)(output.Name),
2783
+ NetworkFabricType: (0, smithy_client_1.expectString)(output.NetworkFabricType),
2784
+ OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
2785
+ State: (0, smithy_client_1.expectString)(output.State),
2786
2786
  Tags: output.Tags !== undefined && output.Tags !== null
2787
2787
  ? deserializeAws_restJson1TagMap(output.Tags, context)
2788
2788
  : undefined,
2789
- TransitGatewayId: smithy_client_1.expectString(output.TransitGatewayId),
2789
+ TransitGatewayId: (0, smithy_client_1.expectString)(output.TransitGatewayId),
2790
2790
  };
2791
2791
  };
2792
2792
  const deserializeAws_restJson1EnvironmentVpc = (output, context) => {
2793
2793
  return {
2794
- AccountId: smithy_client_1.expectString(output.AccountId),
2794
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2795
2795
  CidrBlocks: output.CidrBlocks !== undefined && output.CidrBlocks !== null
2796
2796
  ? deserializeAws_restJson1CidrBlocks(output.CidrBlocks, context)
2797
2797
  : undefined,
2798
2798
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
2799
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
2799
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
2800
2800
  : undefined,
2801
- EnvironmentId: smithy_client_1.expectString(output.EnvironmentId),
2801
+ EnvironmentId: (0, smithy_client_1.expectString)(output.EnvironmentId),
2802
2802
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
2803
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
2803
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
2804
2804
  : undefined,
2805
- VpcId: smithy_client_1.expectString(output.VpcId),
2806
- VpcName: smithy_client_1.expectString(output.VpcName),
2805
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
2806
+ VpcName: (0, smithy_client_1.expectString)(output.VpcName),
2807
2807
  };
2808
2808
  };
2809
2809
  const deserializeAws_restJson1EnvironmentVpcs = (output, context) => {
@@ -2819,14 +2819,14 @@ const deserializeAws_restJson1EnvironmentVpcs = (output, context) => {
2819
2819
  };
2820
2820
  const deserializeAws_restJson1ErrorResponse = (output, context) => {
2821
2821
  return {
2822
- AccountId: smithy_client_1.expectString(output.AccountId),
2822
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2823
2823
  AdditionalDetails: output.AdditionalDetails !== undefined && output.AdditionalDetails !== null
2824
2824
  ? deserializeAws_restJson1AdditionalDetails(output.AdditionalDetails, context)
2825
2825
  : undefined,
2826
- Code: smithy_client_1.expectString(output.Code),
2827
- Message: smithy_client_1.expectString(output.Message),
2828
- ResourceIdentifier: smithy_client_1.expectString(output.ResourceIdentifier),
2829
- ResourceType: smithy_client_1.expectString(output.ResourceType),
2826
+ Code: (0, smithy_client_1.expectString)(output.Code),
2827
+ Message: (0, smithy_client_1.expectString)(output.Message),
2828
+ ResourceIdentifier: (0, smithy_client_1.expectString)(output.ResourceIdentifier),
2829
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
2830
2830
  };
2831
2831
  };
2832
2832
  const deserializeAws_restJson1HttpMethods = (output, context) => {
@@ -2836,23 +2836,23 @@ const deserializeAws_restJson1HttpMethods = (output, context) => {
2836
2836
  if (entry === null) {
2837
2837
  return null;
2838
2838
  }
2839
- return smithy_client_1.expectString(entry);
2839
+ return (0, smithy_client_1.expectString)(entry);
2840
2840
  });
2841
2841
  return retVal;
2842
2842
  };
2843
2843
  const deserializeAws_restJson1LambdaEndpointConfig = (output, context) => {
2844
2844
  return {
2845
- Arn: smithy_client_1.expectString(output.Arn),
2845
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2846
2846
  };
2847
2847
  };
2848
2848
  const deserializeAws_restJson1LambdaEndpointInput = (output, context) => {
2849
2849
  return {
2850
- Arn: smithy_client_1.expectString(output.Arn),
2850
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2851
2851
  };
2852
2852
  };
2853
2853
  const deserializeAws_restJson1LambdaEndpointSummary = (output, context) => {
2854
2854
  return {
2855
- Arn: smithy_client_1.expectString(output.Arn),
2855
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2856
2856
  };
2857
2857
  };
2858
2858
  const deserializeAws_restJson1PathResourceToId = (output, context) => {
@@ -2862,7 +2862,7 @@ const deserializeAws_restJson1PathResourceToId = (output, context) => {
2862
2862
  }
2863
2863
  return {
2864
2864
  ...acc,
2865
- [key]: smithy_client_1.expectString(value),
2865
+ [key]: (0, smithy_client_1.expectString)(value),
2866
2866
  };
2867
2867
  }, {});
2868
2868
  };
@@ -2879,32 +2879,32 @@ const deserializeAws_restJson1RouteSummaries = (output, context) => {
2879
2879
  };
2880
2880
  const deserializeAws_restJson1RouteSummary = (output, context) => {
2881
2881
  return {
2882
- ApplicationId: smithy_client_1.expectString(output.ApplicationId),
2883
- Arn: smithy_client_1.expectString(output.Arn),
2884
- CreatedByAccountId: smithy_client_1.expectString(output.CreatedByAccountId),
2882
+ ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
2883
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2884
+ CreatedByAccountId: (0, smithy_client_1.expectString)(output.CreatedByAccountId),
2885
2885
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
2886
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
2886
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
2887
2887
  : undefined,
2888
- EnvironmentId: smithy_client_1.expectString(output.EnvironmentId),
2888
+ EnvironmentId: (0, smithy_client_1.expectString)(output.EnvironmentId),
2889
2889
  Error: output.Error !== undefined && output.Error !== null
2890
2890
  ? deserializeAws_restJson1ErrorResponse(output.Error, context)
2891
2891
  : undefined,
2892
- IncludeChildPaths: smithy_client_1.expectBoolean(output.IncludeChildPaths),
2892
+ IncludeChildPaths: (0, smithy_client_1.expectBoolean)(output.IncludeChildPaths),
2893
2893
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
2894
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
2894
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
2895
2895
  : undefined,
2896
2896
  Methods: output.Methods !== undefined && output.Methods !== null
2897
2897
  ? deserializeAws_restJson1HttpMethods(output.Methods, context)
2898
2898
  : undefined,
2899
- OwnerAccountId: smithy_client_1.expectString(output.OwnerAccountId),
2899
+ OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
2900
2900
  PathResourceToId: output.PathResourceToId !== undefined && output.PathResourceToId !== null
2901
2901
  ? deserializeAws_restJson1PathResourceToId(output.PathResourceToId, context)
2902
2902
  : undefined,
2903
- RouteId: smithy_client_1.expectString(output.RouteId),
2904
- RouteType: smithy_client_1.expectString(output.RouteType),
2905
- ServiceId: smithy_client_1.expectString(output.ServiceId),
2906
- SourcePath: smithy_client_1.expectString(output.SourcePath),
2907
- State: smithy_client_1.expectString(output.State),
2903
+ RouteId: (0, smithy_client_1.expectString)(output.RouteId),
2904
+ RouteType: (0, smithy_client_1.expectString)(output.RouteType),
2905
+ ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
2906
+ SourcePath: (0, smithy_client_1.expectString)(output.SourcePath),
2907
+ State: (0, smithy_client_1.expectString)(output.State),
2908
2908
  Tags: output.Tags !== undefined && output.Tags !== null
2909
2909
  ? deserializeAws_restJson1TagMap(output.Tags, context)
2910
2910
  : undefined,
@@ -2923,15 +2923,15 @@ const deserializeAws_restJson1ServiceSummaries = (output, context) => {
2923
2923
  };
2924
2924
  const deserializeAws_restJson1ServiceSummary = (output, context) => {
2925
2925
  return {
2926
- ApplicationId: smithy_client_1.expectString(output.ApplicationId),
2927
- Arn: smithy_client_1.expectString(output.Arn),
2928
- CreatedByAccountId: smithy_client_1.expectString(output.CreatedByAccountId),
2926
+ ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
2927
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2928
+ CreatedByAccountId: (0, smithy_client_1.expectString)(output.CreatedByAccountId),
2929
2929
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
2930
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
2930
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
2931
2931
  : undefined,
2932
- Description: smithy_client_1.expectString(output.Description),
2933
- EndpointType: smithy_client_1.expectString(output.EndpointType),
2934
- EnvironmentId: smithy_client_1.expectString(output.EnvironmentId),
2932
+ Description: (0, smithy_client_1.expectString)(output.Description),
2933
+ EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
2934
+ EnvironmentId: (0, smithy_client_1.expectString)(output.EnvironmentId),
2935
2935
  Error: output.Error !== undefined && output.Error !== null
2936
2936
  ? deserializeAws_restJson1ErrorResponse(output.Error, context)
2937
2937
  : undefined,
@@ -2939,19 +2939,19 @@ const deserializeAws_restJson1ServiceSummary = (output, context) => {
2939
2939
  ? deserializeAws_restJson1LambdaEndpointSummary(output.LambdaEndpoint, context)
2940
2940
  : undefined,
2941
2941
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
2942
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
2942
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
2943
2943
  : undefined,
2944
- Name: smithy_client_1.expectString(output.Name),
2945
- OwnerAccountId: smithy_client_1.expectString(output.OwnerAccountId),
2946
- ServiceId: smithy_client_1.expectString(output.ServiceId),
2947
- State: smithy_client_1.expectString(output.State),
2944
+ Name: (0, smithy_client_1.expectString)(output.Name),
2945
+ OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
2946
+ ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
2947
+ State: (0, smithy_client_1.expectString)(output.State),
2948
2948
  Tags: output.Tags !== undefined && output.Tags !== null
2949
2949
  ? deserializeAws_restJson1TagMap(output.Tags, context)
2950
2950
  : undefined,
2951
2951
  UrlEndpoint: output.UrlEndpoint !== undefined && output.UrlEndpoint !== null
2952
2952
  ? deserializeAws_restJson1UrlEndpointSummary(output.UrlEndpoint, context)
2953
2953
  : undefined,
2954
- VpcId: smithy_client_1.expectString(output.VpcId),
2954
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
2955
2955
  };
2956
2956
  };
2957
2957
  const deserializeAws_restJson1TagMap = (output, context) => {
@@ -2961,36 +2961,36 @@ const deserializeAws_restJson1TagMap = (output, context) => {
2961
2961
  }
2962
2962
  return {
2963
2963
  ...acc,
2964
- [key]: smithy_client_1.expectString(value),
2964
+ [key]: (0, smithy_client_1.expectString)(value),
2965
2965
  };
2966
2966
  }, {});
2967
2967
  };
2968
2968
  const deserializeAws_restJson1UriPathRouteInput = (output, context) => {
2969
2969
  return {
2970
- ActivationState: smithy_client_1.expectString(output.ActivationState),
2971
- IncludeChildPaths: smithy_client_1.expectBoolean(output.IncludeChildPaths),
2970
+ ActivationState: (0, smithy_client_1.expectString)(output.ActivationState),
2971
+ IncludeChildPaths: (0, smithy_client_1.expectBoolean)(output.IncludeChildPaths),
2972
2972
  Methods: output.Methods !== undefined && output.Methods !== null
2973
2973
  ? deserializeAws_restJson1HttpMethods(output.Methods, context)
2974
2974
  : undefined,
2975
- SourcePath: smithy_client_1.expectString(output.SourcePath),
2975
+ SourcePath: (0, smithy_client_1.expectString)(output.SourcePath),
2976
2976
  };
2977
2977
  };
2978
2978
  const deserializeAws_restJson1UrlEndpointConfig = (output, context) => {
2979
2979
  return {
2980
- HealthUrl: smithy_client_1.expectString(output.HealthUrl),
2981
- Url: smithy_client_1.expectString(output.Url),
2980
+ HealthUrl: (0, smithy_client_1.expectString)(output.HealthUrl),
2981
+ Url: (0, smithy_client_1.expectString)(output.Url),
2982
2982
  };
2983
2983
  };
2984
2984
  const deserializeAws_restJson1UrlEndpointInput = (output, context) => {
2985
2985
  return {
2986
- HealthUrl: smithy_client_1.expectString(output.HealthUrl),
2987
- Url: smithy_client_1.expectString(output.Url),
2986
+ HealthUrl: (0, smithy_client_1.expectString)(output.HealthUrl),
2987
+ Url: (0, smithy_client_1.expectString)(output.Url),
2988
2988
  };
2989
2989
  };
2990
2990
  const deserializeAws_restJson1UrlEndpointSummary = (output, context) => {
2991
2991
  return {
2992
- HealthUrl: smithy_client_1.expectString(output.HealthUrl),
2993
- Url: smithy_client_1.expectString(output.Url),
2992
+ HealthUrl: (0, smithy_client_1.expectString)(output.HealthUrl),
2993
+ Url: (0, smithy_client_1.expectString)(output.Url),
2994
2994
  };
2995
2995
  };
2996
2996
  const deserializeMetadata = (output) => {