@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 { ListNodesRequest, ListNodesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListNodesCommand,
5
- serializeAws_restJson1ListNodesCommand,
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 ListNodesCommandInput extends ListNodesRequest {}
21
- export interface ListNodesCommandOutput extends ListNodesResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of the broker nodes in the 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, ListNodesCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, ListNodesCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new ListNodesCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListNodesCommandInput} for command's `input` shape.
36
- * @see {@link ListNodesCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListNodesCommand extends $Command<
41
- ListNodesCommandInput,
42
- ListNodesCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListNodesCommandInput) {
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<ListNodesCommandInput, ListNodesCommandOutput> {
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 = "ListNodesCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListNodesRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListNodesResponse.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: ListNodesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListNodesCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListNodesCommandOutput> {
89
- return deserializeAws_restJson1ListNodesCommand(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 { ListScramSecretsRequest, ListScramSecretsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListScramSecretsCommand,
5
- serializeAws_restJson1ListScramSecretsCommand,
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 ListScramSecretsCommandInput extends ListScramSecretsRequest {}
21
- export interface ListScramSecretsCommandOutput extends ListScramSecretsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of the Scram Secrets associated with an Amazon 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, ListScramSecretsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, ListScramSecretsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new ListScramSecretsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListScramSecretsCommandInput} for command's `input` shape.
36
- * @see {@link ListScramSecretsCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListScramSecretsCommand extends $Command<
41
- ListScramSecretsCommandInput,
42
- ListScramSecretsCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListScramSecretsCommandInput) {
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<ListScramSecretsCommandInput, ListScramSecretsCommandOutput> {
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 = "ListScramSecretsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListScramSecretsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListScramSecretsResponse.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: ListScramSecretsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListScramSecretsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListScramSecretsCommandOutput> {
89
- return deserializeAws_restJson1ListScramSecretsCommand(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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListTagsForResourceCommand,
5
- serializeAws_restJson1ListTagsForResourceCommand,
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 ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
21
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of the tags associated with the specified resource.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, ListTagsForResourceCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, ListTagsForResourceCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new ListTagsForResourceCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
36
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListTagsForResourceCommand extends $Command<
41
- ListTagsForResourceCommandInput,
42
- ListTagsForResourceCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListTagsForResourceCommandInput) {
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<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
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 = "ListTagsForResourceCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListTagsForResourceResponse.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: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListTagsForResourceCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
89
- return deserializeAws_restJson1ListTagsForResourceCommand(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 { RebootBrokerRequest, RebootBrokerResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1RebootBrokerCommand,
5
- serializeAws_restJson1RebootBrokerCommand,
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 RebootBrokerCommandInput extends RebootBrokerRequest {}
21
- export interface RebootBrokerCommandOutput extends RebootBrokerResponse, __MetadataBearer {}
22
-
23
- /**
24
- * Reboots brokers.
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, RebootBrokerCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, RebootBrokerCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new RebootBrokerCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link RebootBrokerCommandInput} for command's `input` shape.
36
- * @see {@link RebootBrokerCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class RebootBrokerCommand extends $Command<
41
- RebootBrokerCommandInput,
42
- RebootBrokerCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: RebootBrokerCommandInput) {
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<RebootBrokerCommandInput, RebootBrokerCommandOutput> {
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 = "RebootBrokerCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: RebootBrokerRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: RebootBrokerResponse.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: RebootBrokerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1RebootBrokerCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RebootBrokerCommandOutput> {
89
- return deserializeAws_restJson1RebootBrokerCommand(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 { TagResourceRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1TagResourceCommand,
5
- serializeAws_restJson1TagResourceCommand,
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 TagResourceCommandInput extends TagResourceRequest {}
21
- export interface TagResourceCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds tags to the specified MSK resource.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, TagResourceCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, TagResourceCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new TagResourceCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link TagResourceCommandInput} for command's `input` shape.
36
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class TagResourceCommand extends $Command<
41
- TagResourceCommandInput,
42
- TagResourceCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: TagResourceCommandInput) {
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<TagResourceCommandInput, TagResourceCommandOutput> {
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 = "TagResourceCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: (output: any) => output,
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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1TagResourceCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
89
- return deserializeAws_restJson1TagResourceCommand(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 { UntagResourceRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1UntagResourceCommand,
5
- serializeAws_restJson1UntagResourceCommand,
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 UntagResourceCommandInput extends UntagResourceRequest {}
21
- export interface UntagResourceCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Removes the tags associated with the keys that are provided in the query.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { KafkaClient, UntagResourceCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, UntagResourceCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new UntagResourceCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
36
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class UntagResourceCommand extends $Command<
41
- UntagResourceCommandInput,
42
- UntagResourceCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: UntagResourceCommandInput) {
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
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 = "UntagResourceCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: (output: any) => output,
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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1UntagResourceCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
89
- return deserializeAws_restJson1UntagResourceCommand(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 { UpdateBrokerCountRequest, UpdateBrokerCountResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1UpdateBrokerCountCommand,
5
- serializeAws_restJson1UpdateBrokerCountCommand,
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 UpdateBrokerCountCommandInput extends UpdateBrokerCountRequest {}
21
- export interface UpdateBrokerCountCommandOutput extends UpdateBrokerCountResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Updates the number of broker nodes in the 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, UpdateBrokerCountCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, UpdateBrokerCountCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new UpdateBrokerCountCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link UpdateBrokerCountCommandInput} for command's `input` shape.
36
- * @see {@link UpdateBrokerCountCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class UpdateBrokerCountCommand extends $Command<
41
- UpdateBrokerCountCommandInput,
42
- UpdateBrokerCountCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: UpdateBrokerCountCommandInput) {
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<UpdateBrokerCountCommandInput, UpdateBrokerCountCommandOutput> {
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 = "UpdateBrokerCountCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: UpdateBrokerCountRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: UpdateBrokerCountResponse.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: UpdateBrokerCountCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1UpdateBrokerCountCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateBrokerCountCommandOutput> {
89
- return deserializeAws_restJson1UpdateBrokerCountCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }