@aws-sdk/client-apigatewayv2 3.53.0 → 3.55.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 (90) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/ApiGatewayV2Client.js +13 -13
  3. package/dist-cjs/commands/CreateApiCommand.js +3 -3
  4. package/dist-cjs/commands/CreateApiMappingCommand.js +3 -3
  5. package/dist-cjs/commands/CreateAuthorizerCommand.js +3 -3
  6. package/dist-cjs/commands/CreateDeploymentCommand.js +3 -3
  7. package/dist-cjs/commands/CreateDomainNameCommand.js +3 -3
  8. package/dist-cjs/commands/CreateIntegrationCommand.js +3 -3
  9. package/dist-cjs/commands/CreateIntegrationResponseCommand.js +3 -3
  10. package/dist-cjs/commands/CreateModelCommand.js +3 -3
  11. package/dist-cjs/commands/CreateRouteCommand.js +3 -3
  12. package/dist-cjs/commands/CreateRouteResponseCommand.js +3 -3
  13. package/dist-cjs/commands/CreateStageCommand.js +3 -3
  14. package/dist-cjs/commands/CreateVpcLinkCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteAccessLogSettingsCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteApiCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteApiMappingCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteAuthorizerCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteCorsConfigurationCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteDeploymentCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteDomainNameCommand.js +3 -3
  22. package/dist-cjs/commands/DeleteIntegrationCommand.js +3 -3
  23. package/dist-cjs/commands/DeleteIntegrationResponseCommand.js +3 -3
  24. package/dist-cjs/commands/DeleteModelCommand.js +3 -3
  25. package/dist-cjs/commands/DeleteRouteCommand.js +3 -3
  26. package/dist-cjs/commands/DeleteRouteRequestParameterCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteRouteResponseCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteRouteSettingsCommand.js +3 -3
  29. package/dist-cjs/commands/DeleteStageCommand.js +3 -3
  30. package/dist-cjs/commands/DeleteVpcLinkCommand.js +3 -3
  31. package/dist-cjs/commands/ExportApiCommand.js +3 -3
  32. package/dist-cjs/commands/GetApiCommand.js +3 -3
  33. package/dist-cjs/commands/GetApiMappingCommand.js +3 -3
  34. package/dist-cjs/commands/GetApiMappingsCommand.js +3 -3
  35. package/dist-cjs/commands/GetApisCommand.js +3 -3
  36. package/dist-cjs/commands/GetAuthorizerCommand.js +3 -3
  37. package/dist-cjs/commands/GetAuthorizersCommand.js +3 -3
  38. package/dist-cjs/commands/GetDeploymentCommand.js +3 -3
  39. package/dist-cjs/commands/GetDeploymentsCommand.js +3 -3
  40. package/dist-cjs/commands/GetDomainNameCommand.js +3 -3
  41. package/dist-cjs/commands/GetDomainNamesCommand.js +3 -3
  42. package/dist-cjs/commands/GetIntegrationCommand.js +3 -3
  43. package/dist-cjs/commands/GetIntegrationResponseCommand.js +3 -3
  44. package/dist-cjs/commands/GetIntegrationResponsesCommand.js +3 -3
  45. package/dist-cjs/commands/GetIntegrationsCommand.js +3 -3
  46. package/dist-cjs/commands/GetModelCommand.js +3 -3
  47. package/dist-cjs/commands/GetModelTemplateCommand.js +3 -3
  48. package/dist-cjs/commands/GetModelsCommand.js +3 -3
  49. package/dist-cjs/commands/GetRouteCommand.js +3 -3
  50. package/dist-cjs/commands/GetRouteResponseCommand.js +3 -3
  51. package/dist-cjs/commands/GetRouteResponsesCommand.js +3 -3
  52. package/dist-cjs/commands/GetRoutesCommand.js +3 -3
  53. package/dist-cjs/commands/GetStageCommand.js +3 -3
  54. package/dist-cjs/commands/GetStagesCommand.js +3 -3
  55. package/dist-cjs/commands/GetTagsCommand.js +3 -3
  56. package/dist-cjs/commands/GetVpcLinkCommand.js +3 -3
  57. package/dist-cjs/commands/GetVpcLinksCommand.js +3 -3
  58. package/dist-cjs/commands/ImportApiCommand.js +3 -3
  59. package/dist-cjs/commands/ReimportApiCommand.js +3 -3
  60. package/dist-cjs/commands/ResetAuthorizersCacheCommand.js +3 -3
  61. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  62. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  63. package/dist-cjs/commands/UpdateApiCommand.js +3 -3
  64. package/dist-cjs/commands/UpdateApiMappingCommand.js +3 -3
  65. package/dist-cjs/commands/UpdateAuthorizerCommand.js +3 -3
  66. package/dist-cjs/commands/UpdateDeploymentCommand.js +3 -3
  67. package/dist-cjs/commands/UpdateDomainNameCommand.js +3 -3
  68. package/dist-cjs/commands/UpdateIntegrationCommand.js +3 -3
  69. package/dist-cjs/commands/UpdateIntegrationResponseCommand.js +3 -3
  70. package/dist-cjs/commands/UpdateModelCommand.js +3 -3
  71. package/dist-cjs/commands/UpdateRouteCommand.js +3 -3
  72. package/dist-cjs/commands/UpdateRouteResponseCommand.js +3 -3
  73. package/dist-cjs/commands/UpdateStageCommand.js +3 -3
  74. package/dist-cjs/commands/UpdateVpcLinkCommand.js +3 -3
  75. package/dist-cjs/endpoints.js +1 -1
  76. package/dist-cjs/protocols/Aws_restJson1.js +665 -665
  77. package/dist-cjs/runtimeConfig.browser.js +4 -4
  78. package/dist-cjs/runtimeConfig.js +9 -9
  79. package/dist-cjs/runtimeConfig.native.js +1 -1
  80. package/dist-es/ApiGatewayV2.js +72 -72
  81. package/dist-es/protocols/Aws_restJson1.js +72 -72
  82. package/dist-types/ApiGatewayV2Client.d.ts +2 -2
  83. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  84. package/dist-types/runtimeConfig.d.ts +1 -1
  85. package/dist-types/runtimeConfig.native.d.ts +3 -3
  86. package/dist-types/ts3.4/ApiGatewayV2Client.d.ts +2 -2
  87. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  88. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  89. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  90. package/package.json +34 -34
@@ -59,7 +59,7 @@ const serializeAws_restJson1CreateApiMappingCommand = async (input, context) =>
59
59
  if (labelValue.length <= 0) {
60
60
  throw new Error("Empty value provided for input HTTP label: DomainName.");
61
61
  }
62
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
62
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
63
63
  }
64
64
  else {
65
65
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -92,7 +92,7 @@ const serializeAws_restJson1CreateAuthorizerCommand = async (input, context) =>
92
92
  if (labelValue.length <= 0) {
93
93
  throw new Error("Empty value provided for input HTTP label: ApiId.");
94
94
  }
95
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
95
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
96
96
  }
97
97
  else {
98
98
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -150,7 +150,7 @@ const serializeAws_restJson1CreateDeploymentCommand = async (input, context) =>
150
150
  if (labelValue.length <= 0) {
151
151
  throw new Error("Empty value provided for input HTTP label: ApiId.");
152
152
  }
153
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
153
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
154
154
  }
155
155
  else {
156
156
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -212,7 +212,7 @@ const serializeAws_restJson1CreateIntegrationCommand = async (input, context) =>
212
212
  if (labelValue.length <= 0) {
213
213
  throw new Error("Empty value provided for input HTTP label: ApiId.");
214
214
  }
215
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
215
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
216
216
  }
217
217
  else {
218
218
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -281,7 +281,7 @@ const serializeAws_restJson1CreateIntegrationResponseCommand = async (input, con
281
281
  if (labelValue.length <= 0) {
282
282
  throw new Error("Empty value provided for input HTTP label: ApiId.");
283
283
  }
284
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
284
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
285
285
  }
286
286
  else {
287
287
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -291,7 +291,7 @@ const serializeAws_restJson1CreateIntegrationResponseCommand = async (input, con
291
291
  if (labelValue.length <= 0) {
292
292
  throw new Error("Empty value provided for input HTTP label: IntegrationId.");
293
293
  }
294
- resolvedPath = resolvedPath.replace("{IntegrationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
294
+ resolvedPath = resolvedPath.replace("{IntegrationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
295
295
  }
296
296
  else {
297
297
  throw new Error("No value provided for input HTTP label: IntegrationId.");
@@ -335,7 +335,7 @@ const serializeAws_restJson1CreateModelCommand = async (input, context) => {
335
335
  if (labelValue.length <= 0) {
336
336
  throw new Error("Empty value provided for input HTTP label: ApiId.");
337
337
  }
338
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
338
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
339
339
  }
340
340
  else {
341
341
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -369,7 +369,7 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => {
369
369
  if (labelValue.length <= 0) {
370
370
  throw new Error("Empty value provided for input HTTP label: ApiId.");
371
371
  }
372
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
372
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
373
373
  }
374
374
  else {
375
375
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -426,7 +426,7 @@ const serializeAws_restJson1CreateRouteResponseCommand = async (input, context)
426
426
  if (labelValue.length <= 0) {
427
427
  throw new Error("Empty value provided for input HTTP label: ApiId.");
428
428
  }
429
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
429
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
430
430
  }
431
431
  else {
432
432
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -436,7 +436,7 @@ const serializeAws_restJson1CreateRouteResponseCommand = async (input, context)
436
436
  if (labelValue.length <= 0) {
437
437
  throw new Error("Empty value provided for input HTTP label: RouteId.");
438
438
  }
439
- resolvedPath = resolvedPath.replace("{RouteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
439
+ resolvedPath = resolvedPath.replace("{RouteId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
440
440
  }
441
441
  else {
442
442
  throw new Error("No value provided for input HTTP label: RouteId.");
@@ -478,7 +478,7 @@ const serializeAws_restJson1CreateStageCommand = async (input, context) => {
478
478
  if (labelValue.length <= 0) {
479
479
  throw new Error("Empty value provided for input HTTP label: ApiId.");
480
480
  }
481
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
481
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
482
482
  }
483
483
  else {
484
484
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -558,7 +558,7 @@ const serializeAws_restJson1DeleteAccessLogSettingsCommand = async (input, conte
558
558
  if (labelValue.length <= 0) {
559
559
  throw new Error("Empty value provided for input HTTP label: ApiId.");
560
560
  }
561
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
561
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
562
562
  }
563
563
  else {
564
564
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -568,7 +568,7 @@ const serializeAws_restJson1DeleteAccessLogSettingsCommand = async (input, conte
568
568
  if (labelValue.length <= 0) {
569
569
  throw new Error("Empty value provided for input HTTP label: StageName.");
570
570
  }
571
- resolvedPath = resolvedPath.replace("{StageName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
571
+ resolvedPath = resolvedPath.replace("{StageName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
572
572
  }
573
573
  else {
574
574
  throw new Error("No value provided for input HTTP label: StageName.");
@@ -594,7 +594,7 @@ const serializeAws_restJson1DeleteApiCommand = async (input, context) => {
594
594
  if (labelValue.length <= 0) {
595
595
  throw new Error("Empty value provided for input HTTP label: ApiId.");
596
596
  }
597
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
597
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
598
598
  }
599
599
  else {
600
600
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -621,7 +621,7 @@ const serializeAws_restJson1DeleteApiMappingCommand = async (input, context) =>
621
621
  if (labelValue.length <= 0) {
622
622
  throw new Error("Empty value provided for input HTTP label: ApiMappingId.");
623
623
  }
624
- resolvedPath = resolvedPath.replace("{ApiMappingId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
624
+ resolvedPath = resolvedPath.replace("{ApiMappingId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
625
625
  }
626
626
  else {
627
627
  throw new Error("No value provided for input HTTP label: ApiMappingId.");
@@ -631,7 +631,7 @@ const serializeAws_restJson1DeleteApiMappingCommand = async (input, context) =>
631
631
  if (labelValue.length <= 0) {
632
632
  throw new Error("Empty value provided for input HTTP label: DomainName.");
633
633
  }
634
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
634
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
635
635
  }
636
636
  else {
637
637
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -658,7 +658,7 @@ const serializeAws_restJson1DeleteAuthorizerCommand = async (input, context) =>
658
658
  if (labelValue.length <= 0) {
659
659
  throw new Error("Empty value provided for input HTTP label: ApiId.");
660
660
  }
661
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
661
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
662
662
  }
663
663
  else {
664
664
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -668,7 +668,7 @@ const serializeAws_restJson1DeleteAuthorizerCommand = async (input, context) =>
668
668
  if (labelValue.length <= 0) {
669
669
  throw new Error("Empty value provided for input HTTP label: AuthorizerId.");
670
670
  }
671
- resolvedPath = resolvedPath.replace("{AuthorizerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
671
+ resolvedPath = resolvedPath.replace("{AuthorizerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
672
672
  }
673
673
  else {
674
674
  throw new Error("No value provided for input HTTP label: AuthorizerId.");
@@ -694,7 +694,7 @@ const serializeAws_restJson1DeleteCorsConfigurationCommand = async (input, conte
694
694
  if (labelValue.length <= 0) {
695
695
  throw new Error("Empty value provided for input HTTP label: ApiId.");
696
696
  }
697
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
697
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
698
698
  }
699
699
  else {
700
700
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -721,7 +721,7 @@ const serializeAws_restJson1DeleteDeploymentCommand = async (input, context) =>
721
721
  if (labelValue.length <= 0) {
722
722
  throw new Error("Empty value provided for input HTTP label: ApiId.");
723
723
  }
724
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
724
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
725
725
  }
726
726
  else {
727
727
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -731,7 +731,7 @@ const serializeAws_restJson1DeleteDeploymentCommand = async (input, context) =>
731
731
  if (labelValue.length <= 0) {
732
732
  throw new Error("Empty value provided for input HTTP label: DeploymentId.");
733
733
  }
734
- resolvedPath = resolvedPath.replace("{DeploymentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
734
+ resolvedPath = resolvedPath.replace("{DeploymentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
735
735
  }
736
736
  else {
737
737
  throw new Error("No value provided for input HTTP label: DeploymentId.");
@@ -757,7 +757,7 @@ const serializeAws_restJson1DeleteDomainNameCommand = async (input, context) =>
757
757
  if (labelValue.length <= 0) {
758
758
  throw new Error("Empty value provided for input HTTP label: DomainName.");
759
759
  }
760
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
760
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
761
761
  }
762
762
  else {
763
763
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -784,7 +784,7 @@ const serializeAws_restJson1DeleteIntegrationCommand = async (input, context) =>
784
784
  if (labelValue.length <= 0) {
785
785
  throw new Error("Empty value provided for input HTTP label: ApiId.");
786
786
  }
787
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
787
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
788
788
  }
789
789
  else {
790
790
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -794,7 +794,7 @@ const serializeAws_restJson1DeleteIntegrationCommand = async (input, context) =>
794
794
  if (labelValue.length <= 0) {
795
795
  throw new Error("Empty value provided for input HTTP label: IntegrationId.");
796
796
  }
797
- resolvedPath = resolvedPath.replace("{IntegrationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
797
+ resolvedPath = resolvedPath.replace("{IntegrationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
798
798
  }
799
799
  else {
800
800
  throw new Error("No value provided for input HTTP label: IntegrationId.");
@@ -821,7 +821,7 @@ const serializeAws_restJson1DeleteIntegrationResponseCommand = async (input, con
821
821
  if (labelValue.length <= 0) {
822
822
  throw new Error("Empty value provided for input HTTP label: ApiId.");
823
823
  }
824
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
824
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
825
825
  }
826
826
  else {
827
827
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -831,7 +831,7 @@ const serializeAws_restJson1DeleteIntegrationResponseCommand = async (input, con
831
831
  if (labelValue.length <= 0) {
832
832
  throw new Error("Empty value provided for input HTTP label: IntegrationId.");
833
833
  }
834
- resolvedPath = resolvedPath.replace("{IntegrationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
834
+ resolvedPath = resolvedPath.replace("{IntegrationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
835
835
  }
836
836
  else {
837
837
  throw new Error("No value provided for input HTTP label: IntegrationId.");
@@ -841,7 +841,7 @@ const serializeAws_restJson1DeleteIntegrationResponseCommand = async (input, con
841
841
  if (labelValue.length <= 0) {
842
842
  throw new Error("Empty value provided for input HTTP label: IntegrationResponseId.");
843
843
  }
844
- resolvedPath = resolvedPath.replace("{IntegrationResponseId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
844
+ resolvedPath = resolvedPath.replace("{IntegrationResponseId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
845
845
  }
846
846
  else {
847
847
  throw new Error("No value provided for input HTTP label: IntegrationResponseId.");
@@ -867,7 +867,7 @@ const serializeAws_restJson1DeleteModelCommand = async (input, context) => {
867
867
  if (labelValue.length <= 0) {
868
868
  throw new Error("Empty value provided for input HTTP label: ApiId.");
869
869
  }
870
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
870
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
871
871
  }
872
872
  else {
873
873
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -877,7 +877,7 @@ const serializeAws_restJson1DeleteModelCommand = async (input, context) => {
877
877
  if (labelValue.length <= 0) {
878
878
  throw new Error("Empty value provided for input HTTP label: ModelId.");
879
879
  }
880
- resolvedPath = resolvedPath.replace("{ModelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
880
+ resolvedPath = resolvedPath.replace("{ModelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
881
881
  }
882
882
  else {
883
883
  throw new Error("No value provided for input HTTP label: ModelId.");
@@ -903,7 +903,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => {
903
903
  if (labelValue.length <= 0) {
904
904
  throw new Error("Empty value provided for input HTTP label: ApiId.");
905
905
  }
906
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
906
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
907
907
  }
908
908
  else {
909
909
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -913,7 +913,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => {
913
913
  if (labelValue.length <= 0) {
914
914
  throw new Error("Empty value provided for input HTTP label: RouteId.");
915
915
  }
916
- resolvedPath = resolvedPath.replace("{RouteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
916
+ resolvedPath = resolvedPath.replace("{RouteId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
917
917
  }
918
918
  else {
919
919
  throw new Error("No value provided for input HTTP label: RouteId.");
@@ -940,7 +940,7 @@ const serializeAws_restJson1DeleteRouteRequestParameterCommand = async (input, c
940
940
  if (labelValue.length <= 0) {
941
941
  throw new Error("Empty value provided for input HTTP label: ApiId.");
942
942
  }
943
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
943
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
944
944
  }
945
945
  else {
946
946
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -950,7 +950,7 @@ const serializeAws_restJson1DeleteRouteRequestParameterCommand = async (input, c
950
950
  if (labelValue.length <= 0) {
951
951
  throw new Error("Empty value provided for input HTTP label: RequestParameterKey.");
952
952
  }
953
- resolvedPath = resolvedPath.replace("{RequestParameterKey}", smithy_client_1.extendedEncodeURIComponent(labelValue));
953
+ resolvedPath = resolvedPath.replace("{RequestParameterKey}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
954
954
  }
955
955
  else {
956
956
  throw new Error("No value provided for input HTTP label: RequestParameterKey.");
@@ -960,7 +960,7 @@ const serializeAws_restJson1DeleteRouteRequestParameterCommand = async (input, c
960
960
  if (labelValue.length <= 0) {
961
961
  throw new Error("Empty value provided for input HTTP label: RouteId.");
962
962
  }
963
- resolvedPath = resolvedPath.replace("{RouteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
963
+ resolvedPath = resolvedPath.replace("{RouteId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
964
964
  }
965
965
  else {
966
966
  throw new Error("No value provided for input HTTP label: RouteId.");
@@ -987,7 +987,7 @@ const serializeAws_restJson1DeleteRouteResponseCommand = async (input, context)
987
987
  if (labelValue.length <= 0) {
988
988
  throw new Error("Empty value provided for input HTTP label: ApiId.");
989
989
  }
990
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
990
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
991
991
  }
992
992
  else {
993
993
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -997,7 +997,7 @@ const serializeAws_restJson1DeleteRouteResponseCommand = async (input, context)
997
997
  if (labelValue.length <= 0) {
998
998
  throw new Error("Empty value provided for input HTTP label: RouteId.");
999
999
  }
1000
- resolvedPath = resolvedPath.replace("{RouteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1000
+ resolvedPath = resolvedPath.replace("{RouteId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1001
1001
  }
1002
1002
  else {
1003
1003
  throw new Error("No value provided for input HTTP label: RouteId.");
@@ -1007,7 +1007,7 @@ const serializeAws_restJson1DeleteRouteResponseCommand = async (input, context)
1007
1007
  if (labelValue.length <= 0) {
1008
1008
  throw new Error("Empty value provided for input HTTP label: RouteResponseId.");
1009
1009
  }
1010
- resolvedPath = resolvedPath.replace("{RouteResponseId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1010
+ resolvedPath = resolvedPath.replace("{RouteResponseId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1011
1011
  }
1012
1012
  else {
1013
1013
  throw new Error("No value provided for input HTTP label: RouteResponseId.");
@@ -1034,7 +1034,7 @@ const serializeAws_restJson1DeleteRouteSettingsCommand = async (input, context)
1034
1034
  if (labelValue.length <= 0) {
1035
1035
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1036
1036
  }
1037
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1037
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1038
1038
  }
1039
1039
  else {
1040
1040
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1044,7 +1044,7 @@ const serializeAws_restJson1DeleteRouteSettingsCommand = async (input, context)
1044
1044
  if (labelValue.length <= 0) {
1045
1045
  throw new Error("Empty value provided for input HTTP label: RouteKey.");
1046
1046
  }
1047
- resolvedPath = resolvedPath.replace("{RouteKey}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1047
+ resolvedPath = resolvedPath.replace("{RouteKey}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1048
1048
  }
1049
1049
  else {
1050
1050
  throw new Error("No value provided for input HTTP label: RouteKey.");
@@ -1054,7 +1054,7 @@ const serializeAws_restJson1DeleteRouteSettingsCommand = async (input, context)
1054
1054
  if (labelValue.length <= 0) {
1055
1055
  throw new Error("Empty value provided for input HTTP label: StageName.");
1056
1056
  }
1057
- resolvedPath = resolvedPath.replace("{StageName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1057
+ resolvedPath = resolvedPath.replace("{StageName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1058
1058
  }
1059
1059
  else {
1060
1060
  throw new Error("No value provided for input HTTP label: StageName.");
@@ -1080,7 +1080,7 @@ const serializeAws_restJson1DeleteStageCommand = async (input, context) => {
1080
1080
  if (labelValue.length <= 0) {
1081
1081
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1082
1082
  }
1083
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1083
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1084
1084
  }
1085
1085
  else {
1086
1086
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1090,7 +1090,7 @@ const serializeAws_restJson1DeleteStageCommand = async (input, context) => {
1090
1090
  if (labelValue.length <= 0) {
1091
1091
  throw new Error("Empty value provided for input HTTP label: StageName.");
1092
1092
  }
1093
- resolvedPath = resolvedPath.replace("{StageName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1093
+ resolvedPath = resolvedPath.replace("{StageName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1094
1094
  }
1095
1095
  else {
1096
1096
  throw new Error("No value provided for input HTTP label: StageName.");
@@ -1116,7 +1116,7 @@ const serializeAws_restJson1DeleteVpcLinkCommand = async (input, context) => {
1116
1116
  if (labelValue.length <= 0) {
1117
1117
  throw new Error("Empty value provided for input HTTP label: VpcLinkId.");
1118
1118
  }
1119
- resolvedPath = resolvedPath.replace("{VpcLinkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1119
+ resolvedPath = resolvedPath.replace("{VpcLinkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1120
1120
  }
1121
1121
  else {
1122
1122
  throw new Error("No value provided for input HTTP label: VpcLinkId.");
@@ -1142,7 +1142,7 @@ const serializeAws_restJson1ExportApiCommand = async (input, context) => {
1142
1142
  if (labelValue.length <= 0) {
1143
1143
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1144
1144
  }
1145
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1145
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1146
1146
  }
1147
1147
  else {
1148
1148
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1152,7 +1152,7 @@ const serializeAws_restJson1ExportApiCommand = async (input, context) => {
1152
1152
  if (labelValue.length <= 0) {
1153
1153
  throw new Error("Empty value provided for input HTTP label: Specification.");
1154
1154
  }
1155
- resolvedPath = resolvedPath.replace("{Specification}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1155
+ resolvedPath = resolvedPath.replace("{Specification}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1156
1156
  }
1157
1157
  else {
1158
1158
  throw new Error("No value provided for input HTTP label: Specification.");
@@ -1185,7 +1185,7 @@ const serializeAws_restJson1GetApiCommand = async (input, context) => {
1185
1185
  if (labelValue.length <= 0) {
1186
1186
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1187
1187
  }
1188
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1188
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1189
1189
  }
1190
1190
  else {
1191
1191
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1212,7 +1212,7 @@ const serializeAws_restJson1GetApiMappingCommand = async (input, context) => {
1212
1212
  if (labelValue.length <= 0) {
1213
1213
  throw new Error("Empty value provided for input HTTP label: ApiMappingId.");
1214
1214
  }
1215
- resolvedPath = resolvedPath.replace("{ApiMappingId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1215
+ resolvedPath = resolvedPath.replace("{ApiMappingId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1216
1216
  }
1217
1217
  else {
1218
1218
  throw new Error("No value provided for input HTTP label: ApiMappingId.");
@@ -1222,7 +1222,7 @@ const serializeAws_restJson1GetApiMappingCommand = async (input, context) => {
1222
1222
  if (labelValue.length <= 0) {
1223
1223
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1224
1224
  }
1225
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1225
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1226
1226
  }
1227
1227
  else {
1228
1228
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1248,7 +1248,7 @@ const serializeAws_restJson1GetApiMappingsCommand = async (input, context) => {
1248
1248
  if (labelValue.length <= 0) {
1249
1249
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1250
1250
  }
1251
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1251
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1252
1252
  }
1253
1253
  else {
1254
1254
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1301,7 +1301,7 @@ const serializeAws_restJson1GetAuthorizerCommand = async (input, context) => {
1301
1301
  if (labelValue.length <= 0) {
1302
1302
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1303
1303
  }
1304
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1304
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1305
1305
  }
1306
1306
  else {
1307
1307
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1311,7 +1311,7 @@ const serializeAws_restJson1GetAuthorizerCommand = async (input, context) => {
1311
1311
  if (labelValue.length <= 0) {
1312
1312
  throw new Error("Empty value provided for input HTTP label: AuthorizerId.");
1313
1313
  }
1314
- resolvedPath = resolvedPath.replace("{AuthorizerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1314
+ resolvedPath = resolvedPath.replace("{AuthorizerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1315
1315
  }
1316
1316
  else {
1317
1317
  throw new Error("No value provided for input HTTP label: AuthorizerId.");
@@ -1337,7 +1337,7 @@ const serializeAws_restJson1GetAuthorizersCommand = async (input, context) => {
1337
1337
  if (labelValue.length <= 0) {
1338
1338
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1339
1339
  }
1340
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1340
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1341
1341
  }
1342
1342
  else {
1343
1343
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1369,7 +1369,7 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
1369
1369
  if (labelValue.length <= 0) {
1370
1370
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1371
1371
  }
1372
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1372
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1373
1373
  }
1374
1374
  else {
1375
1375
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1379,7 +1379,7 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
1379
1379
  if (labelValue.length <= 0) {
1380
1380
  throw new Error("Empty value provided for input HTTP label: DeploymentId.");
1381
1381
  }
1382
- resolvedPath = resolvedPath.replace("{DeploymentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1382
+ resolvedPath = resolvedPath.replace("{DeploymentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1383
1383
  }
1384
1384
  else {
1385
1385
  throw new Error("No value provided for input HTTP label: DeploymentId.");
@@ -1405,7 +1405,7 @@ const serializeAws_restJson1GetDeploymentsCommand = async (input, context) => {
1405
1405
  if (labelValue.length <= 0) {
1406
1406
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1407
1407
  }
1408
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1408
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1409
1409
  }
1410
1410
  else {
1411
1411
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1436,7 +1436,7 @@ const serializeAws_restJson1GetDomainNameCommand = async (input, context) => {
1436
1436
  if (labelValue.length <= 0) {
1437
1437
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1438
1438
  }
1439
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1439
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1440
1440
  }
1441
1441
  else {
1442
1442
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1484,7 +1484,7 @@ const serializeAws_restJson1GetIntegrationCommand = async (input, context) => {
1484
1484
  if (labelValue.length <= 0) {
1485
1485
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1486
1486
  }
1487
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1487
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1488
1488
  }
1489
1489
  else {
1490
1490
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1494,7 +1494,7 @@ const serializeAws_restJson1GetIntegrationCommand = async (input, context) => {
1494
1494
  if (labelValue.length <= 0) {
1495
1495
  throw new Error("Empty value provided for input HTTP label: IntegrationId.");
1496
1496
  }
1497
- resolvedPath = resolvedPath.replace("{IntegrationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1497
+ resolvedPath = resolvedPath.replace("{IntegrationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1498
1498
  }
1499
1499
  else {
1500
1500
  throw new Error("No value provided for input HTTP label: IntegrationId.");
@@ -1521,7 +1521,7 @@ const serializeAws_restJson1GetIntegrationResponseCommand = async (input, contex
1521
1521
  if (labelValue.length <= 0) {
1522
1522
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1523
1523
  }
1524
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1524
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1525
1525
  }
1526
1526
  else {
1527
1527
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1531,7 +1531,7 @@ const serializeAws_restJson1GetIntegrationResponseCommand = async (input, contex
1531
1531
  if (labelValue.length <= 0) {
1532
1532
  throw new Error("Empty value provided for input HTTP label: IntegrationId.");
1533
1533
  }
1534
- resolvedPath = resolvedPath.replace("{IntegrationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1534
+ resolvedPath = resolvedPath.replace("{IntegrationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1535
1535
  }
1536
1536
  else {
1537
1537
  throw new Error("No value provided for input HTTP label: IntegrationId.");
@@ -1541,7 +1541,7 @@ const serializeAws_restJson1GetIntegrationResponseCommand = async (input, contex
1541
1541
  if (labelValue.length <= 0) {
1542
1542
  throw new Error("Empty value provided for input HTTP label: IntegrationResponseId.");
1543
1543
  }
1544
- resolvedPath = resolvedPath.replace("{IntegrationResponseId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1544
+ resolvedPath = resolvedPath.replace("{IntegrationResponseId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1545
1545
  }
1546
1546
  else {
1547
1547
  throw new Error("No value provided for input HTTP label: IntegrationResponseId.");
@@ -1568,7 +1568,7 @@ const serializeAws_restJson1GetIntegrationResponsesCommand = async (input, conte
1568
1568
  if (labelValue.length <= 0) {
1569
1569
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1570
1570
  }
1571
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1571
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1572
1572
  }
1573
1573
  else {
1574
1574
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1578,7 +1578,7 @@ const serializeAws_restJson1GetIntegrationResponsesCommand = async (input, conte
1578
1578
  if (labelValue.length <= 0) {
1579
1579
  throw new Error("Empty value provided for input HTTP label: IntegrationId.");
1580
1580
  }
1581
- resolvedPath = resolvedPath.replace("{IntegrationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1581
+ resolvedPath = resolvedPath.replace("{IntegrationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1582
1582
  }
1583
1583
  else {
1584
1584
  throw new Error("No value provided for input HTTP label: IntegrationId.");
@@ -1609,7 +1609,7 @@ const serializeAws_restJson1GetIntegrationsCommand = async (input, context) => {
1609
1609
  if (labelValue.length <= 0) {
1610
1610
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1611
1611
  }
1612
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1612
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1613
1613
  }
1614
1614
  else {
1615
1615
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1640,7 +1640,7 @@ const serializeAws_restJson1GetModelCommand = async (input, context) => {
1640
1640
  if (labelValue.length <= 0) {
1641
1641
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1642
1642
  }
1643
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1643
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1644
1644
  }
1645
1645
  else {
1646
1646
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1650,7 +1650,7 @@ const serializeAws_restJson1GetModelCommand = async (input, context) => {
1650
1650
  if (labelValue.length <= 0) {
1651
1651
  throw new Error("Empty value provided for input HTTP label: ModelId.");
1652
1652
  }
1653
- resolvedPath = resolvedPath.replace("{ModelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1653
+ resolvedPath = resolvedPath.replace("{ModelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1654
1654
  }
1655
1655
  else {
1656
1656
  throw new Error("No value provided for input HTTP label: ModelId.");
@@ -1676,7 +1676,7 @@ const serializeAws_restJson1GetModelsCommand = async (input, context) => {
1676
1676
  if (labelValue.length <= 0) {
1677
1677
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1678
1678
  }
1679
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1679
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1680
1680
  }
1681
1681
  else {
1682
1682
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1708,7 +1708,7 @@ const serializeAws_restJson1GetModelTemplateCommand = async (input, context) =>
1708
1708
  if (labelValue.length <= 0) {
1709
1709
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1710
1710
  }
1711
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1711
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1712
1712
  }
1713
1713
  else {
1714
1714
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1718,7 +1718,7 @@ const serializeAws_restJson1GetModelTemplateCommand = async (input, context) =>
1718
1718
  if (labelValue.length <= 0) {
1719
1719
  throw new Error("Empty value provided for input HTTP label: ModelId.");
1720
1720
  }
1721
- resolvedPath = resolvedPath.replace("{ModelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1721
+ resolvedPath = resolvedPath.replace("{ModelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1722
1722
  }
1723
1723
  else {
1724
1724
  throw new Error("No value provided for input HTTP label: ModelId.");
@@ -1744,7 +1744,7 @@ const serializeAws_restJson1GetRouteCommand = async (input, context) => {
1744
1744
  if (labelValue.length <= 0) {
1745
1745
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1746
1746
  }
1747
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1747
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1748
1748
  }
1749
1749
  else {
1750
1750
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1754,7 +1754,7 @@ const serializeAws_restJson1GetRouteCommand = async (input, context) => {
1754
1754
  if (labelValue.length <= 0) {
1755
1755
  throw new Error("Empty value provided for input HTTP label: RouteId.");
1756
1756
  }
1757
- resolvedPath = resolvedPath.replace("{RouteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1757
+ resolvedPath = resolvedPath.replace("{RouteId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1758
1758
  }
1759
1759
  else {
1760
1760
  throw new Error("No value provided for input HTTP label: RouteId.");
@@ -1781,7 +1781,7 @@ const serializeAws_restJson1GetRouteResponseCommand = async (input, context) =>
1781
1781
  if (labelValue.length <= 0) {
1782
1782
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1783
1783
  }
1784
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1784
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1785
1785
  }
1786
1786
  else {
1787
1787
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1791,7 +1791,7 @@ const serializeAws_restJson1GetRouteResponseCommand = async (input, context) =>
1791
1791
  if (labelValue.length <= 0) {
1792
1792
  throw new Error("Empty value provided for input HTTP label: RouteId.");
1793
1793
  }
1794
- resolvedPath = resolvedPath.replace("{RouteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1794
+ resolvedPath = resolvedPath.replace("{RouteId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1795
1795
  }
1796
1796
  else {
1797
1797
  throw new Error("No value provided for input HTTP label: RouteId.");
@@ -1801,7 +1801,7 @@ const serializeAws_restJson1GetRouteResponseCommand = async (input, context) =>
1801
1801
  if (labelValue.length <= 0) {
1802
1802
  throw new Error("Empty value provided for input HTTP label: RouteResponseId.");
1803
1803
  }
1804
- resolvedPath = resolvedPath.replace("{RouteResponseId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1804
+ resolvedPath = resolvedPath.replace("{RouteResponseId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1805
1805
  }
1806
1806
  else {
1807
1807
  throw new Error("No value provided for input HTTP label: RouteResponseId.");
@@ -1828,7 +1828,7 @@ const serializeAws_restJson1GetRouteResponsesCommand = async (input, context) =>
1828
1828
  if (labelValue.length <= 0) {
1829
1829
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1830
1830
  }
1831
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1831
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1832
1832
  }
1833
1833
  else {
1834
1834
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1838,7 +1838,7 @@ const serializeAws_restJson1GetRouteResponsesCommand = async (input, context) =>
1838
1838
  if (labelValue.length <= 0) {
1839
1839
  throw new Error("Empty value provided for input HTTP label: RouteId.");
1840
1840
  }
1841
- resolvedPath = resolvedPath.replace("{RouteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1841
+ resolvedPath = resolvedPath.replace("{RouteId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1842
1842
  }
1843
1843
  else {
1844
1844
  throw new Error("No value provided for input HTTP label: RouteId.");
@@ -1869,7 +1869,7 @@ const serializeAws_restJson1GetRoutesCommand = async (input, context) => {
1869
1869
  if (labelValue.length <= 0) {
1870
1870
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1871
1871
  }
1872
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1872
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1873
1873
  }
1874
1874
  else {
1875
1875
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1900,7 +1900,7 @@ const serializeAws_restJson1GetStageCommand = async (input, context) => {
1900
1900
  if (labelValue.length <= 0) {
1901
1901
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1902
1902
  }
1903
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1903
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1904
1904
  }
1905
1905
  else {
1906
1906
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1910,7 +1910,7 @@ const serializeAws_restJson1GetStageCommand = async (input, context) => {
1910
1910
  if (labelValue.length <= 0) {
1911
1911
  throw new Error("Empty value provided for input HTTP label: StageName.");
1912
1912
  }
1913
- resolvedPath = resolvedPath.replace("{StageName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1913
+ resolvedPath = resolvedPath.replace("{StageName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1914
1914
  }
1915
1915
  else {
1916
1916
  throw new Error("No value provided for input HTTP label: StageName.");
@@ -1936,7 +1936,7 @@ const serializeAws_restJson1GetStagesCommand = async (input, context) => {
1936
1936
  if (labelValue.length <= 0) {
1937
1937
  throw new Error("Empty value provided for input HTTP label: ApiId.");
1938
1938
  }
1939
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1939
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1940
1940
  }
1941
1941
  else {
1942
1942
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -1967,7 +1967,7 @@ const serializeAws_restJson1GetTagsCommand = async (input, context) => {
1967
1967
  if (labelValue.length <= 0) {
1968
1968
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
1969
1969
  }
1970
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1970
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1971
1971
  }
1972
1972
  else {
1973
1973
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -1993,7 +1993,7 @@ const serializeAws_restJson1GetVpcLinkCommand = async (input, context) => {
1993
1993
  if (labelValue.length <= 0) {
1994
1994
  throw new Error("Empty value provided for input HTTP label: VpcLinkId.");
1995
1995
  }
1996
- resolvedPath = resolvedPath.replace("{VpcLinkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1996
+ resolvedPath = resolvedPath.replace("{VpcLinkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1997
1997
  }
1998
1998
  else {
1999
1999
  throw new Error("No value provided for input HTTP label: VpcLinkId.");
@@ -2068,7 +2068,7 @@ const serializeAws_restJson1ReimportApiCommand = async (input, context) => {
2068
2068
  if (labelValue.length <= 0) {
2069
2069
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2070
2070
  }
2071
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2071
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2072
2072
  }
2073
2073
  else {
2074
2074
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2103,7 +2103,7 @@ const serializeAws_restJson1ResetAuthorizersCacheCommand = async (input, context
2103
2103
  if (labelValue.length <= 0) {
2104
2104
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2105
2105
  }
2106
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2106
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2107
2107
  }
2108
2108
  else {
2109
2109
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2113,7 +2113,7 @@ const serializeAws_restJson1ResetAuthorizersCacheCommand = async (input, context
2113
2113
  if (labelValue.length <= 0) {
2114
2114
  throw new Error("Empty value provided for input HTTP label: StageName.");
2115
2115
  }
2116
- resolvedPath = resolvedPath.replace("{StageName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2116
+ resolvedPath = resolvedPath.replace("{StageName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2117
2117
  }
2118
2118
  else {
2119
2119
  throw new Error("No value provided for input HTTP label: StageName.");
@@ -2141,7 +2141,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
2141
2141
  if (labelValue.length <= 0) {
2142
2142
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
2143
2143
  }
2144
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2144
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2145
2145
  }
2146
2146
  else {
2147
2147
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -2170,7 +2170,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
2170
2170
  if (labelValue.length <= 0) {
2171
2171
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
2172
2172
  }
2173
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2173
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2174
2174
  }
2175
2175
  else {
2176
2176
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -2202,7 +2202,7 @@ const serializeAws_restJson1UpdateApiCommand = async (input, context) => {
2202
2202
  if (labelValue.length <= 0) {
2203
2203
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2204
2204
  }
2205
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2205
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2206
2206
  }
2207
2207
  else {
2208
2208
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2252,7 +2252,7 @@ const serializeAws_restJson1UpdateApiMappingCommand = async (input, context) =>
2252
2252
  if (labelValue.length <= 0) {
2253
2253
  throw new Error("Empty value provided for input HTTP label: ApiMappingId.");
2254
2254
  }
2255
- resolvedPath = resolvedPath.replace("{ApiMappingId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2255
+ resolvedPath = resolvedPath.replace("{ApiMappingId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2256
2256
  }
2257
2257
  else {
2258
2258
  throw new Error("No value provided for input HTTP label: ApiMappingId.");
@@ -2262,7 +2262,7 @@ const serializeAws_restJson1UpdateApiMappingCommand = async (input, context) =>
2262
2262
  if (labelValue.length <= 0) {
2263
2263
  throw new Error("Empty value provided for input HTTP label: DomainName.");
2264
2264
  }
2265
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2265
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2266
2266
  }
2267
2267
  else {
2268
2268
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -2296,7 +2296,7 @@ const serializeAws_restJson1UpdateAuthorizerCommand = async (input, context) =>
2296
2296
  if (labelValue.length <= 0) {
2297
2297
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2298
2298
  }
2299
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2299
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2300
2300
  }
2301
2301
  else {
2302
2302
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2306,7 +2306,7 @@ const serializeAws_restJson1UpdateAuthorizerCommand = async (input, context) =>
2306
2306
  if (labelValue.length <= 0) {
2307
2307
  throw new Error("Empty value provided for input HTTP label: AuthorizerId.");
2308
2308
  }
2309
- resolvedPath = resolvedPath.replace("{AuthorizerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2309
+ resolvedPath = resolvedPath.replace("{AuthorizerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2310
2310
  }
2311
2311
  else {
2312
2312
  throw new Error("No value provided for input HTTP label: AuthorizerId.");
@@ -2365,7 +2365,7 @@ const serializeAws_restJson1UpdateDeploymentCommand = async (input, context) =>
2365
2365
  if (labelValue.length <= 0) {
2366
2366
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2367
2367
  }
2368
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2368
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2369
2369
  }
2370
2370
  else {
2371
2371
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2375,7 +2375,7 @@ const serializeAws_restJson1UpdateDeploymentCommand = async (input, context) =>
2375
2375
  if (labelValue.length <= 0) {
2376
2376
  throw new Error("Empty value provided for input HTTP label: DeploymentId.");
2377
2377
  }
2378
- resolvedPath = resolvedPath.replace("{DeploymentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2378
+ resolvedPath = resolvedPath.replace("{DeploymentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2379
2379
  }
2380
2380
  else {
2381
2381
  throw new Error("No value provided for input HTTP label: DeploymentId.");
@@ -2406,7 +2406,7 @@ const serializeAws_restJson1UpdateDomainNameCommand = async (input, context) =>
2406
2406
  if (labelValue.length <= 0) {
2407
2407
  throw new Error("Empty value provided for input HTTP label: DomainName.");
2408
2408
  }
2409
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2409
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2410
2410
  }
2411
2411
  else {
2412
2412
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -2445,7 +2445,7 @@ const serializeAws_restJson1UpdateIntegrationCommand = async (input, context) =>
2445
2445
  if (labelValue.length <= 0) {
2446
2446
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2447
2447
  }
2448
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2448
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2449
2449
  }
2450
2450
  else {
2451
2451
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2455,7 +2455,7 @@ const serializeAws_restJson1UpdateIntegrationCommand = async (input, context) =>
2455
2455
  if (labelValue.length <= 0) {
2456
2456
  throw new Error("Empty value provided for input HTTP label: IntegrationId.");
2457
2457
  }
2458
- resolvedPath = resolvedPath.replace("{IntegrationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2458
+ resolvedPath = resolvedPath.replace("{IntegrationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2459
2459
  }
2460
2460
  else {
2461
2461
  throw new Error("No value provided for input HTTP label: IntegrationId.");
@@ -2524,7 +2524,7 @@ const serializeAws_restJson1UpdateIntegrationResponseCommand = async (input, con
2524
2524
  if (labelValue.length <= 0) {
2525
2525
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2526
2526
  }
2527
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2527
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2528
2528
  }
2529
2529
  else {
2530
2530
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2534,7 +2534,7 @@ const serializeAws_restJson1UpdateIntegrationResponseCommand = async (input, con
2534
2534
  if (labelValue.length <= 0) {
2535
2535
  throw new Error("Empty value provided for input HTTP label: IntegrationId.");
2536
2536
  }
2537
- resolvedPath = resolvedPath.replace("{IntegrationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2537
+ resolvedPath = resolvedPath.replace("{IntegrationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2538
2538
  }
2539
2539
  else {
2540
2540
  throw new Error("No value provided for input HTTP label: IntegrationId.");
@@ -2544,7 +2544,7 @@ const serializeAws_restJson1UpdateIntegrationResponseCommand = async (input, con
2544
2544
  if (labelValue.length <= 0) {
2545
2545
  throw new Error("Empty value provided for input HTTP label: IntegrationResponseId.");
2546
2546
  }
2547
- resolvedPath = resolvedPath.replace("{IntegrationResponseId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2547
+ resolvedPath = resolvedPath.replace("{IntegrationResponseId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2548
2548
  }
2549
2549
  else {
2550
2550
  throw new Error("No value provided for input HTTP label: IntegrationResponseId.");
@@ -2588,7 +2588,7 @@ const serializeAws_restJson1UpdateModelCommand = async (input, context) => {
2588
2588
  if (labelValue.length <= 0) {
2589
2589
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2590
2590
  }
2591
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2591
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2592
2592
  }
2593
2593
  else {
2594
2594
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2598,7 +2598,7 @@ const serializeAws_restJson1UpdateModelCommand = async (input, context) => {
2598
2598
  if (labelValue.length <= 0) {
2599
2599
  throw new Error("Empty value provided for input HTTP label: ModelId.");
2600
2600
  }
2601
- resolvedPath = resolvedPath.replace("{ModelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2601
+ resolvedPath = resolvedPath.replace("{ModelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2602
2602
  }
2603
2603
  else {
2604
2604
  throw new Error("No value provided for input HTTP label: ModelId.");
@@ -2632,7 +2632,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => {
2632
2632
  if (labelValue.length <= 0) {
2633
2633
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2634
2634
  }
2635
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2635
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2636
2636
  }
2637
2637
  else {
2638
2638
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2642,7 +2642,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => {
2642
2642
  if (labelValue.length <= 0) {
2643
2643
  throw new Error("Empty value provided for input HTTP label: RouteId.");
2644
2644
  }
2645
- resolvedPath = resolvedPath.replace("{RouteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2645
+ resolvedPath = resolvedPath.replace("{RouteId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2646
2646
  }
2647
2647
  else {
2648
2648
  throw new Error("No value provided for input HTTP label: RouteId.");
@@ -2699,7 +2699,7 @@ const serializeAws_restJson1UpdateRouteResponseCommand = async (input, context)
2699
2699
  if (labelValue.length <= 0) {
2700
2700
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2701
2701
  }
2702
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2702
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2703
2703
  }
2704
2704
  else {
2705
2705
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2709,7 +2709,7 @@ const serializeAws_restJson1UpdateRouteResponseCommand = async (input, context)
2709
2709
  if (labelValue.length <= 0) {
2710
2710
  throw new Error("Empty value provided for input HTTP label: RouteId.");
2711
2711
  }
2712
- resolvedPath = resolvedPath.replace("{RouteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2712
+ resolvedPath = resolvedPath.replace("{RouteId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2713
2713
  }
2714
2714
  else {
2715
2715
  throw new Error("No value provided for input HTTP label: RouteId.");
@@ -2719,7 +2719,7 @@ const serializeAws_restJson1UpdateRouteResponseCommand = async (input, context)
2719
2719
  if (labelValue.length <= 0) {
2720
2720
  throw new Error("Empty value provided for input HTTP label: RouteResponseId.");
2721
2721
  }
2722
- resolvedPath = resolvedPath.replace("{RouteResponseId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2722
+ resolvedPath = resolvedPath.replace("{RouteResponseId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2723
2723
  }
2724
2724
  else {
2725
2725
  throw new Error("No value provided for input HTTP label: RouteResponseId.");
@@ -2761,7 +2761,7 @@ const serializeAws_restJson1UpdateStageCommand = async (input, context) => {
2761
2761
  if (labelValue.length <= 0) {
2762
2762
  throw new Error("Empty value provided for input HTTP label: ApiId.");
2763
2763
  }
2764
- resolvedPath = resolvedPath.replace("{ApiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2764
+ resolvedPath = resolvedPath.replace("{ApiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2765
2765
  }
2766
2766
  else {
2767
2767
  throw new Error("No value provided for input HTTP label: ApiId.");
@@ -2771,7 +2771,7 @@ const serializeAws_restJson1UpdateStageCommand = async (input, context) => {
2771
2771
  if (labelValue.length <= 0) {
2772
2772
  throw new Error("Empty value provided for input HTTP label: StageName.");
2773
2773
  }
2774
- resolvedPath = resolvedPath.replace("{StageName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2774
+ resolvedPath = resolvedPath.replace("{StageName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2775
2775
  }
2776
2776
  else {
2777
2777
  throw new Error("No value provided for input HTTP label: StageName.");
@@ -2822,7 +2822,7 @@ const serializeAws_restJson1UpdateVpcLinkCommand = async (input, context) => {
2822
2822
  if (labelValue.length <= 0) {
2823
2823
  throw new Error("Empty value provided for input HTTP label: VpcLinkId.");
2824
2824
  }
2825
- resolvedPath = resolvedPath.replace("{VpcLinkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2825
+ resolvedPath = resolvedPath.replace("{VpcLinkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2826
2826
  }
2827
2827
  else {
2828
2828
  throw new Error("No value provided for input HTTP label: VpcLinkId.");
@@ -2865,51 +2865,51 @@ const deserializeAws_restJson1CreateApiCommand = async (output, context) => {
2865
2865
  Version: undefined,
2866
2866
  Warnings: undefined,
2867
2867
  };
2868
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2868
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2869
2869
  if (data.apiEndpoint !== undefined && data.apiEndpoint !== null) {
2870
- contents.ApiEndpoint = smithy_client_1.expectString(data.apiEndpoint);
2870
+ contents.ApiEndpoint = (0, smithy_client_1.expectString)(data.apiEndpoint);
2871
2871
  }
2872
2872
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
2873
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
2873
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
2874
2874
  }
2875
2875
  if (data.apiId !== undefined && data.apiId !== null) {
2876
- contents.ApiId = smithy_client_1.expectString(data.apiId);
2876
+ contents.ApiId = (0, smithy_client_1.expectString)(data.apiId);
2877
2877
  }
2878
2878
  if (data.apiKeySelectionExpression !== undefined && data.apiKeySelectionExpression !== null) {
2879
- contents.ApiKeySelectionExpression = smithy_client_1.expectString(data.apiKeySelectionExpression);
2879
+ contents.ApiKeySelectionExpression = (0, smithy_client_1.expectString)(data.apiKeySelectionExpression);
2880
2880
  }
2881
2881
  if (data.corsConfiguration !== undefined && data.corsConfiguration !== null) {
2882
2882
  contents.CorsConfiguration = deserializeAws_restJson1Cors(data.corsConfiguration, context);
2883
2883
  }
2884
2884
  if (data.createdDate !== undefined && data.createdDate !== null) {
2885
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
2885
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
2886
2886
  }
2887
2887
  if (data.description !== undefined && data.description !== null) {
2888
- contents.Description = smithy_client_1.expectString(data.description);
2888
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
2889
2889
  }
2890
2890
  if (data.disableExecuteApiEndpoint !== undefined && data.disableExecuteApiEndpoint !== null) {
2891
- contents.DisableExecuteApiEndpoint = smithy_client_1.expectBoolean(data.disableExecuteApiEndpoint);
2891
+ contents.DisableExecuteApiEndpoint = (0, smithy_client_1.expectBoolean)(data.disableExecuteApiEndpoint);
2892
2892
  }
2893
2893
  if (data.disableSchemaValidation !== undefined && data.disableSchemaValidation !== null) {
2894
- contents.DisableSchemaValidation = smithy_client_1.expectBoolean(data.disableSchemaValidation);
2894
+ contents.DisableSchemaValidation = (0, smithy_client_1.expectBoolean)(data.disableSchemaValidation);
2895
2895
  }
2896
2896
  if (data.importInfo !== undefined && data.importInfo !== null) {
2897
2897
  contents.ImportInfo = deserializeAws_restJson1__listOf__string(data.importInfo, context);
2898
2898
  }
2899
2899
  if (data.name !== undefined && data.name !== null) {
2900
- contents.Name = smithy_client_1.expectString(data.name);
2900
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
2901
2901
  }
2902
2902
  if (data.protocolType !== undefined && data.protocolType !== null) {
2903
- contents.ProtocolType = smithy_client_1.expectString(data.protocolType);
2903
+ contents.ProtocolType = (0, smithy_client_1.expectString)(data.protocolType);
2904
2904
  }
2905
2905
  if (data.routeSelectionExpression !== undefined && data.routeSelectionExpression !== null) {
2906
- contents.RouteSelectionExpression = smithy_client_1.expectString(data.routeSelectionExpression);
2906
+ contents.RouteSelectionExpression = (0, smithy_client_1.expectString)(data.routeSelectionExpression);
2907
2907
  }
2908
2908
  if (data.tags !== undefined && data.tags !== null) {
2909
2909
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2910
2910
  }
2911
2911
  if (data.version !== undefined && data.version !== null) {
2912
- contents.Version = smithy_client_1.expectString(data.version);
2912
+ contents.Version = (0, smithy_client_1.expectString)(data.version);
2913
2913
  }
2914
2914
  if (data.warnings !== undefined && data.warnings !== null) {
2915
2915
  contents.Warnings = deserializeAws_restJson1__listOf__string(data.warnings, context);
@@ -2945,7 +2945,7 @@ const deserializeAws_restJson1CreateApiCommandError = async (output, context) =>
2945
2945
  $fault: "client",
2946
2946
  $metadata: deserializeMetadata(output),
2947
2947
  });
2948
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2948
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2949
2949
  }
2950
2950
  };
2951
2951
  const deserializeAws_restJson1CreateApiMappingCommand = async (output, context) => {
@@ -2959,18 +2959,18 @@ const deserializeAws_restJson1CreateApiMappingCommand = async (output, context)
2959
2959
  ApiMappingKey: undefined,
2960
2960
  Stage: undefined,
2961
2961
  };
2962
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2962
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2963
2963
  if (data.apiId !== undefined && data.apiId !== null) {
2964
- contents.ApiId = smithy_client_1.expectString(data.apiId);
2964
+ contents.ApiId = (0, smithy_client_1.expectString)(data.apiId);
2965
2965
  }
2966
2966
  if (data.apiMappingId !== undefined && data.apiMappingId !== null) {
2967
- contents.ApiMappingId = smithy_client_1.expectString(data.apiMappingId);
2967
+ contents.ApiMappingId = (0, smithy_client_1.expectString)(data.apiMappingId);
2968
2968
  }
2969
2969
  if (data.apiMappingKey !== undefined && data.apiMappingKey !== null) {
2970
- contents.ApiMappingKey = smithy_client_1.expectString(data.apiMappingKey);
2970
+ contents.ApiMappingKey = (0, smithy_client_1.expectString)(data.apiMappingKey);
2971
2971
  }
2972
2972
  if (data.stage !== undefined && data.stage !== null) {
2973
- contents.Stage = smithy_client_1.expectString(data.stage);
2973
+ contents.Stage = (0, smithy_client_1.expectString)(data.stage);
2974
2974
  }
2975
2975
  return Promise.resolve(contents);
2976
2976
  };
@@ -3003,7 +3003,7 @@ const deserializeAws_restJson1CreateApiMappingCommandError = async (output, cont
3003
3003
  $fault: "client",
3004
3004
  $metadata: deserializeMetadata(output),
3005
3005
  });
3006
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3006
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3007
3007
  }
3008
3008
  };
3009
3009
  const deserializeAws_restJson1CreateAuthorizerCommand = async (output, context) => {
@@ -3024,39 +3024,39 @@ const deserializeAws_restJson1CreateAuthorizerCommand = async (output, context)
3024
3024
  JwtConfiguration: undefined,
3025
3025
  Name: undefined,
3026
3026
  };
3027
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3027
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3028
3028
  if (data.authorizerCredentialsArn !== undefined && data.authorizerCredentialsArn !== null) {
3029
- contents.AuthorizerCredentialsArn = smithy_client_1.expectString(data.authorizerCredentialsArn);
3029
+ contents.AuthorizerCredentialsArn = (0, smithy_client_1.expectString)(data.authorizerCredentialsArn);
3030
3030
  }
3031
3031
  if (data.authorizerId !== undefined && data.authorizerId !== null) {
3032
- contents.AuthorizerId = smithy_client_1.expectString(data.authorizerId);
3032
+ contents.AuthorizerId = (0, smithy_client_1.expectString)(data.authorizerId);
3033
3033
  }
3034
3034
  if (data.authorizerPayloadFormatVersion !== undefined && data.authorizerPayloadFormatVersion !== null) {
3035
- contents.AuthorizerPayloadFormatVersion = smithy_client_1.expectString(data.authorizerPayloadFormatVersion);
3035
+ contents.AuthorizerPayloadFormatVersion = (0, smithy_client_1.expectString)(data.authorizerPayloadFormatVersion);
3036
3036
  }
3037
3037
  if (data.authorizerResultTtlInSeconds !== undefined && data.authorizerResultTtlInSeconds !== null) {
3038
- contents.AuthorizerResultTtlInSeconds = smithy_client_1.expectInt32(data.authorizerResultTtlInSeconds);
3038
+ contents.AuthorizerResultTtlInSeconds = (0, smithy_client_1.expectInt32)(data.authorizerResultTtlInSeconds);
3039
3039
  }
3040
3040
  if (data.authorizerType !== undefined && data.authorizerType !== null) {
3041
- contents.AuthorizerType = smithy_client_1.expectString(data.authorizerType);
3041
+ contents.AuthorizerType = (0, smithy_client_1.expectString)(data.authorizerType);
3042
3042
  }
3043
3043
  if (data.authorizerUri !== undefined && data.authorizerUri !== null) {
3044
- contents.AuthorizerUri = smithy_client_1.expectString(data.authorizerUri);
3044
+ contents.AuthorizerUri = (0, smithy_client_1.expectString)(data.authorizerUri);
3045
3045
  }
3046
3046
  if (data.enableSimpleResponses !== undefined && data.enableSimpleResponses !== null) {
3047
- contents.EnableSimpleResponses = smithy_client_1.expectBoolean(data.enableSimpleResponses);
3047
+ contents.EnableSimpleResponses = (0, smithy_client_1.expectBoolean)(data.enableSimpleResponses);
3048
3048
  }
3049
3049
  if (data.identitySource !== undefined && data.identitySource !== null) {
3050
3050
  contents.IdentitySource = deserializeAws_restJson1IdentitySourceList(data.identitySource, context);
3051
3051
  }
3052
3052
  if (data.identityValidationExpression !== undefined && data.identityValidationExpression !== null) {
3053
- contents.IdentityValidationExpression = smithy_client_1.expectString(data.identityValidationExpression);
3053
+ contents.IdentityValidationExpression = (0, smithy_client_1.expectString)(data.identityValidationExpression);
3054
3054
  }
3055
3055
  if (data.jwtConfiguration !== undefined && data.jwtConfiguration !== null) {
3056
3056
  contents.JwtConfiguration = deserializeAws_restJson1JWTConfiguration(data.jwtConfiguration, context);
3057
3057
  }
3058
3058
  if (data.name !== undefined && data.name !== null) {
3059
- contents.Name = smithy_client_1.expectString(data.name);
3059
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
3060
3060
  }
3061
3061
  return Promise.resolve(contents);
3062
3062
  };
@@ -3089,7 +3089,7 @@ const deserializeAws_restJson1CreateAuthorizerCommandError = async (output, cont
3089
3089
  $fault: "client",
3090
3090
  $metadata: deserializeMetadata(output),
3091
3091
  });
3092
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3092
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3093
3093
  }
3094
3094
  };
3095
3095
  const deserializeAws_restJson1CreateDeploymentCommand = async (output, context) => {
@@ -3105,24 +3105,24 @@ const deserializeAws_restJson1CreateDeploymentCommand = async (output, context)
3105
3105
  DeploymentStatusMessage: undefined,
3106
3106
  Description: undefined,
3107
3107
  };
3108
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3108
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3109
3109
  if (data.autoDeployed !== undefined && data.autoDeployed !== null) {
3110
- contents.AutoDeployed = smithy_client_1.expectBoolean(data.autoDeployed);
3110
+ contents.AutoDeployed = (0, smithy_client_1.expectBoolean)(data.autoDeployed);
3111
3111
  }
3112
3112
  if (data.createdDate !== undefined && data.createdDate !== null) {
3113
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
3113
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
3114
3114
  }
3115
3115
  if (data.deploymentId !== undefined && data.deploymentId !== null) {
3116
- contents.DeploymentId = smithy_client_1.expectString(data.deploymentId);
3116
+ contents.DeploymentId = (0, smithy_client_1.expectString)(data.deploymentId);
3117
3117
  }
3118
3118
  if (data.deploymentStatus !== undefined && data.deploymentStatus !== null) {
3119
- contents.DeploymentStatus = smithy_client_1.expectString(data.deploymentStatus);
3119
+ contents.DeploymentStatus = (0, smithy_client_1.expectString)(data.deploymentStatus);
3120
3120
  }
3121
3121
  if (data.deploymentStatusMessage !== undefined && data.deploymentStatusMessage !== null) {
3122
- contents.DeploymentStatusMessage = smithy_client_1.expectString(data.deploymentStatusMessage);
3122
+ contents.DeploymentStatusMessage = (0, smithy_client_1.expectString)(data.deploymentStatusMessage);
3123
3123
  }
3124
3124
  if (data.description !== undefined && data.description !== null) {
3125
- contents.Description = smithy_client_1.expectString(data.description);
3125
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
3126
3126
  }
3127
3127
  return Promise.resolve(contents);
3128
3128
  };
@@ -3155,7 +3155,7 @@ const deserializeAws_restJson1CreateDeploymentCommandError = async (output, cont
3155
3155
  $fault: "client",
3156
3156
  $metadata: deserializeMetadata(output),
3157
3157
  });
3158
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3158
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3159
3159
  }
3160
3160
  };
3161
3161
  const deserializeAws_restJson1CreateDomainNameCommand = async (output, context) => {
@@ -3170,12 +3170,12 @@ const deserializeAws_restJson1CreateDomainNameCommand = async (output, context)
3170
3170
  MutualTlsAuthentication: undefined,
3171
3171
  Tags: undefined,
3172
3172
  };
3173
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3173
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3174
3174
  if (data.apiMappingSelectionExpression !== undefined && data.apiMappingSelectionExpression !== null) {
3175
- contents.ApiMappingSelectionExpression = smithy_client_1.expectString(data.apiMappingSelectionExpression);
3175
+ contents.ApiMappingSelectionExpression = (0, smithy_client_1.expectString)(data.apiMappingSelectionExpression);
3176
3176
  }
3177
3177
  if (data.domainName !== undefined && data.domainName !== null) {
3178
- contents.DomainName = smithy_client_1.expectString(data.domainName);
3178
+ contents.DomainName = (0, smithy_client_1.expectString)(data.domainName);
3179
3179
  }
3180
3180
  if (data.domainNameConfigurations !== undefined && data.domainNameConfigurations !== null) {
3181
3181
  contents.DomainNameConfigurations = deserializeAws_restJson1DomainNameConfigurations(data.domainNameConfigurations, context);
@@ -3220,7 +3220,7 @@ const deserializeAws_restJson1CreateDomainNameCommandError = async (output, cont
3220
3220
  $fault: "client",
3221
3221
  $metadata: deserializeMetadata(output),
3222
3222
  });
3223
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3223
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3224
3224
  }
3225
3225
  };
3226
3226
  const deserializeAws_restJson1CreateIntegrationCommand = async (output, context) => {
@@ -3250,49 +3250,49 @@ const deserializeAws_restJson1CreateIntegrationCommand = async (output, context)
3250
3250
  TimeoutInMillis: undefined,
3251
3251
  TlsConfig: undefined,
3252
3252
  };
3253
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3253
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3254
3254
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
3255
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
3255
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
3256
3256
  }
3257
3257
  if (data.connectionId !== undefined && data.connectionId !== null) {
3258
- contents.ConnectionId = smithy_client_1.expectString(data.connectionId);
3258
+ contents.ConnectionId = (0, smithy_client_1.expectString)(data.connectionId);
3259
3259
  }
3260
3260
  if (data.connectionType !== undefined && data.connectionType !== null) {
3261
- contents.ConnectionType = smithy_client_1.expectString(data.connectionType);
3261
+ contents.ConnectionType = (0, smithy_client_1.expectString)(data.connectionType);
3262
3262
  }
3263
3263
  if (data.contentHandlingStrategy !== undefined && data.contentHandlingStrategy !== null) {
3264
- contents.ContentHandlingStrategy = smithy_client_1.expectString(data.contentHandlingStrategy);
3264
+ contents.ContentHandlingStrategy = (0, smithy_client_1.expectString)(data.contentHandlingStrategy);
3265
3265
  }
3266
3266
  if (data.credentialsArn !== undefined && data.credentialsArn !== null) {
3267
- contents.CredentialsArn = smithy_client_1.expectString(data.credentialsArn);
3267
+ contents.CredentialsArn = (0, smithy_client_1.expectString)(data.credentialsArn);
3268
3268
  }
3269
3269
  if (data.description !== undefined && data.description !== null) {
3270
- contents.Description = smithy_client_1.expectString(data.description);
3270
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
3271
3271
  }
3272
3272
  if (data.integrationId !== undefined && data.integrationId !== null) {
3273
- contents.IntegrationId = smithy_client_1.expectString(data.integrationId);
3273
+ contents.IntegrationId = (0, smithy_client_1.expectString)(data.integrationId);
3274
3274
  }
3275
3275
  if (data.integrationMethod !== undefined && data.integrationMethod !== null) {
3276
- contents.IntegrationMethod = smithy_client_1.expectString(data.integrationMethod);
3276
+ contents.IntegrationMethod = (0, smithy_client_1.expectString)(data.integrationMethod);
3277
3277
  }
3278
3278
  if (data.integrationResponseSelectionExpression !== undefined &&
3279
3279
  data.integrationResponseSelectionExpression !== null) {
3280
- contents.IntegrationResponseSelectionExpression = smithy_client_1.expectString(data.integrationResponseSelectionExpression);
3280
+ contents.IntegrationResponseSelectionExpression = (0, smithy_client_1.expectString)(data.integrationResponseSelectionExpression);
3281
3281
  }
3282
3282
  if (data.integrationSubtype !== undefined && data.integrationSubtype !== null) {
3283
- contents.IntegrationSubtype = smithy_client_1.expectString(data.integrationSubtype);
3283
+ contents.IntegrationSubtype = (0, smithy_client_1.expectString)(data.integrationSubtype);
3284
3284
  }
3285
3285
  if (data.integrationType !== undefined && data.integrationType !== null) {
3286
- contents.IntegrationType = smithy_client_1.expectString(data.integrationType);
3286
+ contents.IntegrationType = (0, smithy_client_1.expectString)(data.integrationType);
3287
3287
  }
3288
3288
  if (data.integrationUri !== undefined && data.integrationUri !== null) {
3289
- contents.IntegrationUri = smithy_client_1.expectString(data.integrationUri);
3289
+ contents.IntegrationUri = (0, smithy_client_1.expectString)(data.integrationUri);
3290
3290
  }
3291
3291
  if (data.passthroughBehavior !== undefined && data.passthroughBehavior !== null) {
3292
- contents.PassthroughBehavior = smithy_client_1.expectString(data.passthroughBehavior);
3292
+ contents.PassthroughBehavior = (0, smithy_client_1.expectString)(data.passthroughBehavior);
3293
3293
  }
3294
3294
  if (data.payloadFormatVersion !== undefined && data.payloadFormatVersion !== null) {
3295
- contents.PayloadFormatVersion = smithy_client_1.expectString(data.payloadFormatVersion);
3295
+ contents.PayloadFormatVersion = (0, smithy_client_1.expectString)(data.payloadFormatVersion);
3296
3296
  }
3297
3297
  if (data.requestParameters !== undefined && data.requestParameters !== null) {
3298
3298
  contents.RequestParameters = deserializeAws_restJson1IntegrationParameters(data.requestParameters, context);
@@ -3304,10 +3304,10 @@ const deserializeAws_restJson1CreateIntegrationCommand = async (output, context)
3304
3304
  contents.ResponseParameters = deserializeAws_restJson1ResponseParameters(data.responseParameters, context);
3305
3305
  }
3306
3306
  if (data.templateSelectionExpression !== undefined && data.templateSelectionExpression !== null) {
3307
- contents.TemplateSelectionExpression = smithy_client_1.expectString(data.templateSelectionExpression);
3307
+ contents.TemplateSelectionExpression = (0, smithy_client_1.expectString)(data.templateSelectionExpression);
3308
3308
  }
3309
3309
  if (data.timeoutInMillis !== undefined && data.timeoutInMillis !== null) {
3310
- contents.TimeoutInMillis = smithy_client_1.expectInt32(data.timeoutInMillis);
3310
+ contents.TimeoutInMillis = (0, smithy_client_1.expectInt32)(data.timeoutInMillis);
3311
3311
  }
3312
3312
  if (data.tlsConfig !== undefined && data.tlsConfig !== null) {
3313
3313
  contents.TlsConfig = deserializeAws_restJson1TlsConfig(data.tlsConfig, context);
@@ -3343,7 +3343,7 @@ const deserializeAws_restJson1CreateIntegrationCommandError = async (output, con
3343
3343
  $fault: "client",
3344
3344
  $metadata: deserializeMetadata(output),
3345
3345
  });
3346
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3346
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3347
3347
  }
3348
3348
  };
3349
3349
  const deserializeAws_restJson1CreateIntegrationResponseCommand = async (output, context) => {
@@ -3359,15 +3359,15 @@ const deserializeAws_restJson1CreateIntegrationResponseCommand = async (output,
3359
3359
  ResponseTemplates: undefined,
3360
3360
  TemplateSelectionExpression: undefined,
3361
3361
  };
3362
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3362
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3363
3363
  if (data.contentHandlingStrategy !== undefined && data.contentHandlingStrategy !== null) {
3364
- contents.ContentHandlingStrategy = smithy_client_1.expectString(data.contentHandlingStrategy);
3364
+ contents.ContentHandlingStrategy = (0, smithy_client_1.expectString)(data.contentHandlingStrategy);
3365
3365
  }
3366
3366
  if (data.integrationResponseId !== undefined && data.integrationResponseId !== null) {
3367
- contents.IntegrationResponseId = smithy_client_1.expectString(data.integrationResponseId);
3367
+ contents.IntegrationResponseId = (0, smithy_client_1.expectString)(data.integrationResponseId);
3368
3368
  }
3369
3369
  if (data.integrationResponseKey !== undefined && data.integrationResponseKey !== null) {
3370
- contents.IntegrationResponseKey = smithy_client_1.expectString(data.integrationResponseKey);
3370
+ contents.IntegrationResponseKey = (0, smithy_client_1.expectString)(data.integrationResponseKey);
3371
3371
  }
3372
3372
  if (data.responseParameters !== undefined && data.responseParameters !== null) {
3373
3373
  contents.ResponseParameters = deserializeAws_restJson1IntegrationParameters(data.responseParameters, context);
@@ -3376,7 +3376,7 @@ const deserializeAws_restJson1CreateIntegrationResponseCommand = async (output,
3376
3376
  contents.ResponseTemplates = deserializeAws_restJson1TemplateMap(data.responseTemplates, context);
3377
3377
  }
3378
3378
  if (data.templateSelectionExpression !== undefined && data.templateSelectionExpression !== null) {
3379
- contents.TemplateSelectionExpression = smithy_client_1.expectString(data.templateSelectionExpression);
3379
+ contents.TemplateSelectionExpression = (0, smithy_client_1.expectString)(data.templateSelectionExpression);
3380
3380
  }
3381
3381
  return Promise.resolve(contents);
3382
3382
  };
@@ -3409,7 +3409,7 @@ const deserializeAws_restJson1CreateIntegrationResponseCommandError = async (out
3409
3409
  $fault: "client",
3410
3410
  $metadata: deserializeMetadata(output),
3411
3411
  });
3412
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3412
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3413
3413
  }
3414
3414
  };
3415
3415
  const deserializeAws_restJson1CreateModelCommand = async (output, context) => {
@@ -3424,21 +3424,21 @@ const deserializeAws_restJson1CreateModelCommand = async (output, context) => {
3424
3424
  Name: undefined,
3425
3425
  Schema: undefined,
3426
3426
  };
3427
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3427
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3428
3428
  if (data.contentType !== undefined && data.contentType !== null) {
3429
- contents.ContentType = smithy_client_1.expectString(data.contentType);
3429
+ contents.ContentType = (0, smithy_client_1.expectString)(data.contentType);
3430
3430
  }
3431
3431
  if (data.description !== undefined && data.description !== null) {
3432
- contents.Description = smithy_client_1.expectString(data.description);
3432
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
3433
3433
  }
3434
3434
  if (data.modelId !== undefined && data.modelId !== null) {
3435
- contents.ModelId = smithy_client_1.expectString(data.modelId);
3435
+ contents.ModelId = (0, smithy_client_1.expectString)(data.modelId);
3436
3436
  }
3437
3437
  if (data.name !== undefined && data.name !== null) {
3438
- contents.Name = smithy_client_1.expectString(data.name);
3438
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
3439
3439
  }
3440
3440
  if (data.schema !== undefined && data.schema !== null) {
3441
- contents.Schema = smithy_client_1.expectString(data.schema);
3441
+ contents.Schema = (0, smithy_client_1.expectString)(data.schema);
3442
3442
  }
3443
3443
  return Promise.resolve(contents);
3444
3444
  };
@@ -3471,7 +3471,7 @@ const deserializeAws_restJson1CreateModelCommandError = async (output, context)
3471
3471
  $fault: "client",
3472
3472
  $metadata: deserializeMetadata(output),
3473
3473
  });
3474
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3474
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3475
3475
  }
3476
3476
  };
3477
3477
  const deserializeAws_restJson1CreateRouteCommand = async (output, context) => {
@@ -3494,27 +3494,27 @@ const deserializeAws_restJson1CreateRouteCommand = async (output, context) => {
3494
3494
  RouteResponseSelectionExpression: undefined,
3495
3495
  Target: undefined,
3496
3496
  };
3497
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3497
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3498
3498
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
3499
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
3499
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
3500
3500
  }
3501
3501
  if (data.apiKeyRequired !== undefined && data.apiKeyRequired !== null) {
3502
- contents.ApiKeyRequired = smithy_client_1.expectBoolean(data.apiKeyRequired);
3502
+ contents.ApiKeyRequired = (0, smithy_client_1.expectBoolean)(data.apiKeyRequired);
3503
3503
  }
3504
3504
  if (data.authorizationScopes !== undefined && data.authorizationScopes !== null) {
3505
3505
  contents.AuthorizationScopes = deserializeAws_restJson1AuthorizationScopes(data.authorizationScopes, context);
3506
3506
  }
3507
3507
  if (data.authorizationType !== undefined && data.authorizationType !== null) {
3508
- contents.AuthorizationType = smithy_client_1.expectString(data.authorizationType);
3508
+ contents.AuthorizationType = (0, smithy_client_1.expectString)(data.authorizationType);
3509
3509
  }
3510
3510
  if (data.authorizerId !== undefined && data.authorizerId !== null) {
3511
- contents.AuthorizerId = smithy_client_1.expectString(data.authorizerId);
3511
+ contents.AuthorizerId = (0, smithy_client_1.expectString)(data.authorizerId);
3512
3512
  }
3513
3513
  if (data.modelSelectionExpression !== undefined && data.modelSelectionExpression !== null) {
3514
- contents.ModelSelectionExpression = smithy_client_1.expectString(data.modelSelectionExpression);
3514
+ contents.ModelSelectionExpression = (0, smithy_client_1.expectString)(data.modelSelectionExpression);
3515
3515
  }
3516
3516
  if (data.operationName !== undefined && data.operationName !== null) {
3517
- contents.OperationName = smithy_client_1.expectString(data.operationName);
3517
+ contents.OperationName = (0, smithy_client_1.expectString)(data.operationName);
3518
3518
  }
3519
3519
  if (data.requestModels !== undefined && data.requestModels !== null) {
3520
3520
  contents.RequestModels = deserializeAws_restJson1RouteModels(data.requestModels, context);
@@ -3523,16 +3523,16 @@ const deserializeAws_restJson1CreateRouteCommand = async (output, context) => {
3523
3523
  contents.RequestParameters = deserializeAws_restJson1RouteParameters(data.requestParameters, context);
3524
3524
  }
3525
3525
  if (data.routeId !== undefined && data.routeId !== null) {
3526
- contents.RouteId = smithy_client_1.expectString(data.routeId);
3526
+ contents.RouteId = (0, smithy_client_1.expectString)(data.routeId);
3527
3527
  }
3528
3528
  if (data.routeKey !== undefined && data.routeKey !== null) {
3529
- contents.RouteKey = smithy_client_1.expectString(data.routeKey);
3529
+ contents.RouteKey = (0, smithy_client_1.expectString)(data.routeKey);
3530
3530
  }
3531
3531
  if (data.routeResponseSelectionExpression !== undefined && data.routeResponseSelectionExpression !== null) {
3532
- contents.RouteResponseSelectionExpression = smithy_client_1.expectString(data.routeResponseSelectionExpression);
3532
+ contents.RouteResponseSelectionExpression = (0, smithy_client_1.expectString)(data.routeResponseSelectionExpression);
3533
3533
  }
3534
3534
  if (data.target !== undefined && data.target !== null) {
3535
- contents.Target = smithy_client_1.expectString(data.target);
3535
+ contents.Target = (0, smithy_client_1.expectString)(data.target);
3536
3536
  }
3537
3537
  return Promise.resolve(contents);
3538
3538
  };
@@ -3565,7 +3565,7 @@ const deserializeAws_restJson1CreateRouteCommandError = async (output, context)
3565
3565
  $fault: "client",
3566
3566
  $metadata: deserializeMetadata(output),
3567
3567
  });
3568
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3568
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3569
3569
  }
3570
3570
  };
3571
3571
  const deserializeAws_restJson1CreateRouteResponseCommand = async (output, context) => {
@@ -3580,9 +3580,9 @@ const deserializeAws_restJson1CreateRouteResponseCommand = async (output, contex
3580
3580
  RouteResponseId: undefined,
3581
3581
  RouteResponseKey: undefined,
3582
3582
  };
3583
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3583
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3584
3584
  if (data.modelSelectionExpression !== undefined && data.modelSelectionExpression !== null) {
3585
- contents.ModelSelectionExpression = smithy_client_1.expectString(data.modelSelectionExpression);
3585
+ contents.ModelSelectionExpression = (0, smithy_client_1.expectString)(data.modelSelectionExpression);
3586
3586
  }
3587
3587
  if (data.responseModels !== undefined && data.responseModels !== null) {
3588
3588
  contents.ResponseModels = deserializeAws_restJson1RouteModels(data.responseModels, context);
@@ -3591,10 +3591,10 @@ const deserializeAws_restJson1CreateRouteResponseCommand = async (output, contex
3591
3591
  contents.ResponseParameters = deserializeAws_restJson1RouteParameters(data.responseParameters, context);
3592
3592
  }
3593
3593
  if (data.routeResponseId !== undefined && data.routeResponseId !== null) {
3594
- contents.RouteResponseId = smithy_client_1.expectString(data.routeResponseId);
3594
+ contents.RouteResponseId = (0, smithy_client_1.expectString)(data.routeResponseId);
3595
3595
  }
3596
3596
  if (data.routeResponseKey !== undefined && data.routeResponseKey !== null) {
3597
- contents.RouteResponseKey = smithy_client_1.expectString(data.routeResponseKey);
3597
+ contents.RouteResponseKey = (0, smithy_client_1.expectString)(data.routeResponseKey);
3598
3598
  }
3599
3599
  return Promise.resolve(contents);
3600
3600
  };
@@ -3627,7 +3627,7 @@ const deserializeAws_restJson1CreateRouteResponseCommandError = async (output, c
3627
3627
  $fault: "client",
3628
3628
  $metadata: deserializeMetadata(output),
3629
3629
  });
3630
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3630
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3631
3631
  }
3632
3632
  };
3633
3633
  const deserializeAws_restJson1CreateStageCommand = async (output, context) => {
@@ -3651,42 +3651,42 @@ const deserializeAws_restJson1CreateStageCommand = async (output, context) => {
3651
3651
  StageVariables: undefined,
3652
3652
  Tags: undefined,
3653
3653
  };
3654
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3654
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3655
3655
  if (data.accessLogSettings !== undefined && data.accessLogSettings !== null) {
3656
3656
  contents.AccessLogSettings = deserializeAws_restJson1AccessLogSettings(data.accessLogSettings, context);
3657
3657
  }
3658
3658
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
3659
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
3659
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
3660
3660
  }
3661
3661
  if (data.autoDeploy !== undefined && data.autoDeploy !== null) {
3662
- contents.AutoDeploy = smithy_client_1.expectBoolean(data.autoDeploy);
3662
+ contents.AutoDeploy = (0, smithy_client_1.expectBoolean)(data.autoDeploy);
3663
3663
  }
3664
3664
  if (data.clientCertificateId !== undefined && data.clientCertificateId !== null) {
3665
- contents.ClientCertificateId = smithy_client_1.expectString(data.clientCertificateId);
3665
+ contents.ClientCertificateId = (0, smithy_client_1.expectString)(data.clientCertificateId);
3666
3666
  }
3667
3667
  if (data.createdDate !== undefined && data.createdDate !== null) {
3668
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
3668
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
3669
3669
  }
3670
3670
  if (data.defaultRouteSettings !== undefined && data.defaultRouteSettings !== null) {
3671
3671
  contents.DefaultRouteSettings = deserializeAws_restJson1RouteSettings(data.defaultRouteSettings, context);
3672
3672
  }
3673
3673
  if (data.deploymentId !== undefined && data.deploymentId !== null) {
3674
- contents.DeploymentId = smithy_client_1.expectString(data.deploymentId);
3674
+ contents.DeploymentId = (0, smithy_client_1.expectString)(data.deploymentId);
3675
3675
  }
3676
3676
  if (data.description !== undefined && data.description !== null) {
3677
- contents.Description = smithy_client_1.expectString(data.description);
3677
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
3678
3678
  }
3679
3679
  if (data.lastDeploymentStatusMessage !== undefined && data.lastDeploymentStatusMessage !== null) {
3680
- contents.LastDeploymentStatusMessage = smithy_client_1.expectString(data.lastDeploymentStatusMessage);
3680
+ contents.LastDeploymentStatusMessage = (0, smithy_client_1.expectString)(data.lastDeploymentStatusMessage);
3681
3681
  }
3682
3682
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
3683
- contents.LastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.lastUpdatedDate));
3683
+ contents.LastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastUpdatedDate));
3684
3684
  }
3685
3685
  if (data.routeSettings !== undefined && data.routeSettings !== null) {
3686
3686
  contents.RouteSettings = deserializeAws_restJson1RouteSettingsMap(data.routeSettings, context);
3687
3687
  }
3688
3688
  if (data.stageName !== undefined && data.stageName !== null) {
3689
- contents.StageName = smithy_client_1.expectString(data.stageName);
3689
+ contents.StageName = (0, smithy_client_1.expectString)(data.stageName);
3690
3690
  }
3691
3691
  if (data.stageVariables !== undefined && data.stageVariables !== null) {
3692
3692
  contents.StageVariables = deserializeAws_restJson1StageVariablesMap(data.stageVariables, context);
@@ -3725,7 +3725,7 @@ const deserializeAws_restJson1CreateStageCommandError = async (output, context)
3725
3725
  $fault: "client",
3726
3726
  $metadata: deserializeMetadata(output),
3727
3727
  });
3728
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3728
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3729
3729
  }
3730
3730
  };
3731
3731
  const deserializeAws_restJson1CreateVpcLinkCommand = async (output, context) => {
@@ -3744,12 +3744,12 @@ const deserializeAws_restJson1CreateVpcLinkCommand = async (output, context) =>
3744
3744
  VpcLinkStatusMessage: undefined,
3745
3745
  VpcLinkVersion: undefined,
3746
3746
  };
3747
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3747
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3748
3748
  if (data.createdDate !== undefined && data.createdDate !== null) {
3749
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
3749
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
3750
3750
  }
3751
3751
  if (data.name !== undefined && data.name !== null) {
3752
- contents.Name = smithy_client_1.expectString(data.name);
3752
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
3753
3753
  }
3754
3754
  if (data.securityGroupIds !== undefined && data.securityGroupIds !== null) {
3755
3755
  contents.SecurityGroupIds = deserializeAws_restJson1SecurityGroupIdList(data.securityGroupIds, context);
@@ -3761,16 +3761,16 @@ const deserializeAws_restJson1CreateVpcLinkCommand = async (output, context) =>
3761
3761
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
3762
3762
  }
3763
3763
  if (data.vpcLinkId !== undefined && data.vpcLinkId !== null) {
3764
- contents.VpcLinkId = smithy_client_1.expectString(data.vpcLinkId);
3764
+ contents.VpcLinkId = (0, smithy_client_1.expectString)(data.vpcLinkId);
3765
3765
  }
3766
3766
  if (data.vpcLinkStatus !== undefined && data.vpcLinkStatus !== null) {
3767
- contents.VpcLinkStatus = smithy_client_1.expectString(data.vpcLinkStatus);
3767
+ contents.VpcLinkStatus = (0, smithy_client_1.expectString)(data.vpcLinkStatus);
3768
3768
  }
3769
3769
  if (data.vpcLinkStatusMessage !== undefined && data.vpcLinkStatusMessage !== null) {
3770
- contents.VpcLinkStatusMessage = smithy_client_1.expectString(data.vpcLinkStatusMessage);
3770
+ contents.VpcLinkStatusMessage = (0, smithy_client_1.expectString)(data.vpcLinkStatusMessage);
3771
3771
  }
3772
3772
  if (data.vpcLinkVersion !== undefined && data.vpcLinkVersion !== null) {
3773
- contents.VpcLinkVersion = smithy_client_1.expectString(data.vpcLinkVersion);
3773
+ contents.VpcLinkVersion = (0, smithy_client_1.expectString)(data.vpcLinkVersion);
3774
3774
  }
3775
3775
  return Promise.resolve(contents);
3776
3776
  };
@@ -3797,7 +3797,7 @@ const deserializeAws_restJson1CreateVpcLinkCommandError = async (output, context
3797
3797
  $fault: "client",
3798
3798
  $metadata: deserializeMetadata(output),
3799
3799
  });
3800
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3800
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3801
3801
  }
3802
3802
  };
3803
3803
  const deserializeAws_restJson1DeleteAccessLogSettingsCommand = async (output, context) => {
@@ -3833,7 +3833,7 @@ const deserializeAws_restJson1DeleteAccessLogSettingsCommandError = async (outpu
3833
3833
  $fault: "client",
3834
3834
  $metadata: deserializeMetadata(output),
3835
3835
  });
3836
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3836
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3837
3837
  }
3838
3838
  };
3839
3839
  const deserializeAws_restJson1DeleteApiCommand = async (output, context) => {
@@ -3869,7 +3869,7 @@ const deserializeAws_restJson1DeleteApiCommandError = async (output, context) =>
3869
3869
  $fault: "client",
3870
3870
  $metadata: deserializeMetadata(output),
3871
3871
  });
3872
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3872
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3873
3873
  }
3874
3874
  };
3875
3875
  const deserializeAws_restJson1DeleteApiMappingCommand = async (output, context) => {
@@ -3908,7 +3908,7 @@ const deserializeAws_restJson1DeleteApiMappingCommandError = async (output, cont
3908
3908
  $fault: "client",
3909
3909
  $metadata: deserializeMetadata(output),
3910
3910
  });
3911
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3911
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3912
3912
  }
3913
3913
  };
3914
3914
  const deserializeAws_restJson1DeleteAuthorizerCommand = async (output, context) => {
@@ -3944,7 +3944,7 @@ const deserializeAws_restJson1DeleteAuthorizerCommandError = async (output, cont
3944
3944
  $fault: "client",
3945
3945
  $metadata: deserializeMetadata(output),
3946
3946
  });
3947
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3947
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3948
3948
  }
3949
3949
  };
3950
3950
  const deserializeAws_restJson1DeleteCorsConfigurationCommand = async (output, context) => {
@@ -3980,7 +3980,7 @@ const deserializeAws_restJson1DeleteCorsConfigurationCommandError = async (outpu
3980
3980
  $fault: "client",
3981
3981
  $metadata: deserializeMetadata(output),
3982
3982
  });
3983
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3983
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3984
3984
  }
3985
3985
  };
3986
3986
  const deserializeAws_restJson1DeleteDeploymentCommand = async (output, context) => {
@@ -4016,7 +4016,7 @@ const deserializeAws_restJson1DeleteDeploymentCommandError = async (output, cont
4016
4016
  $fault: "client",
4017
4017
  $metadata: deserializeMetadata(output),
4018
4018
  });
4019
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4019
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4020
4020
  }
4021
4021
  };
4022
4022
  const deserializeAws_restJson1DeleteDomainNameCommand = async (output, context) => {
@@ -4052,7 +4052,7 @@ const deserializeAws_restJson1DeleteDomainNameCommandError = async (output, cont
4052
4052
  $fault: "client",
4053
4053
  $metadata: deserializeMetadata(output),
4054
4054
  });
4055
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4055
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4056
4056
  }
4057
4057
  };
4058
4058
  const deserializeAws_restJson1DeleteIntegrationCommand = async (output, context) => {
@@ -4088,7 +4088,7 @@ const deserializeAws_restJson1DeleteIntegrationCommandError = async (output, con
4088
4088
  $fault: "client",
4089
4089
  $metadata: deserializeMetadata(output),
4090
4090
  });
4091
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4091
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4092
4092
  }
4093
4093
  };
4094
4094
  const deserializeAws_restJson1DeleteIntegrationResponseCommand = async (output, context) => {
@@ -4124,7 +4124,7 @@ const deserializeAws_restJson1DeleteIntegrationResponseCommandError = async (out
4124
4124
  $fault: "client",
4125
4125
  $metadata: deserializeMetadata(output),
4126
4126
  });
4127
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4127
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4128
4128
  }
4129
4129
  };
4130
4130
  const deserializeAws_restJson1DeleteModelCommand = async (output, context) => {
@@ -4160,7 +4160,7 @@ const deserializeAws_restJson1DeleteModelCommandError = async (output, context)
4160
4160
  $fault: "client",
4161
4161
  $metadata: deserializeMetadata(output),
4162
4162
  });
4163
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4163
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4164
4164
  }
4165
4165
  };
4166
4166
  const deserializeAws_restJson1DeleteRouteCommand = async (output, context) => {
@@ -4196,7 +4196,7 @@ const deserializeAws_restJson1DeleteRouteCommandError = async (output, context)
4196
4196
  $fault: "client",
4197
4197
  $metadata: deserializeMetadata(output),
4198
4198
  });
4199
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4199
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4200
4200
  }
4201
4201
  };
4202
4202
  const deserializeAws_restJson1DeleteRouteRequestParameterCommand = async (output, context) => {
@@ -4232,7 +4232,7 @@ const deserializeAws_restJson1DeleteRouteRequestParameterCommandError = async (o
4232
4232
  $fault: "client",
4233
4233
  $metadata: deserializeMetadata(output),
4234
4234
  });
4235
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4235
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4236
4236
  }
4237
4237
  };
4238
4238
  const deserializeAws_restJson1DeleteRouteResponseCommand = async (output, context) => {
@@ -4268,7 +4268,7 @@ const deserializeAws_restJson1DeleteRouteResponseCommandError = async (output, c
4268
4268
  $fault: "client",
4269
4269
  $metadata: deserializeMetadata(output),
4270
4270
  });
4271
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4271
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4272
4272
  }
4273
4273
  };
4274
4274
  const deserializeAws_restJson1DeleteRouteSettingsCommand = async (output, context) => {
@@ -4304,7 +4304,7 @@ const deserializeAws_restJson1DeleteRouteSettingsCommandError = async (output, c
4304
4304
  $fault: "client",
4305
4305
  $metadata: deserializeMetadata(output),
4306
4306
  });
4307
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4307
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4308
4308
  }
4309
4309
  };
4310
4310
  const deserializeAws_restJson1DeleteStageCommand = async (output, context) => {
@@ -4340,7 +4340,7 @@ const deserializeAws_restJson1DeleteStageCommandError = async (output, context)
4340
4340
  $fault: "client",
4341
4341
  $metadata: deserializeMetadata(output),
4342
4342
  });
4343
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4343
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4344
4344
  }
4345
4345
  };
4346
4346
  const deserializeAws_restJson1DeleteVpcLinkCommand = async (output, context) => {
@@ -4376,7 +4376,7 @@ const deserializeAws_restJson1DeleteVpcLinkCommandError = async (output, context
4376
4376
  $fault: "client",
4377
4377
  $metadata: deserializeMetadata(output),
4378
4378
  });
4379
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4379
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4380
4380
  }
4381
4381
  };
4382
4382
  const deserializeAws_restJson1ExportApiCommand = async (output, context) => {
@@ -4417,7 +4417,7 @@ const deserializeAws_restJson1ExportApiCommandError = async (output, context) =>
4417
4417
  $fault: "client",
4418
4418
  $metadata: deserializeMetadata(output),
4419
4419
  });
4420
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4420
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4421
4421
  }
4422
4422
  };
4423
4423
  const deserializeAws_restJson1GetApiCommand = async (output, context) => {
@@ -4443,51 +4443,51 @@ const deserializeAws_restJson1GetApiCommand = async (output, context) => {
4443
4443
  Version: undefined,
4444
4444
  Warnings: undefined,
4445
4445
  };
4446
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4446
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4447
4447
  if (data.apiEndpoint !== undefined && data.apiEndpoint !== null) {
4448
- contents.ApiEndpoint = smithy_client_1.expectString(data.apiEndpoint);
4448
+ contents.ApiEndpoint = (0, smithy_client_1.expectString)(data.apiEndpoint);
4449
4449
  }
4450
4450
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
4451
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
4451
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
4452
4452
  }
4453
4453
  if (data.apiId !== undefined && data.apiId !== null) {
4454
- contents.ApiId = smithy_client_1.expectString(data.apiId);
4454
+ contents.ApiId = (0, smithy_client_1.expectString)(data.apiId);
4455
4455
  }
4456
4456
  if (data.apiKeySelectionExpression !== undefined && data.apiKeySelectionExpression !== null) {
4457
- contents.ApiKeySelectionExpression = smithy_client_1.expectString(data.apiKeySelectionExpression);
4457
+ contents.ApiKeySelectionExpression = (0, smithy_client_1.expectString)(data.apiKeySelectionExpression);
4458
4458
  }
4459
4459
  if (data.corsConfiguration !== undefined && data.corsConfiguration !== null) {
4460
4460
  contents.CorsConfiguration = deserializeAws_restJson1Cors(data.corsConfiguration, context);
4461
4461
  }
4462
4462
  if (data.createdDate !== undefined && data.createdDate !== null) {
4463
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
4463
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
4464
4464
  }
4465
4465
  if (data.description !== undefined && data.description !== null) {
4466
- contents.Description = smithy_client_1.expectString(data.description);
4466
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
4467
4467
  }
4468
4468
  if (data.disableExecuteApiEndpoint !== undefined && data.disableExecuteApiEndpoint !== null) {
4469
- contents.DisableExecuteApiEndpoint = smithy_client_1.expectBoolean(data.disableExecuteApiEndpoint);
4469
+ contents.DisableExecuteApiEndpoint = (0, smithy_client_1.expectBoolean)(data.disableExecuteApiEndpoint);
4470
4470
  }
4471
4471
  if (data.disableSchemaValidation !== undefined && data.disableSchemaValidation !== null) {
4472
- contents.DisableSchemaValidation = smithy_client_1.expectBoolean(data.disableSchemaValidation);
4472
+ contents.DisableSchemaValidation = (0, smithy_client_1.expectBoolean)(data.disableSchemaValidation);
4473
4473
  }
4474
4474
  if (data.importInfo !== undefined && data.importInfo !== null) {
4475
4475
  contents.ImportInfo = deserializeAws_restJson1__listOf__string(data.importInfo, context);
4476
4476
  }
4477
4477
  if (data.name !== undefined && data.name !== null) {
4478
- contents.Name = smithy_client_1.expectString(data.name);
4478
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
4479
4479
  }
4480
4480
  if (data.protocolType !== undefined && data.protocolType !== null) {
4481
- contents.ProtocolType = smithy_client_1.expectString(data.protocolType);
4481
+ contents.ProtocolType = (0, smithy_client_1.expectString)(data.protocolType);
4482
4482
  }
4483
4483
  if (data.routeSelectionExpression !== undefined && data.routeSelectionExpression !== null) {
4484
- contents.RouteSelectionExpression = smithy_client_1.expectString(data.routeSelectionExpression);
4484
+ contents.RouteSelectionExpression = (0, smithy_client_1.expectString)(data.routeSelectionExpression);
4485
4485
  }
4486
4486
  if (data.tags !== undefined && data.tags !== null) {
4487
4487
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
4488
4488
  }
4489
4489
  if (data.version !== undefined && data.version !== null) {
4490
- contents.Version = smithy_client_1.expectString(data.version);
4490
+ contents.Version = (0, smithy_client_1.expectString)(data.version);
4491
4491
  }
4492
4492
  if (data.warnings !== undefined && data.warnings !== null) {
4493
4493
  contents.Warnings = deserializeAws_restJson1__listOf__string(data.warnings, context);
@@ -4517,7 +4517,7 @@ const deserializeAws_restJson1GetApiCommandError = async (output, context) => {
4517
4517
  $fault: "client",
4518
4518
  $metadata: deserializeMetadata(output),
4519
4519
  });
4520
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4520
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4521
4521
  }
4522
4522
  };
4523
4523
  const deserializeAws_restJson1GetApiMappingCommand = async (output, context) => {
@@ -4531,18 +4531,18 @@ const deserializeAws_restJson1GetApiMappingCommand = async (output, context) =>
4531
4531
  ApiMappingKey: undefined,
4532
4532
  Stage: undefined,
4533
4533
  };
4534
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4534
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4535
4535
  if (data.apiId !== undefined && data.apiId !== null) {
4536
- contents.ApiId = smithy_client_1.expectString(data.apiId);
4536
+ contents.ApiId = (0, smithy_client_1.expectString)(data.apiId);
4537
4537
  }
4538
4538
  if (data.apiMappingId !== undefined && data.apiMappingId !== null) {
4539
- contents.ApiMappingId = smithy_client_1.expectString(data.apiMappingId);
4539
+ contents.ApiMappingId = (0, smithy_client_1.expectString)(data.apiMappingId);
4540
4540
  }
4541
4541
  if (data.apiMappingKey !== undefined && data.apiMappingKey !== null) {
4542
- contents.ApiMappingKey = smithy_client_1.expectString(data.apiMappingKey);
4542
+ contents.ApiMappingKey = (0, smithy_client_1.expectString)(data.apiMappingKey);
4543
4543
  }
4544
4544
  if (data.stage !== undefined && data.stage !== null) {
4545
- contents.Stage = smithy_client_1.expectString(data.stage);
4545
+ contents.Stage = (0, smithy_client_1.expectString)(data.stage);
4546
4546
  }
4547
4547
  return Promise.resolve(contents);
4548
4548
  };
@@ -4572,7 +4572,7 @@ const deserializeAws_restJson1GetApiMappingCommandError = async (output, context
4572
4572
  $fault: "client",
4573
4573
  $metadata: deserializeMetadata(output),
4574
4574
  });
4575
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4575
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4576
4576
  }
4577
4577
  };
4578
4578
  const deserializeAws_restJson1GetApiMappingsCommand = async (output, context) => {
@@ -4584,12 +4584,12 @@ const deserializeAws_restJson1GetApiMappingsCommand = async (output, context) =>
4584
4584
  Items: undefined,
4585
4585
  NextToken: undefined,
4586
4586
  };
4587
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4587
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4588
4588
  if (data.items !== undefined && data.items !== null) {
4589
4589
  contents.Items = deserializeAws_restJson1__listOfApiMapping(data.items, context);
4590
4590
  }
4591
4591
  if (data.nextToken !== undefined && data.nextToken !== null) {
4592
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
4592
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
4593
4593
  }
4594
4594
  return Promise.resolve(contents);
4595
4595
  };
@@ -4619,7 +4619,7 @@ const deserializeAws_restJson1GetApiMappingsCommandError = async (output, contex
4619
4619
  $fault: "client",
4620
4620
  $metadata: deserializeMetadata(output),
4621
4621
  });
4622
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4622
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4623
4623
  }
4624
4624
  };
4625
4625
  const deserializeAws_restJson1GetApisCommand = async (output, context) => {
@@ -4631,12 +4631,12 @@ const deserializeAws_restJson1GetApisCommand = async (output, context) => {
4631
4631
  Items: undefined,
4632
4632
  NextToken: undefined,
4633
4633
  };
4634
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4634
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4635
4635
  if (data.items !== undefined && data.items !== null) {
4636
4636
  contents.Items = deserializeAws_restJson1__listOfApi(data.items, context);
4637
4637
  }
4638
4638
  if (data.nextToken !== undefined && data.nextToken !== null) {
4639
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
4639
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
4640
4640
  }
4641
4641
  return Promise.resolve(contents);
4642
4642
  };
@@ -4666,7 +4666,7 @@ const deserializeAws_restJson1GetApisCommandError = async (output, context) => {
4666
4666
  $fault: "client",
4667
4667
  $metadata: deserializeMetadata(output),
4668
4668
  });
4669
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4669
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4670
4670
  }
4671
4671
  };
4672
4672
  const deserializeAws_restJson1GetAuthorizerCommand = async (output, context) => {
@@ -4687,39 +4687,39 @@ const deserializeAws_restJson1GetAuthorizerCommand = async (output, context) =>
4687
4687
  JwtConfiguration: undefined,
4688
4688
  Name: undefined,
4689
4689
  };
4690
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4690
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4691
4691
  if (data.authorizerCredentialsArn !== undefined && data.authorizerCredentialsArn !== null) {
4692
- contents.AuthorizerCredentialsArn = smithy_client_1.expectString(data.authorizerCredentialsArn);
4692
+ contents.AuthorizerCredentialsArn = (0, smithy_client_1.expectString)(data.authorizerCredentialsArn);
4693
4693
  }
4694
4694
  if (data.authorizerId !== undefined && data.authorizerId !== null) {
4695
- contents.AuthorizerId = smithy_client_1.expectString(data.authorizerId);
4695
+ contents.AuthorizerId = (0, smithy_client_1.expectString)(data.authorizerId);
4696
4696
  }
4697
4697
  if (data.authorizerPayloadFormatVersion !== undefined && data.authorizerPayloadFormatVersion !== null) {
4698
- contents.AuthorizerPayloadFormatVersion = smithy_client_1.expectString(data.authorizerPayloadFormatVersion);
4698
+ contents.AuthorizerPayloadFormatVersion = (0, smithy_client_1.expectString)(data.authorizerPayloadFormatVersion);
4699
4699
  }
4700
4700
  if (data.authorizerResultTtlInSeconds !== undefined && data.authorizerResultTtlInSeconds !== null) {
4701
- contents.AuthorizerResultTtlInSeconds = smithy_client_1.expectInt32(data.authorizerResultTtlInSeconds);
4701
+ contents.AuthorizerResultTtlInSeconds = (0, smithy_client_1.expectInt32)(data.authorizerResultTtlInSeconds);
4702
4702
  }
4703
4703
  if (data.authorizerType !== undefined && data.authorizerType !== null) {
4704
- contents.AuthorizerType = smithy_client_1.expectString(data.authorizerType);
4704
+ contents.AuthorizerType = (0, smithy_client_1.expectString)(data.authorizerType);
4705
4705
  }
4706
4706
  if (data.authorizerUri !== undefined && data.authorizerUri !== null) {
4707
- contents.AuthorizerUri = smithy_client_1.expectString(data.authorizerUri);
4707
+ contents.AuthorizerUri = (0, smithy_client_1.expectString)(data.authorizerUri);
4708
4708
  }
4709
4709
  if (data.enableSimpleResponses !== undefined && data.enableSimpleResponses !== null) {
4710
- contents.EnableSimpleResponses = smithy_client_1.expectBoolean(data.enableSimpleResponses);
4710
+ contents.EnableSimpleResponses = (0, smithy_client_1.expectBoolean)(data.enableSimpleResponses);
4711
4711
  }
4712
4712
  if (data.identitySource !== undefined && data.identitySource !== null) {
4713
4713
  contents.IdentitySource = deserializeAws_restJson1IdentitySourceList(data.identitySource, context);
4714
4714
  }
4715
4715
  if (data.identityValidationExpression !== undefined && data.identityValidationExpression !== null) {
4716
- contents.IdentityValidationExpression = smithy_client_1.expectString(data.identityValidationExpression);
4716
+ contents.IdentityValidationExpression = (0, smithy_client_1.expectString)(data.identityValidationExpression);
4717
4717
  }
4718
4718
  if (data.jwtConfiguration !== undefined && data.jwtConfiguration !== null) {
4719
4719
  contents.JwtConfiguration = deserializeAws_restJson1JWTConfiguration(data.jwtConfiguration, context);
4720
4720
  }
4721
4721
  if (data.name !== undefined && data.name !== null) {
4722
- contents.Name = smithy_client_1.expectString(data.name);
4722
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
4723
4723
  }
4724
4724
  return Promise.resolve(contents);
4725
4725
  };
@@ -4746,7 +4746,7 @@ const deserializeAws_restJson1GetAuthorizerCommandError = async (output, context
4746
4746
  $fault: "client",
4747
4747
  $metadata: deserializeMetadata(output),
4748
4748
  });
4749
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4749
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4750
4750
  }
4751
4751
  };
4752
4752
  const deserializeAws_restJson1GetAuthorizersCommand = async (output, context) => {
@@ -4758,12 +4758,12 @@ const deserializeAws_restJson1GetAuthorizersCommand = async (output, context) =>
4758
4758
  Items: undefined,
4759
4759
  NextToken: undefined,
4760
4760
  };
4761
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4761
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4762
4762
  if (data.items !== undefined && data.items !== null) {
4763
4763
  contents.Items = deserializeAws_restJson1__listOfAuthorizer(data.items, context);
4764
4764
  }
4765
4765
  if (data.nextToken !== undefined && data.nextToken !== null) {
4766
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
4766
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
4767
4767
  }
4768
4768
  return Promise.resolve(contents);
4769
4769
  };
@@ -4793,7 +4793,7 @@ const deserializeAws_restJson1GetAuthorizersCommandError = async (output, contex
4793
4793
  $fault: "client",
4794
4794
  $metadata: deserializeMetadata(output),
4795
4795
  });
4796
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4796
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4797
4797
  }
4798
4798
  };
4799
4799
  const deserializeAws_restJson1GetDeploymentCommand = async (output, context) => {
@@ -4809,24 +4809,24 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
4809
4809
  DeploymentStatusMessage: undefined,
4810
4810
  Description: undefined,
4811
4811
  };
4812
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4812
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4813
4813
  if (data.autoDeployed !== undefined && data.autoDeployed !== null) {
4814
- contents.AutoDeployed = smithy_client_1.expectBoolean(data.autoDeployed);
4814
+ contents.AutoDeployed = (0, smithy_client_1.expectBoolean)(data.autoDeployed);
4815
4815
  }
4816
4816
  if (data.createdDate !== undefined && data.createdDate !== null) {
4817
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
4817
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
4818
4818
  }
4819
4819
  if (data.deploymentId !== undefined && data.deploymentId !== null) {
4820
- contents.DeploymentId = smithy_client_1.expectString(data.deploymentId);
4820
+ contents.DeploymentId = (0, smithy_client_1.expectString)(data.deploymentId);
4821
4821
  }
4822
4822
  if (data.deploymentStatus !== undefined && data.deploymentStatus !== null) {
4823
- contents.DeploymentStatus = smithy_client_1.expectString(data.deploymentStatus);
4823
+ contents.DeploymentStatus = (0, smithy_client_1.expectString)(data.deploymentStatus);
4824
4824
  }
4825
4825
  if (data.deploymentStatusMessage !== undefined && data.deploymentStatusMessage !== null) {
4826
- contents.DeploymentStatusMessage = smithy_client_1.expectString(data.deploymentStatusMessage);
4826
+ contents.DeploymentStatusMessage = (0, smithy_client_1.expectString)(data.deploymentStatusMessage);
4827
4827
  }
4828
4828
  if (data.description !== undefined && data.description !== null) {
4829
- contents.Description = smithy_client_1.expectString(data.description);
4829
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
4830
4830
  }
4831
4831
  return Promise.resolve(contents);
4832
4832
  };
@@ -4853,7 +4853,7 @@ const deserializeAws_restJson1GetDeploymentCommandError = async (output, context
4853
4853
  $fault: "client",
4854
4854
  $metadata: deserializeMetadata(output),
4855
4855
  });
4856
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4856
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4857
4857
  }
4858
4858
  };
4859
4859
  const deserializeAws_restJson1GetDeploymentsCommand = async (output, context) => {
@@ -4865,12 +4865,12 @@ const deserializeAws_restJson1GetDeploymentsCommand = async (output, context) =>
4865
4865
  Items: undefined,
4866
4866
  NextToken: undefined,
4867
4867
  };
4868
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4868
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4869
4869
  if (data.items !== undefined && data.items !== null) {
4870
4870
  contents.Items = deserializeAws_restJson1__listOfDeployment(data.items, context);
4871
4871
  }
4872
4872
  if (data.nextToken !== undefined && data.nextToken !== null) {
4873
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
4873
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
4874
4874
  }
4875
4875
  return Promise.resolve(contents);
4876
4876
  };
@@ -4900,7 +4900,7 @@ const deserializeAws_restJson1GetDeploymentsCommandError = async (output, contex
4900
4900
  $fault: "client",
4901
4901
  $metadata: deserializeMetadata(output),
4902
4902
  });
4903
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4903
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4904
4904
  }
4905
4905
  };
4906
4906
  const deserializeAws_restJson1GetDomainNameCommand = async (output, context) => {
@@ -4915,12 +4915,12 @@ const deserializeAws_restJson1GetDomainNameCommand = async (output, context) =>
4915
4915
  MutualTlsAuthentication: undefined,
4916
4916
  Tags: undefined,
4917
4917
  };
4918
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4918
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4919
4919
  if (data.apiMappingSelectionExpression !== undefined && data.apiMappingSelectionExpression !== null) {
4920
- contents.ApiMappingSelectionExpression = smithy_client_1.expectString(data.apiMappingSelectionExpression);
4920
+ contents.ApiMappingSelectionExpression = (0, smithy_client_1.expectString)(data.apiMappingSelectionExpression);
4921
4921
  }
4922
4922
  if (data.domainName !== undefined && data.domainName !== null) {
4923
- contents.DomainName = smithy_client_1.expectString(data.domainName);
4923
+ contents.DomainName = (0, smithy_client_1.expectString)(data.domainName);
4924
4924
  }
4925
4925
  if (data.domainNameConfigurations !== undefined && data.domainNameConfigurations !== null) {
4926
4926
  contents.DomainNameConfigurations = deserializeAws_restJson1DomainNameConfigurations(data.domainNameConfigurations, context);
@@ -4956,7 +4956,7 @@ const deserializeAws_restJson1GetDomainNameCommandError = async (output, context
4956
4956
  $fault: "client",
4957
4957
  $metadata: deserializeMetadata(output),
4958
4958
  });
4959
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4959
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4960
4960
  }
4961
4961
  };
4962
4962
  const deserializeAws_restJson1GetDomainNamesCommand = async (output, context) => {
@@ -4968,12 +4968,12 @@ const deserializeAws_restJson1GetDomainNamesCommand = async (output, context) =>
4968
4968
  Items: undefined,
4969
4969
  NextToken: undefined,
4970
4970
  };
4971
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4971
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4972
4972
  if (data.items !== undefined && data.items !== null) {
4973
4973
  contents.Items = deserializeAws_restJson1__listOfDomainName(data.items, context);
4974
4974
  }
4975
4975
  if (data.nextToken !== undefined && data.nextToken !== null) {
4976
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
4976
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
4977
4977
  }
4978
4978
  return Promise.resolve(contents);
4979
4979
  };
@@ -5003,7 +5003,7 @@ const deserializeAws_restJson1GetDomainNamesCommandError = async (output, contex
5003
5003
  $fault: "client",
5004
5004
  $metadata: deserializeMetadata(output),
5005
5005
  });
5006
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5006
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5007
5007
  }
5008
5008
  };
5009
5009
  const deserializeAws_restJson1GetIntegrationCommand = async (output, context) => {
@@ -5033,49 +5033,49 @@ const deserializeAws_restJson1GetIntegrationCommand = async (output, context) =>
5033
5033
  TimeoutInMillis: undefined,
5034
5034
  TlsConfig: undefined,
5035
5035
  };
5036
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5036
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5037
5037
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
5038
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
5038
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
5039
5039
  }
5040
5040
  if (data.connectionId !== undefined && data.connectionId !== null) {
5041
- contents.ConnectionId = smithy_client_1.expectString(data.connectionId);
5041
+ contents.ConnectionId = (0, smithy_client_1.expectString)(data.connectionId);
5042
5042
  }
5043
5043
  if (data.connectionType !== undefined && data.connectionType !== null) {
5044
- contents.ConnectionType = smithy_client_1.expectString(data.connectionType);
5044
+ contents.ConnectionType = (0, smithy_client_1.expectString)(data.connectionType);
5045
5045
  }
5046
5046
  if (data.contentHandlingStrategy !== undefined && data.contentHandlingStrategy !== null) {
5047
- contents.ContentHandlingStrategy = smithy_client_1.expectString(data.contentHandlingStrategy);
5047
+ contents.ContentHandlingStrategy = (0, smithy_client_1.expectString)(data.contentHandlingStrategy);
5048
5048
  }
5049
5049
  if (data.credentialsArn !== undefined && data.credentialsArn !== null) {
5050
- contents.CredentialsArn = smithy_client_1.expectString(data.credentialsArn);
5050
+ contents.CredentialsArn = (0, smithy_client_1.expectString)(data.credentialsArn);
5051
5051
  }
5052
5052
  if (data.description !== undefined && data.description !== null) {
5053
- contents.Description = smithy_client_1.expectString(data.description);
5053
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
5054
5054
  }
5055
5055
  if (data.integrationId !== undefined && data.integrationId !== null) {
5056
- contents.IntegrationId = smithy_client_1.expectString(data.integrationId);
5056
+ contents.IntegrationId = (0, smithy_client_1.expectString)(data.integrationId);
5057
5057
  }
5058
5058
  if (data.integrationMethod !== undefined && data.integrationMethod !== null) {
5059
- contents.IntegrationMethod = smithy_client_1.expectString(data.integrationMethod);
5059
+ contents.IntegrationMethod = (0, smithy_client_1.expectString)(data.integrationMethod);
5060
5060
  }
5061
5061
  if (data.integrationResponseSelectionExpression !== undefined &&
5062
5062
  data.integrationResponseSelectionExpression !== null) {
5063
- contents.IntegrationResponseSelectionExpression = smithy_client_1.expectString(data.integrationResponseSelectionExpression);
5063
+ contents.IntegrationResponseSelectionExpression = (0, smithy_client_1.expectString)(data.integrationResponseSelectionExpression);
5064
5064
  }
5065
5065
  if (data.integrationSubtype !== undefined && data.integrationSubtype !== null) {
5066
- contents.IntegrationSubtype = smithy_client_1.expectString(data.integrationSubtype);
5066
+ contents.IntegrationSubtype = (0, smithy_client_1.expectString)(data.integrationSubtype);
5067
5067
  }
5068
5068
  if (data.integrationType !== undefined && data.integrationType !== null) {
5069
- contents.IntegrationType = smithy_client_1.expectString(data.integrationType);
5069
+ contents.IntegrationType = (0, smithy_client_1.expectString)(data.integrationType);
5070
5070
  }
5071
5071
  if (data.integrationUri !== undefined && data.integrationUri !== null) {
5072
- contents.IntegrationUri = smithy_client_1.expectString(data.integrationUri);
5072
+ contents.IntegrationUri = (0, smithy_client_1.expectString)(data.integrationUri);
5073
5073
  }
5074
5074
  if (data.passthroughBehavior !== undefined && data.passthroughBehavior !== null) {
5075
- contents.PassthroughBehavior = smithy_client_1.expectString(data.passthroughBehavior);
5075
+ contents.PassthroughBehavior = (0, smithy_client_1.expectString)(data.passthroughBehavior);
5076
5076
  }
5077
5077
  if (data.payloadFormatVersion !== undefined && data.payloadFormatVersion !== null) {
5078
- contents.PayloadFormatVersion = smithy_client_1.expectString(data.payloadFormatVersion);
5078
+ contents.PayloadFormatVersion = (0, smithy_client_1.expectString)(data.payloadFormatVersion);
5079
5079
  }
5080
5080
  if (data.requestParameters !== undefined && data.requestParameters !== null) {
5081
5081
  contents.RequestParameters = deserializeAws_restJson1IntegrationParameters(data.requestParameters, context);
@@ -5087,10 +5087,10 @@ const deserializeAws_restJson1GetIntegrationCommand = async (output, context) =>
5087
5087
  contents.ResponseParameters = deserializeAws_restJson1ResponseParameters(data.responseParameters, context);
5088
5088
  }
5089
5089
  if (data.templateSelectionExpression !== undefined && data.templateSelectionExpression !== null) {
5090
- contents.TemplateSelectionExpression = smithy_client_1.expectString(data.templateSelectionExpression);
5090
+ contents.TemplateSelectionExpression = (0, smithy_client_1.expectString)(data.templateSelectionExpression);
5091
5091
  }
5092
5092
  if (data.timeoutInMillis !== undefined && data.timeoutInMillis !== null) {
5093
- contents.TimeoutInMillis = smithy_client_1.expectInt32(data.timeoutInMillis);
5093
+ contents.TimeoutInMillis = (0, smithy_client_1.expectInt32)(data.timeoutInMillis);
5094
5094
  }
5095
5095
  if (data.tlsConfig !== undefined && data.tlsConfig !== null) {
5096
5096
  contents.TlsConfig = deserializeAws_restJson1TlsConfig(data.tlsConfig, context);
@@ -5120,7 +5120,7 @@ const deserializeAws_restJson1GetIntegrationCommandError = async (output, contex
5120
5120
  $fault: "client",
5121
5121
  $metadata: deserializeMetadata(output),
5122
5122
  });
5123
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5123
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5124
5124
  }
5125
5125
  };
5126
5126
  const deserializeAws_restJson1GetIntegrationResponseCommand = async (output, context) => {
@@ -5136,15 +5136,15 @@ const deserializeAws_restJson1GetIntegrationResponseCommand = async (output, con
5136
5136
  ResponseTemplates: undefined,
5137
5137
  TemplateSelectionExpression: undefined,
5138
5138
  };
5139
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5139
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5140
5140
  if (data.contentHandlingStrategy !== undefined && data.contentHandlingStrategy !== null) {
5141
- contents.ContentHandlingStrategy = smithy_client_1.expectString(data.contentHandlingStrategy);
5141
+ contents.ContentHandlingStrategy = (0, smithy_client_1.expectString)(data.contentHandlingStrategy);
5142
5142
  }
5143
5143
  if (data.integrationResponseId !== undefined && data.integrationResponseId !== null) {
5144
- contents.IntegrationResponseId = smithy_client_1.expectString(data.integrationResponseId);
5144
+ contents.IntegrationResponseId = (0, smithy_client_1.expectString)(data.integrationResponseId);
5145
5145
  }
5146
5146
  if (data.integrationResponseKey !== undefined && data.integrationResponseKey !== null) {
5147
- contents.IntegrationResponseKey = smithy_client_1.expectString(data.integrationResponseKey);
5147
+ contents.IntegrationResponseKey = (0, smithy_client_1.expectString)(data.integrationResponseKey);
5148
5148
  }
5149
5149
  if (data.responseParameters !== undefined && data.responseParameters !== null) {
5150
5150
  contents.ResponseParameters = deserializeAws_restJson1IntegrationParameters(data.responseParameters, context);
@@ -5153,7 +5153,7 @@ const deserializeAws_restJson1GetIntegrationResponseCommand = async (output, con
5153
5153
  contents.ResponseTemplates = deserializeAws_restJson1TemplateMap(data.responseTemplates, context);
5154
5154
  }
5155
5155
  if (data.templateSelectionExpression !== undefined && data.templateSelectionExpression !== null) {
5156
- contents.TemplateSelectionExpression = smithy_client_1.expectString(data.templateSelectionExpression);
5156
+ contents.TemplateSelectionExpression = (0, smithy_client_1.expectString)(data.templateSelectionExpression);
5157
5157
  }
5158
5158
  return Promise.resolve(contents);
5159
5159
  };
@@ -5180,7 +5180,7 @@ const deserializeAws_restJson1GetIntegrationResponseCommandError = async (output
5180
5180
  $fault: "client",
5181
5181
  $metadata: deserializeMetadata(output),
5182
5182
  });
5183
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5183
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5184
5184
  }
5185
5185
  };
5186
5186
  const deserializeAws_restJson1GetIntegrationResponsesCommand = async (output, context) => {
@@ -5192,12 +5192,12 @@ const deserializeAws_restJson1GetIntegrationResponsesCommand = async (output, co
5192
5192
  Items: undefined,
5193
5193
  NextToken: undefined,
5194
5194
  };
5195
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5195
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5196
5196
  if (data.items !== undefined && data.items !== null) {
5197
5197
  contents.Items = deserializeAws_restJson1__listOfIntegrationResponse(data.items, context);
5198
5198
  }
5199
5199
  if (data.nextToken !== undefined && data.nextToken !== null) {
5200
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
5200
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
5201
5201
  }
5202
5202
  return Promise.resolve(contents);
5203
5203
  };
@@ -5227,7 +5227,7 @@ const deserializeAws_restJson1GetIntegrationResponsesCommandError = async (outpu
5227
5227
  $fault: "client",
5228
5228
  $metadata: deserializeMetadata(output),
5229
5229
  });
5230
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5230
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5231
5231
  }
5232
5232
  };
5233
5233
  const deserializeAws_restJson1GetIntegrationsCommand = async (output, context) => {
@@ -5239,12 +5239,12 @@ const deserializeAws_restJson1GetIntegrationsCommand = async (output, context) =
5239
5239
  Items: undefined,
5240
5240
  NextToken: undefined,
5241
5241
  };
5242
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5242
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5243
5243
  if (data.items !== undefined && data.items !== null) {
5244
5244
  contents.Items = deserializeAws_restJson1__listOfIntegration(data.items, context);
5245
5245
  }
5246
5246
  if (data.nextToken !== undefined && data.nextToken !== null) {
5247
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
5247
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
5248
5248
  }
5249
5249
  return Promise.resolve(contents);
5250
5250
  };
@@ -5274,7 +5274,7 @@ const deserializeAws_restJson1GetIntegrationsCommandError = async (output, conte
5274
5274
  $fault: "client",
5275
5275
  $metadata: deserializeMetadata(output),
5276
5276
  });
5277
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5277
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5278
5278
  }
5279
5279
  };
5280
5280
  const deserializeAws_restJson1GetModelCommand = async (output, context) => {
@@ -5289,21 +5289,21 @@ const deserializeAws_restJson1GetModelCommand = async (output, context) => {
5289
5289
  Name: undefined,
5290
5290
  Schema: undefined,
5291
5291
  };
5292
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5292
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5293
5293
  if (data.contentType !== undefined && data.contentType !== null) {
5294
- contents.ContentType = smithy_client_1.expectString(data.contentType);
5294
+ contents.ContentType = (0, smithy_client_1.expectString)(data.contentType);
5295
5295
  }
5296
5296
  if (data.description !== undefined && data.description !== null) {
5297
- contents.Description = smithy_client_1.expectString(data.description);
5297
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
5298
5298
  }
5299
5299
  if (data.modelId !== undefined && data.modelId !== null) {
5300
- contents.ModelId = smithy_client_1.expectString(data.modelId);
5300
+ contents.ModelId = (0, smithy_client_1.expectString)(data.modelId);
5301
5301
  }
5302
5302
  if (data.name !== undefined && data.name !== null) {
5303
- contents.Name = smithy_client_1.expectString(data.name);
5303
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
5304
5304
  }
5305
5305
  if (data.schema !== undefined && data.schema !== null) {
5306
- contents.Schema = smithy_client_1.expectString(data.schema);
5306
+ contents.Schema = (0, smithy_client_1.expectString)(data.schema);
5307
5307
  }
5308
5308
  return Promise.resolve(contents);
5309
5309
  };
@@ -5330,7 +5330,7 @@ const deserializeAws_restJson1GetModelCommandError = async (output, context) =>
5330
5330
  $fault: "client",
5331
5331
  $metadata: deserializeMetadata(output),
5332
5332
  });
5333
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5333
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5334
5334
  }
5335
5335
  };
5336
5336
  const deserializeAws_restJson1GetModelsCommand = async (output, context) => {
@@ -5342,12 +5342,12 @@ const deserializeAws_restJson1GetModelsCommand = async (output, context) => {
5342
5342
  Items: undefined,
5343
5343
  NextToken: undefined,
5344
5344
  };
5345
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5345
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5346
5346
  if (data.items !== undefined && data.items !== null) {
5347
5347
  contents.Items = deserializeAws_restJson1__listOfModel(data.items, context);
5348
5348
  }
5349
5349
  if (data.nextToken !== undefined && data.nextToken !== null) {
5350
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
5350
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
5351
5351
  }
5352
5352
  return Promise.resolve(contents);
5353
5353
  };
@@ -5377,7 +5377,7 @@ const deserializeAws_restJson1GetModelsCommandError = async (output, context) =>
5377
5377
  $fault: "client",
5378
5378
  $metadata: deserializeMetadata(output),
5379
5379
  });
5380
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5380
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5381
5381
  }
5382
5382
  };
5383
5383
  const deserializeAws_restJson1GetModelTemplateCommand = async (output, context) => {
@@ -5388,9 +5388,9 @@ const deserializeAws_restJson1GetModelTemplateCommand = async (output, context)
5388
5388
  $metadata: deserializeMetadata(output),
5389
5389
  Value: undefined,
5390
5390
  };
5391
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5391
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5392
5392
  if (data.value !== undefined && data.value !== null) {
5393
- contents.Value = smithy_client_1.expectString(data.value);
5393
+ contents.Value = (0, smithy_client_1.expectString)(data.value);
5394
5394
  }
5395
5395
  return Promise.resolve(contents);
5396
5396
  };
@@ -5417,7 +5417,7 @@ const deserializeAws_restJson1GetModelTemplateCommandError = async (output, cont
5417
5417
  $fault: "client",
5418
5418
  $metadata: deserializeMetadata(output),
5419
5419
  });
5420
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5420
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5421
5421
  }
5422
5422
  };
5423
5423
  const deserializeAws_restJson1GetRouteCommand = async (output, context) => {
@@ -5440,27 +5440,27 @@ const deserializeAws_restJson1GetRouteCommand = async (output, context) => {
5440
5440
  RouteResponseSelectionExpression: undefined,
5441
5441
  Target: undefined,
5442
5442
  };
5443
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5443
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5444
5444
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
5445
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
5445
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
5446
5446
  }
5447
5447
  if (data.apiKeyRequired !== undefined && data.apiKeyRequired !== null) {
5448
- contents.ApiKeyRequired = smithy_client_1.expectBoolean(data.apiKeyRequired);
5448
+ contents.ApiKeyRequired = (0, smithy_client_1.expectBoolean)(data.apiKeyRequired);
5449
5449
  }
5450
5450
  if (data.authorizationScopes !== undefined && data.authorizationScopes !== null) {
5451
5451
  contents.AuthorizationScopes = deserializeAws_restJson1AuthorizationScopes(data.authorizationScopes, context);
5452
5452
  }
5453
5453
  if (data.authorizationType !== undefined && data.authorizationType !== null) {
5454
- contents.AuthorizationType = smithy_client_1.expectString(data.authorizationType);
5454
+ contents.AuthorizationType = (0, smithy_client_1.expectString)(data.authorizationType);
5455
5455
  }
5456
5456
  if (data.authorizerId !== undefined && data.authorizerId !== null) {
5457
- contents.AuthorizerId = smithy_client_1.expectString(data.authorizerId);
5457
+ contents.AuthorizerId = (0, smithy_client_1.expectString)(data.authorizerId);
5458
5458
  }
5459
5459
  if (data.modelSelectionExpression !== undefined && data.modelSelectionExpression !== null) {
5460
- contents.ModelSelectionExpression = smithy_client_1.expectString(data.modelSelectionExpression);
5460
+ contents.ModelSelectionExpression = (0, smithy_client_1.expectString)(data.modelSelectionExpression);
5461
5461
  }
5462
5462
  if (data.operationName !== undefined && data.operationName !== null) {
5463
- contents.OperationName = smithy_client_1.expectString(data.operationName);
5463
+ contents.OperationName = (0, smithy_client_1.expectString)(data.operationName);
5464
5464
  }
5465
5465
  if (data.requestModels !== undefined && data.requestModels !== null) {
5466
5466
  contents.RequestModels = deserializeAws_restJson1RouteModels(data.requestModels, context);
@@ -5469,16 +5469,16 @@ const deserializeAws_restJson1GetRouteCommand = async (output, context) => {
5469
5469
  contents.RequestParameters = deserializeAws_restJson1RouteParameters(data.requestParameters, context);
5470
5470
  }
5471
5471
  if (data.routeId !== undefined && data.routeId !== null) {
5472
- contents.RouteId = smithy_client_1.expectString(data.routeId);
5472
+ contents.RouteId = (0, smithy_client_1.expectString)(data.routeId);
5473
5473
  }
5474
5474
  if (data.routeKey !== undefined && data.routeKey !== null) {
5475
- contents.RouteKey = smithy_client_1.expectString(data.routeKey);
5475
+ contents.RouteKey = (0, smithy_client_1.expectString)(data.routeKey);
5476
5476
  }
5477
5477
  if (data.routeResponseSelectionExpression !== undefined && data.routeResponseSelectionExpression !== null) {
5478
- contents.RouteResponseSelectionExpression = smithy_client_1.expectString(data.routeResponseSelectionExpression);
5478
+ contents.RouteResponseSelectionExpression = (0, smithy_client_1.expectString)(data.routeResponseSelectionExpression);
5479
5479
  }
5480
5480
  if (data.target !== undefined && data.target !== null) {
5481
- contents.Target = smithy_client_1.expectString(data.target);
5481
+ contents.Target = (0, smithy_client_1.expectString)(data.target);
5482
5482
  }
5483
5483
  return Promise.resolve(contents);
5484
5484
  };
@@ -5505,7 +5505,7 @@ const deserializeAws_restJson1GetRouteCommandError = async (output, context) =>
5505
5505
  $fault: "client",
5506
5506
  $metadata: deserializeMetadata(output),
5507
5507
  });
5508
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5508
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5509
5509
  }
5510
5510
  };
5511
5511
  const deserializeAws_restJson1GetRouteResponseCommand = async (output, context) => {
@@ -5520,9 +5520,9 @@ const deserializeAws_restJson1GetRouteResponseCommand = async (output, context)
5520
5520
  RouteResponseId: undefined,
5521
5521
  RouteResponseKey: undefined,
5522
5522
  };
5523
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5523
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5524
5524
  if (data.modelSelectionExpression !== undefined && data.modelSelectionExpression !== null) {
5525
- contents.ModelSelectionExpression = smithy_client_1.expectString(data.modelSelectionExpression);
5525
+ contents.ModelSelectionExpression = (0, smithy_client_1.expectString)(data.modelSelectionExpression);
5526
5526
  }
5527
5527
  if (data.responseModels !== undefined && data.responseModels !== null) {
5528
5528
  contents.ResponseModels = deserializeAws_restJson1RouteModels(data.responseModels, context);
@@ -5531,10 +5531,10 @@ const deserializeAws_restJson1GetRouteResponseCommand = async (output, context)
5531
5531
  contents.ResponseParameters = deserializeAws_restJson1RouteParameters(data.responseParameters, context);
5532
5532
  }
5533
5533
  if (data.routeResponseId !== undefined && data.routeResponseId !== null) {
5534
- contents.RouteResponseId = smithy_client_1.expectString(data.routeResponseId);
5534
+ contents.RouteResponseId = (0, smithy_client_1.expectString)(data.routeResponseId);
5535
5535
  }
5536
5536
  if (data.routeResponseKey !== undefined && data.routeResponseKey !== null) {
5537
- contents.RouteResponseKey = smithy_client_1.expectString(data.routeResponseKey);
5537
+ contents.RouteResponseKey = (0, smithy_client_1.expectString)(data.routeResponseKey);
5538
5538
  }
5539
5539
  return Promise.resolve(contents);
5540
5540
  };
@@ -5561,7 +5561,7 @@ const deserializeAws_restJson1GetRouteResponseCommandError = async (output, cont
5561
5561
  $fault: "client",
5562
5562
  $metadata: deserializeMetadata(output),
5563
5563
  });
5564
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5564
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5565
5565
  }
5566
5566
  };
5567
5567
  const deserializeAws_restJson1GetRouteResponsesCommand = async (output, context) => {
@@ -5573,12 +5573,12 @@ const deserializeAws_restJson1GetRouteResponsesCommand = async (output, context)
5573
5573
  Items: undefined,
5574
5574
  NextToken: undefined,
5575
5575
  };
5576
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5576
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5577
5577
  if (data.items !== undefined && data.items !== null) {
5578
5578
  contents.Items = deserializeAws_restJson1__listOfRouteResponse(data.items, context);
5579
5579
  }
5580
5580
  if (data.nextToken !== undefined && data.nextToken !== null) {
5581
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
5581
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
5582
5582
  }
5583
5583
  return Promise.resolve(contents);
5584
5584
  };
@@ -5608,7 +5608,7 @@ const deserializeAws_restJson1GetRouteResponsesCommandError = async (output, con
5608
5608
  $fault: "client",
5609
5609
  $metadata: deserializeMetadata(output),
5610
5610
  });
5611
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5611
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5612
5612
  }
5613
5613
  };
5614
5614
  const deserializeAws_restJson1GetRoutesCommand = async (output, context) => {
@@ -5620,12 +5620,12 @@ const deserializeAws_restJson1GetRoutesCommand = async (output, context) => {
5620
5620
  Items: undefined,
5621
5621
  NextToken: undefined,
5622
5622
  };
5623
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5623
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5624
5624
  if (data.items !== undefined && data.items !== null) {
5625
5625
  contents.Items = deserializeAws_restJson1__listOfRoute(data.items, context);
5626
5626
  }
5627
5627
  if (data.nextToken !== undefined && data.nextToken !== null) {
5628
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
5628
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
5629
5629
  }
5630
5630
  return Promise.resolve(contents);
5631
5631
  };
@@ -5655,7 +5655,7 @@ const deserializeAws_restJson1GetRoutesCommandError = async (output, context) =>
5655
5655
  $fault: "client",
5656
5656
  $metadata: deserializeMetadata(output),
5657
5657
  });
5658
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5658
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5659
5659
  }
5660
5660
  };
5661
5661
  const deserializeAws_restJson1GetStageCommand = async (output, context) => {
@@ -5679,42 +5679,42 @@ const deserializeAws_restJson1GetStageCommand = async (output, context) => {
5679
5679
  StageVariables: undefined,
5680
5680
  Tags: undefined,
5681
5681
  };
5682
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5682
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5683
5683
  if (data.accessLogSettings !== undefined && data.accessLogSettings !== null) {
5684
5684
  contents.AccessLogSettings = deserializeAws_restJson1AccessLogSettings(data.accessLogSettings, context);
5685
5685
  }
5686
5686
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
5687
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
5687
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
5688
5688
  }
5689
5689
  if (data.autoDeploy !== undefined && data.autoDeploy !== null) {
5690
- contents.AutoDeploy = smithy_client_1.expectBoolean(data.autoDeploy);
5690
+ contents.AutoDeploy = (0, smithy_client_1.expectBoolean)(data.autoDeploy);
5691
5691
  }
5692
5692
  if (data.clientCertificateId !== undefined && data.clientCertificateId !== null) {
5693
- contents.ClientCertificateId = smithy_client_1.expectString(data.clientCertificateId);
5693
+ contents.ClientCertificateId = (0, smithy_client_1.expectString)(data.clientCertificateId);
5694
5694
  }
5695
5695
  if (data.createdDate !== undefined && data.createdDate !== null) {
5696
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
5696
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
5697
5697
  }
5698
5698
  if (data.defaultRouteSettings !== undefined && data.defaultRouteSettings !== null) {
5699
5699
  contents.DefaultRouteSettings = deserializeAws_restJson1RouteSettings(data.defaultRouteSettings, context);
5700
5700
  }
5701
5701
  if (data.deploymentId !== undefined && data.deploymentId !== null) {
5702
- contents.DeploymentId = smithy_client_1.expectString(data.deploymentId);
5702
+ contents.DeploymentId = (0, smithy_client_1.expectString)(data.deploymentId);
5703
5703
  }
5704
5704
  if (data.description !== undefined && data.description !== null) {
5705
- contents.Description = smithy_client_1.expectString(data.description);
5705
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
5706
5706
  }
5707
5707
  if (data.lastDeploymentStatusMessage !== undefined && data.lastDeploymentStatusMessage !== null) {
5708
- contents.LastDeploymentStatusMessage = smithy_client_1.expectString(data.lastDeploymentStatusMessage);
5708
+ contents.LastDeploymentStatusMessage = (0, smithy_client_1.expectString)(data.lastDeploymentStatusMessage);
5709
5709
  }
5710
5710
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
5711
- contents.LastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.lastUpdatedDate));
5711
+ contents.LastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastUpdatedDate));
5712
5712
  }
5713
5713
  if (data.routeSettings !== undefined && data.routeSettings !== null) {
5714
5714
  contents.RouteSettings = deserializeAws_restJson1RouteSettingsMap(data.routeSettings, context);
5715
5715
  }
5716
5716
  if (data.stageName !== undefined && data.stageName !== null) {
5717
- contents.StageName = smithy_client_1.expectString(data.stageName);
5717
+ contents.StageName = (0, smithy_client_1.expectString)(data.stageName);
5718
5718
  }
5719
5719
  if (data.stageVariables !== undefined && data.stageVariables !== null) {
5720
5720
  contents.StageVariables = deserializeAws_restJson1StageVariablesMap(data.stageVariables, context);
@@ -5747,7 +5747,7 @@ const deserializeAws_restJson1GetStageCommandError = async (output, context) =>
5747
5747
  $fault: "client",
5748
5748
  $metadata: deserializeMetadata(output),
5749
5749
  });
5750
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5750
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5751
5751
  }
5752
5752
  };
5753
5753
  const deserializeAws_restJson1GetStagesCommand = async (output, context) => {
@@ -5759,12 +5759,12 @@ const deserializeAws_restJson1GetStagesCommand = async (output, context) => {
5759
5759
  Items: undefined,
5760
5760
  NextToken: undefined,
5761
5761
  };
5762
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5762
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5763
5763
  if (data.items !== undefined && data.items !== null) {
5764
5764
  contents.Items = deserializeAws_restJson1__listOfStage(data.items, context);
5765
5765
  }
5766
5766
  if (data.nextToken !== undefined && data.nextToken !== null) {
5767
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
5767
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
5768
5768
  }
5769
5769
  return Promise.resolve(contents);
5770
5770
  };
@@ -5794,7 +5794,7 @@ const deserializeAws_restJson1GetStagesCommandError = async (output, context) =>
5794
5794
  $fault: "client",
5795
5795
  $metadata: deserializeMetadata(output),
5796
5796
  });
5797
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5797
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5798
5798
  }
5799
5799
  };
5800
5800
  const deserializeAws_restJson1GetTagsCommand = async (output, context) => {
@@ -5805,7 +5805,7 @@ const deserializeAws_restJson1GetTagsCommand = async (output, context) => {
5805
5805
  $metadata: deserializeMetadata(output),
5806
5806
  Tags: undefined,
5807
5807
  };
5808
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5808
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5809
5809
  if (data.tags !== undefined && data.tags !== null) {
5810
5810
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
5811
5811
  }
@@ -5840,7 +5840,7 @@ const deserializeAws_restJson1GetTagsCommandError = async (output, context) => {
5840
5840
  $fault: "client",
5841
5841
  $metadata: deserializeMetadata(output),
5842
5842
  });
5843
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5843
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5844
5844
  }
5845
5845
  };
5846
5846
  const deserializeAws_restJson1GetVpcLinkCommand = async (output, context) => {
@@ -5859,12 +5859,12 @@ const deserializeAws_restJson1GetVpcLinkCommand = async (output, context) => {
5859
5859
  VpcLinkStatusMessage: undefined,
5860
5860
  VpcLinkVersion: undefined,
5861
5861
  };
5862
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5862
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5863
5863
  if (data.createdDate !== undefined && data.createdDate !== null) {
5864
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
5864
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
5865
5865
  }
5866
5866
  if (data.name !== undefined && data.name !== null) {
5867
- contents.Name = smithy_client_1.expectString(data.name);
5867
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
5868
5868
  }
5869
5869
  if (data.securityGroupIds !== undefined && data.securityGroupIds !== null) {
5870
5870
  contents.SecurityGroupIds = deserializeAws_restJson1SecurityGroupIdList(data.securityGroupIds, context);
@@ -5876,16 +5876,16 @@ const deserializeAws_restJson1GetVpcLinkCommand = async (output, context) => {
5876
5876
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
5877
5877
  }
5878
5878
  if (data.vpcLinkId !== undefined && data.vpcLinkId !== null) {
5879
- contents.VpcLinkId = smithy_client_1.expectString(data.vpcLinkId);
5879
+ contents.VpcLinkId = (0, smithy_client_1.expectString)(data.vpcLinkId);
5880
5880
  }
5881
5881
  if (data.vpcLinkStatus !== undefined && data.vpcLinkStatus !== null) {
5882
- contents.VpcLinkStatus = smithy_client_1.expectString(data.vpcLinkStatus);
5882
+ contents.VpcLinkStatus = (0, smithy_client_1.expectString)(data.vpcLinkStatus);
5883
5883
  }
5884
5884
  if (data.vpcLinkStatusMessage !== undefined && data.vpcLinkStatusMessage !== null) {
5885
- contents.VpcLinkStatusMessage = smithy_client_1.expectString(data.vpcLinkStatusMessage);
5885
+ contents.VpcLinkStatusMessage = (0, smithy_client_1.expectString)(data.vpcLinkStatusMessage);
5886
5886
  }
5887
5887
  if (data.vpcLinkVersion !== undefined && data.vpcLinkVersion !== null) {
5888
- contents.VpcLinkVersion = smithy_client_1.expectString(data.vpcLinkVersion);
5888
+ contents.VpcLinkVersion = (0, smithy_client_1.expectString)(data.vpcLinkVersion);
5889
5889
  }
5890
5890
  return Promise.resolve(contents);
5891
5891
  };
@@ -5912,7 +5912,7 @@ const deserializeAws_restJson1GetVpcLinkCommandError = async (output, context) =
5912
5912
  $fault: "client",
5913
5913
  $metadata: deserializeMetadata(output),
5914
5914
  });
5915
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5915
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5916
5916
  }
5917
5917
  };
5918
5918
  const deserializeAws_restJson1GetVpcLinksCommand = async (output, context) => {
@@ -5924,12 +5924,12 @@ const deserializeAws_restJson1GetVpcLinksCommand = async (output, context) => {
5924
5924
  Items: undefined,
5925
5925
  NextToken: undefined,
5926
5926
  };
5927
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5927
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5928
5928
  if (data.items !== undefined && data.items !== null) {
5929
5929
  contents.Items = deserializeAws_restJson1__listOfVpcLink(data.items, context);
5930
5930
  }
5931
5931
  if (data.nextToken !== undefined && data.nextToken !== null) {
5932
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
5932
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
5933
5933
  }
5934
5934
  return Promise.resolve(contents);
5935
5935
  };
@@ -5956,7 +5956,7 @@ const deserializeAws_restJson1GetVpcLinksCommandError = async (output, context)
5956
5956
  $fault: "client",
5957
5957
  $metadata: deserializeMetadata(output),
5958
5958
  });
5959
- throw smithy_client_1.decorateServiceException(response, parsedBody);
5959
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5960
5960
  }
5961
5961
  };
5962
5962
  const deserializeAws_restJson1ImportApiCommand = async (output, context) => {
@@ -5982,51 +5982,51 @@ const deserializeAws_restJson1ImportApiCommand = async (output, context) => {
5982
5982
  Version: undefined,
5983
5983
  Warnings: undefined,
5984
5984
  };
5985
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5985
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5986
5986
  if (data.apiEndpoint !== undefined && data.apiEndpoint !== null) {
5987
- contents.ApiEndpoint = smithy_client_1.expectString(data.apiEndpoint);
5987
+ contents.ApiEndpoint = (0, smithy_client_1.expectString)(data.apiEndpoint);
5988
5988
  }
5989
5989
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
5990
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
5990
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
5991
5991
  }
5992
5992
  if (data.apiId !== undefined && data.apiId !== null) {
5993
- contents.ApiId = smithy_client_1.expectString(data.apiId);
5993
+ contents.ApiId = (0, smithy_client_1.expectString)(data.apiId);
5994
5994
  }
5995
5995
  if (data.apiKeySelectionExpression !== undefined && data.apiKeySelectionExpression !== null) {
5996
- contents.ApiKeySelectionExpression = smithy_client_1.expectString(data.apiKeySelectionExpression);
5996
+ contents.ApiKeySelectionExpression = (0, smithy_client_1.expectString)(data.apiKeySelectionExpression);
5997
5997
  }
5998
5998
  if (data.corsConfiguration !== undefined && data.corsConfiguration !== null) {
5999
5999
  contents.CorsConfiguration = deserializeAws_restJson1Cors(data.corsConfiguration, context);
6000
6000
  }
6001
6001
  if (data.createdDate !== undefined && data.createdDate !== null) {
6002
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
6002
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
6003
6003
  }
6004
6004
  if (data.description !== undefined && data.description !== null) {
6005
- contents.Description = smithy_client_1.expectString(data.description);
6005
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
6006
6006
  }
6007
6007
  if (data.disableExecuteApiEndpoint !== undefined && data.disableExecuteApiEndpoint !== null) {
6008
- contents.DisableExecuteApiEndpoint = smithy_client_1.expectBoolean(data.disableExecuteApiEndpoint);
6008
+ contents.DisableExecuteApiEndpoint = (0, smithy_client_1.expectBoolean)(data.disableExecuteApiEndpoint);
6009
6009
  }
6010
6010
  if (data.disableSchemaValidation !== undefined && data.disableSchemaValidation !== null) {
6011
- contents.DisableSchemaValidation = smithy_client_1.expectBoolean(data.disableSchemaValidation);
6011
+ contents.DisableSchemaValidation = (0, smithy_client_1.expectBoolean)(data.disableSchemaValidation);
6012
6012
  }
6013
6013
  if (data.importInfo !== undefined && data.importInfo !== null) {
6014
6014
  contents.ImportInfo = deserializeAws_restJson1__listOf__string(data.importInfo, context);
6015
6015
  }
6016
6016
  if (data.name !== undefined && data.name !== null) {
6017
- contents.Name = smithy_client_1.expectString(data.name);
6017
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
6018
6018
  }
6019
6019
  if (data.protocolType !== undefined && data.protocolType !== null) {
6020
- contents.ProtocolType = smithy_client_1.expectString(data.protocolType);
6020
+ contents.ProtocolType = (0, smithy_client_1.expectString)(data.protocolType);
6021
6021
  }
6022
6022
  if (data.routeSelectionExpression !== undefined && data.routeSelectionExpression !== null) {
6023
- contents.RouteSelectionExpression = smithy_client_1.expectString(data.routeSelectionExpression);
6023
+ contents.RouteSelectionExpression = (0, smithy_client_1.expectString)(data.routeSelectionExpression);
6024
6024
  }
6025
6025
  if (data.tags !== undefined && data.tags !== null) {
6026
6026
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
6027
6027
  }
6028
6028
  if (data.version !== undefined && data.version !== null) {
6029
- contents.Version = smithy_client_1.expectString(data.version);
6029
+ contents.Version = (0, smithy_client_1.expectString)(data.version);
6030
6030
  }
6031
6031
  if (data.warnings !== undefined && data.warnings !== null) {
6032
6032
  contents.Warnings = deserializeAws_restJson1__listOf__string(data.warnings, context);
@@ -6062,7 +6062,7 @@ const deserializeAws_restJson1ImportApiCommandError = async (output, context) =>
6062
6062
  $fault: "client",
6063
6063
  $metadata: deserializeMetadata(output),
6064
6064
  });
6065
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6065
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6066
6066
  }
6067
6067
  };
6068
6068
  const deserializeAws_restJson1ReimportApiCommand = async (output, context) => {
@@ -6088,51 +6088,51 @@ const deserializeAws_restJson1ReimportApiCommand = async (output, context) => {
6088
6088
  Version: undefined,
6089
6089
  Warnings: undefined,
6090
6090
  };
6091
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6091
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6092
6092
  if (data.apiEndpoint !== undefined && data.apiEndpoint !== null) {
6093
- contents.ApiEndpoint = smithy_client_1.expectString(data.apiEndpoint);
6093
+ contents.ApiEndpoint = (0, smithy_client_1.expectString)(data.apiEndpoint);
6094
6094
  }
6095
6095
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
6096
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
6096
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
6097
6097
  }
6098
6098
  if (data.apiId !== undefined && data.apiId !== null) {
6099
- contents.ApiId = smithy_client_1.expectString(data.apiId);
6099
+ contents.ApiId = (0, smithy_client_1.expectString)(data.apiId);
6100
6100
  }
6101
6101
  if (data.apiKeySelectionExpression !== undefined && data.apiKeySelectionExpression !== null) {
6102
- contents.ApiKeySelectionExpression = smithy_client_1.expectString(data.apiKeySelectionExpression);
6102
+ contents.ApiKeySelectionExpression = (0, smithy_client_1.expectString)(data.apiKeySelectionExpression);
6103
6103
  }
6104
6104
  if (data.corsConfiguration !== undefined && data.corsConfiguration !== null) {
6105
6105
  contents.CorsConfiguration = deserializeAws_restJson1Cors(data.corsConfiguration, context);
6106
6106
  }
6107
6107
  if (data.createdDate !== undefined && data.createdDate !== null) {
6108
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
6108
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
6109
6109
  }
6110
6110
  if (data.description !== undefined && data.description !== null) {
6111
- contents.Description = smithy_client_1.expectString(data.description);
6111
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
6112
6112
  }
6113
6113
  if (data.disableExecuteApiEndpoint !== undefined && data.disableExecuteApiEndpoint !== null) {
6114
- contents.DisableExecuteApiEndpoint = smithy_client_1.expectBoolean(data.disableExecuteApiEndpoint);
6114
+ contents.DisableExecuteApiEndpoint = (0, smithy_client_1.expectBoolean)(data.disableExecuteApiEndpoint);
6115
6115
  }
6116
6116
  if (data.disableSchemaValidation !== undefined && data.disableSchemaValidation !== null) {
6117
- contents.DisableSchemaValidation = smithy_client_1.expectBoolean(data.disableSchemaValidation);
6117
+ contents.DisableSchemaValidation = (0, smithy_client_1.expectBoolean)(data.disableSchemaValidation);
6118
6118
  }
6119
6119
  if (data.importInfo !== undefined && data.importInfo !== null) {
6120
6120
  contents.ImportInfo = deserializeAws_restJson1__listOf__string(data.importInfo, context);
6121
6121
  }
6122
6122
  if (data.name !== undefined && data.name !== null) {
6123
- contents.Name = smithy_client_1.expectString(data.name);
6123
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
6124
6124
  }
6125
6125
  if (data.protocolType !== undefined && data.protocolType !== null) {
6126
- contents.ProtocolType = smithy_client_1.expectString(data.protocolType);
6126
+ contents.ProtocolType = (0, smithy_client_1.expectString)(data.protocolType);
6127
6127
  }
6128
6128
  if (data.routeSelectionExpression !== undefined && data.routeSelectionExpression !== null) {
6129
- contents.RouteSelectionExpression = smithy_client_1.expectString(data.routeSelectionExpression);
6129
+ contents.RouteSelectionExpression = (0, smithy_client_1.expectString)(data.routeSelectionExpression);
6130
6130
  }
6131
6131
  if (data.tags !== undefined && data.tags !== null) {
6132
6132
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
6133
6133
  }
6134
6134
  if (data.version !== undefined && data.version !== null) {
6135
- contents.Version = smithy_client_1.expectString(data.version);
6135
+ contents.Version = (0, smithy_client_1.expectString)(data.version);
6136
6136
  }
6137
6137
  if (data.warnings !== undefined && data.warnings !== null) {
6138
6138
  contents.Warnings = deserializeAws_restJson1__listOf__string(data.warnings, context);
@@ -6168,7 +6168,7 @@ const deserializeAws_restJson1ReimportApiCommandError = async (output, context)
6168
6168
  $fault: "client",
6169
6169
  $metadata: deserializeMetadata(output),
6170
6170
  });
6171
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6171
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6172
6172
  }
6173
6173
  };
6174
6174
  const deserializeAws_restJson1ResetAuthorizersCacheCommand = async (output, context) => {
@@ -6204,7 +6204,7 @@ const deserializeAws_restJson1ResetAuthorizersCacheCommandError = async (output,
6204
6204
  $fault: "client",
6205
6205
  $metadata: deserializeMetadata(output),
6206
6206
  });
6207
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6207
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6208
6208
  }
6209
6209
  };
6210
6210
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -6246,7 +6246,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
6246
6246
  $fault: "client",
6247
6247
  $metadata: deserializeMetadata(output),
6248
6248
  });
6249
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6249
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6250
6250
  }
6251
6251
  };
6252
6252
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -6288,7 +6288,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
6288
6288
  $fault: "client",
6289
6289
  $metadata: deserializeMetadata(output),
6290
6290
  });
6291
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6291
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6292
6292
  }
6293
6293
  };
6294
6294
  const deserializeAws_restJson1UpdateApiCommand = async (output, context) => {
@@ -6314,51 +6314,51 @@ const deserializeAws_restJson1UpdateApiCommand = async (output, context) => {
6314
6314
  Version: undefined,
6315
6315
  Warnings: undefined,
6316
6316
  };
6317
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6317
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6318
6318
  if (data.apiEndpoint !== undefined && data.apiEndpoint !== null) {
6319
- contents.ApiEndpoint = smithy_client_1.expectString(data.apiEndpoint);
6319
+ contents.ApiEndpoint = (0, smithy_client_1.expectString)(data.apiEndpoint);
6320
6320
  }
6321
6321
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
6322
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
6322
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
6323
6323
  }
6324
6324
  if (data.apiId !== undefined && data.apiId !== null) {
6325
- contents.ApiId = smithy_client_1.expectString(data.apiId);
6325
+ contents.ApiId = (0, smithy_client_1.expectString)(data.apiId);
6326
6326
  }
6327
6327
  if (data.apiKeySelectionExpression !== undefined && data.apiKeySelectionExpression !== null) {
6328
- contents.ApiKeySelectionExpression = smithy_client_1.expectString(data.apiKeySelectionExpression);
6328
+ contents.ApiKeySelectionExpression = (0, smithy_client_1.expectString)(data.apiKeySelectionExpression);
6329
6329
  }
6330
6330
  if (data.corsConfiguration !== undefined && data.corsConfiguration !== null) {
6331
6331
  contents.CorsConfiguration = deserializeAws_restJson1Cors(data.corsConfiguration, context);
6332
6332
  }
6333
6333
  if (data.createdDate !== undefined && data.createdDate !== null) {
6334
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
6334
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
6335
6335
  }
6336
6336
  if (data.description !== undefined && data.description !== null) {
6337
- contents.Description = smithy_client_1.expectString(data.description);
6337
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
6338
6338
  }
6339
6339
  if (data.disableExecuteApiEndpoint !== undefined && data.disableExecuteApiEndpoint !== null) {
6340
- contents.DisableExecuteApiEndpoint = smithy_client_1.expectBoolean(data.disableExecuteApiEndpoint);
6340
+ contents.DisableExecuteApiEndpoint = (0, smithy_client_1.expectBoolean)(data.disableExecuteApiEndpoint);
6341
6341
  }
6342
6342
  if (data.disableSchemaValidation !== undefined && data.disableSchemaValidation !== null) {
6343
- contents.DisableSchemaValidation = smithy_client_1.expectBoolean(data.disableSchemaValidation);
6343
+ contents.DisableSchemaValidation = (0, smithy_client_1.expectBoolean)(data.disableSchemaValidation);
6344
6344
  }
6345
6345
  if (data.importInfo !== undefined && data.importInfo !== null) {
6346
6346
  contents.ImportInfo = deserializeAws_restJson1__listOf__string(data.importInfo, context);
6347
6347
  }
6348
6348
  if (data.name !== undefined && data.name !== null) {
6349
- contents.Name = smithy_client_1.expectString(data.name);
6349
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
6350
6350
  }
6351
6351
  if (data.protocolType !== undefined && data.protocolType !== null) {
6352
- contents.ProtocolType = smithy_client_1.expectString(data.protocolType);
6352
+ contents.ProtocolType = (0, smithy_client_1.expectString)(data.protocolType);
6353
6353
  }
6354
6354
  if (data.routeSelectionExpression !== undefined && data.routeSelectionExpression !== null) {
6355
- contents.RouteSelectionExpression = smithy_client_1.expectString(data.routeSelectionExpression);
6355
+ contents.RouteSelectionExpression = (0, smithy_client_1.expectString)(data.routeSelectionExpression);
6356
6356
  }
6357
6357
  if (data.tags !== undefined && data.tags !== null) {
6358
6358
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
6359
6359
  }
6360
6360
  if (data.version !== undefined && data.version !== null) {
6361
- contents.Version = smithy_client_1.expectString(data.version);
6361
+ contents.Version = (0, smithy_client_1.expectString)(data.version);
6362
6362
  }
6363
6363
  if (data.warnings !== undefined && data.warnings !== null) {
6364
6364
  contents.Warnings = deserializeAws_restJson1__listOf__string(data.warnings, context);
@@ -6394,7 +6394,7 @@ const deserializeAws_restJson1UpdateApiCommandError = async (output, context) =>
6394
6394
  $fault: "client",
6395
6395
  $metadata: deserializeMetadata(output),
6396
6396
  });
6397
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6397
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6398
6398
  }
6399
6399
  };
6400
6400
  const deserializeAws_restJson1UpdateApiMappingCommand = async (output, context) => {
@@ -6408,18 +6408,18 @@ const deserializeAws_restJson1UpdateApiMappingCommand = async (output, context)
6408
6408
  ApiMappingKey: undefined,
6409
6409
  Stage: undefined,
6410
6410
  };
6411
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6411
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6412
6412
  if (data.apiId !== undefined && data.apiId !== null) {
6413
- contents.ApiId = smithy_client_1.expectString(data.apiId);
6413
+ contents.ApiId = (0, smithy_client_1.expectString)(data.apiId);
6414
6414
  }
6415
6415
  if (data.apiMappingId !== undefined && data.apiMappingId !== null) {
6416
- contents.ApiMappingId = smithy_client_1.expectString(data.apiMappingId);
6416
+ contents.ApiMappingId = (0, smithy_client_1.expectString)(data.apiMappingId);
6417
6417
  }
6418
6418
  if (data.apiMappingKey !== undefined && data.apiMappingKey !== null) {
6419
- contents.ApiMappingKey = smithy_client_1.expectString(data.apiMappingKey);
6419
+ contents.ApiMappingKey = (0, smithy_client_1.expectString)(data.apiMappingKey);
6420
6420
  }
6421
6421
  if (data.stage !== undefined && data.stage !== null) {
6422
- contents.Stage = smithy_client_1.expectString(data.stage);
6422
+ contents.Stage = (0, smithy_client_1.expectString)(data.stage);
6423
6423
  }
6424
6424
  return Promise.resolve(contents);
6425
6425
  };
@@ -6452,7 +6452,7 @@ const deserializeAws_restJson1UpdateApiMappingCommandError = async (output, cont
6452
6452
  $fault: "client",
6453
6453
  $metadata: deserializeMetadata(output),
6454
6454
  });
6455
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6455
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6456
6456
  }
6457
6457
  };
6458
6458
  const deserializeAws_restJson1UpdateAuthorizerCommand = async (output, context) => {
@@ -6473,39 +6473,39 @@ const deserializeAws_restJson1UpdateAuthorizerCommand = async (output, context)
6473
6473
  JwtConfiguration: undefined,
6474
6474
  Name: undefined,
6475
6475
  };
6476
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6476
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6477
6477
  if (data.authorizerCredentialsArn !== undefined && data.authorizerCredentialsArn !== null) {
6478
- contents.AuthorizerCredentialsArn = smithy_client_1.expectString(data.authorizerCredentialsArn);
6478
+ contents.AuthorizerCredentialsArn = (0, smithy_client_1.expectString)(data.authorizerCredentialsArn);
6479
6479
  }
6480
6480
  if (data.authorizerId !== undefined && data.authorizerId !== null) {
6481
- contents.AuthorizerId = smithy_client_1.expectString(data.authorizerId);
6481
+ contents.AuthorizerId = (0, smithy_client_1.expectString)(data.authorizerId);
6482
6482
  }
6483
6483
  if (data.authorizerPayloadFormatVersion !== undefined && data.authorizerPayloadFormatVersion !== null) {
6484
- contents.AuthorizerPayloadFormatVersion = smithy_client_1.expectString(data.authorizerPayloadFormatVersion);
6484
+ contents.AuthorizerPayloadFormatVersion = (0, smithy_client_1.expectString)(data.authorizerPayloadFormatVersion);
6485
6485
  }
6486
6486
  if (data.authorizerResultTtlInSeconds !== undefined && data.authorizerResultTtlInSeconds !== null) {
6487
- contents.AuthorizerResultTtlInSeconds = smithy_client_1.expectInt32(data.authorizerResultTtlInSeconds);
6487
+ contents.AuthorizerResultTtlInSeconds = (0, smithy_client_1.expectInt32)(data.authorizerResultTtlInSeconds);
6488
6488
  }
6489
6489
  if (data.authorizerType !== undefined && data.authorizerType !== null) {
6490
- contents.AuthorizerType = smithy_client_1.expectString(data.authorizerType);
6490
+ contents.AuthorizerType = (0, smithy_client_1.expectString)(data.authorizerType);
6491
6491
  }
6492
6492
  if (data.authorizerUri !== undefined && data.authorizerUri !== null) {
6493
- contents.AuthorizerUri = smithy_client_1.expectString(data.authorizerUri);
6493
+ contents.AuthorizerUri = (0, smithy_client_1.expectString)(data.authorizerUri);
6494
6494
  }
6495
6495
  if (data.enableSimpleResponses !== undefined && data.enableSimpleResponses !== null) {
6496
- contents.EnableSimpleResponses = smithy_client_1.expectBoolean(data.enableSimpleResponses);
6496
+ contents.EnableSimpleResponses = (0, smithy_client_1.expectBoolean)(data.enableSimpleResponses);
6497
6497
  }
6498
6498
  if (data.identitySource !== undefined && data.identitySource !== null) {
6499
6499
  contents.IdentitySource = deserializeAws_restJson1IdentitySourceList(data.identitySource, context);
6500
6500
  }
6501
6501
  if (data.identityValidationExpression !== undefined && data.identityValidationExpression !== null) {
6502
- contents.IdentityValidationExpression = smithy_client_1.expectString(data.identityValidationExpression);
6502
+ contents.IdentityValidationExpression = (0, smithy_client_1.expectString)(data.identityValidationExpression);
6503
6503
  }
6504
6504
  if (data.jwtConfiguration !== undefined && data.jwtConfiguration !== null) {
6505
6505
  contents.JwtConfiguration = deserializeAws_restJson1JWTConfiguration(data.jwtConfiguration, context);
6506
6506
  }
6507
6507
  if (data.name !== undefined && data.name !== null) {
6508
- contents.Name = smithy_client_1.expectString(data.name);
6508
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
6509
6509
  }
6510
6510
  return Promise.resolve(contents);
6511
6511
  };
@@ -6538,7 +6538,7 @@ const deserializeAws_restJson1UpdateAuthorizerCommandError = async (output, cont
6538
6538
  $fault: "client",
6539
6539
  $metadata: deserializeMetadata(output),
6540
6540
  });
6541
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6541
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6542
6542
  }
6543
6543
  };
6544
6544
  const deserializeAws_restJson1UpdateDeploymentCommand = async (output, context) => {
@@ -6554,24 +6554,24 @@ const deserializeAws_restJson1UpdateDeploymentCommand = async (output, context)
6554
6554
  DeploymentStatusMessage: undefined,
6555
6555
  Description: undefined,
6556
6556
  };
6557
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6557
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6558
6558
  if (data.autoDeployed !== undefined && data.autoDeployed !== null) {
6559
- contents.AutoDeployed = smithy_client_1.expectBoolean(data.autoDeployed);
6559
+ contents.AutoDeployed = (0, smithy_client_1.expectBoolean)(data.autoDeployed);
6560
6560
  }
6561
6561
  if (data.createdDate !== undefined && data.createdDate !== null) {
6562
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
6562
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
6563
6563
  }
6564
6564
  if (data.deploymentId !== undefined && data.deploymentId !== null) {
6565
- contents.DeploymentId = smithy_client_1.expectString(data.deploymentId);
6565
+ contents.DeploymentId = (0, smithy_client_1.expectString)(data.deploymentId);
6566
6566
  }
6567
6567
  if (data.deploymentStatus !== undefined && data.deploymentStatus !== null) {
6568
- contents.DeploymentStatus = smithy_client_1.expectString(data.deploymentStatus);
6568
+ contents.DeploymentStatus = (0, smithy_client_1.expectString)(data.deploymentStatus);
6569
6569
  }
6570
6570
  if (data.deploymentStatusMessage !== undefined && data.deploymentStatusMessage !== null) {
6571
- contents.DeploymentStatusMessage = smithy_client_1.expectString(data.deploymentStatusMessage);
6571
+ contents.DeploymentStatusMessage = (0, smithy_client_1.expectString)(data.deploymentStatusMessage);
6572
6572
  }
6573
6573
  if (data.description !== undefined && data.description !== null) {
6574
- contents.Description = smithy_client_1.expectString(data.description);
6574
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
6575
6575
  }
6576
6576
  return Promise.resolve(contents);
6577
6577
  };
@@ -6604,7 +6604,7 @@ const deserializeAws_restJson1UpdateDeploymentCommandError = async (output, cont
6604
6604
  $fault: "client",
6605
6605
  $metadata: deserializeMetadata(output),
6606
6606
  });
6607
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6607
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6608
6608
  }
6609
6609
  };
6610
6610
  const deserializeAws_restJson1UpdateDomainNameCommand = async (output, context) => {
@@ -6619,12 +6619,12 @@ const deserializeAws_restJson1UpdateDomainNameCommand = async (output, context)
6619
6619
  MutualTlsAuthentication: undefined,
6620
6620
  Tags: undefined,
6621
6621
  };
6622
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6622
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6623
6623
  if (data.apiMappingSelectionExpression !== undefined && data.apiMappingSelectionExpression !== null) {
6624
- contents.ApiMappingSelectionExpression = smithy_client_1.expectString(data.apiMappingSelectionExpression);
6624
+ contents.ApiMappingSelectionExpression = (0, smithy_client_1.expectString)(data.apiMappingSelectionExpression);
6625
6625
  }
6626
6626
  if (data.domainName !== undefined && data.domainName !== null) {
6627
- contents.DomainName = smithy_client_1.expectString(data.domainName);
6627
+ contents.DomainName = (0, smithy_client_1.expectString)(data.domainName);
6628
6628
  }
6629
6629
  if (data.domainNameConfigurations !== undefined && data.domainNameConfigurations !== null) {
6630
6630
  contents.DomainNameConfigurations = deserializeAws_restJson1DomainNameConfigurations(data.domainNameConfigurations, context);
@@ -6666,7 +6666,7 @@ const deserializeAws_restJson1UpdateDomainNameCommandError = async (output, cont
6666
6666
  $fault: "client",
6667
6667
  $metadata: deserializeMetadata(output),
6668
6668
  });
6669
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6669
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6670
6670
  }
6671
6671
  };
6672
6672
  const deserializeAws_restJson1UpdateIntegrationCommand = async (output, context) => {
@@ -6696,49 +6696,49 @@ const deserializeAws_restJson1UpdateIntegrationCommand = async (output, context)
6696
6696
  TimeoutInMillis: undefined,
6697
6697
  TlsConfig: undefined,
6698
6698
  };
6699
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6699
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6700
6700
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
6701
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
6701
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
6702
6702
  }
6703
6703
  if (data.connectionId !== undefined && data.connectionId !== null) {
6704
- contents.ConnectionId = smithy_client_1.expectString(data.connectionId);
6704
+ contents.ConnectionId = (0, smithy_client_1.expectString)(data.connectionId);
6705
6705
  }
6706
6706
  if (data.connectionType !== undefined && data.connectionType !== null) {
6707
- contents.ConnectionType = smithy_client_1.expectString(data.connectionType);
6707
+ contents.ConnectionType = (0, smithy_client_1.expectString)(data.connectionType);
6708
6708
  }
6709
6709
  if (data.contentHandlingStrategy !== undefined && data.contentHandlingStrategy !== null) {
6710
- contents.ContentHandlingStrategy = smithy_client_1.expectString(data.contentHandlingStrategy);
6710
+ contents.ContentHandlingStrategy = (0, smithy_client_1.expectString)(data.contentHandlingStrategy);
6711
6711
  }
6712
6712
  if (data.credentialsArn !== undefined && data.credentialsArn !== null) {
6713
- contents.CredentialsArn = smithy_client_1.expectString(data.credentialsArn);
6713
+ contents.CredentialsArn = (0, smithy_client_1.expectString)(data.credentialsArn);
6714
6714
  }
6715
6715
  if (data.description !== undefined && data.description !== null) {
6716
- contents.Description = smithy_client_1.expectString(data.description);
6716
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
6717
6717
  }
6718
6718
  if (data.integrationId !== undefined && data.integrationId !== null) {
6719
- contents.IntegrationId = smithy_client_1.expectString(data.integrationId);
6719
+ contents.IntegrationId = (0, smithy_client_1.expectString)(data.integrationId);
6720
6720
  }
6721
6721
  if (data.integrationMethod !== undefined && data.integrationMethod !== null) {
6722
- contents.IntegrationMethod = smithy_client_1.expectString(data.integrationMethod);
6722
+ contents.IntegrationMethod = (0, smithy_client_1.expectString)(data.integrationMethod);
6723
6723
  }
6724
6724
  if (data.integrationResponseSelectionExpression !== undefined &&
6725
6725
  data.integrationResponseSelectionExpression !== null) {
6726
- contents.IntegrationResponseSelectionExpression = smithy_client_1.expectString(data.integrationResponseSelectionExpression);
6726
+ contents.IntegrationResponseSelectionExpression = (0, smithy_client_1.expectString)(data.integrationResponseSelectionExpression);
6727
6727
  }
6728
6728
  if (data.integrationSubtype !== undefined && data.integrationSubtype !== null) {
6729
- contents.IntegrationSubtype = smithy_client_1.expectString(data.integrationSubtype);
6729
+ contents.IntegrationSubtype = (0, smithy_client_1.expectString)(data.integrationSubtype);
6730
6730
  }
6731
6731
  if (data.integrationType !== undefined && data.integrationType !== null) {
6732
- contents.IntegrationType = smithy_client_1.expectString(data.integrationType);
6732
+ contents.IntegrationType = (0, smithy_client_1.expectString)(data.integrationType);
6733
6733
  }
6734
6734
  if (data.integrationUri !== undefined && data.integrationUri !== null) {
6735
- contents.IntegrationUri = smithy_client_1.expectString(data.integrationUri);
6735
+ contents.IntegrationUri = (0, smithy_client_1.expectString)(data.integrationUri);
6736
6736
  }
6737
6737
  if (data.passthroughBehavior !== undefined && data.passthroughBehavior !== null) {
6738
- contents.PassthroughBehavior = smithy_client_1.expectString(data.passthroughBehavior);
6738
+ contents.PassthroughBehavior = (0, smithy_client_1.expectString)(data.passthroughBehavior);
6739
6739
  }
6740
6740
  if (data.payloadFormatVersion !== undefined && data.payloadFormatVersion !== null) {
6741
- contents.PayloadFormatVersion = smithy_client_1.expectString(data.payloadFormatVersion);
6741
+ contents.PayloadFormatVersion = (0, smithy_client_1.expectString)(data.payloadFormatVersion);
6742
6742
  }
6743
6743
  if (data.requestParameters !== undefined && data.requestParameters !== null) {
6744
6744
  contents.RequestParameters = deserializeAws_restJson1IntegrationParameters(data.requestParameters, context);
@@ -6750,10 +6750,10 @@ const deserializeAws_restJson1UpdateIntegrationCommand = async (output, context)
6750
6750
  contents.ResponseParameters = deserializeAws_restJson1ResponseParameters(data.responseParameters, context);
6751
6751
  }
