@aws-sdk/client-kafka 3.1076.0 → 3.1078.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 (197) hide show
  1. package/dist-cjs/index.js +70 -595
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchAssociateScramSecretCommand.js +2 -14
  4. package/dist-es/commands/BatchDisassociateScramSecretCommand.js +2 -14
  5. package/dist-es/commands/CreateClusterCommand.js +2 -14
  6. package/dist-es/commands/CreateClusterV2Command.js +2 -14
  7. package/dist-es/commands/CreateConfigurationCommand.js +2 -14
  8. package/dist-es/commands/CreateReplicatorCommand.js +2 -14
  9. package/dist-es/commands/CreateTopicCommand.js +2 -14
  10. package/dist-es/commands/CreateVpcConnectionCommand.js +2 -14
  11. package/dist-es/commands/DeleteClusterCommand.js +2 -14
  12. package/dist-es/commands/DeleteClusterPolicyCommand.js +2 -14
  13. package/dist-es/commands/DeleteConfigurationCommand.js +2 -14
  14. package/dist-es/commands/DeleteReplicatorCommand.js +2 -14
  15. package/dist-es/commands/DeleteTopicCommand.js +2 -14
  16. package/dist-es/commands/DeleteVpcConnectionCommand.js +2 -14
  17. package/dist-es/commands/DescribeClusterCommand.js +2 -14
  18. package/dist-es/commands/DescribeClusterOperationCommand.js +2 -14
  19. package/dist-es/commands/DescribeClusterOperationV2Command.js +2 -14
  20. package/dist-es/commands/DescribeClusterV2Command.js +2 -14
  21. package/dist-es/commands/DescribeConfigurationCommand.js +2 -14
  22. package/dist-es/commands/DescribeConfigurationRevisionCommand.js +2 -14
  23. package/dist-es/commands/DescribeReplicatorCommand.js +2 -14
  24. package/dist-es/commands/DescribeTopicCommand.js +2 -14
  25. package/dist-es/commands/DescribeTopicPartitionsCommand.js +2 -14
  26. package/dist-es/commands/DescribeVpcConnectionCommand.js +2 -14
  27. package/dist-es/commands/GetBootstrapBrokersCommand.js +2 -14
  28. package/dist-es/commands/GetClusterPolicyCommand.js +2 -14
  29. package/dist-es/commands/GetCompatibleKafkaVersionsCommand.js +2 -14
  30. package/dist-es/commands/ListClientVpcConnectionsCommand.js +2 -14
  31. package/dist-es/commands/ListClusterOperationsCommand.js +2 -14
  32. package/dist-es/commands/ListClusterOperationsV2Command.js +2 -14
  33. package/dist-es/commands/ListClustersCommand.js +2 -14
  34. package/dist-es/commands/ListClustersV2Command.js +2 -14
  35. package/dist-es/commands/ListConfigurationRevisionsCommand.js +2 -14
  36. package/dist-es/commands/ListConfigurationsCommand.js +2 -14
  37. package/dist-es/commands/ListKafkaVersionsCommand.js +2 -14
  38. package/dist-es/commands/ListNodesCommand.js +2 -14
  39. package/dist-es/commands/ListReplicatorsCommand.js +2 -14
  40. package/dist-es/commands/ListScramSecretsCommand.js +2 -14
  41. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  42. package/dist-es/commands/ListTopicsCommand.js +2 -14
  43. package/dist-es/commands/ListVpcConnectionsCommand.js +2 -14
  44. package/dist-es/commands/PutClusterPolicyCommand.js +2 -14
  45. package/dist-es/commands/RebootBrokerCommand.js +2 -14
  46. package/dist-es/commands/RejectClientVpcConnectionCommand.js +2 -14
  47. package/dist-es/commands/TagResourceCommand.js +2 -14
  48. package/dist-es/commands/UntagResourceCommand.js +2 -14
  49. package/dist-es/commands/UpdateBrokerCountCommand.js +2 -14
  50. package/dist-es/commands/UpdateBrokerStorageCommand.js +2 -14
  51. package/dist-es/commands/UpdateBrokerTypeCommand.js +2 -14
  52. package/dist-es/commands/UpdateClusterConfigurationCommand.js +2 -14
  53. package/dist-es/commands/UpdateClusterKafkaVersionCommand.js +2 -14
  54. package/dist-es/commands/UpdateConfigurationCommand.js +2 -14
  55. package/dist-es/commands/UpdateConnectivityCommand.js +2 -14
  56. package/dist-es/commands/UpdateMonitoringCommand.js +2 -14
  57. package/dist-es/commands/UpdateRebalancingCommand.js +2 -14
  58. package/dist-es/commands/UpdateReplicationInfoCommand.js +2 -14
  59. package/dist-es/commands/UpdateSecurityCommand.js +2 -14
  60. package/dist-es/commands/UpdateStorageCommand.js +2 -14
  61. package/dist-es/commands/UpdateTopicCommand.js +2 -14
  62. package/dist-es/index.js +1 -0
  63. package/dist-es/runtimeConfig.browser.js +0 -2
  64. package/dist-es/runtimeConfig.js +1 -2
  65. package/dist-es/runtimeConfig.native.js +0 -2
  66. package/dist-es/runtimeConfig.shared.js +2 -0
  67. package/dist-types/commandBuilder.d.ts +18 -0
  68. package/dist-types/commands/BatchAssociateScramSecretCommand.d.ts +3 -8
  69. package/dist-types/commands/BatchDisassociateScramSecretCommand.d.ts +3 -8
  70. package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
  71. package/dist-types/commands/CreateClusterV2Command.d.ts +3 -8
  72. package/dist-types/commands/CreateConfigurationCommand.d.ts +3 -8
  73. package/dist-types/commands/CreateReplicatorCommand.d.ts +3 -8
  74. package/dist-types/commands/CreateTopicCommand.d.ts +3 -8
  75. package/dist-types/commands/CreateVpcConnectionCommand.d.ts +3 -8
  76. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -8
  77. package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +3 -8
  78. package/dist-types/commands/DeleteConfigurationCommand.d.ts +3 -8
  79. package/dist-types/commands/DeleteReplicatorCommand.d.ts +3 -8
  80. package/dist-types/commands/DeleteTopicCommand.d.ts +3 -8
  81. package/dist-types/commands/DeleteVpcConnectionCommand.d.ts +3 -8
  82. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -8
  83. package/dist-types/commands/DescribeClusterOperationCommand.d.ts +3 -8
  84. package/dist-types/commands/DescribeClusterOperationV2Command.d.ts +3 -8
  85. package/dist-types/commands/DescribeClusterV2Command.d.ts +3 -8
  86. package/dist-types/commands/DescribeConfigurationCommand.d.ts +3 -8
  87. package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +3 -8
  88. package/dist-types/commands/DescribeReplicatorCommand.d.ts +3 -8
  89. package/dist-types/commands/DescribeTopicCommand.d.ts +3 -8
  90. package/dist-types/commands/DescribeTopicPartitionsCommand.d.ts +3 -8
  91. package/dist-types/commands/DescribeVpcConnectionCommand.d.ts +3 -8
  92. package/dist-types/commands/GetBootstrapBrokersCommand.d.ts +3 -8
  93. package/dist-types/commands/GetClusterPolicyCommand.d.ts +3 -8
  94. package/dist-types/commands/GetCompatibleKafkaVersionsCommand.d.ts +3 -8
  95. package/dist-types/commands/ListClientVpcConnectionsCommand.d.ts +3 -8
  96. package/dist-types/commands/ListClusterOperationsCommand.d.ts +3 -8
  97. package/dist-types/commands/ListClusterOperationsV2Command.d.ts +3 -8
  98. package/dist-types/commands/ListClustersCommand.d.ts +3 -8
  99. package/dist-types/commands/ListClustersV2Command.d.ts +3 -8
  100. package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +3 -8
  101. package/dist-types/commands/ListConfigurationsCommand.d.ts +3 -8
  102. package/dist-types/commands/ListKafkaVersionsCommand.d.ts +3 -8
  103. package/dist-types/commands/ListNodesCommand.d.ts +3 -8
  104. package/dist-types/commands/ListReplicatorsCommand.d.ts +3 -8
  105. package/dist-types/commands/ListScramSecretsCommand.d.ts +3 -8
  106. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  107. package/dist-types/commands/ListTopicsCommand.d.ts +3 -8
  108. package/dist-types/commands/ListVpcConnectionsCommand.d.ts +3 -8
  109. package/dist-types/commands/PutClusterPolicyCommand.d.ts +3 -8
  110. package/dist-types/commands/RebootBrokerCommand.d.ts +3 -8
  111. package/dist-types/commands/RejectClientVpcConnectionCommand.d.ts +3 -8
  112. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  113. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  114. package/dist-types/commands/UpdateBrokerCountCommand.d.ts +3 -8
  115. package/dist-types/commands/UpdateBrokerStorageCommand.d.ts +3 -8
  116. package/dist-types/commands/UpdateBrokerTypeCommand.d.ts +3 -8
  117. package/dist-types/commands/UpdateClusterConfigurationCommand.d.ts +3 -8
  118. package/dist-types/commands/UpdateClusterKafkaVersionCommand.d.ts +3 -8
  119. package/dist-types/commands/UpdateConfigurationCommand.d.ts +3 -8
  120. package/dist-types/commands/UpdateConnectivityCommand.d.ts +3 -8
  121. package/dist-types/commands/UpdateMonitoringCommand.d.ts +3 -8
  122. package/dist-types/commands/UpdateRebalancingCommand.d.ts +3 -8
  123. package/dist-types/commands/UpdateReplicationInfoCommand.d.ts +3 -8
  124. package/dist-types/commands/UpdateSecurityCommand.d.ts +3 -8
  125. package/dist-types/commands/UpdateStorageCommand.d.ts +3 -8
  126. package/dist-types/commands/UpdateTopicCommand.d.ts +3 -8
  127. package/dist-types/index.d.ts +1 -0
  128. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  129. package/dist-types/runtimeConfig.d.ts +1 -1
  130. package/dist-types/runtimeConfig.native.d.ts +1 -1
  131. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  132. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  133. package/dist-types/ts3.4/commands/BatchAssociateScramSecretCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/BatchDisassociateScramSecretCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/CreateClusterV2Command.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/CreateConfigurationCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/CreateReplicatorCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/CreateVpcConnectionCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/DeleteConfigurationCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/DeleteReplicatorCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/DeleteVpcConnectionCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/DescribeClusterOperationV2Command.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/DescribeClusterV2Command.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/DescribeConfigurationCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/DescribeConfigurationRevisionCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/DescribeReplicatorCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/DescribeTopicCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/DescribeTopicPartitionsCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/DescribeVpcConnectionCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/GetBootstrapBrokersCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/GetCompatibleKafkaVersionsCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/ListClientVpcConnectionsCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/ListClusterOperationsCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/ListClusterOperationsV2Command.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/ListClustersV2Command.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/ListConfigurationRevisionsCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/ListConfigurationsCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/ListKafkaVersionsCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/ListReplicatorsCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/ListScramSecretsCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/ListVpcConnectionsCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/RebootBrokerCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/RejectClientVpcConnectionCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  179. package/dist-types/ts3.4/commands/UpdateBrokerCountCommand.d.ts +7 -16
  180. package/dist-types/ts3.4/commands/UpdateBrokerStorageCommand.d.ts +7 -16
  181. package/dist-types/ts3.4/commands/UpdateBrokerTypeCommand.d.ts +7 -16
  182. package/dist-types/ts3.4/commands/UpdateClusterConfigurationCommand.d.ts +7 -16
  183. package/dist-types/ts3.4/commands/UpdateClusterKafkaVersionCommand.d.ts +7 -16
  184. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +7 -16
  185. package/dist-types/ts3.4/commands/UpdateConnectivityCommand.d.ts +7 -16
  186. package/dist-types/ts3.4/commands/UpdateMonitoringCommand.d.ts +7 -16
  187. package/dist-types/ts3.4/commands/UpdateRebalancingCommand.d.ts +7 -16
  188. package/dist-types/ts3.4/commands/UpdateReplicationInfoCommand.d.ts +7 -16
  189. package/dist-types/ts3.4/commands/UpdateSecurityCommand.d.ts +7 -16
  190. package/dist-types/ts3.4/commands/UpdateStorageCommand.d.ts +7 -16
  191. package/dist-types/ts3.4/commands/UpdateTopicCommand.d.ts +7 -16
  192. package/dist-types/ts3.4/index.d.ts +1 -0
  193. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  194. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  195. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  196. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  197. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListClustersV2$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListClustersV2Command extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "ListClustersV2", {})
13
- .n("KafkaClient", "ListClustersV2Command")
14
- .sc(ListClustersV2$)
15
- .build() {
3
+ export class ListClustersV2Command extends command(_ep0, _mw0, "ListClustersV2", ListClustersV2$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListConfigurationRevisions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConfigurationRevisionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "ListConfigurationRevisions", {})
13
- .n("KafkaClient", "ListConfigurationRevisionsCommand")
14
- .sc(ListConfigurationRevisions$)
15
- .build() {
3
+ export class ListConfigurationRevisionsCommand extends command(_ep0, _mw0, "ListConfigurationRevisions", ListConfigurationRevisions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListConfigurations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConfigurationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "ListConfigurations", {})
13
- .n("KafkaClient", "ListConfigurationsCommand")
14
- .sc(ListConfigurations$)
15
- .build() {
3
+ export class ListConfigurationsCommand extends command(_ep0, _mw0, "ListConfigurations", ListConfigurations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListKafkaVersions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListKafkaVersionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "ListKafkaVersions", {})
13
- .n("KafkaClient", "ListKafkaVersionsCommand")
14
- .sc(ListKafkaVersions$)
15
- .build() {
3
+ export class ListKafkaVersionsCommand extends command(_ep0, _mw0, "ListKafkaVersions", ListKafkaVersions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListNodes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListNodesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "ListNodes", {})
13
- .n("KafkaClient", "ListNodesCommand")
14
- .sc(ListNodes$)
15
- .build() {
3
+ export class ListNodesCommand extends command(_ep0, _mw0, "ListNodes", ListNodes$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListReplicators$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListReplicatorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "ListReplicators", {})
13
- .n("KafkaClient", "ListReplicatorsCommand")
14
- .sc(ListReplicators$)
15
- .build() {
3
+ export class ListReplicatorsCommand extends command(_ep0, _mw0, "ListReplicators", ListReplicators$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListScramSecrets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListScramSecretsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "ListScramSecrets", {})
13
- .n("KafkaClient", "ListScramSecretsCommand")
14
- .sc(ListScramSecrets$)
15
- .build() {
3
+ export class ListScramSecretsCommand extends command(_ep0, _mw0, "ListScramSecrets", ListScramSecrets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "ListTagsForResource", {})
13
- .n("KafkaClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTopics$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTopicsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "ListTopics", {})
13
- .n("KafkaClient", "ListTopicsCommand")
14
- .sc(ListTopics$)
15
- .build() {
3
+ export class ListTopicsCommand extends command(_ep0, _mw0, "ListTopics", ListTopics$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListVpcConnections$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListVpcConnectionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "ListVpcConnections", {})
13
- .n("KafkaClient", "ListVpcConnectionsCommand")
14
- .sc(ListVpcConnections$)
15
- .build() {
3
+ export class ListVpcConnectionsCommand extends command(_ep0, _mw0, "ListVpcConnections", ListVpcConnections$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutClusterPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutClusterPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "PutClusterPolicy", {})
13
- .n("KafkaClient", "PutClusterPolicyCommand")
14
- .sc(PutClusterPolicy$)
15
- .build() {
3
+ export class PutClusterPolicyCommand extends command(_ep0, _mw0, "PutClusterPolicy", PutClusterPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RebootBroker$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RebootBrokerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "RebootBroker", {})
13
- .n("KafkaClient", "RebootBrokerCommand")
14
- .sc(RebootBroker$)
15
- .build() {
3
+ export class RebootBrokerCommand extends command(_ep0, _mw0, "RebootBroker", RebootBroker$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RejectClientVpcConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RejectClientVpcConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "RejectClientVpcConnection", {})
13
- .n("KafkaClient", "RejectClientVpcConnectionCommand")
14
- .sc(RejectClientVpcConnection$)
15
- .build() {
3
+ export class RejectClientVpcConnectionCommand extends command(_ep0, _mw0, "RejectClientVpcConnection", RejectClientVpcConnection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "TagResource", {})
13
- .n("KafkaClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UntagResource", {})
13
- .n("KafkaClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateBrokerCount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateBrokerCountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateBrokerCount", {})
13
- .n("KafkaClient", "UpdateBrokerCountCommand")
14
- .sc(UpdateBrokerCount$)
15
- .build() {
3
+ export class UpdateBrokerCountCommand extends command(_ep0, _mw0, "UpdateBrokerCount", UpdateBrokerCount$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateBrokerStorage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateBrokerStorageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateBrokerStorage", {})
13
- .n("KafkaClient", "UpdateBrokerStorageCommand")
14
- .sc(UpdateBrokerStorage$)
15
- .build() {
3
+ export class UpdateBrokerStorageCommand extends command(_ep0, _mw0, "UpdateBrokerStorage", UpdateBrokerStorage$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateBrokerType$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateBrokerTypeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateBrokerType", {})
13
- .n("KafkaClient", "UpdateBrokerTypeCommand")
14
- .sc(UpdateBrokerType$)
15
- .build() {
3
+ export class UpdateBrokerTypeCommand extends command(_ep0, _mw0, "UpdateBrokerType", UpdateBrokerType$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateClusterConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateClusterConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateClusterConfiguration", {})
13
- .n("KafkaClient", "UpdateClusterConfigurationCommand")
14
- .sc(UpdateClusterConfiguration$)
15
- .build() {
3
+ export class UpdateClusterConfigurationCommand extends command(_ep0, _mw0, "UpdateClusterConfiguration", UpdateClusterConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateClusterKafkaVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateClusterKafkaVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateClusterKafkaVersion", {})
13
- .n("KafkaClient", "UpdateClusterKafkaVersionCommand")
14
- .sc(UpdateClusterKafkaVersion$)
15
- .build() {
3
+ export class UpdateClusterKafkaVersionCommand extends command(_ep0, _mw0, "UpdateClusterKafkaVersion", UpdateClusterKafkaVersion$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateConfiguration", {})
13
- .n("KafkaClient", "UpdateConfigurationCommand")
14
- .sc(UpdateConfiguration$)
15
- .build() {
3
+ export class UpdateConfigurationCommand extends command(_ep0, _mw0, "UpdateConfiguration", UpdateConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateConnectivity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateConnectivityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateConnectivity", {})
13
- .n("KafkaClient", "UpdateConnectivityCommand")
14
- .sc(UpdateConnectivity$)
15
- .build() {
3
+ export class UpdateConnectivityCommand extends command(_ep0, _mw0, "UpdateConnectivity", UpdateConnectivity$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateMonitoring$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateMonitoringCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateMonitoring", {})
13
- .n("KafkaClient", "UpdateMonitoringCommand")
14
- .sc(UpdateMonitoring$)
15
- .build() {
3
+ export class UpdateMonitoringCommand extends command(_ep0, _mw0, "UpdateMonitoring", UpdateMonitoring$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateRebalancing$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateRebalancingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateRebalancing", {})
13
- .n("KafkaClient", "UpdateRebalancingCommand")
14
- .sc(UpdateRebalancing$)
15
- .build() {
3
+ export class UpdateRebalancingCommand extends command(_ep0, _mw0, "UpdateRebalancing", UpdateRebalancing$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateReplicationInfo$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateReplicationInfoCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateReplicationInfo", {})
13
- .n("KafkaClient", "UpdateReplicationInfoCommand")
14
- .sc(UpdateReplicationInfo$)
15
- .build() {
3
+ export class UpdateReplicationInfoCommand extends command(_ep0, _mw0, "UpdateReplicationInfo", UpdateReplicationInfo$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateSecurity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSecurityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateSecurity", {})
13
- .n("KafkaClient", "UpdateSecurityCommand")
14
- .sc(UpdateSecurity$)
15
- .build() {
3
+ export class UpdateSecurityCommand extends command(_ep0, _mw0, "UpdateSecurity", UpdateSecurity$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateStorage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateStorageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateStorage", {})
13
- .n("KafkaClient", "UpdateStorageCommand")
14
- .sc(UpdateStorage$)
15
- .build() {
3
+ export class UpdateStorageCommand extends command(_ep0, _mw0, "UpdateStorage", UpdateStorage$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateTopic$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateTopicCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Kafka", "UpdateTopic", {})
13
- .n("KafkaClient", "UpdateTopicCommand")
14
- .sc(UpdateTopic$)
15
- .build() {
3
+ export class UpdateTopicCommand extends command(_ep0, _mw0, "UpdateTopic", UpdateTopic$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./KafkaClient";
2
2
  export * from "./Kafka";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "Kafka",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Kafka",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,