@aws-sdk/client-kafka 3.34.0 → 3.37.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 (369) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/Kafka.js +1 -5
  3. package/{dist/cjs → dist-cjs}/KafkaClient.js +8 -17
  4. package/{dist/cjs → dist-cjs}/commands/BatchAssociateScramSecretCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/BatchDisassociateScramSecretCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CreateClusterCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CreateConfigurationCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DeleteClusterCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DeleteConfigurationCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DescribeClusterCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/DescribeClusterOperationCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/DescribeConfigurationCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/DescribeConfigurationRevisionCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/GetBootstrapBrokersCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/GetCompatibleKafkaVersionsCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/ListClusterOperationsCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/ListClustersCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/ListConfigurationRevisionsCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/ListConfigurationsCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/ListKafkaVersionsCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/ListNodesCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/ListScramSecretsCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/RebootBrokerCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/UpdateBrokerCountCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/UpdateBrokerStorageCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/UpdateBrokerTypeCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/UpdateClusterConfigurationCommand.js +2 -27
  31. package/{dist/cjs → dist-cjs}/commands/UpdateClusterKafkaVersionCommand.js +2 -27
  32. package/{dist/cjs → dist-cjs}/commands/UpdateConfigurationCommand.js +2 -27
  33. package/{dist/cjs → dist-cjs}/commands/UpdateMonitoringCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/commands/UpdateSecurityCommand.js +2 -27
  35. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  36. package/{dist/cjs → dist-cjs}/index.js +0 -1
  37. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  38. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -334
  39. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  40. package/{dist/cjs → dist-cjs}/pagination/ListClusterOperationsPaginator.js +1 -12
  41. package/{dist/cjs → dist-cjs}/pagination/ListClustersPaginator.js +1 -12
  42. package/{dist/cjs → dist-cjs}/pagination/ListConfigurationRevisionsPaginator.js +1 -12
  43. package/{dist/cjs → dist-cjs}/pagination/ListConfigurationsPaginator.js +1 -12
  44. package/{dist/cjs → dist-cjs}/pagination/ListKafkaVersionsPaginator.js +1 -12
  45. package/{dist/cjs → dist-cjs}/pagination/ListNodesPaginator.js +1 -12
  46. package/{dist/cjs → dist-cjs}/pagination/ListScramSecretsPaginator.js +1 -12
  47. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -12
  48. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  49. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  50. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  51. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  52. package/{dist/es → dist-es}/Kafka.js +1 -2
  53. package/{dist/es → dist-es}/KafkaClient.js +1 -2
  54. package/{dist/es → dist-es}/commands/BatchAssociateScramSecretCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/BatchDisassociateScramSecretCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/CreateClusterCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/CreateConfigurationCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/DeleteClusterCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/DeleteConfigurationCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/DescribeClusterCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/DescribeClusterOperationCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/DescribeConfigurationCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/DescribeConfigurationRevisionCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/GetBootstrapBrokersCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/GetCompatibleKafkaVersionsCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/ListClusterOperationsCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/ListClustersCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/ListConfigurationRevisionsCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/ListConfigurationsCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/ListKafkaVersionsCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/ListNodesCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/ListScramSecretsCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/RebootBrokerCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/UpdateBrokerCountCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/UpdateBrokerStorageCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/UpdateBrokerTypeCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/UpdateClusterConfigurationCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/UpdateClusterKafkaVersionCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/UpdateConfigurationCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/UpdateMonitoringCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/UpdateSecurityCommand.js +2 -3
  85. package/{dist/es → dist-es}/endpoints.js +1 -2
  86. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  87. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  88. package/{dist/es → dist-es}/models/models_0.js +0 -1
  89. package/dist-es/pagination/Interfaces.js +1 -0
  90. package/{dist/es → dist-es}/pagination/ListClusterOperationsPaginator.js +1 -2
  91. package/{dist/es → dist-es}/pagination/ListClustersPaginator.js +1 -2
  92. package/{dist/es → dist-es}/pagination/ListConfigurationRevisionsPaginator.js +1 -2
  93. package/{dist/es → dist-es}/pagination/ListConfigurationsPaginator.js +1 -2
  94. package/{dist/es → dist-es}/pagination/ListKafkaVersionsPaginator.js +1 -2
  95. package/{dist/es → dist-es}/pagination/ListNodesPaginator.js +1 -2
  96. package/{dist/es → dist-es}/pagination/ListScramSecretsPaginator.js +1 -2
  97. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  98. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  99. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  100. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  101. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  102. package/{dist/types → dist-types}/Kafka.d.ts +2 -2
  103. package/{dist/types → dist-types}/KafkaClient.d.ts +8 -8
  104. package/{dist/types → dist-types}/commands/BatchAssociateScramSecretCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/BatchDisassociateScramSecretCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/CreateClusterCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/CreateConfigurationCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/DeleteClusterCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/DeleteConfigurationCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/DescribeClusterCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/DescribeClusterOperationCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/DescribeConfigurationCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/DescribeConfigurationRevisionCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/GetBootstrapBrokersCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/GetCompatibleKafkaVersionsCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/ListClusterOperationsCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/ListClustersCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/ListConfigurationRevisionsCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/ListConfigurationsCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/ListKafkaVersionsCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/ListNodesCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/ListScramSecretsCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/RebootBrokerCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/UpdateBrokerCountCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/UpdateBrokerStorageCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/UpdateBrokerTypeCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/UpdateClusterConfigurationCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/UpdateClusterKafkaVersionCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/UpdateConfigurationCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/UpdateMonitoringCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/UpdateSecurityCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  136. package/{index.ts → dist-types/index.d.ts} +0 -0
  137. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  138. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  139. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  140. package/{dist/types → dist-types}/pagination/ListClusterOperationsPaginator.d.ts +1 -1
  141. package/{dist/types → dist-types}/pagination/ListClustersPaginator.d.ts +1 -1
  142. package/{dist/types → dist-types}/pagination/ListConfigurationRevisionsPaginator.d.ts +1 -1
  143. package/{dist/types → dist-types}/pagination/ListConfigurationsPaginator.d.ts +1 -1
  144. package/{dist/types → dist-types}/pagination/ListKafkaVersionsPaginator.d.ts +1 -1
  145. package/{dist/types → dist-types}/pagination/ListNodesPaginator.d.ts +1 -1
  146. package/{dist/types → dist-types}/pagination/ListScramSecretsPaginator.d.ts +1 -1
  147. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  148. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  149. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  150. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  151. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  152. package/{dist/types → dist-types}/ts3.4/Kafka.d.ts +34 -98
  153. package/{dist/types → dist-types}/ts3.4/KafkaClient.d.ts +32 -97
  154. package/{dist/types → dist-types}/ts3.4/commands/BatchAssociateScramSecretCommand.d.ts +4 -22
  155. package/{dist/types → dist-types}/ts3.4/commands/BatchDisassociateScramSecretCommand.d.ts +4 -22
  156. package/{dist/types → dist-types}/ts3.4/commands/CreateClusterCommand.d.ts +4 -22
  157. package/{dist/types → dist-types}/ts3.4/commands/CreateConfigurationCommand.d.ts +4 -22
  158. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +17 -0
  159. package/{dist/types → dist-types}/ts3.4/commands/DeleteConfigurationCommand.d.ts +4 -22
  160. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +17 -0
  161. package/{dist/types → dist-types}/ts3.4/commands/DescribeClusterOperationCommand.d.ts +4 -22
  162. package/{dist/types → dist-types}/ts3.4/commands/DescribeConfigurationCommand.d.ts +4 -22
  163. package/{dist/types → dist-types}/ts3.4/commands/DescribeConfigurationRevisionCommand.d.ts +4 -22
  164. package/{dist/types → dist-types}/ts3.4/commands/GetBootstrapBrokersCommand.d.ts +4 -22
  165. package/{dist/types → dist-types}/ts3.4/commands/GetCompatibleKafkaVersionsCommand.d.ts +4 -22
  166. package/{dist/types → dist-types}/ts3.4/commands/ListClusterOperationsCommand.d.ts +4 -22
  167. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +17 -0
  168. package/{dist/types → dist-types}/ts3.4/commands/ListConfigurationRevisionsCommand.d.ts +4 -22
  169. package/{dist/types → dist-types}/ts3.4/commands/ListConfigurationsCommand.d.ts +4 -22
  170. package/{dist/types → dist-types}/ts3.4/commands/ListKafkaVersionsCommand.d.ts +4 -22
  171. package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/ListScramSecretsCommand.d.ts +17 -0
  173. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  174. package/{dist/types → dist-types}/ts3.4/commands/RebootBrokerCommand.d.ts +4 -22
  175. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  177. package/{dist/types → dist-types}/ts3.4/commands/UpdateBrokerCountCommand.d.ts +4 -22
  178. package/{dist/types → dist-types}/ts3.4/commands/UpdateBrokerStorageCommand.d.ts +4 -22
  179. package/{dist/types → dist-types}/ts3.4/commands/UpdateBrokerTypeCommand.d.ts +4 -22
  180. package/{dist/types → dist-types}/ts3.4/commands/UpdateClusterConfigurationCommand.d.ts +4 -22
  181. package/{dist/types → dist-types}/ts3.4/commands/UpdateClusterKafkaVersionCommand.d.ts +4 -22
  182. package/{dist/types → dist-types}/ts3.4/commands/UpdateConfigurationCommand.d.ts +4 -22
  183. package/dist-types/ts3.4/commands/UpdateMonitoringCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/UpdateSecurityCommand.d.ts +17 -0
  185. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  186. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  187. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  188. package/dist-types/ts3.4/models/models_0.d.ts +1347 -0
  189. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  190. package/{dist/types → dist-types}/ts3.4/pagination/ListClusterOperationsPaginator.d.ts +1 -1
  191. package/{dist/types → dist-types}/ts3.4/pagination/ListClustersPaginator.d.ts +1 -1
  192. package/{dist/types → dist-types}/ts3.4/pagination/ListConfigurationRevisionsPaginator.d.ts +1 -1
  193. package/{dist/types → dist-types}/ts3.4/pagination/ListConfigurationsPaginator.d.ts +1 -1
  194. package/{dist/types → dist-types}/ts3.4/pagination/ListKafkaVersionsPaginator.d.ts +1 -1
  195. package/{dist/types → dist-types}/ts3.4/pagination/ListNodesPaginator.d.ts +1 -1
  196. package/{dist/types → dist-types}/ts3.4/pagination/ListScramSecretsPaginator.d.ts +1 -1
  197. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  198. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  199. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  200. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  201. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  202. package/package.json +45 -42
  203. package/Kafka.ts +0 -1128
  204. package/KafkaClient.ts +0 -376
  205. package/commands/BatchAssociateScramSecretCommand.ts +0 -97
  206. package/commands/BatchDisassociateScramSecretCommand.ts +0 -99
  207. package/commands/CreateClusterCommand.ts +0 -94
  208. package/commands/CreateConfigurationCommand.ts +0 -94
  209. package/commands/DeleteClusterCommand.ts +0 -94
  210. package/commands/DeleteConfigurationCommand.ts +0 -94
  211. package/commands/DescribeClusterCommand.ts +0 -94
  212. package/commands/DescribeClusterOperationCommand.ts +0 -94
  213. package/commands/DescribeConfigurationCommand.ts +0 -94
  214. package/commands/DescribeConfigurationRevisionCommand.ts +0 -99
  215. package/commands/GetBootstrapBrokersCommand.ts +0 -94
  216. package/commands/GetCompatibleKafkaVersionsCommand.ts +0 -97
  217. package/commands/ListClusterOperationsCommand.ts +0 -94
  218. package/commands/ListClustersCommand.ts +0 -94
  219. package/commands/ListConfigurationRevisionsCommand.ts +0 -97
  220. package/commands/ListConfigurationsCommand.ts +0 -94
  221. package/commands/ListKafkaVersionsCommand.ts +0 -94
  222. package/commands/ListNodesCommand.ts +0 -94
  223. package/commands/ListScramSecretsCommand.ts +0 -94
  224. package/commands/ListTagsForResourceCommand.ts +0 -94
  225. package/commands/RebootBrokerCommand.ts +0 -94
  226. package/commands/TagResourceCommand.ts +0 -94
  227. package/commands/UntagResourceCommand.ts +0 -94
  228. package/commands/UpdateBrokerCountCommand.ts +0 -94
  229. package/commands/UpdateBrokerStorageCommand.ts +0 -94
  230. package/commands/UpdateBrokerTypeCommand.ts +0 -94
  231. package/commands/UpdateClusterConfigurationCommand.ts +0 -97
  232. package/commands/UpdateClusterKafkaVersionCommand.ts +0 -97
  233. package/commands/UpdateConfigurationCommand.ts +0 -94
  234. package/commands/UpdateMonitoringCommand.ts +0 -94
  235. package/commands/UpdateSecurityCommand.ts +0 -94
  236. package/dist/cjs/Kafka.js.map +0 -1
  237. package/dist/cjs/KafkaClient.js.map +0 -1
  238. package/dist/cjs/commands/BatchAssociateScramSecretCommand.js.map +0 -1
  239. package/dist/cjs/commands/BatchDisassociateScramSecretCommand.js.map +0 -1
  240. package/dist/cjs/commands/CreateClusterCommand.js.map +0 -1
  241. package/dist/cjs/commands/CreateConfigurationCommand.js.map +0 -1
  242. package/dist/cjs/commands/DeleteClusterCommand.js.map +0 -1
  243. package/dist/cjs/commands/DeleteConfigurationCommand.js.map +0 -1
  244. package/dist/cjs/commands/DescribeClusterCommand.js.map +0 -1
  245. package/dist/cjs/commands/DescribeClusterOperationCommand.js.map +0 -1
  246. package/dist/cjs/commands/DescribeConfigurationCommand.js.map +0 -1
  247. package/dist/cjs/commands/DescribeConfigurationRevisionCommand.js.map +0 -1
  248. package/dist/cjs/commands/GetBootstrapBrokersCommand.js.map +0 -1
  249. package/dist/cjs/commands/GetCompatibleKafkaVersionsCommand.js.map +0 -1
  250. package/dist/cjs/commands/ListClusterOperationsCommand.js.map +0 -1
  251. package/dist/cjs/commands/ListClustersCommand.js.map +0 -1
  252. package/dist/cjs/commands/ListConfigurationRevisionsCommand.js.map +0 -1
  253. package/dist/cjs/commands/ListConfigurationsCommand.js.map +0 -1
  254. package/dist/cjs/commands/ListKafkaVersionsCommand.js.map +0 -1
  255. package/dist/cjs/commands/ListNodesCommand.js.map +0 -1
  256. package/dist/cjs/commands/ListScramSecretsCommand.js.map +0 -1
  257. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  258. package/dist/cjs/commands/RebootBrokerCommand.js.map +0 -1
  259. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  260. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  261. package/dist/cjs/commands/UpdateBrokerCountCommand.js.map +0 -1
  262. package/dist/cjs/commands/UpdateBrokerStorageCommand.js.map +0 -1
  263. package/dist/cjs/commands/UpdateBrokerTypeCommand.js.map +0 -1
  264. package/dist/cjs/commands/UpdateClusterConfigurationCommand.js.map +0 -1
  265. package/dist/cjs/commands/UpdateClusterKafkaVersionCommand.js.map +0 -1
  266. package/dist/cjs/commands/UpdateConfigurationCommand.js.map +0 -1
  267. package/dist/cjs/commands/UpdateMonitoringCommand.js.map +0 -1
  268. package/dist/cjs/commands/UpdateSecurityCommand.js.map +0 -1
  269. package/dist/cjs/endpoints.js.map +0 -1
  270. package/dist/cjs/index.js.map +0 -1
  271. package/dist/cjs/models/index.js.map +0 -1
  272. package/dist/cjs/models/models_0.js.map +0 -1
  273. package/dist/cjs/package.json +0 -91
  274. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  275. package/dist/cjs/pagination/ListClusterOperationsPaginator.js.map +0 -1
  276. package/dist/cjs/pagination/ListClustersPaginator.js.map +0 -1
  277. package/dist/cjs/pagination/ListConfigurationRevisionsPaginator.js.map +0 -1
  278. package/dist/cjs/pagination/ListConfigurationsPaginator.js.map +0 -1
  279. package/dist/cjs/pagination/ListKafkaVersionsPaginator.js.map +0 -1
  280. package/dist/cjs/pagination/ListNodesPaginator.js.map +0 -1
  281. package/dist/cjs/pagination/ListScramSecretsPaginator.js.map +0 -1
  282. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  283. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  284. package/dist/cjs/runtimeConfig.js.map +0 -1
  285. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  286. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  287. package/dist/es/Kafka.js.map +0 -1
  288. package/dist/es/KafkaClient.js.map +0 -1
  289. package/dist/es/commands/BatchAssociateScramSecretCommand.js.map +0 -1
  290. package/dist/es/commands/BatchDisassociateScramSecretCommand.js.map +0 -1
  291. package/dist/es/commands/CreateClusterCommand.js.map +0 -1
  292. package/dist/es/commands/CreateConfigurationCommand.js.map +0 -1
  293. package/dist/es/commands/DeleteClusterCommand.js.map +0 -1
  294. package/dist/es/commands/DeleteConfigurationCommand.js.map +0 -1
  295. package/dist/es/commands/DescribeClusterCommand.js.map +0 -1
  296. package/dist/es/commands/DescribeClusterOperationCommand.js.map +0 -1
  297. package/dist/es/commands/DescribeConfigurationCommand.js.map +0 -1
  298. package/dist/es/commands/DescribeConfigurationRevisionCommand.js.map +0 -1
  299. package/dist/es/commands/GetBootstrapBrokersCommand.js.map +0 -1
  300. package/dist/es/commands/GetCompatibleKafkaVersionsCommand.js.map +0 -1
  301. package/dist/es/commands/ListClusterOperationsCommand.js.map +0 -1
  302. package/dist/es/commands/ListClustersCommand.js.map +0 -1
  303. package/dist/es/commands/ListConfigurationRevisionsCommand.js.map +0 -1
  304. package/dist/es/commands/ListConfigurationsCommand.js.map +0 -1
  305. package/dist/es/commands/ListKafkaVersionsCommand.js.map +0 -1
  306. package/dist/es/commands/ListNodesCommand.js.map +0 -1
  307. package/dist/es/commands/ListScramSecretsCommand.js.map +0 -1
  308. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  309. package/dist/es/commands/RebootBrokerCommand.js.map +0 -1
  310. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  311. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  312. package/dist/es/commands/UpdateBrokerCountCommand.js.map +0 -1
  313. package/dist/es/commands/UpdateBrokerStorageCommand.js.map +0 -1
  314. package/dist/es/commands/UpdateBrokerTypeCommand.js.map +0 -1
  315. package/dist/es/commands/UpdateClusterConfigurationCommand.js.map +0 -1
  316. package/dist/es/commands/UpdateClusterKafkaVersionCommand.js.map +0 -1
  317. package/dist/es/commands/UpdateConfigurationCommand.js.map +0 -1
  318. package/dist/es/commands/UpdateMonitoringCommand.js.map +0 -1
  319. package/dist/es/commands/UpdateSecurityCommand.js.map +0 -1
  320. package/dist/es/endpoints.js.map +0 -1
  321. package/dist/es/index.js +0 -43
  322. package/dist/es/index.js.map +0 -1
  323. package/dist/es/models/index.js +0 -2
  324. package/dist/es/models/index.js.map +0 -1
  325. package/dist/es/models/models_0.js.map +0 -1
  326. package/dist/es/package.json +0 -91
  327. package/dist/es/pagination/Interfaces.js +0 -2
  328. package/dist/es/pagination/Interfaces.js.map +0 -1
  329. package/dist/es/pagination/ListClusterOperationsPaginator.js.map +0 -1
  330. package/dist/es/pagination/ListClustersPaginator.js.map +0 -1
  331. package/dist/es/pagination/ListConfigurationRevisionsPaginator.js.map +0 -1
  332. package/dist/es/pagination/ListConfigurationsPaginator.js.map +0 -1
  333. package/dist/es/pagination/ListKafkaVersionsPaginator.js.map +0 -1
  334. package/dist/es/pagination/ListNodesPaginator.js.map +0 -1
  335. package/dist/es/pagination/ListScramSecretsPaginator.js.map +0 -1
  336. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  337. package/dist/es/runtimeConfig.browser.js.map +0 -1
  338. package/dist/es/runtimeConfig.js.map +0 -1
  339. package/dist/es/runtimeConfig.native.js.map +0 -1
  340. package/dist/es/runtimeConfig.shared.js.map +0 -1
  341. package/dist/types/ts3.4/commands/DeleteClusterCommand.d.ts +0 -35
  342. package/dist/types/ts3.4/commands/DescribeClusterCommand.d.ts +0 -35
  343. package/dist/types/ts3.4/commands/ListClustersCommand.d.ts +0 -35
  344. package/dist/types/ts3.4/commands/ListNodesCommand.d.ts +0 -35
  345. package/dist/types/ts3.4/commands/ListScramSecretsCommand.d.ts +0 -35
  346. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  347. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  348. package/dist/types/ts3.4/commands/UpdateMonitoringCommand.d.ts +0 -35
  349. package/dist/types/ts3.4/commands/UpdateSecurityCommand.d.ts +0 -35
  350. package/dist/types/ts3.4/models/models_0.d.ts +0 -2255
  351. package/endpoints.ts +0 -57
  352. package/jest.config.js +0 -4
  353. package/models/models_0.ts +0 -2872
  354. package/pagination/Interfaces.ts +0 -7
  355. package/pagination/ListClusterOperationsPaginator.ts +0 -58
  356. package/pagination/ListClustersPaginator.ts +0 -58
  357. package/pagination/ListConfigurationRevisionsPaginator.ts +0 -58
  358. package/pagination/ListConfigurationsPaginator.ts +0 -58
  359. package/pagination/ListKafkaVersionsPaginator.ts +0 -58
  360. package/pagination/ListNodesPaginator.ts +0 -54
  361. package/pagination/ListScramSecretsPaginator.ts +0 -58
  362. package/protocols/Aws_restJson1.ts +0 -5257
  363. package/runtimeConfig.browser.ts +0 -40
  364. package/runtimeConfig.native.ts +0 -16
  365. package/runtimeConfig.shared.ts +0 -16
  366. package/runtimeConfig.ts +0 -45
  367. package/tsconfig.es.json +0 -10
  368. package/tsconfig.json +0 -31
  369. package/tsconfig.types.json +0 -8
