@aws-sdk/client-elasticsearch-service 3.31.0 → 3.32.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 (140) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/commands/ListDomainNamesCommand.ts +3 -3
  3. package/dist/cjs/ElasticsearchServiceClient.js +13 -13
  4. package/dist/cjs/ElasticsearchServiceClient.js.map +1 -1
  5. package/dist/cjs/commands/AcceptInboundCrossClusterSearchConnectionCommand.js +3 -3
  6. package/dist/cjs/commands/AcceptInboundCrossClusterSearchConnectionCommand.js.map +1 -1
  7. package/dist/cjs/commands/AddTagsCommand.js +3 -3
  8. package/dist/cjs/commands/AddTagsCommand.js.map +1 -1
  9. package/dist/cjs/commands/AssociatePackageCommand.js +3 -3
  10. package/dist/cjs/commands/AssociatePackageCommand.js.map +1 -1
  11. package/dist/cjs/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js +3 -3
  12. package/dist/cjs/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js.map +1 -1
  13. package/dist/cjs/commands/CreateElasticsearchDomainCommand.js +3 -3
  14. package/dist/cjs/commands/CreateElasticsearchDomainCommand.js.map +1 -1
  15. package/dist/cjs/commands/CreateOutboundCrossClusterSearchConnectionCommand.js +3 -3
  16. package/dist/cjs/commands/CreateOutboundCrossClusterSearchConnectionCommand.js.map +1 -1
  17. package/dist/cjs/commands/CreatePackageCommand.js +3 -3
  18. package/dist/cjs/commands/CreatePackageCommand.js.map +1 -1
  19. package/dist/cjs/commands/DeleteElasticsearchDomainCommand.js +3 -3
  20. package/dist/cjs/commands/DeleteElasticsearchDomainCommand.js.map +1 -1
  21. package/dist/cjs/commands/DeleteElasticsearchServiceRoleCommand.js +3 -3
  22. package/dist/cjs/commands/DeleteElasticsearchServiceRoleCommand.js.map +1 -1
  23. package/dist/cjs/commands/DeleteInboundCrossClusterSearchConnectionCommand.js +3 -3
  24. package/dist/cjs/commands/DeleteInboundCrossClusterSearchConnectionCommand.js.map +1 -1
  25. package/dist/cjs/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js +3 -3
  26. package/dist/cjs/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js.map +1 -1
  27. package/dist/cjs/commands/DeletePackageCommand.js +3 -3
  28. package/dist/cjs/commands/DeletePackageCommand.js.map +1 -1
  29. package/dist/cjs/commands/DescribeDomainAutoTunesCommand.js +3 -3
  30. package/dist/cjs/commands/DescribeDomainAutoTunesCommand.js.map +1 -1
  31. package/dist/cjs/commands/DescribeElasticsearchDomainCommand.js +3 -3
  32. package/dist/cjs/commands/DescribeElasticsearchDomainCommand.js.map +1 -1
  33. package/dist/cjs/commands/DescribeElasticsearchDomainConfigCommand.js +3 -3
  34. package/dist/cjs/commands/DescribeElasticsearchDomainConfigCommand.js.map +1 -1
  35. package/dist/cjs/commands/DescribeElasticsearchDomainsCommand.js +3 -3
  36. package/dist/cjs/commands/DescribeElasticsearchDomainsCommand.js.map +1 -1
  37. package/dist/cjs/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js +3 -3
  38. package/dist/cjs/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js.map +1 -1
  39. package/dist/cjs/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js +3 -3
  40. package/dist/cjs/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js.map +1 -1
  41. package/dist/cjs/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js +3 -3
  42. package/dist/cjs/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js.map +1 -1
  43. package/dist/cjs/commands/DescribePackagesCommand.js +3 -3
  44. package/dist/cjs/commands/DescribePackagesCommand.js.map +1 -1
  45. package/dist/cjs/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js +3 -3
  46. package/dist/cjs/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js.map +1 -1
  47. package/dist/cjs/commands/DescribeReservedElasticsearchInstancesCommand.js +3 -3
  48. package/dist/cjs/commands/DescribeReservedElasticsearchInstancesCommand.js.map +1 -1
  49. package/dist/cjs/commands/DissociatePackageCommand.js +3 -3
  50. package/dist/cjs/commands/DissociatePackageCommand.js.map +1 -1
  51. package/dist/cjs/commands/GetCompatibleElasticsearchVersionsCommand.js +3 -3
  52. package/dist/cjs/commands/GetCompatibleElasticsearchVersionsCommand.js.map +1 -1
  53. package/dist/cjs/commands/GetPackageVersionHistoryCommand.js +3 -3
  54. package/dist/cjs/commands/GetPackageVersionHistoryCommand.js.map +1 -1
  55. package/dist/cjs/commands/GetUpgradeHistoryCommand.js +3 -3
  56. package/dist/cjs/commands/GetUpgradeHistoryCommand.js.map +1 -1
  57. package/dist/cjs/commands/GetUpgradeStatusCommand.js +3 -3
  58. package/dist/cjs/commands/GetUpgradeStatusCommand.js.map +1 -1
  59. package/dist/cjs/commands/ListDomainNamesCommand.js +4 -4
  60. package/dist/cjs/commands/ListDomainNamesCommand.js.map +1 -1
  61. package/dist/cjs/commands/ListDomainsForPackageCommand.js +3 -3
  62. package/dist/cjs/commands/ListDomainsForPackageCommand.js.map +1 -1
  63. package/dist/cjs/commands/ListElasticsearchInstanceTypesCommand.js +3 -3
  64. package/dist/cjs/commands/ListElasticsearchInstanceTypesCommand.js.map +1 -1
  65. package/dist/cjs/commands/ListElasticsearchVersionsCommand.js +3 -3
  66. package/dist/cjs/commands/ListElasticsearchVersionsCommand.js.map +1 -1
  67. package/dist/cjs/commands/ListPackagesForDomainCommand.js +3 -3
  68. package/dist/cjs/commands/ListPackagesForDomainCommand.js.map +1 -1
  69. package/dist/cjs/commands/ListTagsCommand.js +3 -3
  70. package/dist/cjs/commands/ListTagsCommand.js.map +1 -1
  71. package/dist/cjs/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js +3 -3
  72. package/dist/cjs/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js.map +1 -1
  73. package/dist/cjs/commands/RejectInboundCrossClusterSearchConnectionCommand.js +3 -3
  74. package/dist/cjs/commands/RejectInboundCrossClusterSearchConnectionCommand.js.map +1 -1
  75. package/dist/cjs/commands/RemoveTagsCommand.js +3 -3
  76. package/dist/cjs/commands/RemoveTagsCommand.js.map +1 -1
  77. package/dist/cjs/commands/StartElasticsearchServiceSoftwareUpdateCommand.js +3 -3
  78. package/dist/cjs/commands/StartElasticsearchServiceSoftwareUpdateCommand.js.map +1 -1
  79. package/dist/cjs/commands/UpdateElasticsearchDomainConfigCommand.js +3 -3
  80. package/dist/cjs/commands/UpdateElasticsearchDomainConfigCommand.js.map +1 -1
  81. package/dist/cjs/commands/UpdatePackageCommand.js +3 -3
  82. package/dist/cjs/commands/UpdatePackageCommand.js.map +1 -1
  83. package/dist/cjs/commands/UpgradeElasticsearchDomainCommand.js +3 -3
  84. package/dist/cjs/commands/UpgradeElasticsearchDomainCommand.js.map +1 -1
  85. package/dist/cjs/endpoints.js +1 -1
  86. package/dist/cjs/endpoints.js.map +1 -1
  87. package/dist/cjs/index.js +56 -56
  88. package/dist/cjs/index.js.map +1 -1
  89. package/dist/cjs/models/index.js +1 -1
  90. package/dist/cjs/models/index.js.map +1 -1
  91. package/dist/cjs/models/models_0.js +16 -2
  92. package/dist/cjs/models/models_0.js.map +1 -1
  93. package/dist/cjs/package.json +31 -31
  94. package/dist/cjs/protocols/Aws_restJson1.js +257 -255
  95. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  96. package/dist/cjs/runtimeConfig.browser.js +4 -4
  97. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  98. package/dist/cjs/runtimeConfig.js +8 -8
  99. package/dist/cjs/runtimeConfig.js.map +1 -1
  100. package/dist/cjs/runtimeConfig.native.js +1 -1
  101. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  102. package/dist/es/commands/ListDomainNamesCommand.js +2 -2
  103. package/dist/es/commands/ListDomainNamesCommand.js.map +1 -1
  104. package/dist/es/models/models_0.js +12 -0
  105. package/dist/es/models/models_0.js.map +1 -1
  106. package/dist/es/package.json +31 -31
  107. package/dist/es/pagination/DescribeDomainAutoTunesPaginator.js +4 -4
  108. package/dist/es/pagination/DescribeDomainAutoTunesPaginator.js.map +1 -1
  109. package/dist/es/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.js +4 -4
  110. package/dist/es/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.js.map +1 -1
  111. package/dist/es/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.js +4 -4
  112. package/dist/es/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.js.map +1 -1
  113. package/dist/es/pagination/DescribePackagesPaginator.js +4 -4
  114. package/dist/es/pagination/DescribePackagesPaginator.js.map +1 -1
  115. package/dist/es/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.js +4 -4
  116. package/dist/es/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.js.map +1 -1
  117. package/dist/es/pagination/DescribeReservedElasticsearchInstancesPaginator.js +4 -4
  118. package/dist/es/pagination/DescribeReservedElasticsearchInstancesPaginator.js.map +1 -1
  119. package/dist/es/pagination/GetPackageVersionHistoryPaginator.js +4 -4
  120. package/dist/es/pagination/GetPackageVersionHistoryPaginator.js.map +1 -1
  121. package/dist/es/pagination/GetUpgradeHistoryPaginator.js +4 -4
  122. package/dist/es/pagination/GetUpgradeHistoryPaginator.js.map +1 -1
  123. package/dist/es/pagination/ListDomainsForPackagePaginator.js +4 -4
  124. package/dist/es/pagination/ListDomainsForPackagePaginator.js.map +1 -1
  125. package/dist/es/pagination/ListElasticsearchInstanceTypesPaginator.js +4 -4
  126. package/dist/es/pagination/ListElasticsearchInstanceTypesPaginator.js.map +1 -1
  127. package/dist/es/pagination/ListElasticsearchVersionsPaginator.js +4 -4
  128. package/dist/es/pagination/ListElasticsearchVersionsPaginator.js.map +1 -1
  129. package/dist/es/pagination/ListPackagesForDomainPaginator.js +4 -4
  130. package/dist/es/pagination/ListPackagesForDomainPaginator.js.map +1 -1
  131. package/dist/es/protocols/Aws_restJson1.js +5 -5
  132. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  133. package/dist/types/commands/ListDomainNamesCommand.d.ts +2 -2
  134. package/dist/types/models/models_0.d.ts +28 -5
  135. package/dist/types/ts3.4/commands/ListDomainNamesCommand.d.ts +2 -2
  136. package/dist/types/ts3.4/models/models_0.d.ts +28 -5
  137. package/models/models_0.ts +34 -5
  138. package/package.json +31 -31
  139. package/protocols/Aws_restJson1.ts +6 -4
  140. package/tsconfig.json +1 -2
@@ -14,7 +14,7 @@ const serializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand = a
14
14
  if (labelValue.length <= 0) {
15
15
  throw new Error("Empty value provided for input HTTP label: CrossClusterSearchConnectionId.");
16
16
  }
17
- resolvedPath = resolvedPath.replace("{CrossClusterSearchConnectionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
17
+ resolvedPath = resolvedPath.replace("{CrossClusterSearchConnectionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
18
18
  }
19
19
  else {
20
20
  throw new Error("No value provided for input HTTP label: CrossClusterSearchConnectionId.");
@@ -64,7 +64,7 @@ const serializeAws_restJson1AssociatePackageCommand = async (input, context) =>
64
64
  if (labelValue.length <= 0) {
65
65
  throw new Error("Empty value provided for input HTTP label: PackageID.");
66
66
  }
67
- resolvedPath = resolvedPath.replace("{PackageID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
67
+ resolvedPath = resolvedPath.replace("{PackageID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
68
68
  }
69
69
  else {
70
70
  throw new Error("No value provided for input HTTP label: PackageID.");
@@ -74,7 +74,7 @@ const serializeAws_restJson1AssociatePackageCommand = async (input, context) =>
74
74
  if (labelValue.length <= 0) {
75
75
  throw new Error("Empty value provided for input HTTP label: DomainName.");
76
76
  }
77
- resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
77
+ resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
78
78
  }
79
79
  else {
80
80
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -251,7 +251,7 @@ const serializeAws_restJson1DeleteElasticsearchDomainCommand = async (input, con
251
251
  if (labelValue.length <= 0) {
252
252
  throw new Error("Empty value provided for input HTTP label: DomainName.");
253
253
  }
254
- resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
254
+ resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
255
255
  }
256
256
  else {
257
257
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -297,7 +297,7 @@ const serializeAws_restJson1DeleteInboundCrossClusterSearchConnectionCommand = a
297
297
  if (labelValue.length <= 0) {
298
298
  throw new Error("Empty value provided for input HTTP label: CrossClusterSearchConnectionId.");
299
299
  }
300
- resolvedPath = resolvedPath.replace("{CrossClusterSearchConnectionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
300
+ resolvedPath = resolvedPath.replace("{CrossClusterSearchConnectionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
301
301
  }
302
302
  else {
303
303
  throw new Error("No value provided for input HTTP label: CrossClusterSearchConnectionId.");
@@ -324,7 +324,7 @@ const serializeAws_restJson1DeleteOutboundCrossClusterSearchConnectionCommand =
324
324
  if (labelValue.length <= 0) {
325
325
  throw new Error("Empty value provided for input HTTP label: CrossClusterSearchConnectionId.");
326
326
  }
327
- resolvedPath = resolvedPath.replace("{CrossClusterSearchConnectionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
327
+ resolvedPath = resolvedPath.replace("{CrossClusterSearchConnectionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
328
328
  }
329
329
  else {
330
330
  throw new Error("No value provided for input HTTP label: CrossClusterSearchConnectionId.");
@@ -350,7 +350,7 @@ const serializeAws_restJson1DeletePackageCommand = async (input, context) => {
350
350
  if (labelValue.length <= 0) {
351
351
  throw new Error("Empty value provided for input HTTP label: PackageID.");
352
352
  }
353
- resolvedPath = resolvedPath.replace("{PackageID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
353
+ resolvedPath = resolvedPath.replace("{PackageID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
354
354
  }
355
355
  else {
356
356
  throw new Error("No value provided for input HTTP label: PackageID.");
@@ -379,7 +379,7 @@ const serializeAws_restJson1DescribeDomainAutoTunesCommand = async (input, conte
379
379
  if (labelValue.length <= 0) {
380
380
  throw new Error("Empty value provided for input HTTP label: DomainName.");
381
381
  }
382
- resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
382
+ resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
383
383
  }
384
384
  else {
385
385
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -409,7 +409,7 @@ const serializeAws_restJson1DescribeElasticsearchDomainCommand = async (input, c
409
409
  if (labelValue.length <= 0) {
410
410
  throw new Error("Empty value provided for input HTTP label: DomainName.");
411
411
  }
412
- resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
412
+ resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
413
413
  }
414
414
  else {
415
415
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -435,7 +435,7 @@ const serializeAws_restJson1DescribeElasticsearchDomainConfigCommand = async (in
435
435
  if (labelValue.length <= 0) {
436
436
  throw new Error("Empty value provided for input HTTP label: DomainName.");
437
437
  }
438
- resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
438
+ resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
439
439
  }
440
440
  else {
441
441
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -484,7 +484,7 @@ const serializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand = asy
484
484
  if (labelValue.length <= 0) {
485
485
  throw new Error("Empty value provided for input HTTP label: InstanceType.");
486
486
  }
487
- resolvedPath = resolvedPath.replace("{InstanceType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
487
+ resolvedPath = resolvedPath.replace("{InstanceType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
488
488
  }
489
489
  else {
490
490
  throw new Error("No value provided for input HTTP label: InstanceType.");
@@ -494,7 +494,7 @@ const serializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand = asy
494
494
  if (labelValue.length <= 0) {
495
495
  throw new Error("Empty value provided for input HTTP label: ElasticsearchVersion.");
496
496
  }
497
- resolvedPath = resolvedPath.replace("{ElasticsearchVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
497
+ resolvedPath = resolvedPath.replace("{ElasticsearchVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
498
498
  }
499
499
  else {
500
500
  throw new Error("No value provided for input HTTP label: ElasticsearchVersion.");
@@ -647,7 +647,7 @@ const serializeAws_restJson1DissociatePackageCommand = async (input, context) =>
647
647
  if (labelValue.length <= 0) {
648
648
  throw new Error("Empty value provided for input HTTP label: PackageID.");
649
649
  }
650
- resolvedPath = resolvedPath.replace("{PackageID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
650
+ resolvedPath = resolvedPath.replace("{PackageID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
651
651
  }
652
652
  else {
653
653
  throw new Error("No value provided for input HTTP label: PackageID.");
@@ -657,7 +657,7 @@ const serializeAws_restJson1DissociatePackageCommand = async (input, context) =>
657
657
  if (labelValue.length <= 0) {
658
658
  throw new Error("Empty value provided for input HTTP label: DomainName.");
659
659
  }
660
- resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
660
+ resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
661
661
  }
662
662
  else {
663
663
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -703,7 +703,7 @@ const serializeAws_restJson1GetPackageVersionHistoryCommand = async (input, cont
703
703
  if (labelValue.length <= 0) {
704
704
  throw new Error("Empty value provided for input HTTP label: PackageID.");
705
705
  }
706
- resolvedPath = resolvedPath.replace("{PackageID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
706
+ resolvedPath = resolvedPath.replace("{PackageID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
707
707
  }
708
708
  else {
709
709
  throw new Error("No value provided for input HTTP label: PackageID.");
@@ -735,7 +735,7 @@ const serializeAws_restJson1GetUpgradeHistoryCommand = async (input, context) =>
735
735
  if (labelValue.length <= 0) {
736
736
  throw new Error("Empty value provided for input HTTP label: DomainName.");
737
737
  }
738
- resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
738
+ resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
739
739
  }
740
740
  else {
741
741
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -767,7 +767,7 @@ const serializeAws_restJson1GetUpgradeStatusCommand = async (input, context) =>
767
767
  if (labelValue.length <= 0) {
768
768
  throw new Error("Empty value provided for input HTTP label: DomainName.");
769
769
  }
770
- resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
770
+ resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
771
771
  }
772
772
  else {
773
773
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -786,12 +786,12 @@ const serializeAws_restJson1GetUpgradeStatusCommand = async (input, context) =>
786
786
  exports.serializeAws_restJson1GetUpgradeStatusCommand = serializeAws_restJson1GetUpgradeStatusCommand;
787
787
  const serializeAws_restJson1ListDomainNamesCommand = async (input, context) => {
788
788
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
789
- const headers = {
790
- "content-type": "application/json",
791
- };
789
+ const headers = {};
792
790
  let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/domain";
791
+ const query = {
792
+ ...(input.EngineType !== undefined && { engineType: input.EngineType }),
793
+ };
793
794
  let body;
794
- body = "";
795
795
  return new protocol_http_1.HttpRequest({
796
796
  protocol,
797
797
  hostname,
@@ -799,6 +799,7 @@ const serializeAws_restJson1ListDomainNamesCommand = async (input, context) => {
799
799
  method: "GET",
800
800
  headers,
801
801
  path: resolvedPath,
802
+ query,
802
803
  body,
803
804
  });
804
805
  };
@@ -812,7 +813,7 @@ const serializeAws_restJson1ListDomainsForPackageCommand = async (input, context
812
813
  if (labelValue.length <= 0) {
813
814
  throw new Error("Empty value provided for input HTTP label: PackageID.");
814
815
  }
815
- resolvedPath = resolvedPath.replace("{PackageID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
816
+ resolvedPath = resolvedPath.replace("{PackageID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
816
817
  }
817
818
  else {
818
819
  throw new Error("No value provided for input HTTP label: PackageID.");
@@ -844,7 +845,7 @@ const serializeAws_restJson1ListElasticsearchInstanceTypesCommand = async (input
844
845
  if (labelValue.length <= 0) {
845
846
  throw new Error("Empty value provided for input HTTP label: ElasticsearchVersion.");
846
847
  }
847
- resolvedPath = resolvedPath.replace("{ElasticsearchVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
848
+ resolvedPath = resolvedPath.replace("{ElasticsearchVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
848
849
  }
849
850
  else {
850
851
  throw new Error("No value provided for input HTTP label: ElasticsearchVersion.");
@@ -897,7 +898,7 @@ const serializeAws_restJson1ListPackagesForDomainCommand = async (input, context
897
898
  if (labelValue.length <= 0) {
898
899
  throw new Error("Empty value provided for input HTTP label: DomainName.");
899
900
  }
900
- resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
901
+ resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
901
902
  }
902
903
  else {
903
904
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -977,7 +978,7 @@ const serializeAws_restJson1RejectInboundCrossClusterSearchConnectionCommand = a
977
978
  if (labelValue.length <= 0) {
978
979
  throw new Error("Empty value provided for input HTTP label: CrossClusterSearchConnectionId.");
979
980
  }
980
- resolvedPath = resolvedPath.replace("{CrossClusterSearchConnectionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
981
+ resolvedPath = resolvedPath.replace("{CrossClusterSearchConnectionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
981
982
  }
982
983
  else {
983
984
  throw new Error("No value provided for input HTTP label: CrossClusterSearchConnectionId.");
@@ -1050,7 +1051,7 @@ const serializeAws_restJson1UpdateElasticsearchDomainConfigCommand = async (inpu
1050
1051
  if (labelValue.length <= 0) {
1051
1052
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1052
1053
  }
1053
- resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1054
+ resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1054
1055
  }
1055
1056
  else {
1056
1057
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1175,7 +1176,7 @@ const deserializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand =
1175
1176
  $metadata: deserializeMetadata(output),
1176
1177
  CrossClusterSearchConnection: undefined,
1177
1178
  };
1178
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1179
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1179
1180
  if (data.CrossClusterSearchConnection !== undefined && data.CrossClusterSearchConnection !== null) {
1180
1181
  contents.CrossClusterSearchConnection = deserializeAws_restJson1InboundCrossClusterSearchConnection(data.CrossClusterSearchConnection, context);
1181
1182
  }
@@ -1307,7 +1308,7 @@ const deserializeAws_restJson1AssociatePackageCommand = async (output, context)
1307
1308
  $metadata: deserializeMetadata(output),
1308
1309
  DomainPackageDetails: undefined,
1309
1310
  };
1310
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1311
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1311
1312
  if (data.DomainPackageDetails !== undefined && data.DomainPackageDetails !== null) {
1312
1313
  contents.DomainPackageDetails = deserializeAws_restJson1DomainPackageDetails(data.DomainPackageDetails, context);
1313
1314
  }
@@ -1395,7 +1396,7 @@ const deserializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand =
1395
1396
  $metadata: deserializeMetadata(output),
1396
1397
  ServiceSoftwareOptions: undefined,
1397
1398
  };
1398
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1399
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1399
1400
  if (data.ServiceSoftwareOptions !== undefined && data.ServiceSoftwareOptions !== null) {
1400
1401
  contents.ServiceSoftwareOptions = deserializeAws_restJson1ServiceSoftwareOptions(data.ServiceSoftwareOptions, context);
1401
1402
  }
@@ -1467,7 +1468,7 @@ const deserializeAws_restJson1CreateElasticsearchDomainCommand = async (output,
1467
1468
  $metadata: deserializeMetadata(output),
1468
1469
  DomainStatus: undefined,
1469
1470
  };
1470
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1471
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1471
1472
  if (data.DomainStatus !== undefined && data.DomainStatus !== null) {
1472
1473
  contents.DomainStatus = deserializeAws_restJson1ElasticsearchDomainStatus(data.DomainStatus, context);
1473
1474
  }
@@ -1567,15 +1568,15 @@ const deserializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand
1567
1568
  DestinationDomainInfo: undefined,
1568
1569
  SourceDomainInfo: undefined,
1569
1570
  };
1570
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1571
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1571
1572
  if (data.ConnectionAlias !== undefined && data.ConnectionAlias !== null) {
1572
- contents.ConnectionAlias = (0, smithy_client_1.expectString)(data.ConnectionAlias);
1573
+ contents.ConnectionAlias = smithy_client_1.expectString(data.ConnectionAlias);
1573
1574
  }
1574
1575
  if (data.ConnectionStatus !== undefined && data.ConnectionStatus !== null) {
1575
1576
  contents.ConnectionStatus = deserializeAws_restJson1OutboundCrossClusterSearchConnectionStatus(data.ConnectionStatus, context);
1576
1577
  }
1577
1578
  if (data.CrossClusterSearchConnectionId !== undefined && data.CrossClusterSearchConnectionId !== null) {
1578
- contents.CrossClusterSearchConnectionId = (0, smithy_client_1.expectString)(data.CrossClusterSearchConnectionId);
1579
+ contents.CrossClusterSearchConnectionId = smithy_client_1.expectString(data.CrossClusterSearchConnectionId);
1579
1580
  }
1580
1581
  if (data.DestinationDomainInfo !== undefined && data.DestinationDomainInfo !== null) {
1581
1582
  contents.DestinationDomainInfo = deserializeAws_restJson1DomainInformation(data.DestinationDomainInfo, context);
@@ -1651,7 +1652,7 @@ const deserializeAws_restJson1CreatePackageCommand = async (output, context) =>
1651
1652
  $metadata: deserializeMetadata(output),
1652
1653
  PackageDetails: undefined,
1653
1654
  };
1654
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1655
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1655
1656
  if (data.PackageDetails !== undefined && data.PackageDetails !== null) {
1656
1657
  contents.PackageDetails = deserializeAws_restJson1PackageDetails(data.PackageDetails, context);
1657
1658
  }
@@ -1747,7 +1748,7 @@ const deserializeAws_restJson1DeleteElasticsearchDomainCommand = async (output,
1747
1748
  $metadata: deserializeMetadata(output),
1748
1749
  DomainStatus: undefined,
1749
1750
  };
1750
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1751
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1751
1752
  if (data.DomainStatus !== undefined && data.DomainStatus !== null) {
1752
1753
  contents.DomainStatus = deserializeAws_restJson1ElasticsearchDomainStatus(data.DomainStatus, context);
1753
1754
  }
@@ -1879,7 +1880,7 @@ const deserializeAws_restJson1DeleteInboundCrossClusterSearchConnectionCommand =
1879
1880
  $metadata: deserializeMetadata(output),
1880
1881
  CrossClusterSearchConnection: undefined,
1881
1882
  };
1882
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1883
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1883
1884
  if (data.CrossClusterSearchConnection !== undefined && data.CrossClusterSearchConnection !== null) {
1884
1885
  contents.CrossClusterSearchConnection = deserializeAws_restJson1InboundCrossClusterSearchConnection(data.CrossClusterSearchConnection, context);
1885
1886
  }
@@ -1935,7 +1936,7 @@ const deserializeAws_restJson1DeleteOutboundCrossClusterSearchConnectionCommand
1935
1936
  $metadata: deserializeMetadata(output),
1936
1937
  CrossClusterSearchConnection: undefined,
1937
1938
  };
1938
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1939
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1939
1940
  if (data.CrossClusterSearchConnection !== undefined && data.CrossClusterSearchConnection !== null) {
1940
1941
  contents.CrossClusterSearchConnection = deserializeAws_restJson1OutboundCrossClusterSearchConnection(data.CrossClusterSearchConnection, context);
1941
1942
  }
@@ -1991,7 +1992,7 @@ const deserializeAws_restJson1DeletePackageCommand = async (output, context) =>
1991
1992
  $metadata: deserializeMetadata(output),
1992
1993
  PackageDetails: undefined,
1993
1994
  };
1994
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1995
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1995
1996
  if (data.PackageDetails !== undefined && data.PackageDetails !== null) {
1996
1997
  contents.PackageDetails = deserializeAws_restJson1PackageDetails(data.PackageDetails, context);
1997
1998
  }
@@ -2080,12 +2081,12 @@ const deserializeAws_restJson1DescribeDomainAutoTunesCommand = async (output, co
2080
2081
  AutoTunes: undefined,
2081
2082
  NextToken: undefined,
2082
2083
  };
2083
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2084
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2084
2085
  if (data.AutoTunes !== undefined && data.AutoTunes !== null) {
2085
2086
  contents.AutoTunes = deserializeAws_restJson1AutoTuneList(data.AutoTunes, context);
2086
2087
  }
2087
2088
  if (data.NextToken !== undefined && data.NextToken !== null) {
2088
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2089
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2089
2090
  }
2090
2091
  return Promise.resolve(contents);
2091
2092
  };
@@ -2155,7 +2156,7 @@ const deserializeAws_restJson1DescribeElasticsearchDomainCommand = async (output
2155
2156
  $metadata: deserializeMetadata(output),
2156
2157
  DomainStatus: undefined,
2157
2158
  };
2158
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2159
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2159
2160
  if (data.DomainStatus !== undefined && data.DomainStatus !== null) {
2160
2161
  contents.DomainStatus = deserializeAws_restJson1ElasticsearchDomainStatus(data.DomainStatus, context);
2161
2162
  }
@@ -2227,7 +2228,7 @@ const deserializeAws_restJson1DescribeElasticsearchDomainConfigCommand = async (
2227
2228
  $metadata: deserializeMetadata(output),
2228
2229
  DomainConfig: undefined,
2229
2230
  };
2230
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2231
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2231
2232
  if (data.DomainConfig !== undefined && data.DomainConfig !== null) {
2232
2233
  contents.DomainConfig = deserializeAws_restJson1ElasticsearchDomainConfig(data.DomainConfig, context);
2233
2234
  }
@@ -2299,7 +2300,7 @@ const deserializeAws_restJson1DescribeElasticsearchDomainsCommand = async (outpu
2299
2300
  $metadata: deserializeMetadata(output),
2300
2301
  DomainStatusList: undefined,
2301
2302
  };
2302
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2303
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2303
2304
  if (data.DomainStatusList !== undefined && data.DomainStatusList !== null) {
2304
2305
  contents.DomainStatusList = deserializeAws_restJson1ElasticsearchDomainStatusList(data.DomainStatusList, context);
2305
2306
  }
@@ -2363,7 +2364,7 @@ const deserializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand = a
2363
2364
  $metadata: deserializeMetadata(output),
2364
2365
  LimitsByRole: undefined,
2365
2366
  };
2366
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2367
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2367
2368
  if (data.LimitsByRole !== undefined && data.LimitsByRole !== null) {
2368
2369
  contents.LimitsByRole = deserializeAws_restJson1LimitsByRole(data.LimitsByRole, context);
2369
2370
  }
@@ -2452,12 +2453,12 @@ const deserializeAws_restJson1DescribeInboundCrossClusterSearchConnectionsComman
2452
2453
  CrossClusterSearchConnections: undefined,
2453
2454
  NextToken: undefined,
2454
2455
  };
2455
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2456
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2456
2457
  if (data.CrossClusterSearchConnections !== undefined && data.CrossClusterSearchConnections !== null) {
2457
2458
  contents.CrossClusterSearchConnections = deserializeAws_restJson1InboundCrossClusterSearchConnections(data.CrossClusterSearchConnections, context);
2458
2459
  }
2459
2460
  if (data.NextToken !== undefined && data.NextToken !== null) {
2460
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2461
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2461
2462
  }
2462
2463
  return Promise.resolve(contents);
2463
2464
  };
@@ -2512,12 +2513,12 @@ const deserializeAws_restJson1DescribeOutboundCrossClusterSearchConnectionsComma
2512
2513
  CrossClusterSearchConnections: undefined,
2513
2514
  NextToken: undefined,
2514
2515
  };
2515
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2516
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2516
2517
  if (data.CrossClusterSearchConnections !== undefined && data.CrossClusterSearchConnections !== null) {
2517
2518
  contents.CrossClusterSearchConnections = deserializeAws_restJson1OutboundCrossClusterSearchConnections(data.CrossClusterSearchConnections, context);
2518
2519
  }
2519
2520
  if (data.NextToken !== undefined && data.NextToken !== null) {
2520
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2521
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2521
2522
  }
2522
2523
  return Promise.resolve(contents);
2523
2524
  };
@@ -2572,9 +2573,9 @@ const deserializeAws_restJson1DescribePackagesCommand = async (output, context)
2572
2573
  NextToken: undefined,
2573
2574
  PackageDetailsList: undefined,
2574
2575
  };
2575
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2576
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2576
2577
  if (data.NextToken !== undefined && data.NextToken !== null) {
2577
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2578
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2578
2579
  }
2579
2580
  if (data.PackageDetailsList !== undefined && data.PackageDetailsList !== null) {
2580
2581
  contents.PackageDetailsList = deserializeAws_restJson1PackageDetailsList(data.PackageDetailsList, context);
@@ -2656,9 +2657,9 @@ const deserializeAws_restJson1DescribeReservedElasticsearchInstanceOfferingsComm
2656
2657
  NextToken: undefined,
2657
2658
  ReservedElasticsearchInstanceOfferings: undefined,
2658
2659
  };
2659
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2660
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2660
2661
  if (data.NextToken !== undefined && data.NextToken !== null) {
2661
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2662
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2662
2663
  }
2663
2664
  if (data.ReservedElasticsearchInstanceOfferings !== undefined &&
2664
2665
  data.ReservedElasticsearchInstanceOfferings !== null) {
@@ -2733,9 +2734,9 @@ const deserializeAws_restJson1DescribeReservedElasticsearchInstancesCommand = as
2733
2734
  NextToken: undefined,
2734
2735
  ReservedElasticsearchInstances: undefined,
2735
2736
  };
2736
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2737
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2737
2738
  if (data.NextToken !== undefined && data.NextToken !== null) {
2738
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2739
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2739
2740
  }
2740
2741
  if (data.ReservedElasticsearchInstances !== undefined && data.ReservedElasticsearchInstances !== null) {
2741
2742
  contents.ReservedElasticsearchInstances = deserializeAws_restJson1ReservedElasticsearchInstanceList(data.ReservedElasticsearchInstances, context);
@@ -2808,7 +2809,7 @@ const deserializeAws_restJson1DissociatePackageCommand = async (output, context)
2808
2809
  $metadata: deserializeMetadata(output),
2809
2810
  DomainPackageDetails: undefined,
2810
2811
  };
2811
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2812
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2812
2813
  if (data.DomainPackageDetails !== undefined && data.DomainPackageDetails !== null) {
2813
2814
  contents.DomainPackageDetails = deserializeAws_restJson1DomainPackageDetails(data.DomainPackageDetails, context);
2814
2815
  }
@@ -2896,7 +2897,7 @@ const deserializeAws_restJson1GetCompatibleElasticsearchVersionsCommand = async
2896
2897
  $metadata: deserializeMetadata(output),
2897
2898
  CompatibleElasticsearchVersions: undefined,
2898
2899
  };
2899
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2900
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2900
2901
  if (data.CompatibleElasticsearchVersions !== undefined && data.CompatibleElasticsearchVersions !== null) {
2901
2902
  contents.CompatibleElasticsearchVersions = deserializeAws_restJson1CompatibleElasticsearchVersionsList(data.CompatibleElasticsearchVersions, context);
2902
2903
  }
@@ -2978,12 +2979,12 @@ const deserializeAws_restJson1GetPackageVersionHistoryCommand = async (output, c
2978
2979
  PackageID: undefined,
2979
2980
  PackageVersionHistoryList: undefined,
2980
2981
  };
2981
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2982
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2982
2983
  if (data.NextToken !== undefined && data.NextToken !== null) {
2983
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2984
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2984
2985
  }
2985
2986
  if (data.PackageID !== undefined && data.PackageID !== null) {
2986
- contents.PackageID = (0, smithy_client_1.expectString)(data.PackageID);
2987
+ contents.PackageID = smithy_client_1.expectString(data.PackageID);
2987
2988
  }
2988
2989
  if (data.PackageVersionHistoryList !== undefined && data.PackageVersionHistoryList !== null) {
2989
2990
  contents.PackageVersionHistoryList = deserializeAws_restJson1PackageVersionHistoryList(data.PackageVersionHistoryList, context);
@@ -3065,9 +3066,9 @@ const deserializeAws_restJson1GetUpgradeHistoryCommand = async (output, context)
3065
3066
  NextToken: undefined,
3066
3067
  UpgradeHistories: undefined,
3067
3068
  };
3068
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3069
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3069
3070
  if (data.NextToken !== undefined && data.NextToken !== null) {
3070
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
3071
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
3071
3072
  }
3072
3073
  if (data.UpgradeHistories !== undefined && data.UpgradeHistories !== null) {
3073
3074
  contents.UpgradeHistories = deserializeAws_restJson1UpgradeHistoryList(data.UpgradeHistories, context);
@@ -3150,15 +3151,15 @@ const deserializeAws_restJson1GetUpgradeStatusCommand = async (output, context)
3150
3151
  UpgradeName: undefined,
3151
3152
  UpgradeStep: undefined,
3152
3153
  };
3153
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3154
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3154
3155
  if (data.StepStatus !== undefined && data.StepStatus !== null) {
3155
- contents.StepStatus = (0, smithy_client_1.expectString)(data.StepStatus);
3156
+ contents.StepStatus = smithy_client_1.expectString(data.StepStatus);
3156
3157
  }
3157
3158
  if (data.UpgradeName !== undefined && data.UpgradeName !== null) {
3158
- contents.UpgradeName = (0, smithy_client_1.expectString)(data.UpgradeName);
3159
+ contents.UpgradeName = smithy_client_1.expectString(data.UpgradeName);
3159
3160
  }
3160
3161
  if (data.UpgradeStep !== undefined && data.UpgradeStep !== null) {
3161
- contents.UpgradeStep = (0, smithy_client_1.expectString)(data.UpgradeStep);
3162
+ contents.UpgradeStep = smithy_client_1.expectString(data.UpgradeStep);
3162
3163
  }
3163
3164
  return Promise.resolve(contents);
3164
3165
  };
@@ -3236,7 +3237,7 @@ const deserializeAws_restJson1ListDomainNamesCommand = async (output, context) =
3236
3237
  $metadata: deserializeMetadata(output),
3237
3238
  DomainNames: undefined,
3238
3239
  };
3239
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3240
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3240
3241
  if (data.DomainNames !== undefined && data.DomainNames !== null) {
3241
3242
  contents.DomainNames = deserializeAws_restJson1DomainInfoList(data.DomainNames, context);
3242
3243
  }
@@ -3293,12 +3294,12 @@ const deserializeAws_restJson1ListDomainsForPackageCommand = async (output, cont
3293
3294
  DomainPackageDetailsList: undefined,
3294
3295
  NextToken: undefined,
3295
3296
  };
3296
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3297
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3297
3298
  if (data.DomainPackageDetailsList !== undefined && data.DomainPackageDetailsList !== null) {
3298
3299
  contents.DomainPackageDetailsList = deserializeAws_restJson1DomainPackageDetailsList(data.DomainPackageDetailsList, context);
3299
3300
  }
3300
3301
  if (data.NextToken !== undefined && data.NextToken !== null) {
3301
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
3302
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
3302
3303
  }
3303
3304
  return Promise.resolve(contents);
3304
3305
  };
@@ -3377,12 +3378,12 @@ const deserializeAws_restJson1ListElasticsearchInstanceTypesCommand = async (out
3377
3378
  ElasticsearchInstanceTypes: undefined,
3378
3379
  NextToken: undefined,
3379
3380
  };
3380
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3381
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3381
3382
  if (data.ElasticsearchInstanceTypes !== undefined && data.ElasticsearchInstanceTypes !== null) {
3382
3383
  contents.ElasticsearchInstanceTypes = deserializeAws_restJson1ElasticsearchInstanceTypeList(data.ElasticsearchInstanceTypes, context);
3383
3384
  }
3384
3385
  if (data.NextToken !== undefined && data.NextToken !== null) {
3385
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
3386
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
3386
3387
  }
3387
3388
  return Promise.resolve(contents);
3388
3389
  };
@@ -3453,12 +3454,12 @@ const deserializeAws_restJson1ListElasticsearchVersionsCommand = async (output,
3453
3454
  ElasticsearchVersions: undefined,
3454
3455
  NextToken: undefined,
3455
3456
  };
3456
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3457
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3457
3458
  if (data.ElasticsearchVersions !== undefined && data.ElasticsearchVersions !== null) {
3458
3459
  contents.ElasticsearchVersions = deserializeAws_restJson1ElasticsearchVersionList(data.ElasticsearchVersions, context);
3459
3460
  }
3460
3461
  if (data.NextToken !== undefined && data.NextToken !== null) {
3461
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
3462
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
3462
3463
  }
3463
3464
  return Promise.resolve(contents);
3464
3465
  };
@@ -3529,12 +3530,12 @@ const deserializeAws_restJson1ListPackagesForDomainCommand = async (output, cont
3529
3530
  DomainPackageDetailsList: undefined,
3530
3531
  NextToken: undefined,
3531
3532
  };
3532
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3533
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3533
3534
  if (data.DomainPackageDetailsList !== undefined && data.DomainPackageDetailsList !== null) {
3534
3535
  contents.DomainPackageDetailsList = deserializeAws_restJson1DomainPackageDetailsList(data.DomainPackageDetailsList, context);
3535
3536
  }
3536
3537
  if (data.NextToken !== undefined && data.NextToken !== null) {
3537
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
3538
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
3538
3539
  }
3539
3540
  return Promise.resolve(contents);
3540
3541
  };
@@ -3612,7 +3613,7 @@ const deserializeAws_restJson1ListTagsCommand = async (output, context) => {
3612
3613
  $metadata: deserializeMetadata(output),
3613
3614
  TagList: undefined,
3614
3615
  };
3615
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3616
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3616
3617
  if (data.TagList !== undefined && data.TagList !== null) {
3617
3618
  contents.TagList = deserializeAws_restJson1TagList(data.TagList, context);
3618
3619
  }
@@ -3685,12 +3686,12 @@ const deserializeAws_restJson1PurchaseReservedElasticsearchInstanceOfferingComma
3685
3686
  ReservationName: undefined,
3686
3687
  ReservedElasticsearchInstanceId: undefined,
3687
3688
  };
3688
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3689
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3689
3690
  if (data.ReservationName !== undefined && data.ReservationName !== null) {
3690
- contents.ReservationName = (0, smithy_client_1.expectString)(data.ReservationName);
3691
+ contents.ReservationName = smithy_client_1.expectString(data.ReservationName);
3691
3692
  }
3692
3693
  if (data.ReservedElasticsearchInstanceId !== undefined && data.ReservedElasticsearchInstanceId !== null) {
3693
- contents.ReservedElasticsearchInstanceId = (0, smithy_client_1.expectString)(data.ReservedElasticsearchInstanceId);
3694
+ contents.ReservedElasticsearchInstanceId = smithy_client_1.expectString(data.ReservedElasticsearchInstanceId);
3694
3695
  }
3695
3696
  return Promise.resolve(contents);
3696
3697
  };
@@ -3776,7 +3777,7 @@ const deserializeAws_restJson1RejectInboundCrossClusterSearchConnectionCommand =
3776
3777
  $metadata: deserializeMetadata(output),
3777
3778
  CrossClusterSearchConnection: undefined,
3778
3779
  };
3779
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3780
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3780
3781
  if (data.CrossClusterSearchConnection !== undefined && data.CrossClusterSearchConnection !== null) {
3781
3782
  contents.CrossClusterSearchConnection = deserializeAws_restJson1InboundCrossClusterSearchConnection(data.CrossClusterSearchConnection, context);
3782
3783
  }
@@ -3892,7 +3893,7 @@ const deserializeAws_restJson1StartElasticsearchServiceSoftwareUpdateCommand = a
3892
3893
  $metadata: deserializeMetadata(output),
3893
3894
  ServiceSoftwareOptions: undefined,
3894
3895
  };
3895
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3896
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3896
3897
  if (data.ServiceSoftwareOptions !== undefined && data.ServiceSoftwareOptions !== null) {
3897
3898
  contents.ServiceSoftwareOptions = deserializeAws_restJson1ServiceSoftwareOptions(data.ServiceSoftwareOptions, context);
3898
3899
  }
@@ -3964,7 +3965,7 @@ const deserializeAws_restJson1UpdateElasticsearchDomainConfigCommand = async (ou
3964
3965
  $metadata: deserializeMetadata(output),
3965
3966
  DomainConfig: undefined,
3966
3967
  };
3967
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3968
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3968
3969
  if (data.DomainConfig !== undefined && data.DomainConfig !== null) {
3969
3970
  contents.DomainConfig = deserializeAws_restJson1ElasticsearchDomainConfig(data.DomainConfig, context);
3970
3971
  }
@@ -4052,7 +4053,7 @@ const deserializeAws_restJson1UpdatePackageCommand = async (output, context) =>
4052
4053
  $metadata: deserializeMetadata(output),
4053
4054
  PackageDetails: undefined,
4054
4055
  };
4055
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4056
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4056
4057
  if (data.PackageDetails !== undefined && data.PackageDetails !== null) {
4057
4058
  contents.PackageDetails = deserializeAws_restJson1PackageDetails(data.PackageDetails, context);
4058
4059
  }
@@ -4142,15 +4143,15 @@ const deserializeAws_restJson1UpgradeElasticsearchDomainCommand = async (output,
4142
4143
  PerformCheckOnly: undefined,
4143
4144
  TargetVersion: undefined,
4144
4145
  };
4145
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4146
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4146
4147
  if (data.DomainName !== undefined && data.DomainName !== null) {
4147
- contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
4148
+ contents.DomainName = smithy_client_1.expectString(data.DomainName);
4148
4149
  }
4149
4150
  if (data.PerformCheckOnly !== undefined && data.PerformCheckOnly !== null) {
4150
- contents.PerformCheckOnly = (0, smithy_client_1.expectBoolean)(data.PerformCheckOnly);
4151
+ contents.PerformCheckOnly = smithy_client_1.expectBoolean(data.PerformCheckOnly);
4151
4152
  }
4152
4153
  if (data.TargetVersion !== undefined && data.TargetVersion !== null) {
4153
- contents.TargetVersion = (0, smithy_client_1.expectString)(data.TargetVersion);
4154
+ contents.TargetVersion = smithy_client_1.expectString(data.TargetVersion);
4154
4155
  }
4155
4156
  return Promise.resolve(contents);
4156
4157
  };
@@ -4237,7 +4238,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
4237
4238
  };
4238
4239
  const data = parsedOutput.body;
4239
4240
  if (data.message !== undefined && data.message !== null) {
4240
- contents.message = (0, smithy_client_1.expectString)(data.message);
4241
+ contents.message = smithy_client_1.expectString(data.message);
4241
4242
  }
4242
4243
  return contents;
4243
4244
  };
@@ -4250,7 +4251,7 @@ const deserializeAws_restJson1BaseExceptionResponse = async (parsedOutput, conte
4250
4251
  };
4251
4252
  const data = parsedOutput.body;
4252
4253
  if (data.message !== undefined && data.message !== null) {
4253
- contents.message = (0, smithy_client_1.expectString)(data.message);
4254
+ contents.message = smithy_client_1.expectString(data.message);
4254
4255
  }
4255
4256
  return contents;
4256
4257
  };
@@ -4263,7 +4264,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
4263
4264
  };
4264
4265
  const data = parsedOutput.body;
4265
4266
  if (data.message !== undefined && data.message !== null) {
4266
- contents.message = (0, smithy_client_1.expectString)(data.message);
4267
+ contents.message = smithy_client_1.expectString(data.message);
4267
4268
  }
4268
4269
  return contents;
4269
4270
  };
@@ -4276,7 +4277,7 @@ const deserializeAws_restJson1DisabledOperationExceptionResponse = async (parsed
4276
4277
  };
4277
4278
  const data = parsedOutput.body;
4278
4279
  if (data.message !== undefined && data.message !== null) {
4279
- contents.message = (0, smithy_client_1.expectString)(data.message);
4280
+ contents.message = smithy_client_1.expectString(data.message);
4280
4281
  }
4281
4282
  return contents;
4282
4283
  };
@@ -4289,7 +4290,7 @@ const deserializeAws_restJson1InternalExceptionResponse = async (parsedOutput, c
4289
4290
  };
4290
4291
  const data = parsedOutput.body;
4291
4292
  if (data.message !== undefined && data.message !== null) {
4292
- contents.message = (0, smithy_client_1.expectString)(data.message);
4293
+ contents.message = smithy_client_1.expectString(data.message);
4293
4294
  }
4294
4295
  return contents;
4295
4296
  };
@@ -4302,7 +4303,7 @@ const deserializeAws_restJson1InvalidPaginationTokenExceptionResponse = async (p
4302
4303
  };
4303
4304
  const data = parsedOutput.body;
4304
4305
  if (data.message !== undefined && data.message !== null) {
4305
- contents.message = (0, smithy_client_1.expectString)(data.message);
4306
+ contents.message = smithy_client_1.expectString(data.message);
4306
4307
  }
4307
4308
  return contents;
4308
4309
  };
@@ -4315,7 +4316,7 @@ const deserializeAws_restJson1InvalidTypeExceptionResponse = async (parsedOutput
4315
4316
  };
4316
4317
  const data = parsedOutput.body;
4317
4318
  if (data.message !== undefined && data.message !== null) {
4318
- contents.message = (0, smithy_client_1.expectString)(data.message);
4319
+ contents.message = smithy_client_1.expectString(data.message);
4319
4320
  }
4320
4321
  return contents;
4321
4322
  };
@@ -4328,7 +4329,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
4328
4329
  };
4329
4330
  const data = parsedOutput.body;
4330
4331
  if (data.message !== undefined && data.message !== null) {
4331
- contents.message = (0, smithy_client_1.expectString)(data.message);
4332
+ contents.message = smithy_client_1.expectString(data.message);
4332
4333
  }
4333
4334
  return contents;
4334
4335
  };
@@ -4341,7 +4342,7 @@ const deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse = async (pa
4341
4342
  };
4342
4343
  const data = parsedOutput.body;
4343
4344
  if (data.message !== undefined && data.message !== null) {
4344
- contents.message = (0, smithy_client_1.expectString)(data.message);
4345
+ contents.message = smithy_client_1.expectString(data.message);
4345
4346
  }
4346
4347
  return contents;
4347
4348
  };
@@ -4354,7 +4355,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
4354
4355
  };
4355
4356
  const data = parsedOutput.body;
4356
4357
  if (data.message !== undefined && data.message !== null) {
4357
- contents.message = (0, smithy_client_1.expectString)(data.message);
4358
+ contents.message = smithy_client_1.expectString(data.message);
4358
4359
  }
4359
4360
  return contents;
4360
4361
  };
@@ -4367,7 +4368,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
4367
4368
  };
4368
4369
  const data = parsedOutput.body;
4369
4370
  if (data.message !== undefined && data.message !== null) {
4370
- contents.message = (0, smithy_client_1.expectString)(data.message);
4371
+ contents.message = smithy_client_1.expectString(data.message);
4371
4372
  }
4372
4373
  return contents;
4373
4374
  };
@@ -4691,7 +4692,7 @@ const serializeAws_restJson1ZoneAwarenessConfig = (input, context) => {
4691
4692
  };
4692
4693
  const deserializeAws_restJson1AccessPoliciesStatus = (output, context) => {
4693
4694
  return {
4694
- Options: (0, smithy_client_1.expectString)(output.Options),
4695
+ Options: smithy_client_1.expectString(output.Options),
4695
4696
  Status: output.Status !== undefined && output.Status !== null
4696
4697
  ? deserializeAws_restJson1OptionStatus(output.Status, context)
4697
4698
  : undefined,
@@ -4699,7 +4700,7 @@ const deserializeAws_restJson1AccessPoliciesStatus = (output, context) => {
4699
4700
  };
4700
4701
  const deserializeAws_restJson1AdditionalLimit = (output, context) => {
4701
4702
  return {
4702
- LimitName: (0, smithy_client_1.expectString)(output.LimitName),
4703
+ LimitName: smithy_client_1.expectString(output.LimitName),
4703
4704
  LimitValues: output.LimitValues !== undefined && output.LimitValues !== null
4704
4705
  ? deserializeAws_restJson1LimitValueList(output.LimitValues, context)
4705
4706
  : undefined,
@@ -4722,7 +4723,7 @@ const deserializeAws_restJson1AdvancedOptions = (output, context) => {
4722
4723
  }
4723
4724
  return {
4724
4725
  ...acc,
4725
- [key]: (0, smithy_client_1.expectString)(value),
4726
+ [key]: smithy_client_1.expectString(value),
4726
4727
  };
4727
4728
  }, {});
4728
4729
  };
@@ -4738,8 +4739,8 @@ const deserializeAws_restJson1AdvancedOptionsStatus = (output, context) => {
4738
4739
  };
4739
4740
  const deserializeAws_restJson1AdvancedSecurityOptions = (output, context) => {
4740
4741
  return {
4741
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
4742
- InternalUserDatabaseEnabled: (0, smithy_client_1.expectBoolean)(output.InternalUserDatabaseEnabled),
4742
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
4743
+ InternalUserDatabaseEnabled: smithy_client_1.expectBoolean(output.InternalUserDatabaseEnabled),
4743
4744
  SAMLOptions: output.SAMLOptions !== undefined && output.SAMLOptions !== null
4744
4745
  ? deserializeAws_restJson1SAMLOptionsOutput(output.SAMLOptions, context)
4745
4746
  : undefined,
@@ -4760,7 +4761,7 @@ const deserializeAws_restJson1AutoTune = (output, context) => {
4760
4761
  AutoTuneDetails: output.AutoTuneDetails !== undefined && output.AutoTuneDetails !== null
4761
4762
  ? deserializeAws_restJson1AutoTuneDetails(output.AutoTuneDetails, context)
4762
4763
  : undefined,
4763
- AutoTuneType: (0, smithy_client_1.expectString)(output.AutoTuneType),
4764
+ AutoTuneType: smithy_client_1.expectString(output.AutoTuneType),
4764
4765
  };
4765
4766
  };
4766
4767
  const deserializeAws_restJson1AutoTuneDetails = (output, context) => {
@@ -4782,12 +4783,12 @@ const deserializeAws_restJson1AutoTuneList = (output, context) => {
4782
4783
  };
4783
4784
  const deserializeAws_restJson1AutoTuneMaintenanceSchedule = (output, context) => {
4784
4785
  return {
4785
- CronExpressionForRecurrence: (0, smithy_client_1.expectString)(output.CronExpressionForRecurrence),
4786
+ CronExpressionForRecurrence: smithy_client_1.expectString(output.CronExpressionForRecurrence),
4786
4787
  Duration: output.Duration !== undefined && output.Duration !== null
4787
4788
  ? deserializeAws_restJson1Duration(output.Duration, context)
4788
4789
  : undefined,
4789
4790
  StartAt: output.StartAt !== undefined && output.StartAt !== null
4790
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartAt)))
4791
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartAt)))
4791
4792
  : undefined,
4792
4793
  };
4793
4794
  };
@@ -4803,17 +4804,17 @@ const deserializeAws_restJson1AutoTuneMaintenanceScheduleList = (output, context
4803
4804
  };
4804
4805
  const deserializeAws_restJson1AutoTuneOptions = (output, context) => {
4805
4806
  return {
4806
- DesiredState: (0, smithy_client_1.expectString)(output.DesiredState),
4807
+ DesiredState: smithy_client_1.expectString(output.DesiredState),
4807
4808
  MaintenanceSchedules: output.MaintenanceSchedules !== undefined && output.MaintenanceSchedules !== null
4808
4809
  ? deserializeAws_restJson1AutoTuneMaintenanceScheduleList(output.MaintenanceSchedules, context)
4809
4810
  : undefined,
4810
- RollbackOnDisable: (0, smithy_client_1.expectString)(output.RollbackOnDisable),
4811
+ RollbackOnDisable: smithy_client_1.expectString(output.RollbackOnDisable),
4811
4812
  };
4812
4813
  };
4813
4814
  const deserializeAws_restJson1AutoTuneOptionsOutput = (output, context) => {
4814
4815
  return {
4815
- ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4816
- State: (0, smithy_client_1.expectString)(output.State),
4816
+ ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4817
+ State: smithy_client_1.expectString(output.State),
4817
4818
  };
4818
4819
  };
4819
4820
  const deserializeAws_restJson1AutoTuneOptionsStatus = (output, context) => {
@@ -4829,23 +4830,23 @@ const deserializeAws_restJson1AutoTuneOptionsStatus = (output, context) => {
4829
4830
  const deserializeAws_restJson1AutoTuneStatus = (output, context) => {
4830
4831
  return {
4831
4832
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
4832
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
4833
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
4833
4834
  : undefined,
4834
- ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4835
- PendingDeletion: (0, smithy_client_1.expectBoolean)(output.PendingDeletion),
4836
- State: (0, smithy_client_1.expectString)(output.State),
4835
+ ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4836
+ PendingDeletion: smithy_client_1.expectBoolean(output.PendingDeletion),
4837
+ State: smithy_client_1.expectString(output.State),
4837
4838
  UpdateDate: output.UpdateDate !== undefined && output.UpdateDate !== null
4838
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDate)))
4839
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateDate)))
4839
4840
  : undefined,
4840
- UpdateVersion: (0, smithy_client_1.expectInt32)(output.UpdateVersion),
4841
+ UpdateVersion: smithy_client_1.expectInt32(output.UpdateVersion),
4841
4842
  };
4842
4843
  };
4843
4844
  const deserializeAws_restJson1CognitoOptions = (output, context) => {
4844
4845
  return {
4845
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
4846
- IdentityPoolId: (0, smithy_client_1.expectString)(output.IdentityPoolId),
4847
- RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
4848
- UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
4846
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
4847
+ IdentityPoolId: smithy_client_1.expectString(output.IdentityPoolId),
4848
+ RoleArn: smithy_client_1.expectString(output.RoleArn),
4849
+ UserPoolId: smithy_client_1.expectString(output.UserPoolId),
4849
4850
  };
4850
4851
  };
4851
4852
  const deserializeAws_restJson1CognitoOptionsStatus = (output, context) => {
@@ -4860,7 +4861,7 @@ const deserializeAws_restJson1CognitoOptionsStatus = (output, context) => {
4860
4861
  };
4861
4862
  const deserializeAws_restJson1ColdStorageOptions = (output, context) => {
4862
4863
  return {
4863
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
4864
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
4864
4865
  };
4865
4866
  };
4866
4867
  const deserializeAws_restJson1CompatibleElasticsearchVersionsList = (output, context) => {
@@ -4875,7 +4876,7 @@ const deserializeAws_restJson1CompatibleElasticsearchVersionsList = (output, con
4875
4876
  };
4876
4877
  const deserializeAws_restJson1CompatibleVersionsMap = (output, context) => {
4877
4878
  return {
4878
- SourceVersion: (0, smithy_client_1.expectString)(output.SourceVersion),
4879
+ SourceVersion: smithy_client_1.expectString(output.SourceVersion),
4879
4880
  TargetVersions: output.TargetVersions !== undefined && output.TargetVersions !== null
4880
4881
  ? deserializeAws_restJson1ElasticsearchVersionList(output.TargetVersions, context)
4881
4882
  : undefined,
@@ -4883,11 +4884,11 @@ const deserializeAws_restJson1CompatibleVersionsMap = (output, context) => {
4883
4884
  };
4884
4885
  const deserializeAws_restJson1DomainEndpointOptions = (output, context) => {
4885
4886
  return {
4886
- CustomEndpoint: (0, smithy_client_1.expectString)(output.CustomEndpoint),
4887
- CustomEndpointCertificateArn: (0, smithy_client_1.expectString)(output.CustomEndpointCertificateArn),
4888
- CustomEndpointEnabled: (0, smithy_client_1.expectBoolean)(output.CustomEndpointEnabled),
4889
- EnforceHTTPS: (0, smithy_client_1.expectBoolean)(output.EnforceHTTPS),
4890
- TLSSecurityPolicy: (0, smithy_client_1.expectString)(output.TLSSecurityPolicy),
4887
+ CustomEndpoint: smithy_client_1.expectString(output.CustomEndpoint),
4888
+ CustomEndpointCertificateArn: smithy_client_1.expectString(output.CustomEndpointCertificateArn),
4889
+ CustomEndpointEnabled: smithy_client_1.expectBoolean(output.CustomEndpointEnabled),
4890
+ EnforceHTTPS: smithy_client_1.expectBoolean(output.EnforceHTTPS),
4891
+ TLSSecurityPolicy: smithy_client_1.expectString(output.TLSSecurityPolicy),
4891
4892
  };
4892
4893
  };
4893
4894
  const deserializeAws_restJson1DomainEndpointOptionsStatus = (output, context) => {
@@ -4902,7 +4903,8 @@ const deserializeAws_restJson1DomainEndpointOptionsStatus = (output, context) =>
4902
4903
  };
4903
4904
  const deserializeAws_restJson1DomainInfo = (output, context) => {
4904
4905
  return {
4905
- DomainName: (0, smithy_client_1.expectString)(output.DomainName),
4906
+ DomainName: smithy_client_1.expectString(output.DomainName),
4907
+ EngineType: smithy_client_1.expectString(output.EngineType),
4906
4908
  };
4907
4909
  };
4908
4910
  const deserializeAws_restJson1DomainInfoList = (output, context) => {
@@ -4917,26 +4919,26 @@ const deserializeAws_restJson1DomainInfoList = (output, context) => {
4917
4919
  };
4918
4920
  const deserializeAws_restJson1DomainInformation = (output, context) => {
4919
4921
  return {
4920
- DomainName: (0, smithy_client_1.expectString)(output.DomainName),
4921
- OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
4922
- Region: (0, smithy_client_1.expectString)(output.Region),
4922
+ DomainName: smithy_client_1.expectString(output.DomainName),
4923
+ OwnerId: smithy_client_1.expectString(output.OwnerId),
4924
+ Region: smithy_client_1.expectString(output.Region),
4923
4925
  };
4924
4926
  };
4925
4927
  const deserializeAws_restJson1DomainPackageDetails = (output, context) => {
4926
4928
  return {
4927
- DomainName: (0, smithy_client_1.expectString)(output.DomainName),
4928
- DomainPackageStatus: (0, smithy_client_1.expectString)(output.DomainPackageStatus),
4929
+ DomainName: smithy_client_1.expectString(output.DomainName),
4930
+ DomainPackageStatus: smithy_client_1.expectString(output.DomainPackageStatus),
4929
4931
  ErrorDetails: output.ErrorDetails !== undefined && output.ErrorDetails !== null
4930
4932
  ? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context)
4931
4933
  : undefined,
4932
4934
  LastUpdated: output.LastUpdated !== undefined && output.LastUpdated !== null
4933
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdated)))
4935
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdated)))
4934
4936
  : undefined,
4935
- PackageID: (0, smithy_client_1.expectString)(output.PackageID),
4936
- PackageName: (0, smithy_client_1.expectString)(output.PackageName),
4937
- PackageType: (0, smithy_client_1.expectString)(output.PackageType),
4938
- PackageVersion: (0, smithy_client_1.expectString)(output.PackageVersion),
4939
- ReferencePath: (0, smithy_client_1.expectString)(output.ReferencePath),
4937
+ PackageID: smithy_client_1.expectString(output.PackageID),
4938
+ PackageName: smithy_client_1.expectString(output.PackageName),
4939
+ PackageType: smithy_client_1.expectString(output.PackageType),
4940
+ PackageVersion: smithy_client_1.expectString(output.PackageVersion),
4941
+ ReferencePath: smithy_client_1.expectString(output.ReferencePath),
4940
4942
  };
4941
4943
  };
4942
4944
  const deserializeAws_restJson1DomainPackageDetailsList = (output, context) => {
@@ -4951,16 +4953,16 @@ const deserializeAws_restJson1DomainPackageDetailsList = (output, context) => {
4951
4953
  };
4952
4954
  const deserializeAws_restJson1Duration = (output, context) => {
4953
4955
  return {
4954
- Unit: (0, smithy_client_1.expectString)(output.Unit),
4955
- Value: (0, smithy_client_1.expectLong)(output.Value),
4956
+ Unit: smithy_client_1.expectString(output.Unit),
4957
+ Value: smithy_client_1.expectLong(output.Value),
4956
4958
  };
4957
4959
  };
4958
4960
  const deserializeAws_restJson1EBSOptions = (output, context) => {
4959
4961
  return {
4960
- EBSEnabled: (0, smithy_client_1.expectBoolean)(output.EBSEnabled),
4961
- Iops: (0, smithy_client_1.expectInt32)(output.Iops),
4962
- VolumeSize: (0, smithy_client_1.expectInt32)(output.VolumeSize),
4963
- VolumeType: (0, smithy_client_1.expectString)(output.VolumeType),
4962
+ EBSEnabled: smithy_client_1.expectBoolean(output.EBSEnabled),
4963
+ Iops: smithy_client_1.expectInt32(output.Iops),
4964
+ VolumeSize: smithy_client_1.expectInt32(output.VolumeSize),
4965
+ VolumeType: smithy_client_1.expectString(output.VolumeType),
4964
4966
  };
4965
4967
  };
4966
4968
  const deserializeAws_restJson1EBSOptionsStatus = (output, context) => {
@@ -4978,18 +4980,18 @@ const deserializeAws_restJson1ElasticsearchClusterConfig = (output, context) =>
4978
4980
  ColdStorageOptions: output.ColdStorageOptions !== undefined && output.ColdStorageOptions !== null
4979
4981
  ? deserializeAws_restJson1ColdStorageOptions(output.ColdStorageOptions, context)
4980
4982
  : undefined,
4981
- DedicatedMasterCount: (0, smithy_client_1.expectInt32)(output.DedicatedMasterCount),
4982
- DedicatedMasterEnabled: (0, smithy_client_1.expectBoolean)(output.DedicatedMasterEnabled),
4983
- DedicatedMasterType: (0, smithy_client_1.expectString)(output.DedicatedMasterType),
4984
- InstanceCount: (0, smithy_client_1.expectInt32)(output.InstanceCount),
4985
- InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
4986
- WarmCount: (0, smithy_client_1.expectInt32)(output.WarmCount),
4987
- WarmEnabled: (0, smithy_client_1.expectBoolean)(output.WarmEnabled),
4988
- WarmType: (0, smithy_client_1.expectString)(output.WarmType),
4983
+ DedicatedMasterCount: smithy_client_1.expectInt32(output.DedicatedMasterCount),
4984
+ DedicatedMasterEnabled: smithy_client_1.expectBoolean(output.DedicatedMasterEnabled),
4985
+ DedicatedMasterType: smithy_client_1.expectString(output.DedicatedMasterType),
4986
+ InstanceCount: smithy_client_1.expectInt32(output.InstanceCount),
4987
+ InstanceType: smithy_client_1.expectString(output.InstanceType),
4988
+ WarmCount: smithy_client_1.expectInt32(output.WarmCount),
4989
+ WarmEnabled: smithy_client_1.expectBoolean(output.WarmEnabled),
4990
+ WarmType: smithy_client_1.expectString(output.WarmType),
4989
4991
  ZoneAwarenessConfig: output.ZoneAwarenessConfig !== undefined && output.ZoneAwarenessConfig !== null
4990
4992
  ? deserializeAws_restJson1ZoneAwarenessConfig(output.ZoneAwarenessConfig, context)
4991
4993
  : undefined,
4992
- ZoneAwarenessEnabled: (0, smithy_client_1.expectBoolean)(output.ZoneAwarenessEnabled),
4994
+ ZoneAwarenessEnabled: smithy_client_1.expectBoolean(output.ZoneAwarenessEnabled),
4993
4995
  };
4994
4996
  };
4995
4997
  const deserializeAws_restJson1ElasticsearchClusterConfigStatus = (output, context) => {
@@ -5050,8 +5052,8 @@ const deserializeAws_restJson1ElasticsearchDomainConfig = (output, context) => {
5050
5052
  };
5051
5053
  const deserializeAws_restJson1ElasticsearchDomainStatus = (output, context) => {
5052
5054
  return {
5053
- ARN: (0, smithy_client_1.expectString)(output.ARN),
5054
- AccessPolicies: (0, smithy_client_1.expectString)(output.AccessPolicies),
5055
+ ARN: smithy_client_1.expectString(output.ARN),
5056
+ AccessPolicies: smithy_client_1.expectString(output.AccessPolicies),
5055
5057
  AdvancedOptions: output.AdvancedOptions !== undefined && output.AdvancedOptions !== null
5056
5058
  ? deserializeAws_restJson1AdvancedOptions(output.AdvancedOptions, context)
5057
5059
  : undefined,
@@ -5064,24 +5066,24 @@ const deserializeAws_restJson1ElasticsearchDomainStatus = (output, context) => {
5064
5066
  CognitoOptions: output.CognitoOptions !== undefined && output.CognitoOptions !== null
5065
5067
  ? deserializeAws_restJson1CognitoOptions(output.CognitoOptions, context)
5066
5068
  : undefined,
5067
- Created: (0, smithy_client_1.expectBoolean)(output.Created),
5068
- Deleted: (0, smithy_client_1.expectBoolean)(output.Deleted),
5069
+ Created: smithy_client_1.expectBoolean(output.Created),
5070
+ Deleted: smithy_client_1.expectBoolean(output.Deleted),
5069
5071
  DomainEndpointOptions: output.DomainEndpointOptions !== undefined && output.DomainEndpointOptions !== null
5070
5072
  ? deserializeAws_restJson1DomainEndpointOptions(output.DomainEndpointOptions, context)
5071
5073
  : undefined,
5072
- DomainId: (0, smithy_client_1.expectString)(output.DomainId),
5073
- DomainName: (0, smithy_client_1.expectString)(output.DomainName),
5074
+ DomainId: smithy_client_1.expectString(output.DomainId),
5075
+ DomainName: smithy_client_1.expectString(output.DomainName),
5074
5076
  EBSOptions: output.EBSOptions !== undefined && output.EBSOptions !== null
5075
5077
  ? deserializeAws_restJson1EBSOptions(output.EBSOptions, context)
5076
5078
  : undefined,
5077
5079
  ElasticsearchClusterConfig: output.ElasticsearchClusterConfig !== undefined && output.ElasticsearchClusterConfig !== null
5078
5080
  ? deserializeAws_restJson1ElasticsearchClusterConfig(output.ElasticsearchClusterConfig, context)
5079
5081
  : undefined,
5080
- ElasticsearchVersion: (0, smithy_client_1.expectString)(output.ElasticsearchVersion),
5082
+ ElasticsearchVersion: smithy_client_1.expectString(output.ElasticsearchVersion),
5081
5083
  EncryptionAtRestOptions: output.EncryptionAtRestOptions !== undefined && output.EncryptionAtRestOptions !== null
5082
5084
  ? deserializeAws_restJson1EncryptionAtRestOptions(output.EncryptionAtRestOptions, context)
5083
5085
  : undefined,
5084
- Endpoint: (0, smithy_client_1.expectString)(output.Endpoint),
5086
+ Endpoint: smithy_client_1.expectString(output.Endpoint),
5085
5087
  Endpoints: output.Endpoints !== undefined && output.Endpoints !== null
5086
5088
  ? deserializeAws_restJson1EndpointsMap(output.Endpoints, context)
5087
5089
  : undefined,
@@ -5091,14 +5093,14 @@ const deserializeAws_restJson1ElasticsearchDomainStatus = (output, context) => {
5091
5093
  NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions !== undefined && output.NodeToNodeEncryptionOptions !== null
5092
5094
  ? deserializeAws_restJson1NodeToNodeEncryptionOptions(output.NodeToNodeEncryptionOptions, context)
5093
5095
  : undefined,
5094
- Processing: (0, smithy_client_1.expectBoolean)(output.Processing),
5096
+ Processing: smithy_client_1.expectBoolean(output.Processing),
5095
5097
  ServiceSoftwareOptions: output.ServiceSoftwareOptions !== undefined && output.ServiceSoftwareOptions !== null
5096
5098
  ? deserializeAws_restJson1ServiceSoftwareOptions(output.ServiceSoftwareOptions, context)
5097
5099
  : undefined,
5098
5100
  SnapshotOptions: output.SnapshotOptions !== undefined && output.SnapshotOptions !== null
5099
5101
  ? deserializeAws_restJson1SnapshotOptions(output.SnapshotOptions, context)
5100
5102
  : undefined,
5101
- UpgradeProcessing: (0, smithy_client_1.expectBoolean)(output.UpgradeProcessing),
5103
+ UpgradeProcessing: smithy_client_1.expectBoolean(output.UpgradeProcessing),
5102
5104
  VPCOptions: output.VPCOptions !== undefined && output.VPCOptions !== null
5103
5105
  ? deserializeAws_restJson1VPCDerivedInfo(output.VPCOptions, context)
5104
5106
  : undefined,
@@ -5121,7 +5123,7 @@ const deserializeAws_restJson1ElasticsearchInstanceTypeList = (output, context)
5121
5123
  if (entry === null) {
5122
5124
  return null;
5123
5125
  }
5124
- return (0, smithy_client_1.expectString)(entry);
5126
+ return smithy_client_1.expectString(entry);
5125
5127
  });
5126
5128
  };
5127
5129
  const deserializeAws_restJson1ElasticsearchVersionList = (output, context) => {
@@ -5131,12 +5133,12 @@ const deserializeAws_restJson1ElasticsearchVersionList = (output, context) => {
5131
5133
  if (entry === null) {
5132
5134
  return null;
5133
5135
  }
5134
- return (0, smithy_client_1.expectString)(entry);
5136
+ return smithy_client_1.expectString(entry);
5135
5137
  });
5136
5138
  };
5137
5139
  const deserializeAws_restJson1ElasticsearchVersionStatus = (output, context) => {
5138
5140
  return {
5139
- Options: (0, smithy_client_1.expectString)(output.Options),
5141
+ Options: smithy_client_1.expectString(output.Options),
5140
5142
  Status: output.Status !== undefined && output.Status !== null
5141
5143
  ? deserializeAws_restJson1OptionStatus(output.Status, context)
5142
5144
  : undefined,
@@ -5144,8 +5146,8 @@ const deserializeAws_restJson1ElasticsearchVersionStatus = (output, context) =>
5144
5146
  };
5145
5147
  const deserializeAws_restJson1EncryptionAtRestOptions = (output, context) => {
5146
5148
  return {
5147
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
5148
- KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
5149
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
5150
+ KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
5149
5151
  };
5150
5152
  };
5151
5153
  const deserializeAws_restJson1EncryptionAtRestOptionsStatus = (output, context) => {
@@ -5165,14 +5167,14 @@ const deserializeAws_restJson1EndpointsMap = (output, context) => {
5165
5167
  }
5166
5168
  return {
5167
5169
  ...acc,
5168
- [key]: (0, smithy_client_1.expectString)(value),
5170
+ [key]: smithy_client_1.expectString(value),
5169
5171
  };
5170
5172
  }, {});
5171
5173
  };
5172
5174
  const deserializeAws_restJson1ErrorDetails = (output, context) => {
5173
5175
  return {
5174
- ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
5175
- ErrorType: (0, smithy_client_1.expectString)(output.ErrorType),
5176
+ ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5177
+ ErrorType: smithy_client_1.expectString(output.ErrorType),
5176
5178
  };
5177
5179
  };
5178
5180
  const deserializeAws_restJson1InboundCrossClusterSearchConnection = (output, context) => {
@@ -5180,7 +5182,7 @@ const deserializeAws_restJson1InboundCrossClusterSearchConnection = (output, con
5180
5182
  ConnectionStatus: output.ConnectionStatus !== undefined && output.ConnectionStatus !== null
5181
5183
  ? deserializeAws_restJson1InboundCrossClusterSearchConnectionStatus(output.ConnectionStatus, context)
5182
5184
  : undefined,
5183
- CrossClusterSearchConnectionId: (0, smithy_client_1.expectString)(output.CrossClusterSearchConnectionId),
5185
+ CrossClusterSearchConnectionId: smithy_client_1.expectString(output.CrossClusterSearchConnectionId),
5184
5186
  DestinationDomainInfo: output.DestinationDomainInfo !== undefined && output.DestinationDomainInfo !== null
5185
5187
  ? deserializeAws_restJson1DomainInformation(output.DestinationDomainInfo, context)
5186
5188
  : undefined,
@@ -5201,14 +5203,14 @@ const deserializeAws_restJson1InboundCrossClusterSearchConnections = (output, co
5201
5203
  };
5202
5204
  const deserializeAws_restJson1InboundCrossClusterSearchConnectionStatus = (output, context) => {
5203
5205
  return {
5204
- Message: (0, smithy_client_1.expectString)(output.Message),
5205
- StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
5206
+ Message: smithy_client_1.expectString(output.Message),
5207
+ StatusCode: smithy_client_1.expectString(output.StatusCode),
5206
5208
  };
5207
5209
  };
5208
5210
  const deserializeAws_restJson1InstanceCountLimits = (output, context) => {
5209
5211
  return {
5210
- MaximumInstanceCount: (0, smithy_client_1.expectInt32)(output.MaximumInstanceCount),
5211
- MinimumInstanceCount: (0, smithy_client_1.expectInt32)(output.MinimumInstanceCount),
5212
+ MaximumInstanceCount: smithy_client_1.expectInt32(output.MaximumInstanceCount),
5213
+ MinimumInstanceCount: smithy_client_1.expectInt32(output.MinimumInstanceCount),
5212
5214
  };
5213
5215
  };
5214
5216
  const deserializeAws_restJson1InstanceLimits = (output, context) => {
@@ -5225,7 +5227,7 @@ const deserializeAws_restJson1Issues = (output, context) => {
5225
5227
  if (entry === null) {
5226
5228
  return null;
5227
5229
  }
5228
- return (0, smithy_client_1.expectString)(entry);
5230
+ return smithy_client_1.expectString(entry);
5229
5231
  });
5230
5232
  };
5231
5233
  const deserializeAws_restJson1Limits = (output, context) => {
@@ -5259,13 +5261,13 @@ const deserializeAws_restJson1LimitValueList = (output, context) => {
5259
5261
  if (entry === null) {
5260
5262
  return null;
5261
5263
  }
5262
- return (0, smithy_client_1.expectString)(entry);
5264
+ return smithy_client_1.expectString(entry);
5263
5265
  });
5264
5266
  };
5265
5267
  const deserializeAws_restJson1LogPublishingOption = (output, context) => {
5266
5268
  return {
5267
- CloudWatchLogsLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsLogGroupArn),
5268
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
5269
+ CloudWatchLogsLogGroupArn: smithy_client_1.expectString(output.CloudWatchLogsLogGroupArn),
5270
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
5269
5271
  };
5270
5272
  };
5271
5273
  const deserializeAws_restJson1LogPublishingOptions = (output, context) => {
@@ -5291,7 +5293,7 @@ const deserializeAws_restJson1LogPublishingOptionsStatus = (output, context) =>
5291
5293
  };
5292
5294
  const deserializeAws_restJson1NodeToNodeEncryptionOptions = (output, context) => {
5293
5295
  return {
5294
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
5296
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
5295
5297
  };
5296
5298
  };
5297
5299
  const deserializeAws_restJson1NodeToNodeEncryptionOptionsStatus = (output, context) => {
@@ -5307,23 +5309,23 @@ const deserializeAws_restJson1NodeToNodeEncryptionOptionsStatus = (output, conte
5307
5309
  const deserializeAws_restJson1OptionStatus = (output, context) => {
5308
5310
  return {
5309
5311
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
5310
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
5312
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
5311
5313
  : undefined,
5312
- PendingDeletion: (0, smithy_client_1.expectBoolean)(output.PendingDeletion),
5313
- State: (0, smithy_client_1.expectString)(output.State),
5314
+ PendingDeletion: smithy_client_1.expectBoolean(output.PendingDeletion),
5315
+ State: smithy_client_1.expectString(output.State),
5314
5316
  UpdateDate: output.UpdateDate !== undefined && output.UpdateDate !== null
5315
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDate)))
5317
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateDate)))
5316
5318
  : undefined,
5317
- UpdateVersion: (0, smithy_client_1.expectInt32)(output.UpdateVersion),
5319
+ UpdateVersion: smithy_client_1.expectInt32(output.UpdateVersion),
5318
5320
  };
5319
5321
  };
5320
5322
  const deserializeAws_restJson1OutboundCrossClusterSearchConnection = (output, context) => {
5321
5323
  return {
5322
- ConnectionAlias: (0, smithy_client_1.expectString)(output.ConnectionAlias),
5324
+ ConnectionAlias: smithy_client_1.expectString(output.ConnectionAlias),
5323
5325
  ConnectionStatus: output.ConnectionStatus !== undefined && output.ConnectionStatus !== null
5324
5326
  ? deserializeAws_restJson1OutboundCrossClusterSearchConnectionStatus(output.ConnectionStatus, context)
5325
5327
  : undefined,
5326
- CrossClusterSearchConnectionId: (0, smithy_client_1.expectString)(output.CrossClusterSearchConnectionId),
5328
+ CrossClusterSearchConnectionId: smithy_client_1.expectString(output.CrossClusterSearchConnectionId),
5327
5329
  DestinationDomainInfo: output.DestinationDomainInfo !== undefined && output.DestinationDomainInfo !== null
5328
5330
  ? deserializeAws_restJson1DomainInformation(output.DestinationDomainInfo, context)
5329
5331
  : undefined,
@@ -5344,27 +5346,27 @@ const deserializeAws_restJson1OutboundCrossClusterSearchConnections = (output, c
5344
5346
  };
5345
5347
  const deserializeAws_restJson1OutboundCrossClusterSearchConnectionStatus = (output, context) => {
5346
5348
  return {
5347
- Message: (0, smithy_client_1.expectString)(output.Message),
5348
- StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
5349
+ Message: smithy_client_1.expectString(output.Message),
5350
+ StatusCode: smithy_client_1.expectString(output.StatusCode),
5349
5351
  };
5350
5352
  };
5351
5353
  const deserializeAws_restJson1PackageDetails = (output, context) => {
5352
5354
  return {
5353
- AvailablePackageVersion: (0, smithy_client_1.expectString)(output.AvailablePackageVersion),
5355
+ AvailablePackageVersion: smithy_client_1.expectString(output.AvailablePackageVersion),
5354
5356
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
5355
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
5357
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
5356
5358
  : undefined,
5357
5359
  ErrorDetails: output.ErrorDetails !== undefined && output.ErrorDetails !== null
5358
5360
  ? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context)
5359
5361
  : undefined,
5360
5362
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
5361
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
5363
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
5362
5364
  : undefined,
5363
- PackageDescription: (0, smithy_client_1.expectString)(output.PackageDescription),
5364
- PackageID: (0, smithy_client_1.expectString)(output.PackageID),
5365
- PackageName: (0, smithy_client_1.expectString)(output.PackageName),
5366
- PackageStatus: (0, smithy_client_1.expectString)(output.PackageStatus),
5367
- PackageType: (0, smithy_client_1.expectString)(output.PackageType),
5365
+ PackageDescription: smithy_client_1.expectString(output.PackageDescription),
5366
+ PackageID: smithy_client_1.expectString(output.PackageID),
5367
+ PackageName: smithy_client_1.expectString(output.PackageName),
5368
+ PackageStatus: smithy_client_1.expectString(output.PackageStatus),
5369
+ PackageType: smithy_client_1.expectString(output.PackageType),
5368
5370
  };
5369
5371
  };
5370
5372
  const deserializeAws_restJson1PackageDetailsList = (output, context) => {
@@ -5379,11 +5381,11 @@ const deserializeAws_restJson1PackageDetailsList = (output, context) => {
5379
5381
  };
5380
5382
  const deserializeAws_restJson1PackageVersionHistory = (output, context) => {
5381
5383
  return {
5382
- CommitMessage: (0, smithy_client_1.expectString)(output.CommitMessage),
5384
+ CommitMessage: smithy_client_1.expectString(output.CommitMessage),
5383
5385
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
5384
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
5386
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
5385
5387
  : undefined,
5386
- PackageVersion: (0, smithy_client_1.expectString)(output.PackageVersion),
5388
+ PackageVersion: smithy_client_1.expectString(output.PackageVersion),
5387
5389
  };
5388
5390
  };
5389
5391
  const deserializeAws_restJson1PackageVersionHistoryList = (output, context) => {
@@ -5398,8 +5400,8 @@ const deserializeAws_restJson1PackageVersionHistoryList = (output, context) => {
5398
5400
  };
5399
5401
  const deserializeAws_restJson1RecurringCharge = (output, context) => {
5400
5402
  return {
5401
- RecurringChargeAmount: (0, smithy_client_1.limitedParseDouble)(output.RecurringChargeAmount),
5402
- RecurringChargeFrequency: (0, smithy_client_1.expectString)(output.RecurringChargeFrequency),
5403
+ RecurringChargeAmount: smithy_client_1.limitedParseDouble(output.RecurringChargeAmount),
5404
+ RecurringChargeFrequency: smithy_client_1.expectString(output.RecurringChargeFrequency),
5403
5405
  };
5404
5406
  };
5405
5407
  const deserializeAws_restJson1RecurringChargeList = (output, context) => {
@@ -5414,23 +5416,23 @@ const deserializeAws_restJson1RecurringChargeList = (output, context) => {
5414
5416
  };
5415
5417
  const deserializeAws_restJson1ReservedElasticsearchInstance = (output, context) => {
5416
5418
  return {
5417
- CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
5418
- Duration: (0, smithy_client_1.expectInt32)(output.Duration),
5419
- ElasticsearchInstanceCount: (0, smithy_client_1.expectInt32)(output.ElasticsearchInstanceCount),
5420
- ElasticsearchInstanceType: (0, smithy_client_1.expectString)(output.ElasticsearchInstanceType),
5421
- FixedPrice: (0, smithy_client_1.limitedParseDouble)(output.FixedPrice),
5422
- PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
5419
+ CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
5420
+ Duration: smithy_client_1.expectInt32(output.Duration),
5421
+ ElasticsearchInstanceCount: smithy_client_1.expectInt32(output.ElasticsearchInstanceCount),
5422
+ ElasticsearchInstanceType: smithy_client_1.expectString(output.ElasticsearchInstanceType),
5423
+ FixedPrice: smithy_client_1.limitedParseDouble(output.FixedPrice),
5424
+ PaymentOption: smithy_client_1.expectString(output.PaymentOption),
5423
5425
  RecurringCharges: output.RecurringCharges !== undefined && output.RecurringCharges !== null
5424
5426
  ? deserializeAws_restJson1RecurringChargeList(output.RecurringCharges, context)
5425
5427
  : undefined,
5426
- ReservationName: (0, smithy_client_1.expectString)(output.ReservationName),
5427
- ReservedElasticsearchInstanceId: (0, smithy_client_1.expectString)(output.ReservedElasticsearchInstanceId),
5428
- ReservedElasticsearchInstanceOfferingId: (0, smithy_client_1.expectString)(output.ReservedElasticsearchInstanceOfferingId),
5428
+ ReservationName: smithy_client_1.expectString(output.ReservationName),
5429
+ ReservedElasticsearchInstanceId: smithy_client_1.expectString(output.ReservedElasticsearchInstanceId),
5430
+ ReservedElasticsearchInstanceOfferingId: smithy_client_1.expectString(output.ReservedElasticsearchInstanceOfferingId),
5429
5431
  StartTime: output.StartTime !== undefined && output.StartTime !== null
5430
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
5432
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
5431
5433
  : undefined,
5432
- State: (0, smithy_client_1.expectString)(output.State),
5433
- UsagePrice: (0, smithy_client_1.limitedParseDouble)(output.UsagePrice),
5434
+ State: smithy_client_1.expectString(output.State),
5435
+ UsagePrice: smithy_client_1.limitedParseDouble(output.UsagePrice),
5434
5436
  };
5435
5437
  };
5436
5438
  const deserializeAws_restJson1ReservedElasticsearchInstanceList = (output, context) => {
@@ -5445,16 +5447,16 @@ const deserializeAws_restJson1ReservedElasticsearchInstanceList = (output, conte
5445
5447
  };
5446
5448
  const deserializeAws_restJson1ReservedElasticsearchInstanceOffering = (output, context) => {
5447
5449
  return {
5448
- CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
5449
- Duration: (0, smithy_client_1.expectInt32)(output.Duration),
5450
- ElasticsearchInstanceType: (0, smithy_client_1.expectString)(output.ElasticsearchInstanceType),
5451
- FixedPrice: (0, smithy_client_1.limitedParseDouble)(output.FixedPrice),
5452
- PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
5450
+ CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
5451
+ Duration: smithy_client_1.expectInt32(output.Duration),
5452
+ ElasticsearchInstanceType: smithy_client_1.expectString(output.ElasticsearchInstanceType),
5453
+ FixedPrice: smithy_client_1.limitedParseDouble(output.FixedPrice),
5454
+ PaymentOption: smithy_client_1.expectString(output.PaymentOption),
5453
5455
  RecurringCharges: output.RecurringCharges !== undefined && output.RecurringCharges !== null
5454
5456
  ? deserializeAws_restJson1RecurringChargeList(output.RecurringCharges, context)
5455
5457
  : undefined,
5456
- ReservedElasticsearchInstanceOfferingId: (0, smithy_client_1.expectString)(output.ReservedElasticsearchInstanceOfferingId),
5457
- UsagePrice: (0, smithy_client_1.limitedParseDouble)(output.UsagePrice),
5458
+ ReservedElasticsearchInstanceOfferingId: smithy_client_1.expectString(output.ReservedElasticsearchInstanceOfferingId),
5459
+ UsagePrice: smithy_client_1.limitedParseDouble(output.UsagePrice),
5458
5460
  };
5459
5461
  };
5460
5462
  const deserializeAws_restJson1ReservedElasticsearchInstanceOfferingList = (output, context) => {
@@ -5469,48 +5471,48 @@ const deserializeAws_restJson1ReservedElasticsearchInstanceOfferingList = (outpu
5469
5471
  };
5470
5472
  const deserializeAws_restJson1SAMLIdp = (output, context) => {
5471
5473
  return {
5472
- EntityId: (0, smithy_client_1.expectString)(output.EntityId),
5473
- MetadataContent: (0, smithy_client_1.expectString)(output.MetadataContent),
5474
+ EntityId: smithy_client_1.expectString(output.EntityId),
5475
+ MetadataContent: smithy_client_1.expectString(output.MetadataContent),
5474
5476
  };
5475
5477
  };
5476
5478
  const deserializeAws_restJson1SAMLOptionsOutput = (output, context) => {
5477
5479
  return {
5478
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
5480
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
5479
5481
  Idp: output.Idp !== undefined && output.Idp !== null
5480
5482
  ? deserializeAws_restJson1SAMLIdp(output.Idp, context)
5481
5483
  : undefined,
5482
- RolesKey: (0, smithy_client_1.expectString)(output.RolesKey),
5483
- SessionTimeoutMinutes: (0, smithy_client_1.expectInt32)(output.SessionTimeoutMinutes),
5484
- SubjectKey: (0, smithy_client_1.expectString)(output.SubjectKey),
5484
+ RolesKey: smithy_client_1.expectString(output.RolesKey),
5485
+ SessionTimeoutMinutes: smithy_client_1.expectInt32(output.SessionTimeoutMinutes),
5486
+ SubjectKey: smithy_client_1.expectString(output.SubjectKey),
5485
5487
  };
5486
5488
  };
5487
5489
  const deserializeAws_restJson1ScheduledAutoTuneDetails = (output, context) => {
5488
5490
  return {
5489
- Action: (0, smithy_client_1.expectString)(output.Action),
5490
- ActionType: (0, smithy_client_1.expectString)(output.ActionType),
5491
+ Action: smithy_client_1.expectString(output.Action),
5492
+ ActionType: smithy_client_1.expectString(output.ActionType),
5491
5493
  Date: output.Date !== undefined && output.Date !== null
5492
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date)))
5494
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Date)))
5493
5495
  : undefined,
5494
- Severity: (0, smithy_client_1.expectString)(output.Severity),
5496
+ Severity: smithy_client_1.expectString(output.Severity),
5495
5497
  };
5496
5498
  };
5497
5499
  const deserializeAws_restJson1ServiceSoftwareOptions = (output, context) => {
5498
5500
  return {
5499
5501
  AutomatedUpdateDate: output.AutomatedUpdateDate !== undefined && output.AutomatedUpdateDate !== null
5500
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AutomatedUpdateDate)))
5502
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AutomatedUpdateDate)))
5501
5503
  : undefined,
5502
- Cancellable: (0, smithy_client_1.expectBoolean)(output.Cancellable),
5503
- CurrentVersion: (0, smithy_client_1.expectString)(output.CurrentVersion),
5504
- Description: (0, smithy_client_1.expectString)(output.Description),
5505
- NewVersion: (0, smithy_client_1.expectString)(output.NewVersion),
5506
- OptionalDeployment: (0, smithy_client_1.expectBoolean)(output.OptionalDeployment),
5507
- UpdateAvailable: (0, smithy_client_1.expectBoolean)(output.UpdateAvailable),
5508
- UpdateStatus: (0, smithy_client_1.expectString)(output.UpdateStatus),
5504
+ Cancellable: smithy_client_1.expectBoolean(output.Cancellable),
5505
+ CurrentVersion: smithy_client_1.expectString(output.CurrentVersion),
5506
+ Description: smithy_client_1.expectString(output.Description),
5507
+ NewVersion: smithy_client_1.expectString(output.NewVersion),
5508
+ OptionalDeployment: smithy_client_1.expectBoolean(output.OptionalDeployment),
5509
+ UpdateAvailable: smithy_client_1.expectBoolean(output.UpdateAvailable),
5510
+ UpdateStatus: smithy_client_1.expectString(output.UpdateStatus),
5509
5511
  };
5510
5512
  };
5511
5513
  const deserializeAws_restJson1SnapshotOptions = (output, context) => {
5512
5514
  return {
5513
- AutomatedSnapshotStartHour: (0, smithy_client_1.expectInt32)(output.AutomatedSnapshotStartHour),
5515
+ AutomatedSnapshotStartHour: smithy_client_1.expectInt32(output.AutomatedSnapshotStartHour),
5514
5516
  };
5515
5517
  };
5516
5518
  const deserializeAws_restJson1SnapshotOptionsStatus = (output, context) => {
@@ -5525,16 +5527,16 @@ const deserializeAws_restJson1SnapshotOptionsStatus = (output, context) => {
5525
5527
  };
5526
5528
  const deserializeAws_restJson1StorageType = (output, context) => {
5527
5529
  return {
5528
- StorageSubTypeName: (0, smithy_client_1.expectString)(output.StorageSubTypeName),
5530
+ StorageSubTypeName: smithy_client_1.expectString(output.StorageSubTypeName),
5529
5531
  StorageTypeLimits: output.StorageTypeLimits !== undefined && output.StorageTypeLimits !== null
5530
5532
  ? deserializeAws_restJson1StorageTypeLimitList(output.StorageTypeLimits, context)
5531
5533
  : undefined,
5532
- StorageTypeName: (0, smithy_client_1.expectString)(output.StorageTypeName),
5534
+ StorageTypeName: smithy_client_1.expectString(output.StorageTypeName),
5533
5535
  };
5534
5536
  };
5535
5537
  const deserializeAws_restJson1StorageTypeLimit = (output, context) => {
5536
5538
  return {
5537
- LimitName: (0, smithy_client_1.expectString)(output.LimitName),
5539
+ LimitName: smithy_client_1.expectString(output.LimitName),
5538
5540
  LimitValues: output.LimitValues !== undefined && output.LimitValues !== null
5539
5541
  ? deserializeAws_restJson1LimitValueList(output.LimitValues, context)
5540
5542
  : undefined,
@@ -5567,13 +5569,13 @@ const deserializeAws_restJson1StringList = (output, context) => {
5567
5569
  if (entry === null) {
5568
5570
  return null;
5569
5571
  }
5570
- return (0, smithy_client_1.expectString)(entry);
5572
+ return smithy_client_1.expectString(entry);
5571
5573
  });
5572
5574
  };
5573
5575
  const deserializeAws_restJson1Tag = (output, context) => {
5574
5576
  return {
5575
- Key: (0, smithy_client_1.expectString)(output.Key),
5576
- Value: (0, smithy_client_1.expectString)(output.Value),
5577
+ Key: smithy_client_1.expectString(output.Key),
5578
+ Value: smithy_client_1.expectString(output.Value),
5577
5579
  };
5578
5580
  };
5579
5581
  const deserializeAws_restJson1TagList = (output, context) => {
@@ -5589,13 +5591,13 @@ const deserializeAws_restJson1TagList = (output, context) => {
5589
5591
  const deserializeAws_restJson1UpgradeHistory = (output, context) => {
5590
5592
  return {
5591
5593
  StartTimestamp: output.StartTimestamp !== undefined && output.StartTimestamp !== null
5592
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTimestamp)))
5594
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTimestamp)))
5593
5595
  : undefined,
5594
5596
  StepsList: output.StepsList !== undefined && output.StepsList !== null
5595
5597
  ? deserializeAws_restJson1UpgradeStepsList(output.StepsList, context)
5596
5598
  : undefined,
5597
- UpgradeName: (0, smithy_client_1.expectString)(output.UpgradeName),
5598
- UpgradeStatus: (0, smithy_client_1.expectString)(output.UpgradeStatus),
5599
+ UpgradeName: smithy_client_1.expectString(output.UpgradeName),
5600
+ UpgradeStatus: smithy_client_1.expectString(output.UpgradeStatus),
5599
5601
  };
5600
5602
  };
5601
5603
  const deserializeAws_restJson1UpgradeHistoryList = (output, context) => {
@@ -5613,9 +5615,9 @@ const deserializeAws_restJson1UpgradeStepItem = (output, context) => {
5613
5615
  Issues: output.Issues !== undefined && output.Issues !== null
5614
5616
  ? deserializeAws_restJson1Issues(output.Issues, context)
5615
5617
  : undefined,
5616
- ProgressPercent: (0, smithy_client_1.limitedParseDouble)(output.ProgressPercent),
5617
- UpgradeStep: (0, smithy_client_1.expectString)(output.UpgradeStep),
5618
- UpgradeStepStatus: (0, smithy_client_1.expectString)(output.UpgradeStepStatus),
5618
+ ProgressPercent: smithy_client_1.limitedParseDouble(output.ProgressPercent),
5619
+ UpgradeStep: smithy_client_1.expectString(output.UpgradeStep),
5620
+ UpgradeStepStatus: smithy_client_1.expectString(output.UpgradeStepStatus),
5619
5621
  };
5620
5622
  };
5621
5623
  const deserializeAws_restJson1UpgradeStepsList = (output, context) => {
@@ -5639,7 +5641,7 @@ const deserializeAws_restJson1VPCDerivedInfo = (output, context) => {
5639
5641
  SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
5640
5642
  ? deserializeAws_restJson1StringList(output.SubnetIds, context)
5641
5643
  : undefined,
5642
- VPCId: (0, smithy_client_1.expectString)(output.VPCId),
5644
+ VPCId: smithy_client_1.expectString(output.VPCId),
5643
5645
  };
5644
5646
  };
5645
5647
  const deserializeAws_restJson1VPCDerivedInfoStatus = (output, context) => {
@@ -5654,7 +5656,7 @@ const deserializeAws_restJson1VPCDerivedInfoStatus = (output, context) => {
5654
5656
  };
5655
5657
  const deserializeAws_restJson1ZoneAwarenessConfig = (output, context) => {
5656
5658
  return {
5657
- AvailabilityZoneCount: (0, smithy_client_1.expectInt32)(output.AvailabilityZoneCount),
5659
+ AvailabilityZoneCount: smithy_client_1.expectInt32(output.AvailabilityZoneCount),
5658
5660
  };
5659
5661
  };
5660
5662
  const deserializeMetadata = (output) => {