@aws-sdk/client-opensearch 3.478.0 → 3.484.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 (253) hide show
  1. package/dist-cjs/commands/AcceptInboundConnectionCommand.js +18 -41
  2. package/dist-cjs/commands/AddDataSourceCommand.js +18 -41
  3. package/dist-cjs/commands/AddTagsCommand.js +18 -41
  4. package/dist-cjs/commands/AssociatePackageCommand.js +18 -41
  5. package/dist-cjs/commands/AuthorizeVpcEndpointAccessCommand.js +18 -41
  6. package/dist-cjs/commands/CancelServiceSoftwareUpdateCommand.js +18 -41
  7. package/dist-cjs/commands/CreateDomainCommand.js +18 -41
  8. package/dist-cjs/commands/CreateOutboundConnectionCommand.js +18 -41
  9. package/dist-cjs/commands/CreatePackageCommand.js +18 -41
  10. package/dist-cjs/commands/CreateVpcEndpointCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteDataSourceCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteDomainCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteInboundConnectionCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteOutboundConnectionCommand.js +18 -41
  15. package/dist-cjs/commands/DeletePackageCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteVpcEndpointCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeDomainAutoTunesCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeDomainChangeProgressCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeDomainCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeDomainConfigCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeDomainHealthCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeDomainNodesCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeDomainsCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeDryRunProgressCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeInboundConnectionsCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeInstanceTypeLimitsCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeOutboundConnectionsCommand.js +18 -41
  28. package/dist-cjs/commands/DescribePackagesCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeReservedInstanceOfferingsCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeReservedInstancesCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeVpcEndpointsCommand.js +18 -41
  32. package/dist-cjs/commands/DissociatePackageCommand.js +18 -41
  33. package/dist-cjs/commands/GetCompatibleVersionsCommand.js +18 -41
  34. package/dist-cjs/commands/GetDataSourceCommand.js +18 -41
  35. package/dist-cjs/commands/GetDomainMaintenanceStatusCommand.js +18 -41
  36. package/dist-cjs/commands/GetPackageVersionHistoryCommand.js +18 -41
  37. package/dist-cjs/commands/GetUpgradeHistoryCommand.js +18 -41
  38. package/dist-cjs/commands/GetUpgradeStatusCommand.js +18 -41
  39. package/dist-cjs/commands/ListDataSourcesCommand.js +18 -41
  40. package/dist-cjs/commands/ListDomainMaintenancesCommand.js +18 -41
  41. package/dist-cjs/commands/ListDomainNamesCommand.js +18 -41
  42. package/dist-cjs/commands/ListDomainsForPackageCommand.js +18 -41
  43. package/dist-cjs/commands/ListInstanceTypeDetailsCommand.js +18 -41
  44. package/dist-cjs/commands/ListPackagesForDomainCommand.js +18 -41
  45. package/dist-cjs/commands/ListScheduledActionsCommand.js +18 -41
  46. package/dist-cjs/commands/ListTagsCommand.js +18 -41
  47. package/dist-cjs/commands/ListVersionsCommand.js +18 -41
  48. package/dist-cjs/commands/ListVpcEndpointAccessCommand.js +18 -41
  49. package/dist-cjs/commands/ListVpcEndpointsCommand.js +18 -41
  50. package/dist-cjs/commands/ListVpcEndpointsForDomainCommand.js +18 -41
  51. package/dist-cjs/commands/PurchaseReservedInstanceOfferingCommand.js +18 -41
  52. package/dist-cjs/commands/RejectInboundConnectionCommand.js +18 -41
  53. package/dist-cjs/commands/RemoveTagsCommand.js +18 -41
  54. package/dist-cjs/commands/RevokeVpcEndpointAccessCommand.js +18 -41
  55. package/dist-cjs/commands/StartDomainMaintenanceCommand.js +18 -41
  56. package/dist-cjs/commands/StartServiceSoftwareUpdateCommand.js +18 -41
  57. package/dist-cjs/commands/UpdateDataSourceCommand.js +18 -41
  58. package/dist-cjs/commands/UpdateDomainConfigCommand.js +18 -41
  59. package/dist-cjs/commands/UpdatePackageCommand.js +18 -41
  60. package/dist-cjs/commands/UpdateScheduledActionCommand.js +18 -41
  61. package/dist-cjs/commands/UpdateVpcEndpointCommand.js +18 -41
  62. package/dist-cjs/commands/UpgradeDomainCommand.js +18 -41
  63. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  64. package/dist-es/commands/AcceptInboundConnectionCommand.js +18 -41
  65. package/dist-es/commands/AddDataSourceCommand.js +18 -41
  66. package/dist-es/commands/AddTagsCommand.js +18 -41
  67. package/dist-es/commands/AssociatePackageCommand.js +18 -41
  68. package/dist-es/commands/AuthorizeVpcEndpointAccessCommand.js +18 -41
  69. package/dist-es/commands/CancelServiceSoftwareUpdateCommand.js +18 -41
  70. package/dist-es/commands/CreateDomainCommand.js +18 -41
  71. package/dist-es/commands/CreateOutboundConnectionCommand.js +18 -41
  72. package/dist-es/commands/CreatePackageCommand.js +18 -41
  73. package/dist-es/commands/CreateVpcEndpointCommand.js +18 -41
  74. package/dist-es/commands/DeleteDataSourceCommand.js +18 -41
  75. package/dist-es/commands/DeleteDomainCommand.js +18 -41
  76. package/dist-es/commands/DeleteInboundConnectionCommand.js +18 -41
  77. package/dist-es/commands/DeleteOutboundConnectionCommand.js +18 -41
  78. package/dist-es/commands/DeletePackageCommand.js +18 -41
  79. package/dist-es/commands/DeleteVpcEndpointCommand.js +18 -41
  80. package/dist-es/commands/DescribeDomainAutoTunesCommand.js +18 -41
  81. package/dist-es/commands/DescribeDomainChangeProgressCommand.js +18 -41
  82. package/dist-es/commands/DescribeDomainCommand.js +18 -41
  83. package/dist-es/commands/DescribeDomainConfigCommand.js +18 -41
  84. package/dist-es/commands/DescribeDomainHealthCommand.js +18 -41
  85. package/dist-es/commands/DescribeDomainNodesCommand.js +18 -41
  86. package/dist-es/commands/DescribeDomainsCommand.js +18 -41
  87. package/dist-es/commands/DescribeDryRunProgressCommand.js +18 -41
  88. package/dist-es/commands/DescribeInboundConnectionsCommand.js +18 -41
  89. package/dist-es/commands/DescribeInstanceTypeLimitsCommand.js +18 -41
  90. package/dist-es/commands/DescribeOutboundConnectionsCommand.js +18 -41
  91. package/dist-es/commands/DescribePackagesCommand.js +18 -41
  92. package/dist-es/commands/DescribeReservedInstanceOfferingsCommand.js +18 -41
  93. package/dist-es/commands/DescribeReservedInstancesCommand.js +18 -41
  94. package/dist-es/commands/DescribeVpcEndpointsCommand.js +18 -41
  95. package/dist-es/commands/DissociatePackageCommand.js +18 -41
  96. package/dist-es/commands/GetCompatibleVersionsCommand.js +18 -41
  97. package/dist-es/commands/GetDataSourceCommand.js +18 -41
  98. package/dist-es/commands/GetDomainMaintenanceStatusCommand.js +18 -41
  99. package/dist-es/commands/GetPackageVersionHistoryCommand.js +18 -41
  100. package/dist-es/commands/GetUpgradeHistoryCommand.js +18 -41
  101. package/dist-es/commands/GetUpgradeStatusCommand.js +18 -41
  102. package/dist-es/commands/ListDataSourcesCommand.js +18 -41
  103. package/dist-es/commands/ListDomainMaintenancesCommand.js +18 -41
  104. package/dist-es/commands/ListDomainNamesCommand.js +18 -41
  105. package/dist-es/commands/ListDomainsForPackageCommand.js +18 -41
  106. package/dist-es/commands/ListInstanceTypeDetailsCommand.js +18 -41
  107. package/dist-es/commands/ListPackagesForDomainCommand.js +18 -41
  108. package/dist-es/commands/ListScheduledActionsCommand.js +18 -41
  109. package/dist-es/commands/ListTagsCommand.js +18 -41
  110. package/dist-es/commands/ListVersionsCommand.js +18 -41
  111. package/dist-es/commands/ListVpcEndpointAccessCommand.js +18 -41
  112. package/dist-es/commands/ListVpcEndpointsCommand.js +18 -41
  113. package/dist-es/commands/ListVpcEndpointsForDomainCommand.js +18 -41
  114. package/dist-es/commands/PurchaseReservedInstanceOfferingCommand.js +18 -41
  115. package/dist-es/commands/RejectInboundConnectionCommand.js +18 -41
  116. package/dist-es/commands/RemoveTagsCommand.js +18 -41
  117. package/dist-es/commands/RevokeVpcEndpointAccessCommand.js +18 -41
  118. package/dist-es/commands/StartDomainMaintenanceCommand.js +18 -41
  119. package/dist-es/commands/StartServiceSoftwareUpdateCommand.js +18 -41
  120. package/dist-es/commands/UpdateDataSourceCommand.js +18 -41
  121. package/dist-es/commands/UpdateDomainConfigCommand.js +18 -41
  122. package/dist-es/commands/UpdatePackageCommand.js +18 -41
  123. package/dist-es/commands/UpdateScheduledActionCommand.js +18 -41
  124. package/dist-es/commands/UpdateVpcEndpointCommand.js +18 -41
  125. package/dist-es/commands/UpgradeDomainCommand.js +18 -41
  126. package/dist-es/endpoint/EndpointParameters.js +6 -0
  127. package/dist-types/commands/AcceptInboundConnectionCommand.d.ts +6 -21
  128. package/dist-types/commands/AddDataSourceCommand.d.ts +6 -21
  129. package/dist-types/commands/AddTagsCommand.d.ts +6 -21
  130. package/dist-types/commands/AssociatePackageCommand.d.ts +6 -21
  131. package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +6 -21
  132. package/dist-types/commands/CancelServiceSoftwareUpdateCommand.d.ts +6 -21
  133. package/dist-types/commands/CreateDomainCommand.d.ts +6 -21
  134. package/dist-types/commands/CreateOutboundConnectionCommand.d.ts +6 -21
  135. package/dist-types/commands/CreatePackageCommand.d.ts +6 -21
  136. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +6 -21
  137. package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -21
  138. package/dist-types/commands/DeleteDomainCommand.d.ts +6 -21
  139. package/dist-types/commands/DeleteInboundConnectionCommand.d.ts +6 -21
  140. package/dist-types/commands/DeleteOutboundConnectionCommand.d.ts +6 -21
  141. package/dist-types/commands/DeletePackageCommand.d.ts +6 -21
  142. package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +6 -21
  143. package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +6 -21
  144. package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +6 -21
  145. package/dist-types/commands/DescribeDomainCommand.d.ts +6 -21
  146. package/dist-types/commands/DescribeDomainConfigCommand.d.ts +6 -21
  147. package/dist-types/commands/DescribeDomainHealthCommand.d.ts +6 -21
  148. package/dist-types/commands/DescribeDomainNodesCommand.d.ts +6 -21
  149. package/dist-types/commands/DescribeDomainsCommand.d.ts +6 -21
  150. package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +6 -21
  151. package/dist-types/commands/DescribeInboundConnectionsCommand.d.ts +6 -21
  152. package/dist-types/commands/DescribeInstanceTypeLimitsCommand.d.ts +6 -21
  153. package/dist-types/commands/DescribeOutboundConnectionsCommand.d.ts +6 -21
  154. package/dist-types/commands/DescribePackagesCommand.d.ts +6 -21
  155. package/dist-types/commands/DescribeReservedInstanceOfferingsCommand.d.ts +6 -21
  156. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +6 -21
  157. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +6 -21
  158. package/dist-types/commands/DissociatePackageCommand.d.ts +6 -21
  159. package/dist-types/commands/GetCompatibleVersionsCommand.d.ts +6 -21
  160. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -21
  161. package/dist-types/commands/GetDomainMaintenanceStatusCommand.d.ts +6 -21
  162. package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +6 -21
  163. package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +6 -21
  164. package/dist-types/commands/GetUpgradeStatusCommand.d.ts +6 -21
  165. package/dist-types/commands/ListDataSourcesCommand.d.ts +6 -21
  166. package/dist-types/commands/ListDomainMaintenancesCommand.d.ts +6 -21
  167. package/dist-types/commands/ListDomainNamesCommand.d.ts +6 -21
  168. package/dist-types/commands/ListDomainsForPackageCommand.d.ts +6 -21
  169. package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +6 -21
  170. package/dist-types/commands/ListPackagesForDomainCommand.d.ts +6 -21
  171. package/dist-types/commands/ListScheduledActionsCommand.d.ts +6 -21
  172. package/dist-types/commands/ListTagsCommand.d.ts +6 -21
  173. package/dist-types/commands/ListVersionsCommand.d.ts +6 -21
  174. package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +6 -21
  175. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +6 -21
  176. package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +6 -21
  177. package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +6 -21
  178. package/dist-types/commands/RejectInboundConnectionCommand.d.ts +6 -21
  179. package/dist-types/commands/RemoveTagsCommand.d.ts +6 -21
  180. package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +6 -21
  181. package/dist-types/commands/StartDomainMaintenanceCommand.d.ts +6 -21
  182. package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +6 -21
  183. package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -21
  184. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +6 -21
  185. package/dist-types/commands/UpdatePackageCommand.d.ts +6 -21
  186. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +6 -21
  187. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +6 -21
  188. package/dist-types/commands/UpgradeDomainCommand.d.ts +6 -21
  189. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  190. package/dist-types/ts3.4/commands/AcceptInboundConnectionCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/AddDataSourceCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
  193. package/dist-types/ts3.4/commands/AssociatePackageCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/AuthorizeVpcEndpointAccessCommand.d.ts +12 -24
  195. package/dist-types/ts3.4/commands/CancelServiceSoftwareUpdateCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/CreateOutboundConnectionCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/DeleteInboundConnectionCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/DeleteOutboundConnectionCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/DeleteVpcEndpointCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/DescribeDomainAutoTunesCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/DescribeDomainChangeProgressCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/DescribeDomainConfigCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/DescribeDomainHealthCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/DescribeDomainNodesCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/DescribeDomainsCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/DescribeDryRunProgressCommand.d.ts +12 -24
  214. package/dist-types/ts3.4/commands/DescribeInboundConnectionsCommand.d.ts +12 -24
  215. package/dist-types/ts3.4/commands/DescribeInstanceTypeLimitsCommand.d.ts +12 -24
  216. package/dist-types/ts3.4/commands/DescribeOutboundConnectionsCommand.d.ts +12 -24
  217. package/dist-types/ts3.4/commands/DescribePackagesCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/DescribeReservedInstanceOfferingsCommand.d.ts +12 -24
  219. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +12 -24
  221. package/dist-types/ts3.4/commands/DissociatePackageCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/GetCompatibleVersionsCommand.d.ts +12 -24
  223. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/GetDomainMaintenanceStatusCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/GetPackageVersionHistoryCommand.d.ts +12 -24
  226. package/dist-types/ts3.4/commands/GetUpgradeHistoryCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/GetUpgradeStatusCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +14 -23
  229. package/dist-types/ts3.4/commands/ListDomainMaintenancesCommand.d.ts +12 -24
  230. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +14 -23
  231. package/dist-types/ts3.4/commands/ListDomainsForPackageCommand.d.ts +12 -24
  232. package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +12 -24
  233. package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +12 -24
  234. package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +12 -24
  235. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +14 -23
  237. package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +12 -24
  238. package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +14 -23
  239. package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +12 -24
  240. package/dist-types/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +12 -24
  241. package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +12 -24
  242. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +12 -24
  244. package/dist-types/ts3.4/commands/StartDomainMaintenanceCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +12 -24
  246. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +14 -23
  247. package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +14 -23
  248. package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +12 -24
  250. package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +14 -23
  251. package/dist-types/ts3.4/commands/UpgradeDomainCommand.d.ts +14 -23
  252. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  253. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeDomainCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDomainCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "OpenSearchClient";
29
- const commandName = "DescribeDomainCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonOpenSearchService",
38
- operation: "DescribeDomain",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeDomainCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeDomainCommand)(output, context);
49
- }
10
+ class DescribeDomainCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonOpenSearchService", "DescribeDomain", {})
22
+ .n("OpenSearchClient", "DescribeDomainCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeDomainCommand)
25
+ .de(Aws_restJson1_1.de_DescribeDomainCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDomainCommand = DescribeDomainCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeDomainConfigCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDomainConfigCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "OpenSearchClient";
29
- const commandName = "DescribeDomainConfigCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonOpenSearchService",
38
- operation: "DescribeDomainConfig",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeDomainConfigCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeDomainConfigCommand)(output, context);
49
- }
10
+ class DescribeDomainConfigCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonOpenSearchService", "DescribeDomainConfig", {})
22
+ .n("OpenSearchClient", "DescribeDomainConfigCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeDomainConfigCommand)
25
+ .de(Aws_restJson1_1.de_DescribeDomainConfigCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDomainConfigCommand = DescribeDomainConfigCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeDomainHealthCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDomainHealthCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "OpenSearchClient";
29
- const commandName = "DescribeDomainHealthCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonOpenSearchService",
38
- operation: "DescribeDomainHealth",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeDomainHealthCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeDomainHealthCommand)(output, context);
49
- }
10
+ class DescribeDomainHealthCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonOpenSearchService", "DescribeDomainHealth", {})
22
+ .n("OpenSearchClient", "DescribeDomainHealthCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeDomainHealthCommand)
25
+ .de(Aws_restJson1_1.de_DescribeDomainHealthCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDomainHealthCommand = DescribeDomainHealthCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeDomainNodesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDomainNodesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "OpenSearchClient";
29
- const commandName = "DescribeDomainNodesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonOpenSearchService",
38
- operation: "DescribeDomainNodes",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeDomainNodesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeDomainNodesCommand)(output, context);
49
- }
10
+ class DescribeDomainNodesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonOpenSearchService", "DescribeDomainNodes", {})
22
+ .n("OpenSearchClient", "DescribeDomainNodesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeDomainNodesCommand)
25
+ .de(Aws_restJson1_1.de_DescribeDomainNodesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDomainNodesCommand = DescribeDomainNodesCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeDomainsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDomainsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "OpenSearchClient";
29
- const commandName = "DescribeDomainsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonOpenSearchService",
38
- operation: "DescribeDomains",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeDomainsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeDomainsCommand)(output, context);
49
- }
10
+ class DescribeDomainsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonOpenSearchService", "DescribeDomains", {})
22
+ .n("OpenSearchClient", "DescribeDomainsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeDomainsCommand)
25
+ .de(Aws_restJson1_1.de_DescribeDomainsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDomainsCommand = DescribeDomainsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeDryRunProgressCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDryRunProgressCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "OpenSearchClient";
29
- const commandName = "DescribeDryRunProgressCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonOpenSearchService",
38
- operation: "DescribeDryRunProgress",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeDryRunProgressCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeDryRunProgressCommand)(output, context);
49
- }
10
+ class DescribeDryRunProgressCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonOpenSearchService", "DescribeDryRunProgress", {})
22
+ .n("OpenSearchClient", "DescribeDryRunProgressCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeDryRunProgressCommand)
25
+ .de(Aws_restJson1_1.de_DescribeDryRunProgressCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDryRunProgressCommand = DescribeDryRunProgressCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeInboundConnectionsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeInboundConnectionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "OpenSearchClient";
29
- const commandName = "DescribeInboundConnectionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonOpenSearchService",
38
- operation: "DescribeInboundConnections",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeInboundConnectionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeInboundConnectionsCommand)(output, context);
49
- }
10
+ class DescribeInboundConnectionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonOpenSearchService", "DescribeInboundConnections", {})
22
+ .n("OpenSearchClient", "DescribeInboundConnectionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeInboundConnectionsCommand)
25
+ .de(Aws_restJson1_1.de_DescribeInboundConnectionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeInboundConnectionsCommand = DescribeInboundConnectionsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeInstanceTypeLimitsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeInstanceTypeLimitsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "OpenSearchClient";
29
- const commandName = "DescribeInstanceTypeLimitsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonOpenSearchService",
38
- operation: "DescribeInstanceTypeLimits",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeInstanceTypeLimitsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeInstanceTypeLimitsCommand)(output, context);
49
- }
10
+ class DescribeInstanceTypeLimitsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonOpenSearchService", "DescribeInstanceTypeLimits", {})
22
+ .n("OpenSearchClient", "DescribeInstanceTypeLimitsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeInstanceTypeLimitsCommand)
25
+ .de(Aws_restJson1_1.de_DescribeInstanceTypeLimitsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeInstanceTypeLimitsCommand = DescribeInstanceTypeLimitsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeOutboundConnectionsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeOutboundConnectionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "OpenSearchClient";
29
- const commandName = "DescribeOutboundConnectionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonOpenSearchService",
38
- operation: "DescribeOutboundConnections",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeOutboundConnectionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeOutboundConnectionsCommand)(output, context);
49
- }
10
+ class DescribeOutboundConnectionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonOpenSearchService", "DescribeOutboundConnections", {})
22
+ .n("OpenSearchClient", "DescribeOutboundConnectionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeOutboundConnectionsCommand)
25
+ .de(Aws_restJson1_1.de_DescribeOutboundConnectionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeOutboundConnectionsCommand = DescribeOutboundConnectionsCommand;