@aws-sdk/client-appsync 3.54.0 → 3.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/AppSyncClient.js +13 -13
  3. package/dist-cjs/commands/AssociateApiCommand.js +3 -3
  4. package/dist-cjs/commands/CreateApiCacheCommand.js +3 -3
  5. package/dist-cjs/commands/CreateApiKeyCommand.js +3 -3
  6. package/dist-cjs/commands/CreateDataSourceCommand.js +3 -3
  7. package/dist-cjs/commands/CreateDomainNameCommand.js +3 -3
  8. package/dist-cjs/commands/CreateFunctionCommand.js +3 -3
  9. package/dist-cjs/commands/CreateGraphqlApiCommand.js +3 -3
  10. package/dist-cjs/commands/CreateResolverCommand.js +3 -3
  11. package/dist-cjs/commands/CreateTypeCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteApiCacheCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteApiKeyCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteDataSourceCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteDomainNameCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteFunctionCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteGraphqlApiCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteResolverCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteTypeCommand.js +3 -3
  20. package/dist-cjs/commands/DisassociateApiCommand.js +3 -3
  21. package/dist-cjs/commands/FlushApiCacheCommand.js +3 -3
  22. package/dist-cjs/commands/GetApiAssociationCommand.js +3 -3
  23. package/dist-cjs/commands/GetApiCacheCommand.js +3 -3
  24. package/dist-cjs/commands/GetDataSourceCommand.js +3 -3
  25. package/dist-cjs/commands/GetDomainNameCommand.js +3 -3
  26. package/dist-cjs/commands/GetFunctionCommand.js +3 -3
  27. package/dist-cjs/commands/GetGraphqlApiCommand.js +3 -3
  28. package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +3 -3
  29. package/dist-cjs/commands/GetResolverCommand.js +3 -3
  30. package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +3 -3
  31. package/dist-cjs/commands/GetTypeCommand.js +3 -3
  32. package/dist-cjs/commands/ListApiKeysCommand.js +3 -3
  33. package/dist-cjs/commands/ListDataSourcesCommand.js +3 -3
  34. package/dist-cjs/commands/ListDomainNamesCommand.js +3 -3
  35. package/dist-cjs/commands/ListFunctionsCommand.js +3 -3
  36. package/dist-cjs/commands/ListGraphqlApisCommand.js +3 -3
  37. package/dist-cjs/commands/ListResolversByFunctionCommand.js +3 -3
  38. package/dist-cjs/commands/ListResolversCommand.js +3 -3
  39. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  40. package/dist-cjs/commands/ListTypesCommand.js +3 -3
  41. package/dist-cjs/commands/StartSchemaCreationCommand.js +3 -3
  42. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  43. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  44. package/dist-cjs/commands/UpdateApiCacheCommand.js +3 -3
  45. package/dist-cjs/commands/UpdateApiKeyCommand.js +3 -3
  46. package/dist-cjs/commands/UpdateDataSourceCommand.js +3 -3
  47. package/dist-cjs/commands/UpdateDomainNameCommand.js +3 -3
  48. package/dist-cjs/commands/UpdateFunctionCommand.js +3 -3
  49. package/dist-cjs/commands/UpdateGraphqlApiCommand.js +3 -3
  50. package/dist-cjs/commands/UpdateResolverCommand.js +3 -3
  51. package/dist-cjs/commands/UpdateTypeCommand.js +3 -3
  52. package/dist-cjs/endpoints.js +1 -1
  53. package/dist-cjs/protocols/Aws_restJson1.js +283 -283
  54. package/dist-cjs/runtimeConfig.browser.js +4 -4
  55. package/dist-cjs/runtimeConfig.js +9 -9
  56. package/dist-cjs/runtimeConfig.native.js +1 -1
  57. package/dist-es/AppSync.js +49 -49
  58. package/dist-es/protocols/Aws_restJson1.js +49 -49
  59. package/dist-types/runtimeConfig.native.d.ts +2 -2
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  61. package/package.json +34 -34
@@ -17,7 +17,7 @@ const serializeAws_restJson1AssociateApiCommand = async (input, context) => {
17
17
  if (labelValue.length <= 0) {
18
18
  throw new Error("Empty value provided for input HTTP label: domainName.");
19
19
  }
20
- resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
20
+ resolvedPath = resolvedPath.replace("{domainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
21
21
  }
22
22
  else {
23
23
  throw new Error("No value provided for input HTTP label: domainName.");
@@ -48,7 +48,7 @@ const serializeAws_restJson1CreateApiCacheCommand = async (input, context) => {
48
48
  if (labelValue.length <= 0) {
49
49
  throw new Error("Empty value provided for input HTTP label: apiId.");
50
50
  }
51
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
51
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
52
52
  }
53
53
  else {
54
54
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -86,7 +86,7 @@ const serializeAws_restJson1CreateApiKeyCommand = async (input, context) => {
86
86
  if (labelValue.length <= 0) {
87
87
  throw new Error("Empty value provided for input HTTP label: apiId.");
88
88
  }
89
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
89
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
90
90
  }
91
91
  else {
92
92
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -118,7 +118,7 @@ const serializeAws_restJson1CreateDataSourceCommand = async (input, context) =>
118
118
  if (labelValue.length <= 0) {
119
119
  throw new Error("Empty value provided for input HTTP label: apiId.");
120
120
  }
121
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
121
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
122
122
  }
123
123
  else {
124
124
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -201,7 +201,7 @@ const serializeAws_restJson1CreateFunctionCommand = async (input, context) => {
201
201
  if (labelValue.length <= 0) {
202
202
  throw new Error("Empty value provided for input HTTP label: apiId.");
203
203
  }
204
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
204
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
205
205
  }
206
206
  else {
207
207
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -288,7 +288,7 @@ const serializeAws_restJson1CreateResolverCommand = async (input, context) => {
288
288
  if (labelValue.length <= 0) {
289
289
  throw new Error("Empty value provided for input HTTP label: apiId.");
290
290
  }
291
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
291
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
292
292
  }
293
293
  else {
294
294
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -298,7 +298,7 @@ const serializeAws_restJson1CreateResolverCommand = async (input, context) => {
298
298
  if (labelValue.length <= 0) {
299
299
  throw new Error("Empty value provided for input HTTP label: typeName.");
300
300
  }
301
- resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
301
+ resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
302
302
  }
303
303
  else {
304
304
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -347,7 +347,7 @@ const serializeAws_restJson1CreateTypeCommand = async (input, context) => {
347
347
  if (labelValue.length <= 0) {
348
348
  throw new Error("Empty value provided for input HTTP label: apiId.");
349
349
  }
350
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
350
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
351
351
  }
352
352
  else {
353
353
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -377,7 +377,7 @@ const serializeAws_restJson1DeleteApiCacheCommand = async (input, context) => {
377
377
  if (labelValue.length <= 0) {
378
378
  throw new Error("Empty value provided for input HTTP label: apiId.");
379
379
  }
380
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
380
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
381
381
  }
382
382
  else {
383
383
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -403,7 +403,7 @@ const serializeAws_restJson1DeleteApiKeyCommand = async (input, context) => {
403
403
  if (labelValue.length <= 0) {
404
404
  throw new Error("Empty value provided for input HTTP label: apiId.");
405
405
  }
406
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
406
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
407
407
  }
408
408
  else {
409
409
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -413,7 +413,7 @@ const serializeAws_restJson1DeleteApiKeyCommand = async (input, context) => {
413
413
  if (labelValue.length <= 0) {
414
414
  throw new Error("Empty value provided for input HTTP label: id.");
415
415
  }
416
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
416
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
417
417
  }
418
418
  else {
419
419
  throw new Error("No value provided for input HTTP label: id.");
@@ -439,7 +439,7 @@ const serializeAws_restJson1DeleteDataSourceCommand = async (input, context) =>
439
439
  if (labelValue.length <= 0) {
440
440
  throw new Error("Empty value provided for input HTTP label: apiId.");
441
441
  }
442
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
442
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
443
443
  }
444
444
  else {
445
445
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -449,7 +449,7 @@ const serializeAws_restJson1DeleteDataSourceCommand = async (input, context) =>
449
449
  if (labelValue.length <= 0) {
450
450
  throw new Error("Empty value provided for input HTTP label: name.");
451
451
  }
452
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
452
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
453
453
  }
454
454
  else {
455
455
  throw new Error("No value provided for input HTTP label: name.");
@@ -475,7 +475,7 @@ const serializeAws_restJson1DeleteDomainNameCommand = async (input, context) =>
475
475
  if (labelValue.length <= 0) {
476
476
  throw new Error("Empty value provided for input HTTP label: domainName.");
477
477
  }
478
- resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
478
+ resolvedPath = resolvedPath.replace("{domainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
479
479
  }
480
480
  else {
481
481
  throw new Error("No value provided for input HTTP label: domainName.");
@@ -501,7 +501,7 @@ const serializeAws_restJson1DeleteFunctionCommand = async (input, context) => {
501
501
  if (labelValue.length <= 0) {
502
502
  throw new Error("Empty value provided for input HTTP label: apiId.");
503
503
  }
504
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
504
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
505
505
  }
506
506
  else {
507
507
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -511,7 +511,7 @@ const serializeAws_restJson1DeleteFunctionCommand = async (input, context) => {
511
511
  if (labelValue.length <= 0) {
512
512
  throw new Error("Empty value provided for input HTTP label: functionId.");
513
513
  }
514
- resolvedPath = resolvedPath.replace("{functionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
514
+ resolvedPath = resolvedPath.replace("{functionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
515
515
  }
516
516
  else {
517
517
  throw new Error("No value provided for input HTTP label: functionId.");
@@ -537,7 +537,7 @@ const serializeAws_restJson1DeleteGraphqlApiCommand = async (input, context) =>
537
537
  if (labelValue.length <= 0) {
538
538
  throw new Error("Empty value provided for input HTTP label: apiId.");
539
539
  }
540
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
540
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
541
541
  }
542
542
  else {
543
543
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -564,7 +564,7 @@ const serializeAws_restJson1DeleteResolverCommand = async (input, context) => {
564
564
  if (labelValue.length <= 0) {
565
565
  throw new Error("Empty value provided for input HTTP label: apiId.");
566
566
  }
567
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
567
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
568
568
  }
569
569
  else {
570
570
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -574,7 +574,7 @@ const serializeAws_restJson1DeleteResolverCommand = async (input, context) => {
574
574
  if (labelValue.length <= 0) {
575
575
  throw new Error("Empty value provided for input HTTP label: typeName.");
576
576
  }
577
- resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
577
+ resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
578
578
  }
579
579
  else {
580
580
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -584,7 +584,7 @@ const serializeAws_restJson1DeleteResolverCommand = async (input, context) => {
584
584
  if (labelValue.length <= 0) {
585
585
  throw new Error("Empty value provided for input HTTP label: fieldName.");
586
586
  }
587
- resolvedPath = resolvedPath.replace("{fieldName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
587
+ resolvedPath = resolvedPath.replace("{fieldName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
588
588
  }
589
589
  else {
590
590
  throw new Error("No value provided for input HTTP label: fieldName.");
@@ -610,7 +610,7 @@ const serializeAws_restJson1DeleteTypeCommand = async (input, context) => {
610
610
  if (labelValue.length <= 0) {
611
611
  throw new Error("Empty value provided for input HTTP label: apiId.");
612
612
  }
613
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
613
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
614
614
  }
615
615
  else {
616
616
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -620,7 +620,7 @@ const serializeAws_restJson1DeleteTypeCommand = async (input, context) => {
620
620
  if (labelValue.length <= 0) {
621
621
  throw new Error("Empty value provided for input HTTP label: typeName.");
622
622
  }
623
- resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
623
+ resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
624
624
  }
625
625
  else {
626
626
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -646,7 +646,7 @@ const serializeAws_restJson1DisassociateApiCommand = async (input, context) => {
646
646
  if (labelValue.length <= 0) {
647
647
  throw new Error("Empty value provided for input HTTP label: domainName.");
648
648
  }
649
- resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
649
+ resolvedPath = resolvedPath.replace("{domainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
650
650
  }
651
651
  else {
652
652
  throw new Error("No value provided for input HTTP label: domainName.");
@@ -672,7 +672,7 @@ const serializeAws_restJson1FlushApiCacheCommand = async (input, context) => {
672
672
  if (labelValue.length <= 0) {
673
673
  throw new Error("Empty value provided for input HTTP label: apiId.");
674
674
  }
675
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
675
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
676
676
  }
677
677
  else {
678
678
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -698,7 +698,7 @@ const serializeAws_restJson1GetApiAssociationCommand = async (input, context) =>
698
698
  if (labelValue.length <= 0) {
699
699
  throw new Error("Empty value provided for input HTTP label: domainName.");
700
700
  }
701
- resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
701
+ resolvedPath = resolvedPath.replace("{domainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
702
702
  }
703
703
  else {
704
704
  throw new Error("No value provided for input HTTP label: domainName.");
@@ -724,7 +724,7 @@ const serializeAws_restJson1GetApiCacheCommand = async (input, context) => {
724
724
  if (labelValue.length <= 0) {
725
725
  throw new Error("Empty value provided for input HTTP label: apiId.");
726
726
  }
727
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
727
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
728
728
  }
729
729
  else {
730
730
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -750,7 +750,7 @@ const serializeAws_restJson1GetDataSourceCommand = async (input, context) => {
750
750
  if (labelValue.length <= 0) {
751
751
  throw new Error("Empty value provided for input HTTP label: apiId.");
752
752
  }
753
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
753
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
754
754
  }
755
755
  else {
756
756
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -760,7 +760,7 @@ const serializeAws_restJson1GetDataSourceCommand = async (input, context) => {
760
760
  if (labelValue.length <= 0) {
761
761
  throw new Error("Empty value provided for input HTTP label: name.");
762
762
  }
763
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
763
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
764
764
  }
765
765
  else {
766
766
  throw new Error("No value provided for input HTTP label: name.");
@@ -786,7 +786,7 @@ const serializeAws_restJson1GetDomainNameCommand = async (input, context) => {
786
786
  if (labelValue.length <= 0) {
787
787
  throw new Error("Empty value provided for input HTTP label: domainName.");
788
788
  }
789
- resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
789
+ resolvedPath = resolvedPath.replace("{domainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
790
790
  }
791
791
  else {
792
792
  throw new Error("No value provided for input HTTP label: domainName.");
@@ -812,7 +812,7 @@ const serializeAws_restJson1GetFunctionCommand = async (input, context) => {
812
812
  if (labelValue.length <= 0) {
813
813
  throw new Error("Empty value provided for input HTTP label: apiId.");
814
814
  }
815
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
815
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
816
816
  }
817
817
  else {
818
818
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -822,7 +822,7 @@ const serializeAws_restJson1GetFunctionCommand = async (input, context) => {
822
822
  if (labelValue.length <= 0) {
823
823
  throw new Error("Empty value provided for input HTTP label: functionId.");
824
824
  }
825
- resolvedPath = resolvedPath.replace("{functionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
825
+ resolvedPath = resolvedPath.replace("{functionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
826
826
  }
827
827
  else {
828
828
  throw new Error("No value provided for input HTTP label: functionId.");
@@ -848,7 +848,7 @@ const serializeAws_restJson1GetGraphqlApiCommand = async (input, context) => {
848
848
  if (labelValue.length <= 0) {
849
849
  throw new Error("Empty value provided for input HTTP label: apiId.");
850
850
  }
851
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
851
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
852
852
  }
853
853
  else {
854
854
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -874,7 +874,7 @@ const serializeAws_restJson1GetIntrospectionSchemaCommand = async (input, contex
874
874
  if (labelValue.length <= 0) {
875
875
  throw new Error("Empty value provided for input HTTP label: apiId.");
876
876
  }
877
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
877
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
878
878
  }
879
879
  else {
880
880
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -906,7 +906,7 @@ const serializeAws_restJson1GetResolverCommand = async (input, context) => {
906
906
  if (labelValue.length <= 0) {
907
907
  throw new Error("Empty value provided for input HTTP label: apiId.");
908
908
  }
909
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
909
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
910
910
  }
911
911
  else {
912
912
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -916,7 +916,7 @@ const serializeAws_restJson1GetResolverCommand = async (input, context) => {
916
916
  if (labelValue.length <= 0) {
917
917
  throw new Error("Empty value provided for input HTTP label: typeName.");
918
918
  }
919
- resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
919
+ resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
920
920
  }
921
921
  else {
922
922
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -926,7 +926,7 @@ const serializeAws_restJson1GetResolverCommand = async (input, context) => {
926
926
  if (labelValue.length <= 0) {
927
927
  throw new Error("Empty value provided for input HTTP label: fieldName.");
928
928
  }
929
- resolvedPath = resolvedPath.replace("{fieldName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
929
+ resolvedPath = resolvedPath.replace("{fieldName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
930
930
  }
931
931
  else {
932
932
  throw new Error("No value provided for input HTTP label: fieldName.");
@@ -952,7 +952,7 @@ const serializeAws_restJson1GetSchemaCreationStatusCommand = async (input, conte
952
952
  if (labelValue.length <= 0) {
953
953
  throw new Error("Empty value provided for input HTTP label: apiId.");
954
954
  }
955
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
955
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
956
956
  }
957
957
  else {
958
958
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -978,7 +978,7 @@ const serializeAws_restJson1GetTypeCommand = async (input, context) => {
978
978
  if (labelValue.length <= 0) {
979
979
  throw new Error("Empty value provided for input HTTP label: apiId.");
980
980
  }
981
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
981
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
982
982
  }
983
983
  else {
984
984
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -988,7 +988,7 @@ const serializeAws_restJson1GetTypeCommand = async (input, context) => {
988
988
  if (labelValue.length <= 0) {
989
989
  throw new Error("Empty value provided for input HTTP label: typeName.");
990
990
  }
991
- resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
991
+ resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
992
992
  }
993
993
  else {
994
994
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -1018,7 +1018,7 @@ const serializeAws_restJson1ListApiKeysCommand = async (input, context) => {
1018
1018
  if (labelValue.length <= 0) {
1019
1019
  throw new Error("Empty value provided for input HTTP label: apiId.");
1020
1020
  }
1021
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1021
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1022
1022
  }
1023
1023
  else {
1024
1024
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1049,7 +1049,7 @@ const serializeAws_restJson1ListDataSourcesCommand = async (input, context) => {
1049
1049
  if (labelValue.length <= 0) {
1050
1050
  throw new Error("Empty value provided for input HTTP label: apiId.");
1051
1051
  }
1052
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1052
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1053
1053
  }
1054
1054
  else {
1055
1055
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1101,7 +1101,7 @@ const serializeAws_restJson1ListFunctionsCommand = async (input, context) => {
1101
1101
  if (labelValue.length <= 0) {
1102
1102
  throw new Error("Empty value provided for input HTTP label: apiId.");
1103
1103
  }
1104
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1104
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1105
1105
  }
1106
1106
  else {
1107
1107
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1154,7 +1154,7 @@ const serializeAws_restJson1ListResolversCommand = async (input, context) => {
1154
1154
  if (labelValue.length <= 0) {
1155
1155
  throw new Error("Empty value provided for input HTTP label: apiId.");
1156
1156
  }
1157
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1157
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1158
1158
  }
1159
1159
  else {
1160
1160
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1164,7 +1164,7 @@ const serializeAws_restJson1ListResolversCommand = async (input, context) => {
1164
1164
  if (labelValue.length <= 0) {
1165
1165
  throw new Error("Empty value provided for input HTTP label: typeName.");
1166
1166
  }
1167
- resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1167
+ resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1168
1168
  }
1169
1169
  else {
1170
1170
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -1196,7 +1196,7 @@ const serializeAws_restJson1ListResolversByFunctionCommand = async (input, conte
1196
1196
  if (labelValue.length <= 0) {
1197
1197
  throw new Error("Empty value provided for input HTTP label: apiId.");
1198
1198
  }
1199
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1199
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1200
1200
  }
1201
1201
  else {
1202
1202
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1206,7 +1206,7 @@ const serializeAws_restJson1ListResolversByFunctionCommand = async (input, conte
1206
1206
  if (labelValue.length <= 0) {
1207
1207
  throw new Error("Empty value provided for input HTTP label: functionId.");
1208
1208
  }
1209
- resolvedPath = resolvedPath.replace("{functionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1209
+ resolvedPath = resolvedPath.replace("{functionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1210
1210
  }
1211
1211
  else {
1212
1212
  throw new Error("No value provided for input HTTP label: functionId.");
@@ -1237,7 +1237,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
1237
1237
  if (labelValue.length <= 0) {
1238
1238
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1239
1239
  }
1240
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1240
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1241
1241
  }
1242
1242
  else {
1243
1243
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1263,7 +1263,7 @@ const serializeAws_restJson1ListTypesCommand = async (input, context) => {
1263
1263
  if (labelValue.length <= 0) {
1264
1264
  throw new Error("Empty value provided for input HTTP label: apiId.");
1265
1265
  }
1266
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1266
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1267
1267
  }
1268
1268
  else {
1269
1269
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1297,7 +1297,7 @@ const serializeAws_restJson1StartSchemaCreationCommand = async (input, context)
1297
1297
  if (labelValue.length <= 0) {
1298
1298
  throw new Error("Empty value provided for input HTTP label: apiId.");
1299
1299
  }
1300
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1300
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1301
1301
  }
1302
1302
  else {
1303
1303
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1329,7 +1329,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
1329
1329
  if (labelValue.length <= 0) {
1330
1330
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1331
1331
  }
1332
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1332
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1333
1333
  }
1334
1334
  else {
1335
1335
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1358,7 +1358,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
1358
1358
  if (labelValue.length <= 0) {
1359
1359
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1360
1360
  }
1361
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1361
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1362
1362
  }
1363
1363
  else {
1364
1364
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1390,7 +1390,7 @@ const serializeAws_restJson1UpdateApiCacheCommand = async (input, context) => {
1390
1390
  if (labelValue.length <= 0) {
1391
1391
  throw new Error("Empty value provided for input HTTP label: apiId.");
1392
1392
  }
1393
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1393
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1394
1394
  }
1395
1395
  else {
1396
1396
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1424,7 +1424,7 @@ const serializeAws_restJson1UpdateApiKeyCommand = async (input, context) => {
1424
1424
  if (labelValue.length <= 0) {
1425
1425
  throw new Error("Empty value provided for input HTTP label: apiId.");
1426
1426
  }
1427
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1427
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1428
1428
  }
1429
1429
  else {
1430
1430
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1434,7 +1434,7 @@ const serializeAws_restJson1UpdateApiKeyCommand = async (input, context) => {
1434
1434
  if (labelValue.length <= 0) {
1435
1435
  throw new Error("Empty value provided for input HTTP label: id.");
1436
1436
  }
1437
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1437
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1438
1438
  }
1439
1439
  else {
1440
1440
  throw new Error("No value provided for input HTTP label: id.");
@@ -1466,7 +1466,7 @@ const serializeAws_restJson1UpdateDataSourceCommand = async (input, context) =>
1466
1466
  if (labelValue.length <= 0) {
1467
1467
  throw new Error("Empty value provided for input HTTP label: apiId.");
1468
1468
  }
1469
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1469
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1470
1470
  }
1471
1471
  else {
1472
1472
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1476,7 +1476,7 @@ const serializeAws_restJson1UpdateDataSourceCommand = async (input, context) =>
1476
1476
  if (labelValue.length <= 0) {
1477
1477
  throw new Error("Empty value provided for input HTTP label: name.");
1478
1478
  }
1479
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1479
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1480
1480
  }
1481
1481
  else {
1482
1482
  throw new Error("No value provided for input HTTP label: name.");
@@ -1534,7 +1534,7 @@ const serializeAws_restJson1UpdateDomainNameCommand = async (input, context) =>
1534
1534
  if (labelValue.length <= 0) {
1535
1535
  throw new Error("Empty value provided for input HTTP label: domainName.");
1536
1536
  }
1537
- resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1537
+ resolvedPath = resolvedPath.replace("{domainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1538
1538
  }
1539
1539
  else {
1540
1540
  throw new Error("No value provided for input HTTP label: domainName.");
@@ -1565,7 +1565,7 @@ const serializeAws_restJson1UpdateFunctionCommand = async (input, context) => {
1565
1565
  if (labelValue.length <= 0) {
1566
1566
  throw new Error("Empty value provided for input HTTP label: apiId.");
1567
1567
  }
1568
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1568
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1569
1569
  }
1570
1570
  else {
1571
1571
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1575,7 +1575,7 @@ const serializeAws_restJson1UpdateFunctionCommand = async (input, context) => {
1575
1575
  if (labelValue.length <= 0) {
1576
1576
  throw new Error("Empty value provided for input HTTP label: functionId.");
1577
1577
  }
1578
- resolvedPath = resolvedPath.replace("{functionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1578
+ resolvedPath = resolvedPath.replace("{functionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1579
1579
  }
1580
1580
  else {
1581
1581
  throw new Error("No value provided for input HTTP label: functionId.");
@@ -1618,7 +1618,7 @@ const serializeAws_restJson1UpdateGraphqlApiCommand = async (input, context) =>
1618
1618
  if (labelValue.length <= 0) {
1619
1619
  throw new Error("Empty value provided for input HTTP label: apiId.");
1620
1620
  }
1621
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1621
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1622
1622
  }
1623
1623
  else {
1624
1624
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1671,7 +1671,7 @@ const serializeAws_restJson1UpdateResolverCommand = async (input, context) => {
1671
1671
  if (labelValue.length <= 0) {
1672
1672
  throw new Error("Empty value provided for input HTTP label: apiId.");
1673
1673
  }
1674
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1674
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1675
1675
  }
1676
1676
  else {
1677
1677
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1681,7 +1681,7 @@ const serializeAws_restJson1UpdateResolverCommand = async (input, context) => {
1681
1681
  if (labelValue.length <= 0) {
1682
1682
  throw new Error("Empty value provided for input HTTP label: typeName.");
1683
1683
  }
1684
- resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1684
+ resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1685
1685
  }
1686
1686
  else {
1687
1687
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -1691,7 +1691,7 @@ const serializeAws_restJson1UpdateResolverCommand = async (input, context) => {
1691
1691
  if (labelValue.length <= 0) {
1692
1692
  throw new Error("Empty value provided for input HTTP label: fieldName.");
1693
1693
  }
1694
- resolvedPath = resolvedPath.replace("{fieldName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1694
+ resolvedPath = resolvedPath.replace("{fieldName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1695
1695
  }
1696
1696
  else {
1697
1697
  throw new Error("No value provided for input HTTP label: fieldName.");
@@ -1739,7 +1739,7 @@ const serializeAws_restJson1UpdateTypeCommand = async (input, context) => {
1739
1739
  if (labelValue.length <= 0) {
1740
1740
  throw new Error("Empty value provided for input HTTP label: apiId.");
1741
1741
  }
1742
- resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1742
+ resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1743
1743
  }
1744
1744
  else {
1745
1745
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1749,7 +1749,7 @@ const serializeAws_restJson1UpdateTypeCommand = async (input, context) => {
1749
1749
  if (labelValue.length <= 0) {
1750
1750
  throw new Error("Empty value provided for input HTTP label: typeName.");
1751
1751
  }
1752
- resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1752
+ resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1753
1753
  }
1754
1754
  else {
1755
1755
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -1778,7 +1778,7 @@ const deserializeAws_restJson1AssociateApiCommand = async (output, context) => {
1778
1778
  $metadata: deserializeMetadata(output),
1779
1779
  apiAssociation: undefined,
1780
1780
  };
1781
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1781
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1782
1782
  if (data.apiAssociation !== undefined && data.apiAssociation !== null) {
1783
1783
  contents.apiAssociation = deserializeAws_restJson1ApiAssociation(data.apiAssociation, context);
1784
1784
  }
@@ -1813,7 +1813,7 @@ const deserializeAws_restJson1AssociateApiCommandError = async (output, context)
1813
1813
  $fault: "client",
1814
1814
  $metadata: deserializeMetadata(output),
1815
1815
  });
1816
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1816
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1817
1817
  }
1818
1818
  };
1819
1819
  const deserializeAws_restJson1CreateApiCacheCommand = async (output, context) => {
@@ -1824,7 +1824,7 @@ const deserializeAws_restJson1CreateApiCacheCommand = async (output, context) =>
1824
1824
  $metadata: deserializeMetadata(output),
1825
1825
  apiCache: undefined,
1826
1826
  };
1827
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1827
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1828
1828
  if (data.apiCache !== undefined && data.apiCache !== null) {
1829
1829
  contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
1830
1830
  }
@@ -1862,7 +1862,7 @@ const deserializeAws_restJson1CreateApiCacheCommandError = async (output, contex
1862
1862
  $fault: "client",
1863
1863
  $metadata: deserializeMetadata(output),
1864
1864
  });
1865
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1865
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1866
1866
  }
1867
1867
  };
1868
1868
  const deserializeAws_restJson1CreateApiKeyCommand = async (output, context) => {
@@ -1873,7 +1873,7 @@ const deserializeAws_restJson1CreateApiKeyCommand = async (output, context) => {
1873
1873
  $metadata: deserializeMetadata(output),
1874
1874
  apiKey: undefined,
1875
1875
  };
1876
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1876
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1877
1877
  if (data.apiKey !== undefined && data.apiKey !== null) {
1878
1878
  contents.apiKey = deserializeAws_restJson1ApiKey(data.apiKey, context);
1879
1879
  }
@@ -1917,7 +1917,7 @@ const deserializeAws_restJson1CreateApiKeyCommandError = async (output, context)
1917
1917
  $fault: "client",
1918
1918
  $metadata: deserializeMetadata(output),
1919
1919
  });
1920
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1920
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1921
1921
  }
1922
1922
  };
1923
1923
  const deserializeAws_restJson1CreateDataSourceCommand = async (output, context) => {
@@ -1928,7 +1928,7 @@ const deserializeAws_restJson1CreateDataSourceCommand = async (output, context)
1928
1928
  $metadata: deserializeMetadata(output),
1929
1929
  dataSource: undefined,
1930
1930
  };
1931
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1931
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1932
1932
  if (data.dataSource !== undefined && data.dataSource !== null) {
1933
1933
  contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
1934
1934
  }
@@ -1966,7 +1966,7 @@ const deserializeAws_restJson1CreateDataSourceCommandError = async (output, cont
1966
1966
  $fault: "client",
1967
1967
  $metadata: deserializeMetadata(output),
1968
1968
  });
1969
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1969
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1970
1970
  }
1971
1971
  };
1972
1972
  const deserializeAws_restJson1CreateDomainNameCommand = async (output, context) => {
@@ -1977,7 +1977,7 @@ const deserializeAws_restJson1CreateDomainNameCommand = async (output, context)
1977
1977
  $metadata: deserializeMetadata(output),
1978
1978
  domainNameConfig: undefined,
1979
1979
  };
1980
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1980
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1981
1981
  if (data.domainNameConfig !== undefined && data.domainNameConfig !== null) {
1982
1982
  contents.domainNameConfig = deserializeAws_restJson1DomainNameConfig(data.domainNameConfig, context);
1983
1983
  }
@@ -2009,7 +2009,7 @@ const deserializeAws_restJson1CreateDomainNameCommandError = async (output, cont
2009
2009
  $fault: "client",
2010
2010
  $metadata: deserializeMetadata(output),
2011
2011
  });
2012
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2012
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2013
2013
  }
2014
2014
  };
2015
2015
  const deserializeAws_restJson1CreateFunctionCommand = async (output, context) => {
@@ -2020,7 +2020,7 @@ const deserializeAws_restJson1CreateFunctionCommand = async (output, context) =>
2020
2020
  $metadata: deserializeMetadata(output),
2021
2021
  functionConfiguration: undefined,
2022
2022
  };
2023
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2023
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2024
2024
  if (data.functionConfiguration !== undefined && data.functionConfiguration !== null) {
2025
2025
  contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
2026
2026
  }
@@ -2055,7 +2055,7 @@ const deserializeAws_restJson1CreateFunctionCommandError = async (output, contex
2055
2055
  $fault: "client",
2056
2056
  $metadata: deserializeMetadata(output),
2057
2057
  });
2058
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2058
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2059
2059
  }
2060
2060
  };
2061
2061
  const deserializeAws_restJson1CreateGraphqlApiCommand = async (output, context) => {
@@ -2066,7 +2066,7 @@ const deserializeAws_restJson1CreateGraphqlApiCommand = async (output, context)
2066
2066
  $metadata: deserializeMetadata(output),
2067
2067
  graphqlApi: undefined,
2068
2068
  };
2069
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2069
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2070
2070
  if (data.graphqlApi !== undefined && data.graphqlApi !== null) {
2071
2071
  contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
2072
2072
  }
@@ -2107,7 +2107,7 @@ const deserializeAws_restJson1CreateGraphqlApiCommandError = async (output, cont
2107
2107
  $fault: "client",
2108
2108
  $metadata: deserializeMetadata(output),
2109
2109
  });
2110
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2110
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2111
2111
  }
2112
2112
  };
2113
2113
  const deserializeAws_restJson1CreateResolverCommand = async (output, context) => {
@@ -2118,7 +2118,7 @@ const deserializeAws_restJson1CreateResolverCommand = async (output, context) =>
2118
2118
  $metadata: deserializeMetadata(output),
2119
2119
  resolver: undefined,
2120
2120
  };
2121
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2121
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2122
2122
  if (data.resolver !== undefined && data.resolver !== null) {
2123
2123
  contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
2124
2124
  }
@@ -2153,7 +2153,7 @@ const deserializeAws_restJson1CreateResolverCommandError = async (output, contex
2153
2153
  $fault: "client",
2154
2154
  $metadata: deserializeMetadata(output),
2155
2155
  });
2156
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2156
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2157
2157
  }
2158
2158
  };
2159
2159
  const deserializeAws_restJson1CreateTypeCommand = async (output, context) => {
@@ -2164,7 +2164,7 @@ const deserializeAws_restJson1CreateTypeCommand = async (output, context) => {
2164
2164
  $metadata: deserializeMetadata(output),
2165
2165
  type: undefined,
2166
2166
  };
2167
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2167
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2168
2168
  if (data.type !== undefined && data.type !== null) {
2169
2169
  contents.type = deserializeAws_restJson1Type(data.type, context);
2170
2170
  }
@@ -2202,7 +2202,7 @@ const deserializeAws_restJson1CreateTypeCommandError = async (output, context) =
2202
2202
  $fault: "client",
2203
2203
  $metadata: deserializeMetadata(output),
2204
2204
  });
2205
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2205
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2206
2206
  }
2207
2207
  };
2208
2208
  const deserializeAws_restJson1DeleteApiCacheCommand = async (output, context) => {
@@ -2247,7 +2247,7 @@ const deserializeAws_restJson1DeleteApiCacheCommandError = async (output, contex
2247
2247
  $fault: "client",
2248
2248
  $metadata: deserializeMetadata(output),
2249
2249
  });
2250
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2250
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2251
2251
  }
2252
2252
  };
2253
2253
  const deserializeAws_restJson1DeleteApiKeyCommand = async (output, context) => {
@@ -2289,7 +2289,7 @@ const deserializeAws_restJson1DeleteApiKeyCommandError = async (output, context)
2289
2289
  $fault: "client",
2290
2290
  $metadata: deserializeMetadata(output),
2291
2291
  });
2292
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2292
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2293
2293
  }
2294
2294
  };
2295
2295
  const deserializeAws_restJson1DeleteDataSourceCommand = async (output, context) => {
@@ -2334,7 +2334,7 @@ const deserializeAws_restJson1DeleteDataSourceCommandError = async (output, cont
2334
2334
  $fault: "client",
2335
2335
  $metadata: deserializeMetadata(output),
2336
2336
  });
2337
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2337
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2338
2338
  }
2339
2339
  };
2340
2340
  const deserializeAws_restJson1DeleteDomainNameCommand = async (output, context) => {
@@ -2379,7 +2379,7 @@ const deserializeAws_restJson1DeleteDomainNameCommandError = async (output, cont
2379
2379
  $fault: "client",
2380
2380
  $metadata: deserializeMetadata(output),
2381
2381
  });
2382
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2382
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2383
2383
  }
2384
2384
  };
2385
2385
  const deserializeAws_restJson1DeleteFunctionCommand = async (output, context) => {
@@ -2421,7 +2421,7 @@ const deserializeAws_restJson1DeleteFunctionCommandError = async (output, contex
2421
2421
  $fault: "client",
2422
2422
  $metadata: deserializeMetadata(output),
2423
2423
  });
2424
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2424
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2425
2425
  }
2426
2426
  };
2427
2427
  const deserializeAws_restJson1DeleteGraphqlApiCommand = async (output, context) => {
@@ -2469,7 +2469,7 @@ const deserializeAws_restJson1DeleteGraphqlApiCommandError = async (output, cont
2469
2469
  $fault: "client",
2470
2470
  $metadata: deserializeMetadata(output),
2471
2471
  });
2472
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2472
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2473
2473
  }
2474
2474
  };
2475
2475
  const deserializeAws_restJson1DeleteResolverCommand = async (output, context) => {
@@ -2511,7 +2511,7 @@ const deserializeAws_restJson1DeleteResolverCommandError = async (output, contex
2511
2511
  $fault: "client",
2512
2512
  $metadata: deserializeMetadata(output),
2513
2513
  });
2514
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2514
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2515
2515
  }
2516
2516
  };
2517
2517
  const deserializeAws_restJson1DeleteTypeCommand = async (output, context) => {
@@ -2556,7 +2556,7 @@ const deserializeAws_restJson1DeleteTypeCommandError = async (output, context) =
2556
2556
  $fault: "client",
2557
2557
  $metadata: deserializeMetadata(output),
2558
2558
  });
2559
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2559
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2560
2560
  }
2561
2561
  };
2562
2562
  const deserializeAws_restJson1DisassociateApiCommand = async (output, context) => {
@@ -2601,7 +2601,7 @@ const deserializeAws_restJson1DisassociateApiCommandError = async (output, conte
2601
2601
  $fault: "client",
2602
2602
  $metadata: deserializeMetadata(output),
2603
2603
  });
2604
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2604
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2605
2605
  }
2606
2606
  };
2607
2607
  const deserializeAws_restJson1FlushApiCacheCommand = async (output, context) => {
@@ -2646,7 +2646,7 @@ const deserializeAws_restJson1FlushApiCacheCommandError = async (output, context
2646
2646
  $fault: "client",
2647
2647
  $metadata: deserializeMetadata(output),
2648
2648
  });
2649
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2649
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2650
2650
  }
2651
2651
  };
2652
2652
  const deserializeAws_restJson1GetApiAssociationCommand = async (output, context) => {
@@ -2657,7 +2657,7 @@ const deserializeAws_restJson1GetApiAssociationCommand = async (output, context)
2657
2657
  $metadata: deserializeMetadata(output),
2658
2658
  apiAssociation: undefined,
2659
2659
  };
2660
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2660
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2661
2661
  if (data.apiAssociation !== undefined && data.apiAssociation !== null) {
2662
2662
  contents.apiAssociation = deserializeAws_restJson1ApiAssociation(data.apiAssociation, context);
2663
2663
  }
@@ -2692,7 +2692,7 @@ const deserializeAws_restJson1GetApiAssociationCommandError = async (output, con
2692
2692
  $fault: "client",
2693
2693
  $metadata: deserializeMetadata(output),
2694
2694
  });
2695
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2695
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2696
2696
  }
2697
2697
  };
2698
2698
  const deserializeAws_restJson1GetApiCacheCommand = async (output, context) => {
@@ -2703,7 +2703,7 @@ const deserializeAws_restJson1GetApiCacheCommand = async (output, context) => {
2703
2703
  $metadata: deserializeMetadata(output),
2704
2704
  apiCache: undefined,
2705
2705
  };
2706
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2706
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2707
2707
  if (data.apiCache !== undefined && data.apiCache !== null) {
2708
2708
  contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
2709
2709
  }
@@ -2741,7 +2741,7 @@ const deserializeAws_restJson1GetApiCacheCommandError = async (output, context)
2741
2741
  $fault: "client",
2742
2742
  $metadata: deserializeMetadata(output),
2743
2743
  });
2744
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2744
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2745
2745
  }
2746
2746
  };
2747
2747
  const deserializeAws_restJson1GetDataSourceCommand = async (output, context) => {
@@ -2752,7 +2752,7 @@ const deserializeAws_restJson1GetDataSourceCommand = async (output, context) =>
2752
2752
  $metadata: deserializeMetadata(output),
2753
2753
  dataSource: undefined,
2754
2754
  };
2755
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2755
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2756
2756
  if (data.dataSource !== undefined && data.dataSource !== null) {
2757
2757
  contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
2758
2758
  }
@@ -2790,7 +2790,7 @@ const deserializeAws_restJson1GetDataSourceCommandError = async (output, context
2790
2790
  $fault: "client",
2791
2791
  $metadata: deserializeMetadata(output),
2792
2792
  });
2793
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2793
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2794
2794
  }
2795
2795
  };
2796
2796
  const deserializeAws_restJson1GetDomainNameCommand = async (output, context) => {
@@ -2801,7 +2801,7 @@ const deserializeAws_restJson1GetDomainNameCommand = async (output, context) =>
2801
2801
  $metadata: deserializeMetadata(output),
2802
2802
  domainNameConfig: undefined,
2803
2803
  };
2804
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2804
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2805
2805
  if (data.domainNameConfig !== undefined && data.domainNameConfig !== null) {
2806
2806
  contents.domainNameConfig = deserializeAws_restJson1DomainNameConfig(data.domainNameConfig, context);
2807
2807
  }
@@ -2836,7 +2836,7 @@ const deserializeAws_restJson1GetDomainNameCommandError = async (output, context
2836
2836
  $fault: "client",
2837
2837
  $metadata: deserializeMetadata(output),
2838
2838
  });
2839
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2839
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2840
2840
  }
2841
2841
  };
2842
2842
  const deserializeAws_restJson1GetFunctionCommand = async (output, context) => {
@@ -2847,7 +2847,7 @@ const deserializeAws_restJson1GetFunctionCommand = async (output, context) => {
2847
2847
  $metadata: deserializeMetadata(output),
2848
2848
  functionConfiguration: undefined,
2849
2849
  };
2850
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2850
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2851
2851
  if (data.functionConfiguration !== undefined && data.functionConfiguration !== null) {
2852
2852
  contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
2853
2853
  }
@@ -2879,7 +2879,7 @@ const deserializeAws_restJson1GetFunctionCommandError = async (output, context)
2879
2879
  $fault: "client",
2880
2880
  $metadata: deserializeMetadata(output),
2881
2881
  });
2882
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2882
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2883
2883
  }
2884
2884
  };
2885
2885
  const deserializeAws_restJson1GetGraphqlApiCommand = async (output, context) => {
@@ -2890,7 +2890,7 @@ const deserializeAws_restJson1GetGraphqlApiCommand = async (output, context) =>
2890
2890
  $metadata: deserializeMetadata(output),
2891
2891
  graphqlApi: undefined,
2892
2892
  };
2893
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2893
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2894
2894
  if (data.graphqlApi !== undefined && data.graphqlApi !== null) {
2895
2895
  contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
2896
2896
  }
@@ -2928,7 +2928,7 @@ const deserializeAws_restJson1GetGraphqlApiCommandError = async (output, context
2928
2928
  $fault: "client",
2929
2929
  $metadata: deserializeMetadata(output),
2930
2930
  });
2931
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2931
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2932
2932
  }
2933
2933
  };
2934
2934
  const deserializeAws_restJson1GetIntrospectionSchemaCommand = async (output, context) => {
@@ -2972,7 +2972,7 @@ const deserializeAws_restJson1GetIntrospectionSchemaCommandError = async (output
2972
2972
  $fault: "client",
2973
2973
  $metadata: deserializeMetadata(output),
2974
2974
  });
2975
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2975
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2976
2976
  }
2977
2977
  };
2978
2978
  const deserializeAws_restJson1GetResolverCommand = async (output, context) => {
@@ -2983,7 +2983,7 @@ const deserializeAws_restJson1GetResolverCommand = async (output, context) => {
2983
2983
  $metadata: deserializeMetadata(output),
2984
2984
  resolver: undefined,
2985
2985
  };
2986
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2986
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2987
2987
  if (data.resolver !== undefined && data.resolver !== null) {
2988
2988
  contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
2989
2989
  }
@@ -3015,7 +3015,7 @@ const deserializeAws_restJson1GetResolverCommandError = async (output, context)
3015
3015
  $fault: "client",
3016
3016
  $metadata: deserializeMetadata(output),
3017
3017
  });
