Skip to content

Commit 265e5da

Browse files
author
awstools
committed
feat(client-kafka): Amazon MSK now supports intelligent rebalancing for MSK Express brokers.
1 parent 6c179ae commit 265e5da

17 files changed

+528
-0
lines changed

clients/client-kafka/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,14 @@ UpdateMonitoring
594594

595595
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/UpdateMonitoringCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/UpdateMonitoringCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/UpdateMonitoringCommandOutput/)
596596

597+
</details>
598+
<details>
599+
<summary>
600+
UpdateRebalancing
601+
</summary>
602+
603+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/UpdateRebalancingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/UpdateRebalancingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/UpdateRebalancingCommandOutput/)
604+
597605
</details>
598606
<details>
599607
<summary>

clients/client-kafka/src/Kafka.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ import {
239239
UpdateMonitoringCommandInput,
240240
UpdateMonitoringCommandOutput,
241241
} from "./commands/UpdateMonitoringCommand";
242+
import {
243+
UpdateRebalancingCommand,
244+
UpdateRebalancingCommandInput,
245+
UpdateRebalancingCommandOutput,
246+
} from "./commands/UpdateRebalancingCommand";
242247
import {
243248
UpdateReplicationInfoCommand,
244249
UpdateReplicationInfoCommandInput,
@@ -306,6 +311,7 @@ const commands = {
306311
UpdateConfigurationCommand,
307312
UpdateConnectivityCommand,
308313
UpdateMonitoringCommand,
314+
UpdateRebalancingCommand,
309315
UpdateReplicationInfoCommand,
310316
UpdateSecurityCommand,
311317
UpdateStorageCommand,
@@ -1098,6 +1104,23 @@ export interface Kafka {
10981104
cb: (err: any, data?: UpdateMonitoringCommandOutput) => void
10991105
): void;
11001106

1107+
/**
1108+
* @see {@link UpdateRebalancingCommand}
1109+
*/
1110+
updateRebalancing(
1111+
args: UpdateRebalancingCommandInput,
1112+
options?: __HttpHandlerOptions
1113+
): Promise<UpdateRebalancingCommandOutput>;
1114+
updateRebalancing(
1115+
args: UpdateRebalancingCommandInput,
1116+
cb: (err: any, data?: UpdateRebalancingCommandOutput) => void
1117+
): void;
1118+
updateRebalancing(
1119+
args: UpdateRebalancingCommandInput,
1120+
options: __HttpHandlerOptions,
1121+
cb: (err: any, data?: UpdateRebalancingCommandOutput) => void
1122+
): void;
1123+
11011124
/**
11021125
* @see {@link UpdateReplicationInfoCommand}
11031126
*/

clients/client-kafka/src/KafkaClient.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ import {
174174
} from "./commands/UpdateConfigurationCommand";
175175
import { UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput } from "./commands/UpdateConnectivityCommand";
176176
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
177+
import { UpdateRebalancingCommandInput, UpdateRebalancingCommandOutput } from "./commands/UpdateRebalancingCommand";
177178
import {
178179
UpdateReplicationInfoCommandInput,
179180
UpdateReplicationInfoCommandOutput,
@@ -244,6 +245,7 @@ export type ServiceInputTypes =
244245
| UpdateConfigurationCommandInput
245246
| UpdateConnectivityCommandInput
246247
| UpdateMonitoringCommandInput
248+
| UpdateRebalancingCommandInput
247249
| UpdateReplicationInfoCommandInput
248250
| UpdateSecurityCommandInput
249251
| UpdateStorageCommandInput;
@@ -301,6 +303,7 @@ export type ServiceOutputTypes =
301303
| UpdateConfigurationCommandOutput
302304
| UpdateConnectivityCommandOutput
303305
| UpdateMonitoringCommandOutput
306+
| UpdateRebalancingCommandOutput
304307
| UpdateReplicationInfoCommandOutput
305308
| UpdateSecurityCommandOutput
306309
| UpdateStorageCommandOutput;

clients/client-kafka/src/commands/CreateClusterCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
8080
* "STRING_VALUE",
8181
* ],
8282
* },
83+
* Rebalancing: { // Rebalancing
84+
* Status: "PAUSED" || "ACTIVE",
85+
* },
8386
* ClientAuthentication: { // ClientAuthentication
8487
* Sasl: { // Sasl
8588
* Scram: { // Scram

clients/client-kafka/src/commands/CreateClusterV2Command.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ export interface CreateClusterV2CommandOutput extends CreateClusterV2Response, _
8585
* "STRING_VALUE",
8686
* ],
8787
* },
88+
* Rebalancing: { // Rebalancing
89+
* Status: "PAUSED" || "ACTIVE",
90+
* },
8891
* ClientAuthentication: { // ClientAuthentication
8992
* Sasl: { // Sasl
9093
* Scram: { // Scram

clients/client-kafka/src/commands/DescribeClusterCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
8787
* // "STRING_VALUE",
8888
* // ],
8989
* // },
90+
* // Rebalancing: { // Rebalancing
91+
* // Status: "PAUSED" || "ACTIVE",
92+
* // },
9093
* // ClientAuthentication: { // ClientAuthentication
9194
* // Sasl: { // Sasl
9295
* // Scram: { // Scram

clients/client-kafka/src/commands/DescribeClusterOperationCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ export interface DescribeClusterOperationCommandOutput extends DescribeClusterOp
166166
* // Number("double"),
167167
* // ],
168168
* // },
169+
* // Rebalancing: { // Rebalancing
170+
* // Status: "PAUSED" || "ACTIVE",
171+
* // },
169172
* // },
170173
* // TargetClusterInfo: {
171174
* // BrokerEBSVolumeInfo: [
@@ -270,6 +273,9 @@ export interface DescribeClusterOperationCommandOutput extends DescribeClusterOp
270273
* // Number("double"),
271274
* // ],
272275
* // },
276+
* // Rebalancing: {
277+
* // Status: "PAUSED" || "ACTIVE",
278+
* // },
273279
* // },
274280
* // VpcConnectionInfo: { // VpcConnectionInfo
275281
* // VpcConnectionArn: "STRING_VALUE",

clients/client-kafka/src/commands/DescribeClusterOperationV2Command.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ export interface DescribeClusterOperationV2CommandOutput extends DescribeCluster
167167
* // Number("double"),
168168
* // ],
169169
* // },
170+
* // Rebalancing: { // Rebalancing
171+
* // Status: "PAUSED" || "ACTIVE",
172+
* // },
170173
* // },
171174
* // TargetClusterInfo: {
172175
* // BrokerEBSVolumeInfo: [
@@ -271,6 +274,9 @@ export interface DescribeClusterOperationV2CommandOutput extends DescribeCluster
271274
* // Number("double"),
272275
* // ],
273276
* // },
277+
* // Rebalancing: {
278+
* // Status: "PAUSED" || "ACTIVE",
279+
* // },
274280
* // },
275281
* // VpcConnectionInfo: { // VpcConnectionInfo
276282
* // VpcConnectionArn: "STRING_VALUE",

clients/client-kafka/src/commands/DescribeClusterV2Command.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ export interface DescribeClusterV2CommandOutput extends DescribeClusterV2Respons
101101
* // "STRING_VALUE",
102102
* // ],
103103
* // },
104+
* // Rebalancing: { // Rebalancing
105+
* // Status: "PAUSED" || "ACTIVE",
106+
* // },
104107
* // CurrentBrokerSoftwareInfo: { // BrokerSoftwareInfo
105108
* // ConfigurationArn: "STRING_VALUE",
106109
* // ConfigurationRevision: Number("long"),

clients/client-kafka/src/commands/ListClusterOperationsCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ export interface ListClusterOperationsCommandOutput extends ListClusterOperation
169169
* // Number("double"),
170170
* // ],
171171
* // },
172+
* // Rebalancing: { // Rebalancing
173+
* // Status: "PAUSED" || "ACTIVE",
174+
* // },
172175
* // },
173176
* // TargetClusterInfo: {
174177
* // BrokerEBSVolumeInfo: [
@@ -273,6 +276,9 @@ export interface ListClusterOperationsCommandOutput extends ListClusterOperation
273276
* // Number("double"),
274277
* // ],
275278
* // },
279+
* // Rebalancing: {
280+
* // Status: "PAUSED" || "ACTIVE",
281+
* // },
276282
* // },
277283
* // VpcConnectionInfo: { // VpcConnectionInfo
278284
* // VpcConnectionArn: "STRING_VALUE",

0 commit comments

Comments
 (0)