6752
6752
  if (data.templateSelectionExpression !== undefined && data.templateSelectionExpression !== null) {
6753
- contents.TemplateSelectionExpression = smithy_client_1.expectString(data.templateSelectionExpression);
6753
+ contents.TemplateSelectionExpression = (0, smithy_client_1.expectString)(data.templateSelectionExpression);
6754
6754
  }
6755
6755
  if (data.timeoutInMillis !== undefined && data.timeoutInMillis !== null) {
6756
- contents.TimeoutInMillis = smithy_client_1.expectInt32(data.timeoutInMillis);
6756
+ contents.TimeoutInMillis = (0, smithy_client_1.expectInt32)(data.timeoutInMillis);
6757
6757
  }
6758
6758
  if (data.tlsConfig !== undefined && data.tlsConfig !== null) {
6759
6759
  contents.TlsConfig = deserializeAws_restJson1TlsConfig(data.tlsConfig, context);
@@ -6789,7 +6789,7 @@ const deserializeAws_restJson1UpdateIntegrationCommandError = async (output, con
6789
6789
  $fault: "client",
6790
6790
  $metadata: deserializeMetadata(output),
6791
6791
  });
6792
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6792
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6793
6793
  }
6794
6794
  };
6795
6795
  const deserializeAws_restJson1UpdateIntegrationResponseCommand = async (output, context) => {
@@ -6805,15 +6805,15 @@ const deserializeAws_restJson1UpdateIntegrationResponseCommand = async (output,
6805
6805
  ResponseTemplates: undefined,
6806
6806
  TemplateSelectionExpression: undefined,
6807
6807
  };
6808
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6808
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6809
6809
  if (data.contentHandlingStrategy !== undefined && data.contentHandlingStrategy !== null) {
6810
- contents.ContentHandlingStrategy = smithy_client_1.expectString(data.contentHandlingStrategy);
6810
+ contents.ContentHandlingStrategy = (0, smithy_client_1.expectString)(data.contentHandlingStrategy);
6811
6811
  }
6812
6812
  if (data.integrationResponseId !== undefined && data.integrationResponseId !== null) {
6813
- contents.IntegrationResponseId = smithy_client_1.expectString(data.integrationResponseId);
6813
+ contents.IntegrationResponseId = (0, smithy_client_1.expectString)(data.integrationResponseId);
6814
6814
  }
6815
6815
  if (data.integrationResponseKey !== undefined && data.integrationResponseKey !== null) {
6816
- contents.IntegrationResponseKey = smithy_client_1.expectString(data.integrationResponseKey);
6816
+ contents.IntegrationResponseKey = (0, smithy_client_1.expectString)(data.integrationResponseKey);
6817
6817
  }
6818
6818
  if (data.responseParameters !== undefined && data.responseParameters !== null) {
6819
6819
  contents.ResponseParameters = deserializeAws_restJson1IntegrationParameters(data.responseParameters, context);
@@ -6822,7 +6822,7 @@ const deserializeAws_restJson1UpdateIntegrationResponseCommand = async (output,
6822
6822
  contents.ResponseTemplates = deserializeAws_restJson1TemplateMap(data.responseTemplates, context);
6823
6823
  }
6824
6824
  if (data.templateSelectionExpression !== undefined && data.templateSelectionExpression !== null) {
6825
- contents.TemplateSelectionExpression = smithy_client_1.expectString(data.templateSelectionExpression);
6825
+ contents.TemplateSelectionExpression = (0, smithy_client_1.expectString)(data.templateSelectionExpression);
6826
6826
  }
6827
6827
  return Promise.resolve(contents);
6828
6828
  };
@@ -6855,7 +6855,7 @@ const deserializeAws_restJson1UpdateIntegrationResponseCommandError = async (out
6855
6855
  $fault: "client",
6856
6856
  $metadata: deserializeMetadata(output),
6857
6857
  });
6858
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6858
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6859
6859
  }
6860
6860
  };
6861
6861
  const deserializeAws_restJson1UpdateModelCommand = async (output, context) => {
@@ -6870,21 +6870,21 @@ const deserializeAws_restJson1UpdateModelCommand = async (output, context) => {
6870
6870
  Name: undefined,
6871
6871
  Schema: undefined,
6872
6872
  };
6873
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6873
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6874
6874
  if (data.contentType !== undefined && data.contentType !== null) {
6875
- contents.ContentType = smithy_client_1.expectString(data.contentType);
6875
+ contents.ContentType = (0, smithy_client_1.expectString)(data.contentType);
6876
6876
  }
6877
6877
  if (data.description !== undefined && data.description !== null) {
6878
- contents.Description = smithy_client_1.expectString(data.description);
6878
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
6879
6879
  }
6880
6880
  if (data.modelId !== undefined && data.modelId !== null) {
6881
- contents.ModelId = smithy_client_1.expectString(data.modelId);
6881
+ contents.ModelId = (0, smithy_client_1.expectString)(data.modelId);
6882
6882
  }
6883
6883
  if (data.name !== undefined && data.name !== null) {
6884
- contents.Name = smithy_client_1.expectString(data.name);
6884
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
6885
6885
  }
6886
6886
  if (data.schema !== undefined && data.schema !== null) {
6887
- contents.Schema = smithy_client_1.expectString(data.schema);
6887
+ contents.Schema = (0, smithy_client_1.expectString)(data.schema);
6888
6888
  }
6889
6889
  return Promise.resolve(contents);
6890
6890
  };
@@ -6917,7 +6917,7 @@ const deserializeAws_restJson1UpdateModelCommandError = async (output, context)
6917
6917
  $fault: "client",
6918
6918
  $metadata: deserializeMetadata(output),
6919
6919
  });
6920
- throw smithy_client_1.decorateServiceException(response, parsedBody);
6920
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
6921
6921
  }
6922
6922
  };
6923
6923
  const deserializeAws_restJson1UpdateRouteCommand = async (output, context) => {
@@ -6940,27 +6940,27 @@ const deserializeAws_restJson1UpdateRouteCommand = async (output, context) => {
6940
6940
  RouteResponseSelectionExpression: undefined,
6941
6941
  Target: undefined,
6942
6942
  };
6943
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6943
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6944
6944
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
6945
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
6945
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
6946
6946
  }
6947
6947
  if (data.apiKeyRequired !== undefined && data.apiKeyRequired !== null) {
6948
- contents.ApiKeyRequired = smithy_client_1.expectBoolean(data.apiKeyRequired);
6948
+ contents.ApiKeyRequired = (0, smithy_client_1.expectBoolean)(data.apiKeyRequired);
6949
6949
  }
6950
6950
  if (data.authorizationScopes !== undefined && data.authorizationScopes !== null) {
6951
6951
  contents.AuthorizationScopes = deserializeAws_restJson1AuthorizationScopes(data.authorizationScopes, context);
6952
6952
  }
6953
6953
  if (data.authorizationType !== undefined && data.authorizationType !== null) {
6954
- contents.AuthorizationType = smithy_client_1.expectString(data.authorizationType);
6954
+ contents.AuthorizationType = (0, smithy_client_1.expectString)(data.authorizationType);
6955
6955
  }
6956
6956
  if (data.authorizerId !== undefined && data.authorizerId !== null) {
6957
- contents.AuthorizerId = smithy_client_1.expectString(data.authorizerId);
6957
+ contents.AuthorizerId = (0, smithy_client_1.expectString)(data.authorizerId);
6958
6958
  }
6959
6959
  if (data.modelSelectionExpression !== undefined && data.modelSelectionExpression !== null) {
6960
- contents.ModelSelectionExpression = smithy_client_1.expectString(data.modelSelectionExpression);
6960
+ contents.ModelSelectionExpression = (0, smithy_client_1.expectString)(data.modelSelectionExpression);
6961
6961
  }
6962
6962
  if (data.operationName !== undefined && data.operationName !== null) {
6963
- contents.OperationName = smithy_client_1.expectString(data.operationName);
6963
+ contents.OperationName = (0, smithy_client_1.expectString)(data.operationName);
6964
6964
  }
6965
6965
  if (data.requestModels !== undefined && data.requestModels !== null) {
6966
6966
  contents.RequestModels = deserializeAws_restJson1RouteModels(data.requestModels, context);
@@ -6969,16 +6969,16 @@ const deserializeAws_restJson1UpdateRouteCommand = async (output, context) => {
6969
6969
  contents.RequestParameters = deserializeAws_restJson1RouteParameters(data.requestParameters, context);
6970
6970
  }
6971
6971
  if (data.routeId !== undefined && data.routeId !== null) {
6972
- contents.RouteId = smithy_client_1.expectString(data.routeId);
6972
+ contents.RouteId = (0, smithy_client_1.expectString)(data.routeId);
6973
6973
  }
6974
6974
  if (data.routeKey !== undefined && data.routeKey !== null) {
6975
- contents.RouteKey = smithy_client_1.expectString(data.routeKey);
6975
+ contents.RouteKey = (0, smithy_client_1.expectString)(data.routeKey);
6976
6976
  }
6977
6977
  if (data.routeResponseSelectionExpression !== undefined && data.routeResponseSelectionExpression !== null) {
6978
- contents.RouteResponseSelectionExpression = smithy_client_1.expectString(data.routeResponseSelectionExpression);
6978
+ contents.RouteResponseSelectionExpression = (0, smithy_client_1.expectString)(data.routeResponseSelectionExpression);
6979
6979
  }
6980
6980
  if (data.target !== undefined && data.target !== null) {
6981
- contents.Target = smithy_client_1.expectString(data.target);
6981
+ contents.Target = (0, smithy_client_1.expectString)(data.target);
6982
6982
  }
6983
6983
  return Promise.resolve(contents);
6984
6984
  };
@@ -7011,7 +7011,7 @@ const deserializeAws_restJson1UpdateRouteCommandError = async (output, context)
7011
7011
  $fault: "client",
7012
7012
  $metadata: deserializeMetadata(output),
7013
7013
  });
7014
- throw smithy_client_1.decorateServiceException(response, parsedBody);
7014
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
7015
7015
  }
7016
7016
  };
7017
7017
  const deserializeAws_restJson1UpdateRouteResponseCommand = async (output, context) => {
@@ -7026,9 +7026,9 @@ const deserializeAws_restJson1UpdateRouteResponseCommand = async (output, contex
7026
7026
  RouteResponseId: undefined,
7027
7027
  RouteResponseKey: undefined,
7028
7028
  };
7029
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7029
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7030
7030
  if (data.modelSelectionExpression !== undefined && data.modelSelectionExpression !== null) {
7031
- contents.ModelSelectionExpression = smithy_client_1.expectString(data.modelSelectionExpression);
7031
+ contents.ModelSelectionExpression = (0, smithy_client_1.expectString)(data.modelSelectionExpression);
7032
7032
  }
7033
7033
  if (data.responseModels !== undefined && data.responseModels !== null) {
7034
7034
  contents.ResponseModels = deserializeAws_restJson1RouteModels(data.responseModels, context);
@@ -7037,10 +7037,10 @@ const deserializeAws_restJson1UpdateRouteResponseCommand = async (output, contex
7037
7037
  contents.ResponseParameters = deserializeAws_restJson1RouteParameters(data.responseParameters, context);
7038
7038
  }
7039
7039
  if (data.routeResponseId !== undefined && data.routeResponseId !== null) {
7040
- contents.RouteResponseId = smithy_client_1.expectString(data.routeResponseId);
7040
+ contents.RouteResponseId = (0, smithy_client_1.expectString)(data.routeResponseId);
7041
7041
  }
7042
7042
  if (data.routeResponseKey !== undefined && data.routeResponseKey !== null) {
7043
- contents.RouteResponseKey = smithy_client_1.expectString(data.routeResponseKey);
7043
+ contents.RouteResponseKey = (0, smithy_client_1.expectString)(data.routeResponseKey);
7044
7044
  }
7045
7045
  return Promise.resolve(contents);
7046
7046
  };
@@ -7073,7 +7073,7 @@ const deserializeAws_restJson1UpdateRouteResponseCommandError = async (output, c
7073
7073
  $fault: "client",
7074
7074
  $metadata: deserializeMetadata(output),
7075
7075
  });
7076
- throw smithy_client_1.decorateServiceException(response, parsedBody);
7076
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
7077
7077
  }
7078
7078
  };
7079
7079
  const deserializeAws_restJson1UpdateStageCommand = async (output, context) => {
@@ -7097,42 +7097,42 @@ const deserializeAws_restJson1UpdateStageCommand = async (output, context) => {
7097
7097
  StageVariables: undefined,
7098
7098
  Tags: undefined,
7099
7099
  };
7100
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7100
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7101
7101
  if (data.accessLogSettings !== undefined && data.accessLogSettings !== null) {
7102
7102
  contents.AccessLogSettings = deserializeAws_restJson1AccessLogSettings(data.accessLogSettings, context);
7103
7103
  }
7104
7104
  if (data.apiGatewayManaged !== undefined && data.apiGatewayManaged !== null) {
7105
- contents.ApiGatewayManaged = smithy_client_1.expectBoolean(data.apiGatewayManaged);
7105
+ contents.ApiGatewayManaged = (0, smithy_client_1.expectBoolean)(data.apiGatewayManaged);
7106
7106
  }
7107
7107
  if (data.autoDeploy !== undefined && data.autoDeploy !== null) {
7108
- contents.AutoDeploy = smithy_client_1.expectBoolean(data.autoDeploy);
7108
+ contents.AutoDeploy = (0, smithy_client_1.expectBoolean)(data.autoDeploy);
7109
7109
  }
7110
7110
  if (data.clientCertificateId !== undefined && data.clientCertificateId !== null) {
7111
- contents.ClientCertificateId = smithy_client_1.expectString(data.clientCertificateId);
7111
+ contents.ClientCertificateId = (0, smithy_client_1.expectString)(data.clientCertificateId);
7112
7112
  }
7113
7113
  if (data.createdDate !== undefined && data.createdDate !== null) {
7114
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
7114
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
7115
7115
  }
7116
7116
  if (data.defaultRouteSettings !== undefined && data.defaultRouteSettings !== null) {
7117
7117
  contents.DefaultRouteSettings = deserializeAws_restJson1RouteSettings(data.defaultRouteSettings, context);
7118
7118
  }
7119
7119
  if (data.deploymentId !== undefined && data.deploymentId !== null) {
7120
- contents.DeploymentId = smithy_client_1.expectString(data.deploymentId);
7120
+ contents.DeploymentId = (0, smithy_client_1.expectString)(data.deploymentId);
7121
7121
  }
7122
7122
  if (data.description !== undefined && data.description !== null) {
7123
- contents.Description = smithy_client_1.expectString(data.description);
7123
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
7124
7124
  }
7125
7125
  if (data.lastDeploymentStatusMessage !== undefined && data.lastDeploymentStatusMessage !== null) {
7126
- contents.LastDeploymentStatusMessage = smithy_client_1.expectString(data.lastDeploymentStatusMessage);
7126
+ contents.LastDeploymentStatusMessage = (0, smithy_client_1.expectString)(data.lastDeploymentStatusMessage);
7127
7127
  }
7128
7128
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
7129
- contents.LastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.lastUpdatedDate));
7129
+ contents.LastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastUpdatedDate));
7130
7130
  }
7131
7131
  if (data.routeSettings !== undefined && data.routeSettings !== null) {
7132
7132
  contents.RouteSettings = deserializeAws_restJson1RouteSettingsMap(data.routeSettings, context);
7133
7133
  }
7134
7134
  if (data.stageName !== undefined && data.stageName !== null) {
7135
- contents.StageName = smithy_client_1.expectString(data.stageName);
7135
+ contents.StageName = (0, smithy_client_1.expectString)(data.stageName);
7136
7136
  }
7137
7137
  if (data.stageVariables !== undefined && data.stageVariables !== null) {
7138
7138
  contents.StageVariables = deserializeAws_restJson1StageVariablesMap(data.stageVariables, context);
@@ -7171,7 +7171,7 @@ const deserializeAws_restJson1UpdateStageCommandError = async (output, context)
7171
7171
  $fault: "client",
7172
7172
  $metadata: deserializeMetadata(output),
7173
7173
  });
7174
- throw smithy_client_1.decorateServiceException(response, parsedBody);
7174
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
7175
7175
  }
7176
7176
  };
7177
7177
  const deserializeAws_restJson1UpdateVpcLinkCommand = async (output, context) => {
@@ -7190,12 +7190,12 @@ const deserializeAws_restJson1UpdateVpcLinkCommand = async (output, context) =>
7190
7190
  VpcLinkStatusMessage: undefined,
7191
7191
  VpcLinkVersion: undefined,
7192
7192
  };
7193
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7193
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7194
7194
  if (data.createdDate !== undefined && data.createdDate !== null) {
7195
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdDate));
7195
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdDate));
7196
7196
  }
7197
7197
  if (data.name !== undefined && data.name !== null) {
7198
- contents.Name = smithy_client_1.expectString(data.name);
7198
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
7199
7199
  }
7200
7200
  if (data.securityGroupIds !== undefined && data.securityGroupIds !== null) {
7201
7201
  contents.SecurityGroupIds = deserializeAws_restJson1SecurityGroupIdList(data.securityGroupIds, context);
@@ -7207,16 +7207,16 @@ const deserializeAws_restJson1UpdateVpcLinkCommand = async (output, context) =>
7207
7207
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
7208
7208
  }
7209
7209
  if (data.vpcLinkId !== undefined && data.vpcLinkId !== null) {
7210
- contents.VpcLinkId = smithy_client_1.expectString(data.vpcLinkId);
7210
+ contents.VpcLinkId = (0, smithy_client_1.expectString)(data.vpcLinkId);
7211
7211
  }
7212
7212
  if (data.vpcLinkStatus !== undefined && data.vpcLinkStatus !== null) {
7213
- contents.VpcLinkStatus = smithy_client_1.expectString(data.vpcLinkStatus);
7213
+ contents.VpcLinkStatus = (0, smithy_client_1.expectString)(data.vpcLinkStatus);
7214
7214
  }
7215
7215
  if (data.vpcLinkStatusMessage !== undefined && data.vpcLinkStatusMessage !== null) {
7216
- contents.VpcLinkStatusMessage = smithy_client_1.expectString(data.vpcLinkStatusMessage);
7216
+ contents.VpcLinkStatusMessage = (0, smithy_client_1.expectString)(data.vpcLinkStatusMessage);
7217
7217
  }
7218
7218
  if (data.vpcLinkVersion !== undefined && data.vpcLinkVersion !== null) {
7219
- contents.VpcLinkVersion = smithy_client_1.expectString(data.vpcLinkVersion);
7219
+ contents.VpcLinkVersion = (0, smithy_client_1.expectString)(data.vpcLinkVersion);
7220
7220
  }
7221
7221
  return Promise.resolve(contents);
7222
7222
  };
@@ -7246,74 +7246,74 @@ const deserializeAws_restJson1UpdateVpcLinkCommandError = async (output, context
7246
7246
  $fault: "client",
7247
7247
  $metadata: deserializeMetadata(output),
7248
7248
  });
7249
- throw smithy_client_1.decorateServiceException(response, parsedBody);
7249
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
7250
7250
  }
7251
7251
  };
7252
7252
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
7253
7253
  const contents = {};
7254
7254
  const data = parsedOutput.body;
7255
7255
  if (data.message !== undefined && data.message !== null) {
7256
- contents.Message = smithy_client_1.expectString(data.message);
7256
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
7257
7257
  }
7258
7258
  const exception = new models_0_1.AccessDeniedException({
7259
7259
  $metadata: deserializeMetadata(parsedOutput),
7260
7260
  ...contents,
7261
7261
  });
7262
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
7262
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
7263
7263
  };
7264
7264
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
7265
7265
  const contents = {};
7266
7266
  const data = parsedOutput.body;
7267
7267
  if (data.message !== undefined && data.message !== null) {
7268
- contents.Message = smithy_client_1.expectString(data.message);
7268
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
7269
7269
  }
7270
7270
  const exception = new models_0_1.BadRequestException({
7271
7271
  $metadata: deserializeMetadata(parsedOutput),
7272
7272
  ...contents,
7273
7273
  });
7274
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
7274
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
7275
7275
  };
7276
7276
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
7277
7277
  const contents = {};
7278
7278
  const data = parsedOutput.body;
7279
7279
  if (data.message !== undefined && data.message !== null) {
7280
- contents.Message = smithy_client_1.expectString(data.message);
7280
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
7281
7281
  }
7282
7282
  const exception = new models_0_1.ConflictException({
7283
7283
  $metadata: deserializeMetadata(parsedOutput),
7284
7284
  ...contents,
7285
7285
  });
7286
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
7286
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
7287
7287
  };
7288
7288
  const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
7289
7289
  const contents = {};
7290
7290
  const data = parsedOutput.body;
7291
7291
  if (data.message !== undefined && data.message !== null) {
7292
- contents.Message = smithy_client_1.expectString(data.message);
7292
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
7293
7293
  }
7294
7294
  if (data.resourceType !== undefined && data.resourceType !== null) {
7295
- contents.ResourceType = smithy_client_1.expectString(data.resourceType);
7295
+ contents.ResourceType = (0, smithy_client_1.expectString)(data.resourceType);
7296
7296
  }
7297
7297
  const exception = new models_0_1.NotFoundException({
7298
7298
  $metadata: deserializeMetadata(parsedOutput),
7299
7299
  ...contents,
7300
7300
  });
7301
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
7301
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
7302
7302
  };
7303
7303
  const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
7304
7304
  const contents = {};
7305
7305
  const data = parsedOutput.body;
7306
7306
  if (data.limitType !== undefined && data.limitType !== null) {
7307
- contents.LimitType = smithy_client_1.expectString(data.limitType);
7307
+ contents.LimitType = (0, smithy_client_1.expectString)(data.limitType);
7308
7308
  }
7309
7309
  if (data.message !== undefined && data.message !== null) {
7310
- contents.Message = smithy_client_1.expectString(data.message);
7310
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
7311
7311
  }
7312
7312
  const exception = new models_0_1.TooManyRequestsException({
7313
7313
  $metadata: deserializeMetadata(parsedOutput),
7314
7314
  ...contents,
7315
7315
  });
7316
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
7316
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
7317
7317
  };
7318
7318
  const serializeAws_restJson1__listOf__string = (input, context) => {
7319
7319
  return input
@@ -7514,7 +7514,7 @@ const serializeAws_restJson1RouteSettings = (input, context) => {
7514
7514
  ...(input.ThrottlingBurstLimit !== undefined &&
7515
7515
  input.ThrottlingBurstLimit !== null && { throttlingBurstLimit: input.ThrottlingBurstLimit }),
7516
7516
  ...(input.ThrottlingRateLimit !== undefined &&
7517
- input.ThrottlingRateLimit !== null && { throttlingRateLimit: smithy_client_1.serializeFloat(input.ThrottlingRateLimit) }),
7517
+ input.ThrottlingRateLimit !== null && { throttlingRateLimit: (0, smithy_client_1.serializeFloat)(input.ThrottlingRateLimit) }),
7518
7518
  };
7519
7519
  };
7520
7520
  const serializeAws_restJson1RouteSettingsMap = (input, context) => {
@@ -7594,7 +7594,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
7594
7594
  if (entry === null) {
7595
7595
  return null;
7596
7596
  }
7597
- return smithy_client_1.expectString(entry);
7597
+ return (0, smithy_client_1.expectString)(entry);
7598
7598
  });
7599
7599
  return retVal;
7600
7600
  };
@@ -7732,35 +7732,35 @@ const deserializeAws_restJson1__listOfVpcLink = (output, context) => {
7732
7732
  };
7733
7733
  const deserializeAws_restJson1AccessLogSettings = (output, context) => {
7734
7734
  return {
7735
- DestinationArn: smithy_client_1.expectString(output.destinationArn),
7736
- Format: smithy_client_1.expectString(output.format),
7735
+ DestinationArn: (0, smithy_client_1.expectString)(output.destinationArn),
7736
+ Format: (0, smithy_client_1.expectString)(output.format),
7737
7737
  };
7738
7738
  };
7739
7739
  const deserializeAws_restJson1Api = (output, context) => {
7740
7740
  return {
7741
- ApiEndpoint: smithy_client_1.expectString(output.apiEndpoint),
7742
- ApiGatewayManaged: smithy_client_1.expectBoolean(output.apiGatewayManaged),
7743
- ApiId: smithy_client_1.expectString(output.apiId),
7744
- ApiKeySelectionExpression: smithy_client_1.expectString(output.apiKeySelectionExpression),
7741
+ ApiEndpoint: (0, smithy_client_1.expectString)(output.apiEndpoint),
7742
+ ApiGatewayManaged: (0, smithy_client_1.expectBoolean)(output.apiGatewayManaged),
7743
+ ApiId: (0, smithy_client_1.expectString)(output.apiId),
7744
+ ApiKeySelectionExpression: (0, smithy_client_1.expectString)(output.apiKeySelectionExpression),
7745
7745
  CorsConfiguration: output.corsConfiguration !== undefined && output.corsConfiguration !== null
7746
7746
  ? deserializeAws_restJson1Cors(output.corsConfiguration, context)
7747
7747
  : undefined,
7748
7748
  CreatedDate: output.createdDate !== undefined && output.createdDate !== null
7749
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdDate))
7749
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdDate))
7750
7750
  : undefined,
7751
- Description: smithy_client_1.expectString(output.description),
7752
- DisableExecuteApiEndpoint: smithy_client_1.expectBoolean(output.disableExecuteApiEndpoint),
7753
- DisableSchemaValidation: smithy_client_1.expectBoolean(output.disableSchemaValidation),
7751
+ Description: (0, smithy_client_1.expectString)(output.description),
7752
+ DisableExecuteApiEndpoint: (0, smithy_client_1.expectBoolean)(output.disableExecuteApiEndpoint),
7753
+ DisableSchemaValidation: (0, smithy_client_1.expectBoolean)(output.disableSchemaValidation),
7754
7754
  ImportInfo: output.importInfo !== undefined && output.importInfo !== null
7755
7755
  ? deserializeAws_restJson1__listOf__string(output.importInfo, context)
7756
7756
  : undefined,
7757
- Name: smithy_client_1.expectString(output.name),
7758
- ProtocolType: smithy_client_1.expectString(output.protocolType),
7759
- RouteSelectionExpression: smithy_client_1.expectString(output.routeSelectionExpression),
7757
+ Name: (0, smithy_client_1.expectString)(output.name),
7758
+ ProtocolType: (0, smithy_client_1.expectString)(output.protocolType),
7759
+ RouteSelectionExpression: (0, smithy_client_1.expectString)(output.routeSelectionExpression),
7760
7760
  Tags: output.tags !== undefined && output.tags !== null
7761
7761
  ? deserializeAws_restJson1Tags(output.tags, context)
7762
7762
  : undefined,
7763
- Version: smithy_client_1.expectString(output.version),
7763
+ Version: (0, smithy_client_1.expectString)(output.version),
7764
7764
  Warnings: output.warnings !== undefined && output.warnings !== null
7765
7765
  ? deserializeAws_restJson1__listOf__string(output.warnings, context)
7766
7766
  : undefined,
@@ -7768,10 +7768,10 @@ const deserializeAws_restJson1Api = (output, context) => {
7768
7768
  };
7769
7769
  const deserializeAws_restJson1ApiMapping = (output, context) => {
7770
7770
  return {
7771
- ApiId: smithy_client_1.expectString(output.apiId),
7772
- ApiMappingId: smithy_client_1.expectString(output.apiMappingId),
7773
- ApiMappingKey: smithy_client_1.expectString(output.apiMappingKey),
7774
- Stage: smithy_client_1.expectString(output.stage),
7771
+ ApiId: (0, smithy_client_1.expectString)(output.apiId),
7772
+ ApiMappingId: (0, smithy_client_1.expectString)(output.apiMappingId),
7773
+ ApiMappingKey: (0, smithy_client_1.expectString)(output.apiMappingKey),
7774
+ Stage: (0, smithy_client_1.expectString)(output.stage),
7775
7775
  };
7776
7776
  };
7777
7777
  const deserializeAws_restJson1AuthorizationScopes = (output, context) => {
@@ -7781,32 +7781,32 @@ const deserializeAws_restJson1AuthorizationScopes = (output, context) => {
7781
7781
  if (entry === null) {
7782
7782
  return null;
7783
7783
  }
7784
- return smithy_client_1.expectString(entry);
7784
+ return (0, smithy_client_1.expectString)(entry);
7785
7785
  });
7786
7786
  return retVal;
7787
7787
  };
7788
7788
  const deserializeAws_restJson1Authorizer = (output, context) => {
7789
7789
  return {
7790
- AuthorizerCredentialsArn: smithy_client_1.expectString(output.authorizerCredentialsArn),
7791
- AuthorizerId: smithy_client_1.expectString(output.authorizerId),
7792
- AuthorizerPayloadFormatVersion: smithy_client_1.expectString(output.authorizerPayloadFormatVersion),
7793
- AuthorizerResultTtlInSeconds: smithy_client_1.expectInt32(output.authorizerResultTtlInSeconds),
7794
- AuthorizerType: smithy_client_1.expectString(output.authorizerType),
7795
- AuthorizerUri: smithy_client_1.expectString(output.authorizerUri),
7796
- EnableSimpleResponses: smithy_client_1.expectBoolean(output.enableSimpleResponses),
7790
+ AuthorizerCredentialsArn: (0, smithy_client_1.expectString)(output.authorizerCredentialsArn),
7791
+ AuthorizerId: (0, smithy_client_1.expectString)(output.authorizerId),
7792
+ AuthorizerPayloadFormatVersion: (0, smithy_client_1.expectString)(output.authorizerPayloadFormatVersion),
7793
+ AuthorizerResultTtlInSeconds: (0, smithy_client_1.expectInt32)(output.authorizerResultTtlInSeconds),
7794
+ AuthorizerType: (0, smithy_client_1.expectString)(output.authorizerType),
7795
+ AuthorizerUri: (0, smithy_client_1.expectString)(output.authorizerUri),
7796
+ EnableSimpleResponses: (0, smithy_client_1.expectBoolean)(output.enableSimpleResponses),
7797
7797
  IdentitySource: output.identitySource !== undefined && output.identitySource !== null
7798
7798
  ? deserializeAws_restJson1IdentitySourceList(output.identitySource, context)
7799
7799
  : undefined,
7800
- IdentityValidationExpression: smithy_client_1.expectString(output.identityValidationExpression),
7800
+ IdentityValidationExpression: (0, smithy_client_1.expectString)(output.identityValidationExpression),
7801
7801
  JwtConfiguration: output.jwtConfiguration !== undefined && output.jwtConfiguration !== null
7802
7802
  ? deserializeAws_restJson1JWTConfiguration(output.jwtConfiguration, context)
7803
7803
  : undefined,
7804
- Name: smithy_client_1.expectString(output.name),
7804
+ Name: (0, smithy_client_1.expectString)(output.name),
7805
7805
  };
7806
7806
  };
7807
7807
  const deserializeAws_restJson1Cors = (output, context) => {
7808
7808
  return {
7809
- AllowCredentials: smithy_client_1.expectBoolean(output.allowCredentials),
7809
+ AllowCredentials: (0, smithy_client_1.expectBoolean)(output.allowCredentials),
7810
7810
  AllowHeaders: output.allowHeaders !== undefined && output.allowHeaders !== null
7811
7811
  ? deserializeAws_restJson1CorsHeaderList(output.allowHeaders, context)
7812
7812
  : undefined,
@@ -7819,7 +7819,7 @@ const deserializeAws_restJson1Cors = (output, context) => {
7819
7819
  ExposeHeaders: output.exposeHeaders !== undefined && output.exposeHeaders !== null
7820
7820
  ? deserializeAws_restJson1CorsHeaderList(output.exposeHeaders, context)
7821
7821
  : undefined,
7822
- MaxAge: smithy_client_1.expectInt32(output.maxAge),
7822
+ MaxAge: (0, smithy_client_1.expectInt32)(output.maxAge),
7823
7823
  };
7824
7824
  };
7825
7825
  const deserializeAws_restJson1CorsHeaderList = (output, context) => {
@@ -7829,7 +7829,7 @@ const deserializeAws_restJson1CorsHeaderList = (output, context) => {
7829
7829
  if (entry === null) {
7830
7830
  return null;
7831
7831
  }
7832
- return smithy_client_1.expectString(entry);
7832
+ return (0, smithy_client_1.expectString)(entry);
7833
7833
  });
7834
7834
  return retVal;
7835
7835
  };
@@ -7840,7 +7840,7 @@ const deserializeAws_restJson1CorsMethodList = (output, context) => {
7840
7840
  if (entry === null) {
7841
7841
  return null;
7842
7842
  }
7843
- return smithy_client_1.expectString(entry);
7843
+ return (0, smithy_client_1.expectString)(entry);
7844
7844
  });
7845
7845
  return retVal;
7846
7846
  };
@@ -7851,26 +7851,26 @@ const deserializeAws_restJson1CorsOriginList = (output, context) => {
7851
7851
  if (entry === null) {
7852
7852
  return null;
7853
7853
  }
7854
- return smithy_client_1.expectString(entry);
7854
+ return (0, smithy_client_1.expectString)(entry);
7855
7855
  });
7856
7856
  return retVal;
7857
7857
  };
7858
7858
  const deserializeAws_restJson1Deployment = (output, context) => {
7859
7859
  return {
7860
- AutoDeployed: smithy_client_1.expectBoolean(output.autoDeployed),
7860
+ AutoDeployed: (0, smithy_client_1.expectBoolean)(output.autoDeployed),
7861
7861
  CreatedDate: output.createdDate !== undefined && output.createdDate !== null
7862
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdDate))
7862
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdDate))
7863
7863
  : undefined,
7864
- DeploymentId: smithy_client_1.expectString(output.deploymentId),
7865
- DeploymentStatus: smithy_client_1.expectString(output.deploymentStatus),
7866
- DeploymentStatusMessage: smithy_client_1.expectString(output.deploymentStatusMessage),
7867
- Description: smithy_client_1.expectString(output.description),
7864
+ DeploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
7865
+ DeploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
7866
+ DeploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
7867
+ Description: (0, smithy_client_1.expectString)(output.description),
7868
7868
  };
7869
7869
  };
7870
7870
  const deserializeAws_restJson1DomainName = (output, context) => {
7871
7871
  return {
7872
- ApiMappingSelectionExpression: smithy_client_1.expectString(output.apiMappingSelectionExpression),
7873
- DomainName: smithy_client_1.expectString(output.domainName),
7872
+ ApiMappingSelectionExpression: (0, smithy_client_1.expectString)(output.apiMappingSelectionExpression),
7873
+ DomainName: (0, smithy_client_1.expectString)(output.domainName),
7874
7874
  DomainNameConfigurations: output.domainNameConfigurations !== undefined && output.domainNameConfigurations !== null
7875
7875
  ? deserializeAws_restJson1DomainNameConfigurations(output.domainNameConfigurations, context)
7876
7876
  : undefined,
@@ -7884,18 +7884,18 @@ const deserializeAws_restJson1DomainName = (output, context) => {
7884
7884
  };
7885
7885
  const deserializeAws_restJson1DomainNameConfiguration = (output, context) => {
7886
7886
  return {
7887
- ApiGatewayDomainName: smithy_client_1.expectString(output.apiGatewayDomainName),
7888
- CertificateArn: smithy_client_1.expectString(output.certificateArn),
7889
- CertificateName: smithy_client_1.expectString(output.certificateName),
7887
+ ApiGatewayDomainName: (0, smithy_client_1.expectString)(output.apiGatewayDomainName),
7888
+ CertificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
7889
+ CertificateName: (0, smithy_client_1.expectString)(output.certificateName),
7890
7890
  CertificateUploadDate: output.certificateUploadDate !== undefined && output.certificateUploadDate !== null
7891
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.certificateUploadDate))
7891
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.certificateUploadDate))
7892
7892
  : undefined,
7893
- DomainNameStatus: smithy_client_1.expectString(output.domainNameStatus),
7894
- DomainNameStatusMessage: smithy_client_1.expectString(output.domainNameStatusMessage),
7895
- EndpointType: smithy_client_1.expectString(output.endpointType),
7896
- HostedZoneId: smithy_client_1.expectString(output.hostedZoneId),
7897
- OwnershipVerificationCertificateArn: smithy_client_1.expectString(output.ownershipVerificationCertificateArn),
7898
- SecurityPolicy: smithy_client_1.expectString(output.securityPolicy),
7893
+ DomainNameStatus: (0, smithy_client_1.expectString)(output.domainNameStatus),
7894
+ DomainNameStatusMessage: (0, smithy_client_1.expectString)(output.domainNameStatusMessage),
7895
+ EndpointType: (0, smithy_client_1.expectString)(output.endpointType),
7896
+ HostedZoneId: (0, smithy_client_1.expectString)(output.hostedZoneId),
7897
+ OwnershipVerificationCertificateArn: (0, smithy_client_1.expectString)(output.ownershipVerificationCertificateArn),
7898
+ SecurityPolicy: (0, smithy_client_1.expectString)(output.securityPolicy),
7899
7899
  };
7900
7900
  };
7901
7901
  const deserializeAws_restJson1DomainNameConfigurations = (output, context) => {
@@ -7916,26 +7916,26 @@ const deserializeAws_restJson1IdentitySourceList = (output, context) => {
7916
7916
  if (entry === null) {
7917
7917
  return null;
7918
7918
  }
7919
- return smithy_client_1.expectString(entry);
7919
+ return (0, smithy_client_1.expectString)(entry);
7920
7920
  });
7921
7921
  return retVal;
7922
7922
  };
7923
7923
  const deserializeAws_restJson1Integration = (output, context) => {
7924
7924
  return {
7925
- ApiGatewayManaged: smithy_client_1.expectBoolean(output.apiGatewayManaged),
7926
- ConnectionId: smithy_client_1.expectString(output.connectionId),
7927
- ConnectionType: smithy_client_1.expectString(output.connectionType),
7928
- ContentHandlingStrategy: smithy_client_1.expectString(output.contentHandlingStrategy),
7929
- CredentialsArn: smithy_client_1.expectString(output.credentialsArn),
7930
- Description: smithy_client_1.expectString(output.description),
7931
- IntegrationId: smithy_client_1.expectString(output.integrationId),
7932
- IntegrationMethod: smithy_client_1.expectString(output.integrationMethod),
7933
- IntegrationResponseSelectionExpression: smithy_client_1.expectString(output.integrationResponseSelectionExpression),
7934
- IntegrationSubtype: smithy_client_1.expectString(output.integrationSubtype),
7935
- IntegrationType: smithy_client_1.expectString(output.integrationType),
7936
- IntegrationUri: smithy_client_1.expectString(output.integrationUri),
7937
- PassthroughBehavior: smithy_client_1.expectString(output.passthroughBehavior),
7938
- PayloadFormatVersion: smithy_client_1.expectString(output.payloadFormatVersion),
7925
+ ApiGatewayManaged: (0, smithy_client_1.expectBoolean)(output.apiGatewayManaged),
7926
+ ConnectionId: (0, smithy_client_1.expectString)(output.connectionId),
7927
+ ConnectionType: (0, smithy_client_1.expectString)(output.connectionType),
7928
+ ContentHandlingStrategy: (0, smithy_client_1.expectString)(output.contentHandlingStrategy),
7929
+ CredentialsArn: (0, smithy_client_1.expectString)(output.credentialsArn),
7930
+ Description: (0, smithy_client_1.expectString)(output.description),
7931
+ IntegrationId: (0, smithy_client_1.expectString)(output.integrationId),
7932
+ IntegrationMethod: (0, smithy_client_1.expectString)(output.integrationMethod),
7933
+ IntegrationResponseSelectionExpression: (0, smithy_client_1.expectString)(output.integrationResponseSelectionExpression),
7934
+ IntegrationSubtype: (0, smithy_client_1.expectString)(output.integrationSubtype),
7935
+ IntegrationType: (0, smithy_client_1.expectString)(output.integrationType),
7936
+ IntegrationUri: (0, smithy_client_1.expectString)(output.integrationUri),
7937
+ PassthroughBehavior: (0, smithy_client_1.expectString)(output.passthroughBehavior),
7938
+ PayloadFormatVersion: (0, smithy_client_1.expectString)(output.payloadFormatVersion),
7939
7939
  RequestParameters: output.requestParameters !== undefined && output.requestParameters !== null
7940
7940
  ? deserializeAws_restJson1IntegrationParameters(output.requestParameters, context)
7941
7941
  : undefined,
@@ -7945,8 +7945,8 @@ const deserializeAws_restJson1Integration = (output, context) => {
7945
7945
  ResponseParameters: output.responseParameters !== undefined && output.responseParameters !== null
7946
7946
  ? deserializeAws_restJson1ResponseParameters(output.responseParameters, context)
7947
7947
  : undefined,
7948
- TemplateSelectionExpression: smithy_client_1.expectString(output.templateSelectionExpression),
7949
- TimeoutInMillis: smithy_client_1.expectInt32(output.timeoutInMillis),
7948
+ TemplateSelectionExpression: (0, smithy_client_1.expectString)(output.templateSelectionExpression),
7949
+ TimeoutInMillis: (0, smithy_client_1.expectInt32)(output.timeoutInMillis),
7950
7950
  TlsConfig: output.tlsConfig !== undefined && output.tlsConfig !== null
7951
7951
  ? deserializeAws_restJson1TlsConfig(output.tlsConfig, context)
7952
7952
  : undefined,
@@ -7959,22 +7959,22 @@ const deserializeAws_restJson1IntegrationParameters = (output, context) => {
7959
7959
  }
7960
7960
  return {
7961
7961
  ...acc,
7962
- [key]: smithy_client_1.expectString(value),
7962
+ [key]: (0, smithy_client_1.expectString)(value),
7963
7963
  };
7964
7964
  }, {});
7965
7965
  };
7966
7966
  const deserializeAws_restJson1IntegrationResponse = (output, context) => {
7967
7967
  return {
7968
- ContentHandlingStrategy: smithy_client_1.expectString(output.contentHandlingStrategy),
7969
- IntegrationResponseId: smithy_client_1.expectString(output.integrationResponseId),
7970
- IntegrationResponseKey: smithy_client_1.expectString(output.integrationResponseKey),
7968
+ ContentHandlingStrategy: (0, smithy_client_1.expectString)(output.contentHandlingStrategy),
7969
+ IntegrationResponseId: (0, smithy_client_1.expectString)(output.integrationResponseId),
7970
+ IntegrationResponseKey: (0, smithy_client_1.expectString)(output.integrationResponseKey),
7971
7971
  ResponseParameters: output.responseParameters !== undefined && output.responseParameters !== null
7972
7972
  ? deserializeAws_restJson1IntegrationParameters(output.responseParameters, context)
7973
7973
  : undefined,
7974
7974
  ResponseTemplates: output.responseTemplates !== undefined && output.responseTemplates !== null
7975
7975
  ? deserializeAws_restJson1TemplateMap(output.responseTemplates, context)
7976
7976
  : undefined,
7977
- TemplateSelectionExpression: smithy_client_1.expectString(output.templateSelectionExpression),
7977
+ TemplateSelectionExpression: (0, smithy_client_1.expectString)(output.templateSelectionExpression),
7978
7978
  };
7979
7979
  };
7980
7980
  const deserializeAws_restJson1JWTConfiguration = (output, context) => {
@@ -7982,22 +7982,22 @@ const deserializeAws_restJson1JWTConfiguration = (output, context) => {
7982
7982
  Audience: output.audience !== undefined && output.audience !== null
7983
7983
  ? deserializeAws_restJson1__listOf__string(output.audience, context)
7984
7984
  : undefined,
7985
- Issuer: smithy_client_1.expectString(output.issuer),
7985
+ Issuer: (0, smithy_client_1.expectString)(output.issuer),
7986
7986
  };
7987
7987
  };
7988
7988
  const deserializeAws_restJson1Model = (output, context) => {
7989
7989
  return {
7990
- ContentType: smithy_client_1.expectString(output.contentType),
7991
- Description: smithy_client_1.expectString(output.description),
7992
- ModelId: smithy_client_1.expectString(output.modelId),
7993
- Name: smithy_client_1.expectString(output.name),
7994
- Schema: smithy_client_1.expectString(output.schema),
7990
+ ContentType: (0, smithy_client_1.expectString)(output.contentType),
7991
+ Description: (0, smithy_client_1.expectString)(output.description),
7992
+ ModelId: (0, smithy_client_1.expectString)(output.modelId),
7993
+ Name: (0, smithy_client_1.expectString)(output.name),
7994
+ Schema: (0, smithy_client_1.expectString)(output.schema),
7995
7995
  };
7996
7996
  };
7997
7997
  const deserializeAws_restJson1MutualTlsAuthentication = (output, context) => {
7998
7998
  return {
7999
- TruststoreUri: smithy_client_1.expectString(output.truststoreUri),
8000
- TruststoreVersion: smithy_client_1.expectString(output.truststoreVersion),
7999
+ TruststoreUri: (0, smithy_client_1.expectString)(output.truststoreUri),
8000
+ TruststoreVersion: (0, smithy_client_1.expectString)(output.truststoreVersion),
8001
8001
  TruststoreWarnings: output.truststoreWarnings !== undefined && output.truststoreWarnings !== null
8002
8002
  ? deserializeAws_restJson1__listOf__string(output.truststoreWarnings, context)
8003
8003
  : undefined,
@@ -8005,7 +8005,7 @@ const deserializeAws_restJson1MutualTlsAuthentication = (output, context) => {
8005
8005
  };
8006
8006
  const deserializeAws_restJson1ParameterConstraints = (output, context) => {
8007
8007
  return {
8008
- Required: smithy_client_1.expectBoolean(output.required),
8008
+ Required: (0, smithy_client_1.expectBoolean)(output.required),
8009
8009
  };
8010
8010
  };
8011
8011
  const deserializeAws_restJson1ResponseParameters = (output, context) => {
@@ -8021,25 +8021,25 @@ const deserializeAws_restJson1ResponseParameters = (output, context) => {
8021
8021
  };
8022
8022
  const deserializeAws_restJson1Route = (output, context) => {
8023
8023
  return {
8024
- ApiGatewayManaged: smithy_client_1.expectBoolean(output.apiGatewayManaged),
8025
- ApiKeyRequired: smithy_client_1.expectBoolean(output.apiKeyRequired),
8024
+ ApiGatewayManaged: (0, smithy_client_1.expectBoolean)(output.apiGatewayManaged),
8025
+ ApiKeyRequired: (0, smithy_client_1.expectBoolean)(output.apiKeyRequired),
8026
8026
  AuthorizationScopes: output.authorizationScopes !== undefined && output.authorizationScopes !== null
8027
8027
  ? deserializeAws_restJson1AuthorizationScopes(output.authorizationScopes, context)
8028
8028
  : undefined,
8029
- AuthorizationType: smithy_client_1.expectString(output.authorizationType),
8030
- AuthorizerId: smithy_client_1.expectString(output.authorizerId),
8031
- ModelSelectionExpression: smithy_client_1.expectString(output.modelSelectionExpression),
8032
- OperationName: smithy_client_1.expectString(output.operationName),
8029
+ AuthorizationType: (0, smithy_client_1.expectString)(output.authorizationType),
8030
+ AuthorizerId: (0, smithy_client_1.expectString)(output.authorizerId),
8031
+ ModelSelectionExpression: (0, smithy_client_1.expectString)(output.modelSelectionExpression),
8032
+ OperationName: (0, smithy_client_1.expectString)(output.operationName),
8033
8033
  RequestModels: output.requestModels !== undefined && output.requestModels !== null
8034
8034
  ? deserializeAws_restJson1RouteModels(output.requestModels, context)
8035
8035
  : undefined,
8036
8036
  RequestParameters: output.requestParameters !== undefined && output.requestParameters !== null
8037
8037
  ? deserializeAws_restJson1RouteParameters(output.requestParameters, context)
8038
8038
  : undefined,
8039
- RouteId: smithy_client_1.expectString(output.routeId),
8040
- RouteKey: smithy_client_1.expectString(output.routeKey),
8041
- RouteResponseSelectionExpression: smithy_client_1.expectString(output.routeResponseSelectionExpression),
8042
- Target: smithy_client_1.expectString(output.target),
8039
+ RouteId: (0, smithy_client_1.expectString)(output.routeId),
8040
+ RouteKey: (0, smithy_client_1.expectString)(output.routeKey),
8041
+ RouteResponseSelectionExpression: (0, smithy_client_1.expectString)(output.routeResponseSelectionExpression),
8042
+ Target: (0, smithy_client_1.expectString)(output.target),
8043
8043
  };
8044
8044
  };
8045
8045
  const deserializeAws_restJson1RouteModels = (output, context) => {
@@ -8049,7 +8049,7 @@ const deserializeAws_restJson1RouteModels = (output, context) => {
8049
8049
  }
8050
8050
  return {
8051
8051
  ...acc,
8052
- [key]: smithy_client_1.expectString(value),
8052
+ [key]: (0, smithy_client_1.expectString)(value),
8053
8053
  };
8054
8054
  }, {});
8055
8055
  };
@@ -8066,24 +8066,24 @@ const deserializeAws_restJson1RouteParameters = (output, context) => {
8066
8066
  };
8067
8067
  const deserializeAws_restJson1RouteResponse = (output, context) => {
8068
8068
  return {
8069
- ModelSelectionExpression: smithy_client_1.expectString(output.modelSelectionExpression),
8069
+ ModelSelectionExpression: (0, smithy_client_1.expectString)(output.modelSelectionExpression),
8070
8070
  ResponseModels: output.responseModels !== undefined && output.responseModels !== null
8071
8071
  ? deserializeAws_restJson1RouteModels(output.responseModels, context)
8072
8072
  : undefined,
8073
8073
  ResponseParameters: output.responseParameters !== undefined && output.responseParameters !== null
8074
8074
  ? deserializeAws_restJson1RouteParameters(output.responseParameters, context)
8075
8075
  : undefined,
8076
- RouteResponseId: smithy_client_1.expectString(output.routeResponseId),
8077
- RouteResponseKey: smithy_client_1.expectString(output.routeResponseKey),
8076
+ RouteResponseId: (0, smithy_client_1.expectString)(output.routeResponseId),
8077
+ RouteResponseKey: (0, smithy_client_1.expectString)(output.routeResponseKey),
8078
8078
  };
8079
8079
  };
8080
8080
  const deserializeAws_restJson1RouteSettings = (output, context) => {
8081
8081
  return {
8082
- DataTraceEnabled: smithy_client_1.expectBoolean(output.dataTraceEnabled),
8083
- DetailedMetricsEnabled: smithy_client_1.expectBoolean(output.detailedMetricsEnabled),
8084
- LoggingLevel: smithy_client_1.expectString(output.loggingLevel),
8085
- ThrottlingBurstLimit: smithy_client_1.expectInt32(output.throttlingBurstLimit),
8086
- ThrottlingRateLimit: smithy_client_1.limitedParseDouble(output.throttlingRateLimit),
8082
+ DataTraceEnabled: (0, smithy_client_1.expectBoolean)(output.dataTraceEnabled),
8083
+ DetailedMetricsEnabled: (0, smithy_client_1.expectBoolean)(output.detailedMetricsEnabled),
8084
+ LoggingLevel: (0, smithy_client_1.expectString)(output.loggingLevel),
8085
+ ThrottlingBurstLimit: (0, smithy_client_1.expectInt32)(output.throttlingBurstLimit),
8086
+ ThrottlingRateLimit: (0, smithy_client_1.limitedParseDouble)(output.throttlingRateLimit),
8087
8087
  };
8088
8088
  };
8089
8089
  const deserializeAws_restJson1RouteSettingsMap = (output, context) => {
@@ -8104,7 +8104,7 @@ const deserializeAws_restJson1SecurityGroupIdList = (output, context) => {
8104
8104
  if (entry === null) {
8105
8105
  return null;
8106
8106
  }
8107
- return smithy_client_1.expectString(entry);
8107
+ return (0, smithy_client_1.expectString)(entry);
8108
8108
  });
8109
8109
  return retVal;
8110
8110
  };
@@ -8113,25 +8113,25 @@ const deserializeAws_restJson1Stage = (output, context) => {
8113
8113
  AccessLogSettings: output.accessLogSettings !== undefined && output.accessLogSettings !== null
8114
8114
  ? deserializeAws_restJson1AccessLogSettings(output.accessLogSettings, context)
8115
8115
  : undefined,
8116
- ApiGatewayManaged: smithy_client_1.expectBoolean(output.apiGatewayManaged),
8117
- AutoDeploy: smithy_client_1.expectBoolean(output.autoDeploy),
8118
- ClientCertificateId: smithy_client_1.expectString(output.clientCertificateId),
8116
+ ApiGatewayManaged: (0, smithy_client_1.expectBoolean)(output.apiGatewayManaged),
8117
+ AutoDeploy: (0, smithy_client_1.expectBoolean)(output.autoDeploy),
8118
+ ClientCertificateId: (0, smithy_client_1.expectString)(output.clientCertificateId),
8119
8119
  CreatedDate: output.createdDate !== undefined && output.createdDate !== null
8120
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdDate))
8120
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdDate))
8121
8121
  : undefined,
8122
8122
  DefaultRouteSettings: output.defaultRouteSettings !== undefined && output.defaultRouteSettings !== null
8123
8123
  ? deserializeAws_restJson1RouteSettings(output.defaultRouteSettings, context)
8124
8124
  : undefined,
8125
- DeploymentId: smithy_client_1.expectString(output.deploymentId),
8126
- Description: smithy_client_1.expectString(output.description),
8127
- LastDeploymentStatusMessage: smithy_client_1.expectString(output.lastDeploymentStatusMessage),
8125
+ DeploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
8126
+ Description: (0, smithy_client_1.expectString)(output.description),
8127
+ LastDeploymentStatusMessage: (0, smithy_client_1.expectString)(output.lastDeploymentStatusMessage),
8128
8128
  LastUpdatedDate: output.lastUpdatedDate !== undefined && output.lastUpdatedDate !== null
8129
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.lastUpdatedDate))
8129
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdatedDate))
8130
8130
  : undefined,
8131
8131
  RouteSettings: output.routeSettings !== undefined && output.routeSettings !== null
8132
8132
  ? deserializeAws_restJson1RouteSettingsMap(output.routeSettings, context)
8133
8133
  : undefined,
8134
- StageName: smithy_client_1.expectString(output.stageName),
8134
+ StageName: (0, smithy_client_1.expectString)(output.stageName),
8135
8135
  StageVariables: output.stageVariables !== undefined && output.stageVariables !== null
8136
8136
  ? deserializeAws_restJson1StageVariablesMap(output.stageVariables, context)
8137
8137
  : undefined,
@@ -8147,7 +8147,7 @@ const deserializeAws_restJson1StageVariablesMap = (output, context) => {
8147
8147
  }
8148
8148
  return {
8149
8149
  ...acc,
8150
- [key]: smithy_client_1.expectString(value),
8150
+ [key]: (0, smithy_client_1.expectString)(value),
8151
8151
  };
8152
8152
  }, {});
8153
8153
  };
@@ -8158,7 +8158,7 @@ const deserializeAws_restJson1SubnetIdList = (output, context) => {
8158
8158
  if (entry === null) {
8159
8159
  return null;
8160
8160
  }
8161
- return smithy_client_1.expectString(entry);
8161
+ return (0, smithy_client_1.expectString)(entry);
8162
8162
  });
8163
8163
  return retVal;
8164
8164
  };
@@ -8169,7 +8169,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
8169
8169
  }
8170
8170
  return {
8171
8171
  ...acc,
8172
- [key]: smithy_client_1.expectString(value),
8172
+ [key]: (0, smithy_client_1.expectString)(value),
8173
8173
  };
8174
8174
  }, {});
8175
8175
  };
@@ -8180,21 +8180,21 @@ const deserializeAws_restJson1TemplateMap = (output, context) => {
8180
8180
  }
8181
8181
  return {
8182
8182
  ...acc,
8183
- [key]: smithy_client_1.expectString(value),
8183
+ [key]: (0, smithy_client_1.expectString)(value),
8184
8184
  };
8185
8185
  }, {});
8186
8186
  };
8187
8187
  const deserializeAws_restJson1TlsConfig = (output, context) => {
8188
8188
  return {
8189
- ServerNameToVerify: smithy_client_1.expectString(output.serverNameToVerify),
8189
+ ServerNameToVerify: (0, smithy_client_1.expectString)(output.serverNameToVerify),
8190
8190
  };
8191
8191
  };
8192
8192
  const deserializeAws_restJson1VpcLink = (output, context) => {
8193
8193
  return {
8194
8194
  CreatedDate: output.createdDate !== undefined && output.createdDate !== null
8195
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdDate))
8195
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdDate))
8196
8196
  : undefined,
8197
- Name: smithy_client_1.expectString(output.name),
8197
+ Name: (0, smithy_client_1.expectString)(output.name),
8198
8198
  SecurityGroupIds: output.securityGroupIds !== undefined && output.securityGroupIds !== null
8199
8199
  ? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
8200
8200
  : undefined,
@@ -8204,10 +8204,10 @@ const deserializeAws_restJson1VpcLink = (output, context) => {
8204
8204
  Tags: output.tags !== undefined && output.tags !== null
8205
8205
  ? deserializeAws_restJson1Tags(output.tags, context)
8206
8206
  : undefined,
8207
- VpcLinkId: smithy_client_1.expectString(output.vpcLinkId),
8208
- VpcLinkStatus: smithy_client_1.expectString(output.vpcLinkStatus),
8209
- VpcLinkStatusMessage: smithy_client_1.expectString(output.vpcLinkStatusMessage),
8210
- VpcLinkVersion: smithy_client_1.expectString(output.vpcLinkVersion),
8207
+ VpcLinkId: (0, smithy_client_1.expectString)(output.vpcLinkId),
8208
+ VpcLinkStatus: (0, smithy_client_1.expectString)(output.vpcLinkStatus),
8209
+ VpcLinkStatusMessage: (0, smithy_client_1.expectString)(output.vpcLinkStatusMessage),
8210
+ VpcLinkVersion: (0, smithy_client_1.expectString)(output.vpcLinkVersion),
8211
8211
  };
8212
8212
  };
8213
8213
  const deserializeMetadata = (output) => {