3018
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3018
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3019
3019
  }
3020
3020
  };
3021
3021
  const deserializeAws_restJson1GetSchemaCreationStatusCommand = async (output, context) => {
@@ -3027,12 +3027,12 @@ const deserializeAws_restJson1GetSchemaCreationStatusCommand = async (output, co
3027
3027
  details: undefined,
3028
3028
  status: undefined,
3029
3029
  };
3030
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3030
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3031
3031
  if (data.details !== undefined && data.details !== null) {
3032
- contents.details = smithy_client_1.expectString(data.details);
3032
+ contents.details = (0, smithy_client_1.expectString)(data.details);
3033
3033
  }
3034
3034
  if (data.status !== undefined && data.status !== null) {
3035
- contents.status = smithy_client_1.expectString(data.status);
3035
+ contents.status = (0, smithy_client_1.expectString)(data.status);
3036
3036
  }
3037
3037
  return Promise.resolve(contents);
3038
3038
  };
@@ -3065,7 +3065,7 @@ const deserializeAws_restJson1GetSchemaCreationStatusCommandError = async (outpu
3065
3065
  $fault: "client",
3066
3066
  $metadata: deserializeMetadata(output),
3067
3067
  });
3068
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3068
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3069
3069
  }
3070
3070
  };
3071
3071
  const deserializeAws_restJson1GetTypeCommand = async (output, context) => {
@@ -3076,7 +3076,7 @@ const deserializeAws_restJson1GetTypeCommand = async (output, context) => {
3076
3076
  $metadata: deserializeMetadata(output),
3077
3077
  type: undefined,
3078
3078
  };
3079
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3079
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3080
3080
  if (data.type !== undefined && data.type !== null) {
3081
3081
  contents.type = deserializeAws_restJson1Type(data.type, context);
3082
3082
  }
@@ -3114,7 +3114,7 @@ const deserializeAws_restJson1GetTypeCommandError = async (output, context) => {
3114
3114
  $fault: "client",
3115
3115
  $metadata: deserializeMetadata(output),
3116
3116
  });