@@ -1,94 +0,0 @@
1
- import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
2
- import { GetBootstrapBrokersRequest, GetBootstrapBrokersResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetBootstrapBrokersCommand,
5
- serializeAws_restJson1GetBootstrapBrokersCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetBootstrapBrokersCommandInput extends GetBootstrapBrokersRequest {}
21
- export interface GetBootstrapBrokersCommandOutput extends GetBootstrapBrokersResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>A list of brokers that a client application can use to bootstrap.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, GetBootstrapBrokersCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, GetBootstrapBrokersCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new GetBootstrapBrokersCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetBootstrapBrokersCommandInput} for command's `input` shape.
36
- * @see {@link GetBootstrapBrokersCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetBootstrapBrokersCommand extends $Command<
41
- GetBootstrapBrokersCommandInput,
42
- GetBootstrapBrokersCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetBootstrapBrokersCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: KafkaClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetBootstrapBrokersCommandInput, GetBootstrapBrokersCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "KafkaClient";
68
- const commandName = "GetBootstrapBrokersCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetBootstrapBrokersRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetBootstrapBrokersResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: GetBootstrapBrokersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetBootstrapBrokersCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBootstrapBrokersCommandOutput> {
89
- return deserializeAws_restJson1GetBootstrapBrokersCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,97 +0,0 @@
1
- import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
2
- import { GetCompatibleKafkaVersionsRequest, GetCompatibleKafkaVersionsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetCompatibleKafkaVersionsCommand,
5
- serializeAws_restJson1GetCompatibleKafkaVersionsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetCompatibleKafkaVersionsCommandInput extends GetCompatibleKafkaVersionsRequest {}
21
- export interface GetCompatibleKafkaVersionsCommandOutput extends GetCompatibleKafkaVersionsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets the Apache Kafka versions to which you can update the MSK cluster.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, GetCompatibleKafkaVersionsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, GetCompatibleKafkaVersionsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new GetCompatibleKafkaVersionsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetCompatibleKafkaVersionsCommandInput} for command's `input` shape.
36
- * @see {@link GetCompatibleKafkaVersionsCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetCompatibleKafkaVersionsCommand extends $Command<
41
- GetCompatibleKafkaVersionsCommandInput,
42
- GetCompatibleKafkaVersionsCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetCompatibleKafkaVersionsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: KafkaClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetCompatibleKafkaVersionsCommandInput, GetCompatibleKafkaVersionsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "KafkaClient";
68
- const commandName = "GetCompatibleKafkaVersionsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetCompatibleKafkaVersionsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetCompatibleKafkaVersionsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: GetCompatibleKafkaVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetCompatibleKafkaVersionsCommand(input, context);
86
- }
87
-
88
- private deserialize(
89
- output: __HttpResponse,
90
- context: __SerdeContext
91
- ): Promise<GetCompatibleKafkaVersionsCommandOutput> {
92
- return deserializeAws_restJson1GetCompatibleKafkaVersionsCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,94 +0,0 @@
1
- import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
2
- import { ListClusterOperationsRequest, ListClusterOperationsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListClusterOperationsCommand,
5
- serializeAws_restJson1ListClusterOperationsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListClusterOperationsCommandInput extends ListClusterOperationsRequest {}
21
- export interface ListClusterOperationsCommandOutput extends ListClusterOperationsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of all the operations that have been performed on the specified MSK cluster.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, ListClusterOperationsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, ListClusterOperationsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new ListClusterOperationsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListClusterOperationsCommandInput} for command's `input` shape.
36
- * @see {@link ListClusterOperationsCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListClusterOperationsCommand extends $Command<
41
- ListClusterOperationsCommandInput,
42
- ListClusterOperationsCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListClusterOperationsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: KafkaClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListClusterOperationsCommandInput, ListClusterOperationsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "KafkaClient";
68
- const commandName = "ListClusterOperationsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListClusterOperationsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListClusterOperationsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListClusterOperationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListClusterOperationsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListClusterOperationsCommandOutput> {
89
- return deserializeAws_restJson1ListClusterOperationsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
2
- import { ListClustersRequest, ListClustersResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListClustersCommand,
5
- serializeAws_restJson1ListClustersCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListClustersCommandInput extends ListClustersRequest {}
21
- export interface ListClustersCommandOutput extends ListClustersResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of all the MSK clusters in the current Region.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, ListClustersCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, ListClustersCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new ListClustersCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListClustersCommandInput} for command's `input` shape.
36
- * @see {@link ListClustersCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListClustersCommand extends $Command<
41
- ListClustersCommandInput,
42
- ListClustersCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListClustersCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: KafkaClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListClustersCommandInput, ListClustersCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "KafkaClient";
68
- const commandName = "ListClustersCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListClustersRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListClustersResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListClustersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListClustersCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListClustersCommandOutput> {
89
- return deserializeAws_restJson1ListClustersCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,97 +0,0 @@
1
- import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
2
- import { ListConfigurationRevisionsRequest, ListConfigurationRevisionsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListConfigurationRevisionsCommand,
5
- serializeAws_restJson1ListConfigurationRevisionsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListConfigurationRevisionsCommandInput extends ListConfigurationRevisionsRequest {}
21
- export interface ListConfigurationRevisionsCommandOutput extends ListConfigurationRevisionsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of all the MSK configurations in this Region.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, ListConfigurationRevisionsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, ListConfigurationRevisionsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new ListConfigurationRevisionsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListConfigurationRevisionsCommandInput} for command's `input` shape.
36
- * @see {@link ListConfigurationRevisionsCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListConfigurationRevisionsCommand extends $Command<
41
- ListConfigurationRevisionsCommandInput,
42
- ListConfigurationRevisionsCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListConfigurationRevisionsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: KafkaClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListConfigurationRevisionsCommandInput, ListConfigurationRevisionsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "KafkaClient";
68
- const commandName = "ListConfigurationRevisionsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListConfigurationRevisionsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListConfigurationRevisionsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListConfigurationRevisionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListConfigurationRevisionsCommand(input, context);
86
- }
87
-
88
- private deserialize(
89
- output: __HttpResponse,
90
- context: __SerdeContext
91
- ): Promise<ListConfigurationRevisionsCommandOutput> {
92
- return deserializeAws_restJson1ListConfigurationRevisionsCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,94 +0,0 @@
1
- import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
2
- import { ListConfigurationsRequest, ListConfigurationsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListConfigurationsCommand,
5
- serializeAws_restJson1ListConfigurationsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListConfigurationsCommandInput extends ListConfigurationsRequest {}
21
- export interface ListConfigurationsCommandOutput extends ListConfigurationsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of all the MSK configurations in this Region.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, ListConfigurationsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, ListConfigurationsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new ListConfigurationsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListConfigurationsCommandInput} for command's `input` shape.
36
- * @see {@link ListConfigurationsCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListConfigurationsCommand extends $Command<
41
- ListConfigurationsCommandInput,
42
- ListConfigurationsCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListConfigurationsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: KafkaClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListConfigurationsCommandInput, ListConfigurationsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "KafkaClient";
68
- const commandName = "ListConfigurationsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListConfigurationsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListConfigurationsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListConfigurationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListConfigurationsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListConfigurationsCommandOutput> {
89
- return deserializeAws_restJson1ListConfigurationsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
2
- import { ListKafkaVersionsRequest, ListKafkaVersionsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListKafkaVersionsCommand,
5
- serializeAws_restJson1ListKafkaVersionsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListKafkaVersionsCommandInput extends ListKafkaVersionsRequest {}
21
- export interface ListKafkaVersionsCommandOutput extends ListKafkaVersionsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of Kafka versions.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, ListKafkaVersionsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, ListKafkaVersionsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new ListKafkaVersionsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListKafkaVersionsCommandInput} for command's `input` shape.
36
- * @see {@link ListKafkaVersionsCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListKafkaVersionsCommand extends $Command<
41
- ListKafkaVersionsCommandInput,
42
- ListKafkaVersionsCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListKafkaVersionsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: KafkaClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListKafkaVersionsCommandInput, ListKafkaVersionsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "KafkaClient";
68
- const commandName = "ListKafkaVersionsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListKafkaVersionsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListKafkaVersionsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListKafkaVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListKafkaVersionsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListKafkaVersionsCommandOutput> {
89
- return deserializeAws_restJson1ListKafkaVersionsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }