@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
package/KafkaClient.ts DELETED
@@ -1,376 +0,0 @@
1
- import {
2
- BatchAssociateScramSecretCommandInput,
3
- BatchAssociateScramSecretCommandOutput,
4
- } from "./commands/BatchAssociateScramSecretCommand";
5
- import {
6
- BatchDisassociateScramSecretCommandInput,
7
- BatchDisassociateScramSecretCommandOutput,
8
- } from "./commands/BatchDisassociateScramSecretCommand";
9
- import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
10
- import {
11
- CreateConfigurationCommandInput,
12
- CreateConfigurationCommandOutput,
13
- } from "./commands/CreateConfigurationCommand";
14
- import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
15
- import {
16
- DeleteConfigurationCommandInput,
17
- DeleteConfigurationCommandOutput,
18
- } from "./commands/DeleteConfigurationCommand";
19
- import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
20
- import {
21
- DescribeClusterOperationCommandInput,
22
- DescribeClusterOperationCommandOutput,
23
- } from "./commands/DescribeClusterOperationCommand";
24
- import {
25
- DescribeConfigurationCommandInput,
26
- DescribeConfigurationCommandOutput,
27
- } from "./commands/DescribeConfigurationCommand";
28
- import {
29
- DescribeConfigurationRevisionCommandInput,
30
- DescribeConfigurationRevisionCommandOutput,
31
- } from "./commands/DescribeConfigurationRevisionCommand";
32
- import {
33
- GetBootstrapBrokersCommandInput,
34
- GetBootstrapBrokersCommandOutput,
35
- } from "./commands/GetBootstrapBrokersCommand";
36
- import {
37
- GetCompatibleKafkaVersionsCommandInput,
38
- GetCompatibleKafkaVersionsCommandOutput,
39
- } from "./commands/GetCompatibleKafkaVersionsCommand";
40
- import {
41
- ListClusterOperationsCommandInput,
42
- ListClusterOperationsCommandOutput,
43
- } from "./commands/ListClusterOperationsCommand";
44
- import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
45
- import {
46
- ListConfigurationRevisionsCommandInput,
47
- ListConfigurationRevisionsCommandOutput,
48
- } from "./commands/ListConfigurationRevisionsCommand";
49
- import { ListConfigurationsCommandInput, ListConfigurationsCommandOutput } from "./commands/ListConfigurationsCommand";
50
- import { ListKafkaVersionsCommandInput, ListKafkaVersionsCommandOutput } from "./commands/ListKafkaVersionsCommand";
51
- import { ListNodesCommandInput, ListNodesCommandOutput } from "./commands/ListNodesCommand";
52
- import { ListScramSecretsCommandInput, ListScramSecretsCommandOutput } from "./commands/ListScramSecretsCommand";
53
- import {
54
- ListTagsForResourceCommandInput,
55
- ListTagsForResourceCommandOutput,
56
- } from "./commands/ListTagsForResourceCommand";
57
- import { RebootBrokerCommandInput, RebootBrokerCommandOutput } from "./commands/RebootBrokerCommand";
58
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
59
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
60
- import { UpdateBrokerCountCommandInput, UpdateBrokerCountCommandOutput } from "./commands/UpdateBrokerCountCommand";
61
- import {
62
- UpdateBrokerStorageCommandInput,
63
- UpdateBrokerStorageCommandOutput,
64
- } from "./commands/UpdateBrokerStorageCommand";
65
- import { UpdateBrokerTypeCommandInput, UpdateBrokerTypeCommandOutput } from "./commands/UpdateBrokerTypeCommand";
66
- import {
67
- UpdateClusterConfigurationCommandInput,
68
- UpdateClusterConfigurationCommandOutput,
69
- } from "./commands/UpdateClusterConfigurationCommand";
70
- import {
71
- UpdateClusterKafkaVersionCommandInput,
72
- UpdateClusterKafkaVersionCommandOutput,
73
- } from "./commands/UpdateClusterKafkaVersionCommand";
74
- import {
75
- UpdateConfigurationCommandInput,
76
- UpdateConfigurationCommandOutput,
77
- } from "./commands/UpdateConfigurationCommand";
78
- import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
79
- import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "./commands/UpdateSecurityCommand";
80
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
81
- import {
82
- EndpointsInputConfig,
83
- EndpointsResolvedConfig,
84
- RegionInputConfig,
85
- RegionResolvedConfig,
86
- resolveEndpointsConfig,
87
- resolveRegionConfig,
88
- } from "@aws-sdk/config-resolver";
89
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
90
- import {
91
- HostHeaderInputConfig,
92
- HostHeaderResolvedConfig,
93
- getHostHeaderPlugin,
94
- resolveHostHeaderConfig,
95
- } from "@aws-sdk/middleware-host-header";
96
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
97
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
98
- import {
99
- AwsAuthInputConfig,
100
- AwsAuthResolvedConfig,
101
- getAwsAuthPlugin,
102
- resolveAwsAuthConfig,
103
- } from "@aws-sdk/middleware-signing";
104
- import {
105
- UserAgentInputConfig,
106
- UserAgentResolvedConfig,
107
- getUserAgentPlugin,
108
- resolveUserAgentConfig,
109
- } from "@aws-sdk/middleware-user-agent";
110
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
111
- import {
112
- Client as __Client,
113
- SmithyConfiguration as __SmithyConfiguration,
114
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
115
- } from "@aws-sdk/smithy-client";
116
- import {
117
- Provider,
118
- RegionInfoProvider,
119
- Credentials as __Credentials,
120
- Decoder as __Decoder,
121
- Encoder as __Encoder,
122
- Hash as __Hash,
123
- HashConstructor as __HashConstructor,
124
- HttpHandlerOptions as __HttpHandlerOptions,
125
- Logger as __Logger,
126
- Provider as __Provider,
127
- StreamCollector as __StreamCollector,
128
- UrlParser as __UrlParser,
129
- UserAgent as __UserAgent,
130
- } from "@aws-sdk/types";
131
-
132
- export type ServiceInputTypes =
133
- | BatchAssociateScramSecretCommandInput
134
- | BatchDisassociateScramSecretCommandInput
135
- | CreateClusterCommandInput
136
- | CreateConfigurationCommandInput
137
- | DeleteClusterCommandInput
138
- | DeleteConfigurationCommandInput
139
- | DescribeClusterCommandInput
140
- | DescribeClusterOperationCommandInput
141
- | DescribeConfigurationCommandInput
142
- | DescribeConfigurationRevisionCommandInput
143
- | GetBootstrapBrokersCommandInput
144
- | GetCompatibleKafkaVersionsCommandInput
145
- | ListClusterOperationsCommandInput
146
- | ListClustersCommandInput
147
- | ListConfigurationRevisionsCommandInput
148
- | ListConfigurationsCommandInput
149
- | ListKafkaVersionsCommandInput
150
- | ListNodesCommandInput
151
- | ListScramSecretsCommandInput
152
- | ListTagsForResourceCommandInput
153
- | RebootBrokerCommandInput
154
- | TagResourceCommandInput
155
- | UntagResourceCommandInput
156
- | UpdateBrokerCountCommandInput
157
- | UpdateBrokerStorageCommandInput
158
- | UpdateBrokerTypeCommandInput
159
- | UpdateClusterConfigurationCommandInput
160
- | UpdateClusterKafkaVersionCommandInput
161
- | UpdateConfigurationCommandInput
162
- | UpdateMonitoringCommandInput
163
- | UpdateSecurityCommandInput;
164
-
165
- export type ServiceOutputTypes =
166
- | BatchAssociateScramSecretCommandOutput
167
- | BatchDisassociateScramSecretCommandOutput
168
- | CreateClusterCommandOutput
169
- | CreateConfigurationCommandOutput
170
- | DeleteClusterCommandOutput
171
- | DeleteConfigurationCommandOutput
172
- | DescribeClusterCommandOutput
173
- | DescribeClusterOperationCommandOutput
174
- | DescribeConfigurationCommandOutput
175
- | DescribeConfigurationRevisionCommandOutput
176
- | GetBootstrapBrokersCommandOutput
177
- | GetCompatibleKafkaVersionsCommandOutput
178
- | ListClusterOperationsCommandOutput
179
- | ListClustersCommandOutput
180
- | ListConfigurationRevisionsCommandOutput
181
- | ListConfigurationsCommandOutput
182
- | ListKafkaVersionsCommandOutput
183
- | ListNodesCommandOutput
184
- | ListScramSecretsCommandOutput
185
- | ListTagsForResourceCommandOutput
186
- | RebootBrokerCommandOutput
187
- | TagResourceCommandOutput
188
- | UntagResourceCommandOutput
189
- | UpdateBrokerCountCommandOutput
190
- | UpdateBrokerStorageCommandOutput
191
- | UpdateBrokerTypeCommandOutput
192
- | UpdateClusterConfigurationCommandOutput
193
- | UpdateClusterKafkaVersionCommandOutput
194
- | UpdateConfigurationCommandOutput
195
- | UpdateMonitoringCommandOutput
196
- | UpdateSecurityCommandOutput;
197
-
198
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
199
- /**
200
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
201
- */
202
- requestHandler?: __HttpHandler;
203
-
204
- /**
205
- * A constructor for a class implementing the {@link __Hash} interface
206
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
207
- * @internal
208
- */
209
- sha256?: __HashConstructor;
210
-
211
- /**
212
- * The function that will be used to convert strings into HTTP endpoints.
213
- * @internal
214
- */
215
- urlParser?: __UrlParser;
216
-
217
- /**
218
- * A function that can calculate the length of a request body.
219
- * @internal
220
- */
221
- bodyLengthChecker?: (body: any) => number | undefined;
222
-
223
- /**
224
- * A function that converts a stream into an array of bytes.
225
- * @internal
226
- */
227
- streamCollector?: __StreamCollector;
228
-
229
- /**
230
- * The function that will be used to convert a base64-encoded string to a byte array.
231
- * @internal
232
- */
233
- base64Decoder?: __Decoder;
234
-
235
- /**
236
- * The function that will be used to convert binary data to a base64-encoded string.
237
- * @internal
238
- */
239
- base64Encoder?: __Encoder;
240
-
241
- /**
242
- * The function that will be used to convert a UTF8-encoded string to a byte array.
243
- * @internal
244
- */
245
- utf8Decoder?: __Decoder;
246
-
247
- /**
248
- * The function that will be used to convert binary data to a UTF-8 encoded string.
249
- * @internal
250
- */
251
- utf8Encoder?: __Encoder;
252
-
253
- /**
254
- * The runtime environment.
255
- * @internal
256
- */
257
- runtime?: string;
258
-
259
- /**
260
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
261
- * trait of an operation.
262
- */
263
- disableHostPrefix?: boolean;
264
-
265
- /**
266
- * Value for how many times a request will be made at most in case of retry.
267
- */
268
- maxAttempts?: number | __Provider<number>;
269
-
270
- /**
271
- * Specifies which retry algorithm to use.
272
- */
273
- retryMode?: string | __Provider<string>;
274
-
275
- /**
276
- * Optional logger for logging debug/info/warn/error.
277
- */
278
- logger?: __Logger;
279
-
280
- /**
281
- * Unique service identifier.
282
- * @internal
283
- */
284
- serviceId?: string;
285
-
286
- /**
287
- * The AWS region to which this client will send requests
288
- */
289
- region?: string | __Provider<string>;
290
-
291
- /**
292
- * Default credentials provider; Not available in browser runtime.
293
- * @internal
294
- */
295
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
296
-
297
- /**
298
- * Fetch related hostname, signing name or signing region with given region.
299
- * @internal
300
- */
301
- regionInfoProvider?: RegionInfoProvider;
302
-
303
- /**
304
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
305
- * @internal
306
- */
307
- defaultUserAgentProvider?: Provider<__UserAgent>;
308
- }
309
-
310
- type KafkaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
311
- ClientDefaults &
312
- RegionInputConfig &
313
- EndpointsInputConfig &
314
- RetryInputConfig &
315
- HostHeaderInputConfig &
316
- AwsAuthInputConfig &
317
- UserAgentInputConfig;
318
- /**
319
- * The configuration interface of KafkaClient class constructor that set the region, credentials and other options.
320
- */
321
- export interface KafkaClientConfig extends KafkaClientConfigType {}
322
-
323
- type KafkaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
324
- Required<ClientDefaults> &
325
- RegionResolvedConfig &
326
- EndpointsResolvedConfig &
327
- RetryResolvedConfig &
328
- HostHeaderResolvedConfig &
329
- AwsAuthResolvedConfig &
330
- UserAgentResolvedConfig;
331
- /**
332
- * The resolved configuration interface of KafkaClient class. This is resolved and normalized from the {@link KafkaClientConfig | constructor configuration interface}.
333
- */
334
- export interface KafkaClientResolvedConfig extends KafkaClientResolvedConfigType {}
335
-
336
- /**
337
- * <p>The operations for managing an Amazon MSK cluster.</p>
338
- */
339
- export class KafkaClient extends __Client<
340
- __HttpHandlerOptions,
341
- ServiceInputTypes,
342
- ServiceOutputTypes,
343
- KafkaClientResolvedConfig
344
- > {
345
- /**
346
- * The resolved configuration of KafkaClient class. This is resolved and normalized from the {@link KafkaClientConfig | constructor configuration interface}.
347
- */
348
- readonly config: KafkaClientResolvedConfig;
349
-
350
- constructor(configuration: KafkaClientConfig) {
351
- let _config_0 = __getRuntimeConfig(configuration);
352
- let _config_1 = resolveRegionConfig(_config_0);
353
- let _config_2 = resolveEndpointsConfig(_config_1);
354
- let _config_3 = resolveRetryConfig(_config_2);
355
- let _config_4 = resolveHostHeaderConfig(_config_3);
356
- let _config_5 = resolveAwsAuthConfig(_config_4);
357
- let _config_6 = resolveUserAgentConfig(_config_5);
358
- super(_config_6);
359
- this.config = _config_6;
360
- this.middlewareStack.use(getRetryPlugin(this.config));
361
- this.middlewareStack.use(getContentLengthPlugin(this.config));
362
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
363
- this.middlewareStack.use(getLoggerPlugin(this.config));
364
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
365
- this.middlewareStack.use(getUserAgentPlugin(this.config));
366
- }
367
-
368
- /**
369
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
370
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
371
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
372
- */
373
- destroy(): void {
374
- super.destroy();
375
- }
376
- }
@@ -1,97 +0,0 @@
1
- import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
2
- import { BatchAssociateScramSecretRequest, BatchAssociateScramSecretResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1BatchAssociateScramSecretCommand,
5
- serializeAws_restJson1BatchAssociateScramSecretCommand,
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 BatchAssociateScramSecretCommandInput extends BatchAssociateScramSecretRequest {}
21
- export interface BatchAssociateScramSecretCommandOutput extends BatchAssociateScramSecretResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Associates one or more Scram Secrets 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, BatchAssociateScramSecretCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, BatchAssociateScramSecretCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new BatchAssociateScramSecretCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link BatchAssociateScramSecretCommandInput} for command's `input` shape.
36
- * @see {@link BatchAssociateScramSecretCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class BatchAssociateScramSecretCommand extends $Command<
41
- BatchAssociateScramSecretCommandInput,
42
- BatchAssociateScramSecretCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: BatchAssociateScramSecretCommandInput) {
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<BatchAssociateScramSecretCommandInput, BatchAssociateScramSecretCommandOutput> {
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 = "BatchAssociateScramSecretCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: BatchAssociateScramSecretRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: BatchAssociateScramSecretResponse.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: BatchAssociateScramSecretCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1BatchAssociateScramSecretCommand(input, context);
86
- }
87
-
88
- private deserialize(
89
- output: __HttpResponse,
90
- context: __SerdeContext
91
- ): Promise<BatchAssociateScramSecretCommandOutput> {
92
- return deserializeAws_restJson1BatchAssociateScramSecretCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,99 +0,0 @@
1
- import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
2
- import { BatchDisassociateScramSecretRequest, BatchDisassociateScramSecretResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1BatchDisassociateScramSecretCommand,
5
- serializeAws_restJson1BatchDisassociateScramSecretCommand,
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 BatchDisassociateScramSecretCommandInput extends BatchDisassociateScramSecretRequest {}
21
- export interface BatchDisassociateScramSecretCommandOutput
22
- extends BatchDisassociateScramSecretResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Disassociates one or more Scram Secrets from an Amazon MSK cluster.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { KafkaClient, BatchDisassociateScramSecretCommand } from "@aws-sdk/client-kafka"; // ES Modules import
31
- * // const { KafkaClient, BatchDisassociateScramSecretCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
32
- * const client = new KafkaClient(config);
33
- * const command = new BatchDisassociateScramSecretCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link BatchDisassociateScramSecretCommandInput} for command's `input` shape.
38
- * @see {@link BatchDisassociateScramSecretCommandOutput} for command's `response` shape.
39
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class BatchDisassociateScramSecretCommand extends $Command<
43
- BatchDisassociateScramSecretCommandInput,
44
- BatchDisassociateScramSecretCommandOutput,
45
- KafkaClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: BatchDisassociateScramSecretCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: KafkaClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "KafkaClient";
70
- const commandName = "BatchDisassociateScramSecretCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: BatchDisassociateScramSecretRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: BatchDisassociateScramSecretResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: BatchDisassociateScramSecretCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1BatchDisassociateScramSecretCommand(input, context);
88
- }
89
-
90
- private deserialize(
91
- output: __HttpResponse,
92
- context: __SerdeContext
93
- ): Promise<BatchDisassociateScramSecretCommandOutput> {
94
- return deserializeAws_restJson1BatchDisassociateScramSecretCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,94 +0,0 @@
1
- import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
2
- import { CreateClusterRequest, CreateClusterResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateClusterCommand,
5
- serializeAws_restJson1CreateClusterCommand,
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 CreateClusterCommandInput extends CreateClusterRequest {}
21
- export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a new 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, CreateClusterCommand } from "@aws-sdk/client-kafka"; // ES Modules import
29
- * // const { KafkaClient, CreateClusterCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
30
- * const client = new KafkaClient(config);
31
- * const command = new CreateClusterCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateClusterCommandInput} for command's `input` shape.
36
- * @see {@link CreateClusterCommandOutput} for command's `response` shape.
37
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CreateClusterCommand extends $Command<
41
- CreateClusterCommandInput,
42
- CreateClusterCommandOutput,
43
- KafkaClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CreateClusterCommandInput) {
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<CreateClusterCommandInput, CreateClusterCommandOutput> {
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 = "CreateClusterCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CreateClusterRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CreateClusterResponse.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: CreateClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1CreateClusterCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateClusterCommandOutput> {
89
- return deserializeAws_restJson1CreateClusterCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }