@aws-sdk/client-kafka 3.477.0 → 3.481.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 (261) hide show
  1. package/dist-cjs/commands/BatchAssociateScramSecretCommand.js +18 -41
  2. package/dist-cjs/commands/BatchDisassociateScramSecretCommand.js +18 -41
  3. package/dist-cjs/commands/CreateClusterCommand.js +18 -41
  4. package/dist-cjs/commands/CreateClusterV2Command.js +18 -41
  5. package/dist-cjs/commands/CreateConfigurationCommand.js +18 -41
  6. package/dist-cjs/commands/CreateReplicatorCommand.js +18 -41
  7. package/dist-cjs/commands/CreateVpcConnectionCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteClusterPolicyCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteConfigurationCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteReplicatorCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteVpcConnectionCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeClusterCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeClusterOperationCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeClusterOperationV2Command.js +18 -41
  16. package/dist-cjs/commands/DescribeClusterV2Command.js +18 -41
  17. package/dist-cjs/commands/DescribeConfigurationCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeReplicatorCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeVpcConnectionCommand.js +18 -41
  21. package/dist-cjs/commands/GetBootstrapBrokersCommand.js +18 -41
  22. package/dist-cjs/commands/GetClusterPolicyCommand.js +18 -41
  23. package/dist-cjs/commands/GetCompatibleKafkaVersionsCommand.js +18 -41
  24. package/dist-cjs/commands/ListClientVpcConnectionsCommand.js +18 -41
  25. package/dist-cjs/commands/ListClusterOperationsCommand.js +18 -41
  26. package/dist-cjs/commands/ListClusterOperationsV2Command.js +18 -41
  27. package/dist-cjs/commands/ListClustersCommand.js +18 -41
  28. package/dist-cjs/commands/ListClustersV2Command.js +18 -41
  29. package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +18 -41
  30. package/dist-cjs/commands/ListConfigurationsCommand.js +18 -41
  31. package/dist-cjs/commands/ListKafkaVersionsCommand.js +18 -41
  32. package/dist-cjs/commands/ListNodesCommand.js +18 -41
  33. package/dist-cjs/commands/ListReplicatorsCommand.js +18 -41
  34. package/dist-cjs/commands/ListScramSecretsCommand.js +18 -41
  35. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  36. package/dist-cjs/commands/ListVpcConnectionsCommand.js +18 -41
  37. package/dist-cjs/commands/PutClusterPolicyCommand.js +18 -41
  38. package/dist-cjs/commands/RebootBrokerCommand.js +18 -41
  39. package/dist-cjs/commands/RejectClientVpcConnectionCommand.js +18 -41
  40. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  41. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  42. package/dist-cjs/commands/UpdateBrokerCountCommand.js +18 -41
  43. package/dist-cjs/commands/UpdateBrokerStorageCommand.js +18 -41
  44. package/dist-cjs/commands/UpdateBrokerTypeCommand.js +18 -41
  45. package/dist-cjs/commands/UpdateClusterConfigurationCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateClusterKafkaVersionCommand.js +18 -41
  47. package/dist-cjs/commands/UpdateConfigurationCommand.js +18 -41
  48. package/dist-cjs/commands/UpdateConnectivityCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateMonitoringCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateReplicationInfoCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateSecurityCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateStorageCommand.js +18 -41
  53. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  54. package/dist-cjs/pagination/ListClientVpcConnectionsPaginator.js +2 -24
  55. package/dist-cjs/pagination/ListClusterOperationsPaginator.js +2 -24
  56. package/dist-cjs/pagination/ListClusterOperationsV2Paginator.js +2 -24
  57. package/dist-cjs/pagination/ListClustersPaginator.js +2 -24
  58. package/dist-cjs/pagination/ListClustersV2Paginator.js +2 -24
  59. package/dist-cjs/pagination/ListConfigurationRevisionsPaginator.js +2 -24
  60. package/dist-cjs/pagination/ListConfigurationsPaginator.js +2 -24
  61. package/dist-cjs/pagination/ListKafkaVersionsPaginator.js +2 -24
  62. package/dist-cjs/pagination/ListNodesPaginator.js +2 -24
  63. package/dist-cjs/pagination/ListReplicatorsPaginator.js +2 -24
  64. package/dist-cjs/pagination/ListScramSecretsPaginator.js +2 -24
  65. package/dist-cjs/pagination/ListVpcConnectionsPaginator.js +2 -24
  66. package/dist-es/commands/BatchAssociateScramSecretCommand.js +18 -41
  67. package/dist-es/commands/BatchDisassociateScramSecretCommand.js +18 -41
  68. package/dist-es/commands/CreateClusterCommand.js +18 -41
  69. package/dist-es/commands/CreateClusterV2Command.js +18 -41
  70. package/dist-es/commands/CreateConfigurationCommand.js +18 -41
  71. package/dist-es/commands/CreateReplicatorCommand.js +18 -41
  72. package/dist-es/commands/CreateVpcConnectionCommand.js +18 -41
  73. package/dist-es/commands/DeleteClusterCommand.js +18 -41
  74. package/dist-es/commands/DeleteClusterPolicyCommand.js +18 -41
  75. package/dist-es/commands/DeleteConfigurationCommand.js +18 -41
  76. package/dist-es/commands/DeleteReplicatorCommand.js +18 -41
  77. package/dist-es/commands/DeleteVpcConnectionCommand.js +18 -41
  78. package/dist-es/commands/DescribeClusterCommand.js +18 -41
  79. package/dist-es/commands/DescribeClusterOperationCommand.js +18 -41
  80. package/dist-es/commands/DescribeClusterOperationV2Command.js +18 -41
  81. package/dist-es/commands/DescribeClusterV2Command.js +18 -41
  82. package/dist-es/commands/DescribeConfigurationCommand.js +18 -41
  83. package/dist-es/commands/DescribeConfigurationRevisionCommand.js +18 -41
  84. package/dist-es/commands/DescribeReplicatorCommand.js +18 -41
  85. package/dist-es/commands/DescribeVpcConnectionCommand.js +18 -41
  86. package/dist-es/commands/GetBootstrapBrokersCommand.js +18 -41
  87. package/dist-es/commands/GetClusterPolicyCommand.js +18 -41
  88. package/dist-es/commands/GetCompatibleKafkaVersionsCommand.js +18 -41
  89. package/dist-es/commands/ListClientVpcConnectionsCommand.js +18 -41
  90. package/dist-es/commands/ListClusterOperationsCommand.js +18 -41
  91. package/dist-es/commands/ListClusterOperationsV2Command.js +18 -41
  92. package/dist-es/commands/ListClustersCommand.js +18 -41
  93. package/dist-es/commands/ListClustersV2Command.js +18 -41
  94. package/dist-es/commands/ListConfigurationRevisionsCommand.js +18 -41
  95. package/dist-es/commands/ListConfigurationsCommand.js +18 -41
  96. package/dist-es/commands/ListKafkaVersionsCommand.js +18 -41
  97. package/dist-es/commands/ListNodesCommand.js +18 -41
  98. package/dist-es/commands/ListReplicatorsCommand.js +18 -41
  99. package/dist-es/commands/ListScramSecretsCommand.js +18 -41
  100. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  101. package/dist-es/commands/ListVpcConnectionsCommand.js +18 -41
  102. package/dist-es/commands/PutClusterPolicyCommand.js +18 -41
  103. package/dist-es/commands/RebootBrokerCommand.js +18 -41
  104. package/dist-es/commands/RejectClientVpcConnectionCommand.js +18 -41
  105. package/dist-es/commands/TagResourceCommand.js +18 -41
  106. package/dist-es/commands/UntagResourceCommand.js +18 -41
  107. package/dist-es/commands/UpdateBrokerCountCommand.js +18 -41
  108. package/dist-es/commands/UpdateBrokerStorageCommand.js +18 -41
  109. package/dist-es/commands/UpdateBrokerTypeCommand.js +18 -41
  110. package/dist-es/commands/UpdateClusterConfigurationCommand.js +18 -41
  111. package/dist-es/commands/UpdateClusterKafkaVersionCommand.js +18 -41
  112. package/dist-es/commands/UpdateConfigurationCommand.js +18 -41
  113. package/dist-es/commands/UpdateConnectivityCommand.js +18 -41
  114. package/dist-es/commands/UpdateMonitoringCommand.js +18 -41
  115. package/dist-es/commands/UpdateReplicationInfoCommand.js +18 -41
  116. package/dist-es/commands/UpdateSecurityCommand.js +18 -41
  117. package/dist-es/commands/UpdateStorageCommand.js +18 -41
  118. package/dist-es/endpoint/EndpointParameters.js +6 -0
  119. package/dist-es/pagination/ListClientVpcConnectionsPaginator.js +2 -23
  120. package/dist-es/pagination/ListClusterOperationsPaginator.js +2 -23
  121. package/dist-es/pagination/ListClusterOperationsV2Paginator.js +2 -23
  122. package/dist-es/pagination/ListClustersPaginator.js +2 -23
  123. package/dist-es/pagination/ListClustersV2Paginator.js +2 -23
  124. package/dist-es/pagination/ListConfigurationRevisionsPaginator.js +2 -23
  125. package/dist-es/pagination/ListConfigurationsPaginator.js +2 -23
  126. package/dist-es/pagination/ListKafkaVersionsPaginator.js +2 -23
  127. package/dist-es/pagination/ListNodesPaginator.js +2 -23
  128. package/dist-es/pagination/ListReplicatorsPaginator.js +2 -23
  129. package/dist-es/pagination/ListScramSecretsPaginator.js +2 -23
  130. package/dist-es/pagination/ListVpcConnectionsPaginator.js +2 -23
  131. package/dist-types/commands/BatchAssociateScramSecretCommand.d.ts +6 -21
  132. package/dist-types/commands/BatchDisassociateScramSecretCommand.d.ts +6 -21
  133. package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
  134. package/dist-types/commands/CreateClusterV2Command.d.ts +6 -21
  135. package/dist-types/commands/CreateConfigurationCommand.d.ts +6 -21
  136. package/dist-types/commands/CreateReplicatorCommand.d.ts +6 -21
  137. package/dist-types/commands/CreateVpcConnectionCommand.d.ts +6 -21
  138. package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
  139. package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +6 -21
  140. package/dist-types/commands/DeleteConfigurationCommand.d.ts +6 -21
  141. package/dist-types/commands/DeleteReplicatorCommand.d.ts +6 -21
  142. package/dist-types/commands/DeleteVpcConnectionCommand.d.ts +6 -21
  143. package/dist-types/commands/DescribeClusterCommand.d.ts +6 -21
  144. package/dist-types/commands/DescribeClusterOperationCommand.d.ts +6 -21
  145. package/dist-types/commands/DescribeClusterOperationV2Command.d.ts +6 -21
  146. package/dist-types/commands/DescribeClusterV2Command.d.ts +6 -21
  147. package/dist-types/commands/DescribeConfigurationCommand.d.ts +6 -21
  148. package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +6 -21
  149. package/dist-types/commands/DescribeReplicatorCommand.d.ts +6 -21
  150. package/dist-types/commands/DescribeVpcConnectionCommand.d.ts +6 -21
  151. package/dist-types/commands/GetBootstrapBrokersCommand.d.ts +6 -21
  152. package/dist-types/commands/GetClusterPolicyCommand.d.ts +6 -21
  153. package/dist-types/commands/GetCompatibleKafkaVersionsCommand.d.ts +6 -21
  154. package/dist-types/commands/ListClientVpcConnectionsCommand.d.ts +6 -21
  155. package/dist-types/commands/ListClusterOperationsCommand.d.ts +6 -21
  156. package/dist-types/commands/ListClusterOperationsV2Command.d.ts +6 -21
  157. package/dist-types/commands/ListClustersCommand.d.ts +6 -21
  158. package/dist-types/commands/ListClustersV2Command.d.ts +6 -21
  159. package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +6 -21
  160. package/dist-types/commands/ListConfigurationsCommand.d.ts +6 -21
  161. package/dist-types/commands/ListKafkaVersionsCommand.d.ts +6 -21
  162. package/dist-types/commands/ListNodesCommand.d.ts +6 -21
  163. package/dist-types/commands/ListReplicatorsCommand.d.ts +6 -21
  164. package/dist-types/commands/ListScramSecretsCommand.d.ts +6 -21
  165. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  166. package/dist-types/commands/ListVpcConnectionsCommand.d.ts +6 -21
  167. package/dist-types/commands/PutClusterPolicyCommand.d.ts +6 -21
  168. package/dist-types/commands/RebootBrokerCommand.d.ts +6 -21
  169. package/dist-types/commands/RejectClientVpcConnectionCommand.d.ts +6 -21
  170. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  171. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  172. package/dist-types/commands/UpdateBrokerCountCommand.d.ts +6 -21
  173. package/dist-types/commands/UpdateBrokerStorageCommand.d.ts +6 -21
  174. package/dist-types/commands/UpdateBrokerTypeCommand.d.ts +6 -21
  175. package/dist-types/commands/UpdateClusterConfigurationCommand.d.ts +6 -21
  176. package/dist-types/commands/UpdateClusterKafkaVersionCommand.d.ts +6 -21
  177. package/dist-types/commands/UpdateConfigurationCommand.d.ts +6 -21
  178. package/dist-types/commands/UpdateConnectivityCommand.d.ts +6 -21
  179. package/dist-types/commands/UpdateMonitoringCommand.d.ts +6 -21
  180. package/dist-types/commands/UpdateReplicationInfoCommand.d.ts +6 -21
  181. package/dist-types/commands/UpdateSecurityCommand.d.ts +6 -21
  182. package/dist-types/commands/UpdateStorageCommand.d.ts +6 -21
  183. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  184. package/dist-types/pagination/ListClientVpcConnectionsPaginator.d.ts +1 -1
  185. package/dist-types/pagination/ListClusterOperationsPaginator.d.ts +1 -1
  186. package/dist-types/pagination/ListClusterOperationsV2Paginator.d.ts +1 -1
  187. package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
  188. package/dist-types/pagination/ListClustersV2Paginator.d.ts +1 -1
  189. package/dist-types/pagination/ListConfigurationRevisionsPaginator.d.ts +1 -1
  190. package/dist-types/pagination/ListConfigurationsPaginator.d.ts +1 -1
  191. package/dist-types/pagination/ListKafkaVersionsPaginator.d.ts +1 -1
  192. package/dist-types/pagination/ListNodesPaginator.d.ts +1 -1
  193. package/dist-types/pagination/ListReplicatorsPaginator.d.ts +1 -1
  194. package/dist-types/pagination/ListScramSecretsPaginator.d.ts +1 -1
  195. package/dist-types/pagination/ListVpcConnectionsPaginator.d.ts +1 -1
  196. package/dist-types/ts3.4/commands/BatchAssociateScramSecretCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/BatchDisassociateScramSecretCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/CreateClusterV2Command.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/CreateConfigurationCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/CreateReplicatorCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/CreateVpcConnectionCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/DeleteConfigurationCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/DeleteReplicatorCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/DeleteVpcConnectionCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/DescribeClusterOperationV2Command.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/DescribeClusterV2Command.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/DescribeConfigurationCommand.d.ts +12 -24
  213. package/dist-types/ts3.4/commands/DescribeConfigurationRevisionCommand.d.ts +12 -24
  214. package/dist-types/ts3.4/commands/DescribeReplicatorCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/DescribeVpcConnectionCommand.d.ts +12 -24
  216. package/dist-types/ts3.4/commands/GetBootstrapBrokersCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/GetCompatibleKafkaVersionsCommand.d.ts +12 -24
  219. package/dist-types/ts3.4/commands/ListClientVpcConnectionsCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/ListClusterOperationsCommand.d.ts +12 -24
  221. package/dist-types/ts3.4/commands/ListClusterOperationsV2Command.d.ts +12 -24
  222. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/ListClustersV2Command.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/ListConfigurationRevisionsCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/ListConfigurationsCommand.d.ts +14 -23
  226. package/dist-types/ts3.4/commands/ListKafkaVersionsCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/commands/ListReplicatorsCommand.d.ts +14 -23
  229. package/dist-types/ts3.4/commands/ListScramSecretsCommand.d.ts +14 -23
  230. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  231. package/dist-types/ts3.4/commands/ListVpcConnectionsCommand.d.ts +14 -23
  232. package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +14 -23
  233. package/dist-types/ts3.4/commands/RebootBrokerCommand.d.ts +14 -23
  234. package/dist-types/ts3.4/commands/RejectClientVpcConnectionCommand.d.ts +12 -24
  235. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  237. package/dist-types/ts3.4/commands/UpdateBrokerCountCommand.d.ts +14 -23
  238. package/dist-types/ts3.4/commands/UpdateBrokerStorageCommand.d.ts +14 -23
  239. package/dist-types/ts3.4/commands/UpdateBrokerTypeCommand.d.ts +14 -23
  240. package/dist-types/ts3.4/commands/UpdateClusterConfigurationCommand.d.ts +12 -24
  241. package/dist-types/ts3.4/commands/UpdateClusterKafkaVersionCommand.d.ts +12 -24
  242. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/UpdateConnectivityCommand.d.ts +14 -23
  244. package/dist-types/ts3.4/commands/UpdateMonitoringCommand.d.ts +14 -23
  245. package/dist-types/ts3.4/commands/UpdateReplicationInfoCommand.d.ts +12 -24
  246. package/dist-types/ts3.4/commands/UpdateSecurityCommand.d.ts +14 -23
  247. package/dist-types/ts3.4/commands/UpdateStorageCommand.d.ts +14 -23
  248. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  249. package/dist-types/ts3.4/pagination/ListClientVpcConnectionsPaginator.d.ts +3 -3
  250. package/dist-types/ts3.4/pagination/ListClusterOperationsPaginator.d.ts +3 -3
  251. package/dist-types/ts3.4/pagination/ListClusterOperationsV2Paginator.d.ts +3 -3
  252. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +3 -3
  253. package/dist-types/ts3.4/pagination/ListClustersV2Paginator.d.ts +3 -3
  254. package/dist-types/ts3.4/pagination/ListConfigurationRevisionsPaginator.d.ts +3 -3
  255. package/dist-types/ts3.4/pagination/ListConfigurationsPaginator.d.ts +3 -3
  256. package/dist-types/ts3.4/pagination/ListKafkaVersionsPaginator.d.ts +3 -3
  257. package/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +3 -3
  258. package/dist-types/ts3.4/pagination/ListReplicatorsPaginator.d.ts +3 -3
  259. package/dist-types/ts3.4/pagination/ListScramSecretsPaginator.d.ts +3 -3
  260. package/dist-types/ts3.4/pagination/ListVpcConnectionsPaginator.d.ts +3 -3
  261. 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 DeleteConfigurationCommand 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, DeleteConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KafkaClient";
29
- const commandName = "DeleteConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Kafka",
38
- operation: "DeleteConfiguration",
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_DeleteConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteConfigurationCommand)(output, context);
49
- }
10
+ class DeleteConfigurationCommand 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("Kafka", "DeleteConfiguration", {})
22
+ .n("KafkaClient", "DeleteConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_DeleteConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteConfigurationCommand = DeleteConfigurationCommand;
@@ -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 DeleteReplicatorCommand 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, DeleteReplicatorCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KafkaClient";
29
- const commandName = "DeleteReplicatorCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Kafka",
38
- operation: "DeleteReplicator",
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_DeleteReplicatorCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteReplicatorCommand)(output, context);
49
- }
10
+ class DeleteReplicatorCommand 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("Kafka", "DeleteReplicator", {})
22
+ .n("KafkaClient", "DeleteReplicatorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteReplicatorCommand)
25
+ .de(Aws_restJson1_1.de_DeleteReplicatorCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteReplicatorCommand = DeleteReplicatorCommand;
@@ -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 DeleteVpcConnectionCommand 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, DeleteVpcConnectionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KafkaClient";
29
- const commandName = "DeleteVpcConnectionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Kafka",
38
- operation: "DeleteVpcConnection",
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_DeleteVpcConnectionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteVpcConnectionCommand)(output, context);
49
- }
10
+ class DeleteVpcConnectionCommand 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("Kafka", "DeleteVpcConnection", {})
22
+ .n("KafkaClient", "DeleteVpcConnectionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteVpcConnectionCommand)
25
+ .de(Aws_restJson1_1.de_DeleteVpcConnectionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteVpcConnectionCommand = DeleteVpcConnectionCommand;
@@ -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 DescribeClusterCommand 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, DescribeClusterCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KafkaClient";
29
- const commandName = "DescribeClusterCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Kafka",
38
- operation: "DescribeCluster",
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_DescribeClusterCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeClusterCommand)(output, context);
49
- }
10
+ class DescribeClusterCommand 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("Kafka", "DescribeCluster", {})
22
+ .n("KafkaClient", "DescribeClusterCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeClusterCommand)
25
+ .de(Aws_restJson1_1.de_DescribeClusterCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeClusterCommand = DescribeClusterCommand;
@@ -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 DescribeClusterOperationCommand 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, DescribeClusterOperationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KafkaClient";
29
- const commandName = "DescribeClusterOperationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Kafka",
38
- operation: "DescribeClusterOperation",
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_DescribeClusterOperationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeClusterOperationCommand)(output, context);
49
- }
10
+ class DescribeClusterOperationCommand 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("Kafka", "DescribeClusterOperation", {})
22
+ .n("KafkaClient", "DescribeClusterOperationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeClusterOperationCommand)
25
+ .de(Aws_restJson1_1.de_DescribeClusterOperationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeClusterOperationCommand = DescribeClusterOperationCommand;
@@ -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 DescribeClusterOperationV2Command 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, DescribeClusterOperationV2Command.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KafkaClient";
29
- const commandName = "DescribeClusterOperationV2Command";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Kafka",
38
- operation: "DescribeClusterOperationV2",
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_DescribeClusterOperationV2Command)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeClusterOperationV2Command)(output, context);
49
- }
10
+ class DescribeClusterOperationV2Command 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("Kafka", "DescribeClusterOperationV2", {})
22
+ .n("KafkaClient", "DescribeClusterOperationV2Command")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeClusterOperationV2Command)
25
+ .de(Aws_restJson1_1.de_DescribeClusterOperationV2Command)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeClusterOperationV2Command = DescribeClusterOperationV2Command;
@@ -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 DescribeClusterV2Command 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, DescribeClusterV2Command.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KafkaClient";
29
- const commandName = "DescribeClusterV2Command";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Kafka",
38
- operation: "DescribeClusterV2",
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_DescribeClusterV2Command)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeClusterV2Command)(output, context);
49
- }
10
+ class DescribeClusterV2Command 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("Kafka", "DescribeClusterV2", {})
22
+ .n("KafkaClient", "DescribeClusterV2Command")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeClusterV2Command)
25
+ .de(Aws_restJson1_1.de_DescribeClusterV2Command)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeClusterV2Command = DescribeClusterV2Command;
@@ -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 DescribeConfigurationCommand 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, DescribeConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KafkaClient";
29
- const commandName = "DescribeConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Kafka",
38
- operation: "DescribeConfiguration",
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_DescribeConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeConfigurationCommand)(output, context);
49
- }
10
+ class DescribeConfigurationCommand 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("Kafka", "DescribeConfiguration", {})
22
+ .n("KafkaClient", "DescribeConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_DescribeConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeConfigurationCommand = DescribeConfigurationCommand;
@@ -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 DescribeConfigurationRevisionCommand 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, DescribeConfigurationRevisionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KafkaClient";
29
- const commandName = "DescribeConfigurationRevisionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Kafka",
38
- operation: "DescribeConfigurationRevision",
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_DescribeConfigurationRevisionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeConfigurationRevisionCommand)(output, context);
49
- }
10
+ class DescribeConfigurationRevisionCommand 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("Kafka", "DescribeConfigurationRevision", {})
22
+ .n("KafkaClient", "DescribeConfigurationRevisionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeConfigurationRevisionCommand)
25
+ .de(Aws_restJson1_1.de_DescribeConfigurationRevisionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeConfigurationRevisionCommand = DescribeConfigurationRevisionCommand;