3117
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3117
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3118
3118
  }
3119
3119
  };
3120
3120
  const deserializeAws_restJson1ListApiKeysCommand = async (output, context) => {
@@ -3126,12 +3126,12 @@ const deserializeAws_restJson1ListApiKeysCommand = async (output, context) => {
3126
3126
  apiKeys: undefined,
3127
3127
  nextToken: undefined,
3128
3128
  };
3129
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3129
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3130
3130
  if (data.apiKeys !== undefined && data.apiKeys !== null) {
3131
3131
  contents.apiKeys = deserializeAws_restJson1ApiKeys(data.apiKeys, context);
3132
3132
  }
3133
3133
  if (data.nextToken !== undefined && data.nextToken !== null) {
3134
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3134
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3135
3135
  }
3136
3136
  return Promise.resolve(contents);
3137
3137
  };
@@ -3164,7 +3164,7 @@ const deserializeAws_restJson1ListApiKeysCommandError = async (output, context)
3164
3164
  $fault: "client",
3165
3165
  $metadata: deserializeMetadata(output),
3166
3166
  });
3167
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3167
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3168
3168
  }
3169
3169
  };
3170
3170
  const deserializeAws_restJson1ListDataSourcesCommand = async (output, context) => {
@@ -3176,12 +3176,12 @@ const deserializeAws_restJson1ListDataSourcesCommand = async (output, context) =
3176
3176
  dataSources: undefined,
3177
3177
  nextToken: undefined,
3178
3178
  };
3179
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3179
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3180
3180
  if (data.dataSources !== undefined && data.dataSources !== null) {
3181
3181
  contents.dataSources = deserializeAws_restJson1DataSources(data.dataSources, context);
3182
3182
  }
3183
3183
  if (data.nextToken !== undefined && data.nextToken !== null) {
3184
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3184
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3185
3185
  }
3186
3186
  return Promise.resolve(contents);
3187
3187
  };
@@ -3214,7 +3214,7 @@ const deserializeAws_restJson1ListDataSourcesCommandError = async (output, conte
3214
3214
  $fault: "client",
3215
3215
  $metadata: deserializeMetadata(output),
3216
3216
  });
3217
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3217
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3218
3218
  }
3219
3219
  };
3220
3220
  const deserializeAws_restJson1ListDomainNamesCommand = async (output, context) => {
@@ -3226,12 +3226,12 @@ const deserializeAws_restJson1ListDomainNamesCommand = async (output, context) =
3226
3226
  domainNameConfigs: undefined,
3227
3227
  nextToken: undefined,
3228
3228
  };
3229
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3229
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3230
3230
  if (data.domainNameConfigs !== undefined && data.domainNameConfigs !== null) {
3231
3231
  contents.domainNameConfigs = deserializeAws_restJson1DomainNameConfigs(data.domainNameConfigs, context);
3232
3232
  }
3233
3233
  if (data.nextToken !== undefined && data.nextToken !== null) {
3234
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3234
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3235
3235
  }
3236
3236
  return Promise.resolve(contents);
3237
3237
  };
@@ -3261,7 +3261,7 @@ const deserializeAws_restJson1ListDomainNamesCommandError = async (output, conte
3261
3261
  $fault: "client",
3262
3262
  $metadata: deserializeMetadata(output),
3263
3263
  });
3264
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3264
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3265
3265
  }
3266
3266
  };
3267
3267
  const deserializeAws_restJson1ListFunctionsCommand = async (output, context) => {
@@ -3273,12 +3273,12 @@ const deserializeAws_restJson1ListFunctionsCommand = async (output, context) =>
3273
3273
  functions: undefined,
3274
3274
  nextToken: undefined,
3275
3275
  };
3276
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3276
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3277
3277
  if (data.functions !== undefined && data.functions !== null) {
3278
3278
  contents.functions = deserializeAws_restJson1Functions(data.functions, context);
3279
3279
  }
3280
3280
  if (data.nextToken !== undefined && data.nextToken !== null) {
3281
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3281
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3282
3282
  }
3283
3283
  return Promise.resolve(contents);
3284
3284
  };
@@ -3311,7 +3311,7 @@ const deserializeAws_restJson1ListFunctionsCommandError = async (output, context
3311
3311
  $fault: "client",
3312
3312
  $metadata: deserializeMetadata(output),
3313
3313
  });
3314
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3314
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3315
3315
  }
3316
3316
  };
3317
3317
  const deserializeAws_restJson1ListGraphqlApisCommand = async (output, context) => {
@@ -3323,12 +3323,12 @@ const deserializeAws_restJson1ListGraphqlApisCommand = async (output, context) =
3323
3323
  graphqlApis: undefined,
3324
3324
  nextToken: undefined,
3325
3325
  };
3326
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3326
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3327
3327
  if (data.graphqlApis !== undefined && data.graphqlApis !== null) {
3328
3328
  contents.graphqlApis = deserializeAws_restJson1GraphqlApis(data.graphqlApis, context);
3329
3329
  }
3330
3330
  if (data.nextToken !== undefined && data.nextToken !== null) {
3331
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3331
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3332
3332
  }
3333
3333
  return Promise.resolve(contents);
3334
3334
  };
@@ -3358,7 +3358,7 @@ const deserializeAws_restJson1ListGraphqlApisCommandError = async (output, conte
3358
3358
  $fault: "client",
3359
3359
  $metadata: deserializeMetadata(output),
3360
3360
  });
3361
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3361
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3362
3362
  }
3363
3363
  };
3364
3364
  const deserializeAws_restJson1ListResolversCommand = async (output, context) => {
@@ -3370,9 +3370,9 @@ const deserializeAws_restJson1ListResolversCommand = async (output, context) =>
3370
3370
  nextToken: undefined,
3371
3371
  resolvers: undefined,
3372
3372
  };
3373
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3373
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3374
3374
  if (data.nextToken !== undefined && data.nextToken !== null) {
3375
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3375
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3376
3376
  }
3377
3377
  if (data.resolvers !== undefined && data.resolvers !== null) {
3378
3378
  contents.resolvers = deserializeAws_restJson1Resolvers(data.resolvers, context);
@@ -3408,7 +3408,7 @@ const deserializeAws_restJson1ListResolversCommandError = async (output, context
3408
3408
  $fault: "client",
3409
3409
  $metadata: deserializeMetadata(output),
3410
3410
  });
3411
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3411
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3412
3412
  }
3413
3413
  };
3414
3414
  const deserializeAws_restJson1ListResolversByFunctionCommand = async (output, context) => {
@@ -3420,9 +3420,9 @@ const deserializeAws_restJson1ListResolversByFunctionCommand = async (output, co
3420
3420
  nextToken: undefined,
3421
3421
  resolvers: undefined,
3422
3422
  };
3423
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3423
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3424
3424
  if (data.nextToken !== undefined && data.nextToken !== null) {
3425
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3425
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3426
3426
  }
3427
3427
  if (data.resolvers !== undefined && data.resolvers !== null) {
3428
3428
  contents.resolvers = deserializeAws_restJson1Resolvers(data.resolvers, context);
@@ -3458,7 +3458,7 @@ const deserializeAws_restJson1ListResolversByFunctionCommandError = async (outpu
3458
3458
  $fault: "client",
3459
3459
  $metadata: deserializeMetadata(output),
3460
3460
  });
3461
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3461
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3462
3462
  }
3463
3463
  };
3464
3464
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -3469,7 +3469,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
3469
3469
  $metadata: deserializeMetadata(output),
3470
3470
  tags: undefined,
3471
3471
  };
3472
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3472
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3473
3473
  if (data.tags !== undefined && data.tags !== null) {
3474
3474
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3475
3475
  }
@@ -3510,7 +3510,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
3510
3510
  $fault: "client",
3511
3511
  $metadata: deserializeMetadata(output),
3512
3512
  });
3513
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3513
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3514
3514
  }
3515
3515
  };
3516
3516
  const deserializeAws_restJson1ListTypesCommand = async (output, context) => {
@@ -3522,9 +3522,9 @@ const deserializeAws_restJson1ListTypesCommand = async (output, context) => {
3522
3522
  nextToken: undefined,
3523
3523
  types: undefined,
3524
3524
  };
3525
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3525
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3526
3526
  if (data.nextToken !== undefined && data.nextToken !== null) {
3527
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3527
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3528
3528
  }
3529
3529
  if (data.types !== undefined && data.types !== null) {
3530
3530
  contents.types = deserializeAws_restJson1TypeList(data.types, context);
@@ -3563,7 +3563,7 @@ const deserializeAws_restJson1ListTypesCommandError = async (output, context) =>
3563
3563
  $fault: "client",
3564
3564
  $metadata: deserializeMetadata(output),
3565
3565
  });
3566
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3566
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3567
3567
  }
3568
3568
  };
3569
3569
  const deserializeAws_restJson1StartSchemaCreationCommand = async (output, context) => {
@@ -3574,9 +3574,9 @@ const deserializeAws_restJson1StartSchemaCreationCommand = async (output, contex
3574
3574
  $metadata: deserializeMetadata(output),
3575
3575
  status: undefined,
3576
3576
  };
3577
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3577
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3578
3578
  if (data.status !== undefined && data.status !== null) {
3579
- contents.status = smithy_client_1.expectString(data.status);
3579
+ contents.status = (0, smithy_client_1.expectString)(data.status);
3580
3580
  }
3581
3581
  return Promise.resolve(contents);
3582
3582
  };
@@ -3612,7 +3612,7 @@ const deserializeAws_restJson1StartSchemaCreationCommandError = async (output, c
3612
3612
  $fault: "client",
3613
3613
  $metadata: deserializeMetadata(output),
3614
3614
  });
3615
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3615
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3616
3616
  }
3617
3617
  };
3618
3618
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -3660,7 +3660,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3660
3660
  $fault: "client",
3661
3661
  $metadata: deserializeMetadata(output),
3662
3662
  });
3663
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3663
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3664
3664
  }
3665
3665
  };
3666
3666
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -3708,7 +3708,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3708
3708
  $fault: "client",
3709
3709
  $metadata: deserializeMetadata(output),
3710
3710
  });
3711
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3711
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3712
3712
  }
3713
3713
  };
3714
3714
  const deserializeAws_restJson1UpdateApiCacheCommand = async (output, context) => {
@@ -3719,7 +3719,7 @@ const deserializeAws_restJson1UpdateApiCacheCommand = async (output, context) =>
3719
3719
  $metadata: deserializeMetadata(output),
3720
3720
  apiCache: undefined,
3721
3721
  };
3722
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3722
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3723
3723
  if (data.apiCache !== undefined && data.apiCache !== null) {
3724
3724
  contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
3725
3725
  }
@@ -3757,7 +3757,7 @@ const deserializeAws_restJson1UpdateApiCacheCommandError = async (output, contex
3757
3757
  $fault: "client",
3758
3758
  $metadata: deserializeMetadata(output),
3759
3759
  });
3760
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3760
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3761
3761
  }
3762
3762
  };
3763
3763
  const deserializeAws_restJson1UpdateApiKeyCommand = async (output, context) => {
@@ -3768,7 +3768,7 @@ const deserializeAws_restJson1UpdateApiKeyCommand = async (output, context) => {
3768
3768
  $metadata: deserializeMetadata(output),
3769
3769
  apiKey: undefined,
3770
3770
  };
3771
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3771
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3772
3772
  if (data.apiKey !== undefined && data.apiKey !== null) {
3773
3773
  contents.apiKey = deserializeAws_restJson1ApiKey(data.apiKey, context);
3774
3774
  }
@@ -3809,7 +3809,7 @@ const deserializeAws_restJson1UpdateApiKeyCommandError = async (output, context)
3809
3809
  $fault: "client",
3810
3810
  $metadata: deserializeMetadata(output),
3811
3811
  });
3812
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3812
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3813
3813
  }
3814
3814
  };
3815
3815
  const deserializeAws_restJson1UpdateDataSourceCommand = async (output, context) => {
@@ -3820,7 +3820,7 @@ const deserializeAws_restJson1UpdateDataSourceCommand = async (output, context)
3820
3820
  $metadata: deserializeMetadata(output),
3821
3821
  dataSource: undefined,
3822
3822
  };
3823
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3823
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3824
3824
  if (data.dataSource !== undefined && data.dataSource !== null) {
3825
3825
  contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
3826
3826
  }
@@ -3858,7 +3858,7 @@ const deserializeAws_restJson1UpdateDataSourceCommandError = async (output, cont
3858
3858
  $fault: "client",
3859
3859
  $metadata: deserializeMetadata(output),
3860
3860
  });
3861
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3861
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3862
3862
  }
3863
3863
  };
3864
3864
  const deserializeAws_restJson1UpdateDomainNameCommand = async (output, context) => {
@@ -3869,7 +3869,7 @@ const deserializeAws_restJson1UpdateDomainNameCommand = async (output, context)
3869
3869
  $metadata: deserializeMetadata(output),
3870
3870
  domainNameConfig: undefined,
3871
3871
  };
3872
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3872
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3873
3873
  if (data.domainNameConfig !== undefined && data.domainNameConfig !== null) {
3874
3874
  contents.domainNameConfig = deserializeAws_restJson1DomainNameConfig(data.domainNameConfig, context);
3875
3875
  }
@@ -3907,7 +3907,7 @@ const deserializeAws_restJson1UpdateDomainNameCommandError = async (output, cont
3907
3907
  $fault: "client",
3908
3908
  $metadata: deserializeMetadata(output),
3909
3909
  });
3910
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3910
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3911
3911
  }
3912
3912
  };
3913
3913
  const deserializeAws_restJson1UpdateFunctionCommand = async (output, context) => {
@@ -3918,7 +3918,7 @@ const deserializeAws_restJson1UpdateFunctionCommand = async (output, context) =>
3918
3918
  $metadata: deserializeMetadata(output),
3919
3919
  functionConfiguration: undefined,
3920
3920
  };
3921
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3921
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3922
3922
  if (data.functionConfiguration !== undefined && data.functionConfiguration !== null) {
3923
3923
  contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
3924
3924
  }
@@ -3953,7 +3953,7 @@ const deserializeAws_restJson1UpdateFunctionCommandError = async (output, contex
3953
3953
  $fault: "client",
3954
3954
  $metadata: deserializeMetadata(output),
3955
3955
  });
3956
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3956
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3957
3957
  }
3958
3958
  };
3959
3959
  const deserializeAws_restJson1UpdateGraphqlApiCommand = async (output, context) => {
@@ -3964,7 +3964,7 @@ const deserializeAws_restJson1UpdateGraphqlApiCommand = async (output, context)
3964
3964
  $metadata: deserializeMetadata(output),
3965
3965
  graphqlApi: undefined,
3966
3966
  };
3967
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3967
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3968
3968
  if (data.graphqlApi !== undefined && data.graphqlApi !== null) {
3969
3969
  contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
3970
3970
  }
@@ -4005,7 +4005,7 @@ const deserializeAws_restJson1UpdateGraphqlApiCommandError = async (output, cont
4005
4005
  $fault: "client",
4006
4006
  $metadata: deserializeMetadata(output),
4007
4007
  });
4008
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4008
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4009
4009
  }
4010
4010
  };
4011
4011
  const deserializeAws_restJson1UpdateResolverCommand = async (output, context) => {
@@ -4016,7 +4016,7 @@ const deserializeAws_restJson1UpdateResolverCommand = async (output, context) =>
4016
4016
  $metadata: deserializeMetadata(output),
4017
4017
  resolver: undefined,
4018
4018
  };
4019
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4019
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4020
4020
  if (data.resolver !== undefined && data.resolver !== null) {
4021
4021
  contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
4022
4022
  }
@@ -4051,7 +4051,7 @@ const deserializeAws_restJson1UpdateResolverCommandError = async (output, contex
4051
4051
  $fault: "client",
4052
4052
  $metadata: deserializeMetadata(output),
4053
4053
  });
4054
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4054
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4055
4055
  }
4056
4056
  };
4057
4057
  const deserializeAws_restJson1UpdateTypeCommand = async (output, context) => {
@@ -4062,7 +4062,7 @@ const deserializeAws_restJson1UpdateTypeCommand = async (output, context) => {
4062
4062
  $metadata: deserializeMetadata(output),
4063
4063
  type: undefined,
4064
4064
  };
4065
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4065
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4066
4066
  if (data.type !== undefined && data.type !== null) {
4067
4067
  contents.type = deserializeAws_restJson1Type(data.type, context);
4068
4068
  }
@@ -4100,140 +4100,140 @@ const deserializeAws_restJson1UpdateTypeCommandError = async (output, context) =
4100
4100
  $fault: "client",
4101
4101
  $metadata: deserializeMetadata(output),
4102
4102
  });
4103
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4103
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4104
4104
  }
4105
4105
  };
4106
4106
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
4107
4107
  const contents = {};
4108
4108
  const data = parsedOutput.body;
4109
4109
  if (data.message !== undefined && data.message !== null) {
4110
- contents.message = smithy_client_1.expectString(data.message);
4110
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4111
4111
  }
4112
4112
  const exception = new models_0_1.AccessDeniedException({
4113
4113
  $metadata: deserializeMetadata(parsedOutput),
4114
4114
  ...contents,
4115
4115
  });
4116
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4116
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4117
4117
  };
4118
4118
  const deserializeAws_restJson1ApiKeyLimitExceededExceptionResponse = async (parsedOutput, context) => {
4119
4119
  const contents = {};
4120
4120
  const data = parsedOutput.body;
4121
4121
  if (data.message !== undefined && data.message !== null) {
4122
- contents.message = smithy_client_1.expectString(data.message);
4122
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4123
4123
  }
4124
4124
  const exception = new models_0_1.ApiKeyLimitExceededException({
4125
4125
  $metadata: deserializeMetadata(parsedOutput),
4126
4126
  ...contents,
4127
4127
  });
4128
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4128
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4129
4129
  };
4130
4130
  const deserializeAws_restJson1ApiKeyValidityOutOfBoundsExceptionResponse = async (parsedOutput, context) => {
4131
4131
  const contents = {};
4132
4132
  const data = parsedOutput.body;
4133
4133
  if (data.message !== undefined && data.message !== null) {
4134
- contents.message = smithy_client_1.expectString(data.message);
4134
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4135
4135
  }
4136
4136
  const exception = new models_0_1.ApiKeyValidityOutOfBoundsException({
4137
4137
  $metadata: deserializeMetadata(parsedOutput),
4138
4138
  ...contents,
4139
4139
  });
4140
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4140
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4141
4141
  };
4142
4142
  const deserializeAws_restJson1ApiLimitExceededExceptionResponse = async (parsedOutput, context) => {
4143
4143
  const contents = {};
4144
4144
  const data = parsedOutput.body;
4145
4145
  if (data.message !== undefined && data.message !== null) {
4146
- contents.message = smithy_client_1.expectString(data.message);
4146
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4147
4147
  }
4148
4148
  const exception = new models_0_1.ApiLimitExceededException({
4149
4149
  $metadata: deserializeMetadata(parsedOutput),
4150
4150
  ...contents,
4151
4151
  });
4152
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4152
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4153
4153
  };
4154
4154
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
4155
4155
  const contents = {};
4156
4156
  const data = parsedOutput.body;
4157
4157
  if (data.message !== undefined && data.message !== null) {
4158
- contents.message = smithy_client_1.expectString(data.message);
4158
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4159
4159
  }
4160
4160
  const exception = new models_0_1.BadRequestException({
4161
4161
  $metadata: deserializeMetadata(parsedOutput),
4162
4162
  ...contents,
4163
4163
  });
4164
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4164
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4165
4165
  };
4166
4166
  const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
4167
4167
  const contents = {};
4168
4168
  const data = parsedOutput.body;
4169
4169
  if (data.message !== undefined && data.message !== null) {
4170
- contents.message = smithy_client_1.expectString(data.message);
4170
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4171
4171
  }
4172
4172
  const exception = new models_0_1.ConcurrentModificationException({
4173
4173
  $metadata: deserializeMetadata(parsedOutput),
4174
4174
  ...contents,
4175
4175
  });
4176
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4176
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4177
4177
  };
4178
4178
  const deserializeAws_restJson1GraphQLSchemaExceptionResponse = async (parsedOutput, context) => {
4179
4179
  const contents = {};
4180
4180
  const data = parsedOutput.body;
4181
4181
  if (data.message !== undefined && data.message !== null) {
4182
- contents.message = smithy_client_1.expectString(data.message);
4182
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4183
4183
  }
4184
4184
  const exception = new models_0_1.GraphQLSchemaException({
4185
4185
  $metadata: deserializeMetadata(parsedOutput),
4186
4186
  ...contents,
4187
4187
  });
4188
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4188
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4189
4189
  };
4190
4190
  const deserializeAws_restJson1InternalFailureExceptionResponse = async (parsedOutput, context) => {
4191
4191
  const contents = {};
4192
4192
  const data = parsedOutput.body;
4193
4193
  if (data.message !== undefined && data.message !== null) {
4194
- contents.message = smithy_client_1.expectString(data.message);
4194
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4195
4195
  }
4196
4196
  const exception = new models_0_1.InternalFailureException({
4197
4197
  $metadata: deserializeMetadata(parsedOutput),
4198
4198
  ...contents,
4199
4199
  });
4200
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4200
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4201
4201
  };
4202
4202
  const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
4203
4203
  const contents = {};
4204
4204
  const data = parsedOutput.body;
4205
4205
  if (data.message !== undefined && data.message !== null) {
4206
- contents.message = smithy_client_1.expectString(data.message);
4206
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4207
4207
  }
4208
4208
  const exception = new models_0_1.LimitExceededException({
4209
4209
  $metadata: deserializeMetadata(parsedOutput),
4210
4210
  ...contents,
4211
4211
  });
4212
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4212
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4213
4213
  };
4214
4214
  const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
4215
4215
  const contents = {};
4216
4216
  const data = parsedOutput.body;
4217
4217
  if (data.message !== undefined && data.message !== null) {
4218
- contents.message = smithy_client_1.expectString(data.message);
4218
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4219
4219
  }
4220
4220
  const exception = new models_0_1.NotFoundException({
4221
4221
  $metadata: deserializeMetadata(parsedOutput),
4222
4222
  ...contents,
4223
4223
  });
4224
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4224
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4225
4225
  };
4226
4226
  const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
4227
4227
  const contents = {};
4228
4228
  const data = parsedOutput.body;
4229
4229
  if (data.message !== undefined && data.message !== null) {
4230
- contents.message = smithy_client_1.expectString(data.message);
4230
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4231
4231
  }
4232
4232
  const exception = new models_0_1.UnauthorizedException({
4233
4233
  $metadata: deserializeMetadata(parsedOutput),
4234
4234
  ...contents,
4235
4235
  });
4236
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4236
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4237
4237
  };
4238
4238
  const serializeAws_restJson1AdditionalAuthenticationProvider = (input, context) => {
4239
4239
  return {
@@ -4461,7 +4461,7 @@ const serializeAws_restJson1UserPoolConfig = (input, context) => {
4461
4461
  };
4462
4462
  const deserializeAws_restJson1AdditionalAuthenticationProvider = (output, context) => {
4463
4463
  return {
4464
- authenticationType: smithy_client_1.expectString(output.authenticationType),
4464
+ authenticationType: (0, smithy_client_1.expectString)(output.authenticationType),
4465
4465
  lambdaAuthorizerConfig: output.lambdaAuthorizerConfig !== undefined && output.lambdaAuthorizerConfig !== null
4466
4466
  ? deserializeAws_restJson1LambdaAuthorizerConfig(output.lambdaAuthorizerConfig, context)
4467
4467
  : undefined,
@@ -4486,28 +4486,28 @@ const deserializeAws_restJson1AdditionalAuthenticationProviders = (output, conte
4486
4486
  };
4487
4487
  const deserializeAws_restJson1ApiAssociation = (output, context) => {
4488
4488
  return {
4489
- apiId: smithy_client_1.expectString(output.apiId),
4490
- associationStatus: smithy_client_1.expectString(output.associationStatus),
4491
- deploymentDetail: smithy_client_1.expectString(output.deploymentDetail),
4492
- domainName: smithy_client_1.expectString(output.domainName),
4489
+ apiId: (0, smithy_client_1.expectString)(output.apiId),
4490
+ associationStatus: (0, smithy_client_1.expectString)(output.associationStatus),
4491
+ deploymentDetail: (0, smithy_client_1.expectString)(output.deploymentDetail),
4492
+ domainName: (0, smithy_client_1.expectString)(output.domainName),
4493
4493
  };
4494
4494
  };
4495
4495
  const deserializeAws_restJson1ApiCache = (output, context) => {
4496
4496
  return {
4497
- apiCachingBehavior: smithy_client_1.expectString(output.apiCachingBehavior),
4498
- atRestEncryptionEnabled: smithy_client_1.expectBoolean(output.atRestEncryptionEnabled),
4499
- status: smithy_client_1.expectString(output.status),
4500
- transitEncryptionEnabled: smithy_client_1.expectBoolean(output.transitEncryptionEnabled),
4501
- ttl: smithy_client_1.expectLong(output.ttl),
4502
- type: smithy_client_1.expectString(output.type),
4497
+ apiCachingBehavior: (0, smithy_client_1.expectString)(output.apiCachingBehavior),
4498
+ atRestEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.atRestEncryptionEnabled),
4499
+ status: (0, smithy_client_1.expectString)(output.status),
4500
+ transitEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.transitEncryptionEnabled),
4501
+ ttl: (0, smithy_client_1.expectLong)(output.ttl),
4502
+ type: (0, smithy_client_1.expectString)(output.type),
4503
4503
  };
4504
4504
  };
4505
4505
  const deserializeAws_restJson1ApiKey = (output, context) => {
4506
4506
  return {
4507
- deletes: smithy_client_1.expectLong(output.deletes),
4508
- description: smithy_client_1.expectString(output.description),
4509
- expires: smithy_client_1.expectLong(output.expires),
4510
- id: smithy_client_1.expectString(output.id),
4507
+ deletes: (0, smithy_client_1.expectLong)(output.deletes),
4508
+ description: (0, smithy_client_1.expectString)(output.description),
4509
+ expires: (0, smithy_client_1.expectLong)(output.expires),
4510
+ id: (0, smithy_client_1.expectString)(output.id),
4511
4511
  };
4512
4512
  };
4513
4513
  const deserializeAws_restJson1ApiKeys = (output, context) => {
@@ -4523,7 +4523,7 @@ const deserializeAws_restJson1ApiKeys = (output, context) => {
4523
4523
  };
4524
4524
  const deserializeAws_restJson1AuthorizationConfig = (output, context) => {
4525
4525
  return {
4526
- authorizationType: smithy_client_1.expectString(output.authorizationType),
4526
+ authorizationType: (0, smithy_client_1.expectString)(output.authorizationType),
4527
4527
  awsIamConfig: output.awsIamConfig !== undefined && output.awsIamConfig !== null
4528
4528
  ? deserializeAws_restJson1AwsIamConfig(output.awsIamConfig, context)
4529
4529
  : undefined,
@@ -4531,8 +4531,8 @@ const deserializeAws_restJson1AuthorizationConfig = (output, context) => {
4531
4531
  };
4532
4532
  const deserializeAws_restJson1AwsIamConfig = (output, context) => {
4533
4533
  return {
4534
- signingRegion: smithy_client_1.expectString(output.signingRegion),
4535
- signingServiceName: smithy_client_1.expectString(output.signingServiceName),
4534
+ signingRegion: (0, smithy_client_1.expectString)(output.signingRegion),
4535
+ signingServiceName: (0, smithy_client_1.expectString)(output.signingServiceName),
4536
4536
  };
4537
4537
  };
4538
4538
  const deserializeAws_restJson1CachingConfig = (output, context) => {
@@ -4540,7 +4540,7 @@ const deserializeAws_restJson1CachingConfig = (output, context) => {
4540
4540
  cachingKeys: output.cachingKeys !== undefined && output.cachingKeys !== null
4541
4541
  ? deserializeAws_restJson1CachingKeys(output.cachingKeys, context)
4542
4542
  : undefined,
4543
- ttl: smithy_client_1.expectLong(output.ttl),
4543
+ ttl: (0, smithy_client_1.expectLong)(output.ttl),
4544
4544
  };
4545
4545
  };
4546
4546
  const deserializeAws_restJson1CachingKeys = (output, context) => {
@@ -4550,21 +4550,21 @@ const deserializeAws_restJson1CachingKeys = (output, context) => {
4550
4550
  if (entry === null) {
4551
4551
  return null;
4552
4552
  }
4553
- return smithy_client_1.expectString(entry);
4553
+ return (0, smithy_client_1.expectString)(entry);
4554
4554
  });
4555
4555
  return retVal;
4556
4556
  };
4557
4557
  const deserializeAws_restJson1CognitoUserPoolConfig = (output, context) => {
4558
4558
  return {
4559
- appIdClientRegex: smithy_client_1.expectString(output.appIdClientRegex),
4560
- awsRegion: smithy_client_1.expectString(output.awsRegion),
4561
- userPoolId: smithy_client_1.expectString(output.userPoolId),
4559
+ appIdClientRegex: (0, smithy_client_1.expectString)(output.appIdClientRegex),
4560
+ awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
4561
+ userPoolId: (0, smithy_client_1.expectString)(output.userPoolId),
4562
4562
  };
4563
4563
  };
4564
4564
  const deserializeAws_restJson1DataSource = (output, context) => {
4565
4565
  return {
4566
- dataSourceArn: smithy_client_1.expectString(output.dataSourceArn),
4567
- description: smithy_client_1.expectString(output.description),
4566
+ dataSourceArn: (0, smithy_client_1.expectString)(output.dataSourceArn),
4567
+ description: (0, smithy_client_1.expectString)(output.description),
4568
4568
  dynamodbConfig: output.dynamodbConfig !== undefined && output.dynamodbConfig !== null
4569
4569
  ? deserializeAws_restJson1DynamodbDataSourceConfig(output.dynamodbConfig, context)
4570
4570
  : undefined,
@@ -4577,15 +4577,15 @@ const deserializeAws_restJson1DataSource = (output, context) => {
4577
4577
  lambdaConfig: output.lambdaConfig !== undefined && output.lambdaConfig !== null
4578
4578
  ? deserializeAws_restJson1LambdaDataSourceConfig(output.lambdaConfig, context)
4579
4579
  : undefined,
4580
- name: smithy_client_1.expectString(output.name),
4580
+ name: (0, smithy_client_1.expectString)(output.name),
4581
4581
  openSearchServiceConfig: output.openSearchServiceConfig !== undefined && output.openSearchServiceConfig !== null
4582
4582
  ? deserializeAws_restJson1OpenSearchServiceDataSourceConfig(output.openSearchServiceConfig, context)
4583
4583
  : undefined,
4584
4584
  relationalDatabaseConfig: output.relationalDatabaseConfig !== undefined && output.relationalDatabaseConfig !== null
4585
4585
  ? deserializeAws_restJson1RelationalDatabaseDataSourceConfig(output.relationalDatabaseConfig, context)
4586
4586
  : undefined,
4587
- serviceRoleArn: smithy_client_1.expectString(output.serviceRoleArn),
4588
- type: smithy_client_1.expectString(output.type),
4587
+ serviceRoleArn: (0, smithy_client_1.expectString)(output.serviceRoleArn),
4588
+ type: (0, smithy_client_1.expectString)(output.type),
4589
4589
  };
4590
4590
  };
4591
4591
  const deserializeAws_restJson1DataSources = (output, context) => {
@@ -4601,18 +4601,18 @@ const deserializeAws_restJson1DataSources = (output, context) => {
4601
4601
  };
4602
4602
  const deserializeAws_restJson1DeltaSyncConfig = (output, context) => {
4603
4603
  return {
4604
- baseTableTTL: smithy_client_1.expectLong(output.baseTableTTL),
4605
- deltaSyncTableName: smithy_client_1.expectString(output.deltaSyncTableName),
4606
- deltaSyncTableTTL: smithy_client_1.expectLong(output.deltaSyncTableTTL),
4604
+ baseTableTTL: (0, smithy_client_1.expectLong)(output.baseTableTTL),
4605
+ deltaSyncTableName: (0, smithy_client_1.expectString)(output.deltaSyncTableName),
4606
+ deltaSyncTableTTL: (0, smithy_client_1.expectLong)(output.deltaSyncTableTTL),
4607
4607
  };
4608
4608
  };
4609
4609
  const deserializeAws_restJson1DomainNameConfig = (output, context) => {
4610
4610
  return {
4611
- appsyncDomainName: smithy_client_1.expectString(output.appsyncDomainName),
4612
- certificateArn: smithy_client_1.expectString(output.certificateArn),
4613
- description: smithy_client_1.expectString(output.description),
4614
- domainName: smithy_client_1.expectString(output.domainName),
4615
- hostedZoneId: smithy_client_1.expectString(output.hostedZoneId),
4611
+ appsyncDomainName: (0, smithy_client_1.expectString)(output.appsyncDomainName),
4612
+ certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
4613
+ description: (0, smithy_client_1.expectString)(output.description),
4614
+ domainName: (0, smithy_client_1.expectString)(output.domainName),
4615
+ hostedZoneId: (0, smithy_client_1.expectString)(output.hostedZoneId),
4616
4616
  };
4617
4617
  };
4618
4618
  const deserializeAws_restJson1DomainNameConfigs = (output, context) => {
@@ -4628,32 +4628,32 @@ const deserializeAws_restJson1DomainNameConfigs = (output, context) => {
4628
4628
  };
4629
4629
  const deserializeAws_restJson1DynamodbDataSourceConfig = (output, context) => {
4630
4630
  return {
4631
- awsRegion: smithy_client_1.expectString(output.awsRegion),
4631
+ awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
4632
4632
  deltaSyncConfig: output.deltaSyncConfig !== undefined && output.deltaSyncConfig !== null
4633
4633
  ? deserializeAws_restJson1DeltaSyncConfig(output.deltaSyncConfig, context)
4634
4634
  : undefined,
4635
- tableName: smithy_client_1.expectString(output.tableName),
4636
- useCallerCredentials: smithy_client_1.expectBoolean(output.useCallerCredentials),
4637
- versioned: smithy_client_1.expectBoolean(output.versioned),
4635
+ tableName: (0, smithy_client_1.expectString)(output.tableName),
4636
+ useCallerCredentials: (0, smithy_client_1.expectBoolean)(output.useCallerCredentials),
4637
+ versioned: (0, smithy_client_1.expectBoolean)(output.versioned),
4638
4638
  };
4639
4639
  };
4640
4640
  const deserializeAws_restJson1ElasticsearchDataSourceConfig = (output, context) => {
4641
4641
  return {
4642
- awsRegion: smithy_client_1.expectString(output.awsRegion),
4643
- endpoint: smithy_client_1.expectString(output.endpoint),
4642
+ awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
4643
+ endpoint: (0, smithy_client_1.expectString)(output.endpoint),
4644
4644
  };
4645
4645
  };
4646
4646
  const deserializeAws_restJson1FunctionConfiguration = (output, context) => {
4647
4647
  return {
4648
- dataSourceName: smithy_client_1.expectString(output.dataSourceName),
4649
- description: smithy_client_1.expectString(output.description),
4650
- functionArn: smithy_client_1.expectString(output.functionArn),
4651
- functionId: smithy_client_1.expectString(output.functionId),
4652
- functionVersion: smithy_client_1.expectString(output.functionVersion),
4653
- maxBatchSize: smithy_client_1.expectInt32(output.maxBatchSize),
4654
- name: smithy_client_1.expectString(output.name),
4655
- requestMappingTemplate: smithy_client_1.expectString(output.requestMappingTemplate),
4656
- responseMappingTemplate: smithy_client_1.expectString(output.responseMappingTemplate),
4648
+ dataSourceName: (0, smithy_client_1.expectString)(output.dataSourceName),
4649
+ description: (0, smithy_client_1.expectString)(output.description),
4650
+ functionArn: (0, smithy_client_1.expectString)(output.functionArn),
4651
+ functionId: (0, smithy_client_1.expectString)(output.functionId),
4652
+ functionVersion: (0, smithy_client_1.expectString)(output.functionVersion),
4653
+ maxBatchSize: (0, smithy_client_1.expectInt32)(output.maxBatchSize),
4654
+ name: (0, smithy_client_1.expectString)(output.name),
4655
+ requestMappingTemplate: (0, smithy_client_1.expectString)(output.requestMappingTemplate),
4656
+ responseMappingTemplate: (0, smithy_client_1.expectString)(output.responseMappingTemplate),
4657
4657
  syncConfig: output.syncConfig !== undefined && output.syncConfig !== null
4658
4658
  ? deserializeAws_restJson1SyncConfig(output.syncConfig, context)
4659
4659
  : undefined,
@@ -4677,7 +4677,7 @@ const deserializeAws_restJson1FunctionsIds = (output, context) => {
4677
4677
  if (entry === null) {
4678
4678
  return null;
4679
4679
  }
4680
- return smithy_client_1.expectString(entry);
4680
+ return (0, smithy_client_1.expectString)(entry);
4681
4681
  });
4682
4682
  return retVal;
4683
4683
  };
@@ -4686,16 +4686,16 @@ const deserializeAws_restJson1GraphqlApi = (output, context) => {
4686
4686
  additionalAuthenticationProviders: output.additionalAuthenticationProviders !== undefined && output.additionalAuthenticationProviders !== null
4687
4687
  ? deserializeAws_restJson1AdditionalAuthenticationProviders(output.additionalAuthenticationProviders, context)
4688
4688
  : undefined,
4689
- apiId: smithy_client_1.expectString(output.apiId),
4690
- arn: smithy_client_1.expectString(output.arn),
4691
- authenticationType: smithy_client_1.expectString(output.authenticationType),
4689
+ apiId: (0, smithy_client_1.expectString)(output.apiId),
4690
+ arn: (0, smithy_client_1.expectString)(output.arn),
4691
+ authenticationType: (0, smithy_client_1.expectString)(output.authenticationType),
4692
4692
  lambdaAuthorizerConfig: output.lambdaAuthorizerConfig !== undefined && output.lambdaAuthorizerConfig !== null
4693
4693
  ? deserializeAws_restJson1LambdaAuthorizerConfig(output.lambdaAuthorizerConfig, context)
4694
4694
  : undefined,
4695
4695
  logConfig: output.logConfig !== undefined && output.logConfig !== null
4696
4696
  ? deserializeAws_restJson1LogConfig(output.logConfig, context)
4697
4697
  : undefined,
4698
- name: smithy_client_1.expectString(output.name),
4698
+ name: (0, smithy_client_1.expectString)(output.name),
4699
4699
  openIDConnectConfig: output.openIDConnectConfig !== undefined && output.openIDConnectConfig !== null
4700
4700
  ? deserializeAws_restJson1OpenIDConnectConfig(output.openIDConnectConfig, context)
4701
4701
  : undefined,
@@ -4708,8 +4708,8 @@ const deserializeAws_restJson1GraphqlApi = (output, context) => {
4708
4708
  userPoolConfig: output.userPoolConfig !== undefined && output.userPoolConfig !== null
4709
4709
  ? deserializeAws_restJson1UserPoolConfig(output.userPoolConfig, context)
4710
4710
  : undefined,
4711
- wafWebAclArn: smithy_client_1.expectString(output.wafWebAclArn),
4712
- xrayEnabled: smithy_client_1.expectBoolean(output.xrayEnabled),
4711
+ wafWebAclArn: (0, smithy_client_1.expectString)(output.wafWebAclArn),
4712
+ xrayEnabled: (0, smithy_client_1.expectBoolean)(output.xrayEnabled),
4713
4713
  };
4714
4714
  };
4715
4715
  const deserializeAws_restJson1GraphqlApis = (output, context) => {
@@ -4728,31 +4728,31 @@ const deserializeAws_restJson1HttpDataSourceConfig = (output, context) => {
4728
4728
  authorizationConfig: output.authorizationConfig !== undefined && output.authorizationConfig !== null
4729
4729
  ? deserializeAws_restJson1AuthorizationConfig(output.authorizationConfig, context)
4730
4730
  : undefined,
4731
- endpoint: smithy_client_1.expectString(output.endpoint),
4731
+ endpoint: (0, smithy_client_1.expectString)(output.endpoint),
4732
4732
  };
4733
4733
  };
4734
4734
  const deserializeAws_restJson1LambdaAuthorizerConfig = (output, context) => {
4735
4735
  return {
4736
- authorizerResultTtlInSeconds: smithy_client_1.expectInt32(output.authorizerResultTtlInSeconds),
4737
- authorizerUri: smithy_client_1.expectString(output.authorizerUri),
4738
- identityValidationExpression: smithy_client_1.expectString(output.identityValidationExpression),
4736
+ authorizerResultTtlInSeconds: (0, smithy_client_1.expectInt32)(output.authorizerResultTtlInSeconds),
4737
+ authorizerUri: (0, smithy_client_1.expectString)(output.authorizerUri),
4738
+ identityValidationExpression: (0, smithy_client_1.expectString)(output.identityValidationExpression),
4739
4739
  };
4740
4740
  };
4741
4741
  const deserializeAws_restJson1LambdaConflictHandlerConfig = (output, context) => {
4742
4742
  return {
4743
- lambdaConflictHandlerArn: smithy_client_1.expectString(output.lambdaConflictHandlerArn),
4743
+ lambdaConflictHandlerArn: (0, smithy_client_1.expectString)(output.lambdaConflictHandlerArn),
4744
4744
  };
4745
4745
  };
4746
4746
  const deserializeAws_restJson1LambdaDataSourceConfig = (output, context) => {
4747
4747
  return {
4748
- lambdaFunctionArn: smithy_client_1.expectString(output.lambdaFunctionArn),
4748
+ lambdaFunctionArn: (0, smithy_client_1.expectString)(output.lambdaFunctionArn),
4749
4749
  };
4750
4750
  };
4751
4751
  const deserializeAws_restJson1LogConfig = (output, context) => {
4752
4752
  return {
4753
- cloudWatchLogsRoleArn: smithy_client_1.expectString(output.cloudWatchLogsRoleArn),
4754
- excludeVerboseContent: smithy_client_1.expectBoolean(output.excludeVerboseContent),
4755
- fieldLogLevel: smithy_client_1.expectString(output.fieldLogLevel),
4753
+ cloudWatchLogsRoleArn: (0, smithy_client_1.expectString)(output.cloudWatchLogsRoleArn),
4754
+ excludeVerboseContent: (0, smithy_client_1.expectBoolean)(output.excludeVerboseContent),
4755
+ fieldLogLevel: (0, smithy_client_1.expectString)(output.fieldLogLevel),
4756
4756
  };
4757
4757
  };
4758
4758
  const deserializeAws_restJson1MapOfStringToString = (output, context) => {
@@ -4762,22 +4762,22 @@ const deserializeAws_restJson1MapOfStringToString = (output, context) => {
4762
4762
  }
4763
4763
  return {
4764
4764
  ...acc,
4765
- [key]: smithy_client_1.expectString(value),
4765
+ [key]: (0, smithy_client_1.expectString)(value),
4766
4766
  };
4767
4767
  }, {});
4768
4768
  };
4769
4769
  const deserializeAws_restJson1OpenIDConnectConfig = (output, context) => {
4770
4770
  return {
4771
- authTTL: smithy_client_1.expectLong(output.authTTL),
4772
- clientId: smithy_client_1.expectString(output.clientId),
4773
- iatTTL: smithy_client_1.expectLong(output.iatTTL),
4774
- issuer: smithy_client_1.expectString(output.issuer),
4771
+ authTTL: (0, smithy_client_1.expectLong)(output.authTTL),
4772
+ clientId: (0, smithy_client_1.expectString)(output.clientId),
4773
+ iatTTL: (0, smithy_client_1.expectLong)(output.iatTTL),
4774
+ issuer: (0, smithy_client_1.expectString)(output.issuer),
4775
4775
  };
4776
4776
  };
4777
4777
  const deserializeAws_restJson1OpenSearchServiceDataSourceConfig = (output, context) => {
4778
4778
  return {
4779
- awsRegion: smithy_client_1.expectString(output.awsRegion),
4780
- endpoint: smithy_client_1.expectString(output.endpoint),
4779
+ awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
4780
+ endpoint: (0, smithy_client_1.expectString)(output.endpoint),
4781
4781
  };
4782
4782
  };
4783
4783
  const deserializeAws_restJson1PipelineConfig = (output, context) => {
@@ -4789,11 +4789,11 @@ const deserializeAws_restJson1PipelineConfig = (output, context) => {
4789
4789
  };
4790
4790
  const deserializeAws_restJson1RdsHttpEndpointConfig = (output, context) => {
4791
4791
  return {
4792
- awsRegion: smithy_client_1.expectString(output.awsRegion),
4793
- awsSecretStoreArn: smithy_client_1.expectString(output.awsSecretStoreArn),
4794
- databaseName: smithy_client_1.expectString(output.databaseName),
4795
- dbClusterIdentifier: smithy_client_1.expectString(output.dbClusterIdentifier),
4796
- schema: smithy_client_1.expectString(output.schema),
4792
+ awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
4793
+ awsSecretStoreArn: (0, smithy_client_1.expectString)(output.awsSecretStoreArn),
4794
+ databaseName: (0, smithy_client_1.expectString)(output.databaseName),
4795
+ dbClusterIdentifier: (0, smithy_client_1.expectString)(output.dbClusterIdentifier),
4796
+ schema: (0, smithy_client_1.expectString)(output.schema),
4797
4797
  };
4798
4798
  };
4799
4799
  const deserializeAws_restJson1RelationalDatabaseDataSourceConfig = (output, context) => {
@@ -4801,7 +4801,7 @@ const deserializeAws_restJson1RelationalDatabaseDataSourceConfig = (output, cont
4801
4801
  rdsHttpEndpointConfig: output.rdsHttpEndpointConfig !== undefined && output.rdsHttpEndpointConfig !== null
4802
4802
  ? deserializeAws_restJson1RdsHttpEndpointConfig(output.rdsHttpEndpointConfig, context)
4803
4803
  : undefined,
4804
- relationalDatabaseSourceType: smithy_client_1.expectString(output.relationalDatabaseSourceType),
4804
+ relationalDatabaseSourceType: (0, smithy_client_1.expectString)(output.relationalDatabaseSourceType),
4805
4805
  };
4806
4806
  };
4807
4807
  const deserializeAws_restJson1Resolver = (output, context) => {
@@ -4809,20 +4809,20 @@ const deserializeAws_restJson1Resolver = (output, context) => {
4809
4809
  cachingConfig: output.cachingConfig !== undefined && output.cachingConfig !== null
4810
4810
  ? deserializeAws_restJson1CachingConfig(output.cachingConfig, context)
4811
4811
  : undefined,
4812
- dataSourceName: smithy_client_1.expectString(output.dataSourceName),
4813
- fieldName: smithy_client_1.expectString(output.fieldName),
4814
- kind: smithy_client_1.expectString(output.kind),
4815
- maxBatchSize: smithy_client_1.expectInt32(output.maxBatchSize),
4812
+ dataSourceName: (0, smithy_client_1.expectString)(output.dataSourceName),
4813
+ fieldName: (0, smithy_client_1.expectString)(output.fieldName),
4814
+ kind: (0, smithy_client_1.expectString)(output.kind),
4815
+ maxBatchSize: (0, smithy_client_1.expectInt32)(output.maxBatchSize),
4816
4816
  pipelineConfig: output.pipelineConfig !== undefined && output.pipelineConfig !== null
4817
4817
  ? deserializeAws_restJson1PipelineConfig(output.pipelineConfig, context)
4818
4818
  : undefined,
4819
- requestMappingTemplate: smithy_client_1.expectString(output.requestMappingTemplate),
4820
- resolverArn: smithy_client_1.expectString(output.resolverArn),
4821
- responseMappingTemplate: smithy_client_1.expectString(output.responseMappingTemplate),
4819
+ requestMappingTemplate: (0, smithy_client_1.expectString)(output.requestMappingTemplate),
4820
+ resolverArn: (0, smithy_client_1.expectString)(output.resolverArn),
4821
+ responseMappingTemplate: (0, smithy_client_1.expectString)(output.responseMappingTemplate),
4822
4822
  syncConfig: output.syncConfig !== undefined && output.syncConfig !== null
4823
4823
  ? deserializeAws_restJson1SyncConfig(output.syncConfig, context)
4824
4824
  : undefined,
4825
- typeName: smithy_client_1.expectString(output.typeName),
4825
+ typeName: (0, smithy_client_1.expectString)(output.typeName),
4826
4826
  };
4827
4827
  };
4828
4828
  const deserializeAws_restJson1Resolvers = (output, context) => {
@@ -4838,8 +4838,8 @@ const deserializeAws_restJson1Resolvers = (output, context) => {
4838
4838
  };
4839
4839
  const deserializeAws_restJson1SyncConfig = (output, context) => {
4840
4840
  return {
4841
- conflictDetection: smithy_client_1.expectString(output.conflictDetection),
4842
- conflictHandler: smithy_client_1.expectString(output.conflictHandler),
4841
+ conflictDetection: (0, smithy_client_1.expectString)(output.conflictDetection),
4842
+ conflictHandler: (0, smithy_client_1.expectString)(output.conflictHandler),
4843
4843
  lambdaConflictHandlerConfig: output.lambdaConflictHandlerConfig !== undefined && output.lambdaConflictHandlerConfig !== null
4844
4844
  ? deserializeAws_restJson1LambdaConflictHandlerConfig(output.lambdaConflictHandlerConfig, context)
4845
4845
  : undefined,
@@ -4852,17 +4852,17 @@ const deserializeAws_restJson1TagMap = (output, context) => {
4852
4852
  }
4853
4853
  return {
4854
4854
  ...acc,
4855
- [key]: smithy_client_1.expectString(value),
4855
+ [key]: (0, smithy_client_1.expectString)(value),
4856
4856
  };
4857
4857
  }, {});
4858
4858
  };
4859
4859
  const deserializeAws_restJson1Type = (output, context) => {
4860
4860
  return {
4861
- arn: smithy_client_1.expectString(output.arn),
4862
- definition: smithy_client_1.expectString(output.definition),
4863
- description: smithy_client_1.expectString(output.description),
4864
- format: smithy_client_1.expectString(output.format),
4865
- name: smithy_client_1.expectString(output.name),
4861
+ arn: (0, smithy_client_1.expectString)(output.arn),
4862
+ definition: (0, smithy_client_1.expectString)(output.definition),
4863
+ description: (0, smithy_client_1.expectString)(output.description),
4864
+ format: (0, smithy_client_1.expectString)(output.format),
4865
+ name: (0, smithy_client_1.expectString)(output.name),
4866
4866
  };
4867
4867
  };
4868
4868
  const deserializeAws_restJson1TypeList = (output, context) => {
@@ -4878,10 +4878,10 @@ const deserializeAws_restJson1TypeList = (output, context) => {
4878
4878
  };
4879
4879
  const deserializeAws_restJson1UserPoolConfig = (output, context) => {
4880
4880
  return {
4881
- appIdClientRegex: smithy_client_1.expectString(output.appIdClientRegex),
4882
- awsRegion: smithy_client_1.expectString(output.awsRegion),
4883
- defaultAction: smithy_client_1.expectString(output.defaultAction),
4884
- userPoolId: smithy_client_1.expectString(output.userPoolId),
4881
+ appIdClientRegex: (0, smithy_client_1.expectString)(output.appIdClientRegex),
4882
+ awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
4883
+ defaultAction: (0, smithy_client_1.expectString)(output.defaultAction),
4884
+ userPoolId: (0, smithy_client_1.expectString)(output.userPoolId),
4885
4885
  };
4886
4886
  };
4887
4887
  const deserializeMetadata = (output) => {