@aws-sdk/client-kafka 3.926.0 → 3.928.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.
- package/README.md +8 -0
- package/dist-cjs/index.js +69 -0
- package/dist-es/Kafka.js +2 -0
- package/dist-es/commands/UpdateRebalancingCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +45 -0
- package/dist-types/Kafka.d.ts +7 -0
- package/dist-types/KafkaClient.d.ts +3 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +3 -0
- package/dist-types/commands/CreateClusterV2Command.d.ts +3 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
- package/dist-types/commands/DescribeClusterOperationCommand.d.ts +6 -0
- package/dist-types/commands/DescribeClusterOperationV2Command.d.ts +6 -0
- package/dist-types/commands/DescribeClusterV2Command.d.ts +3 -0
- package/dist-types/commands/ListClusterOperationsCommand.d.ts +6 -0
- package/dist-types/commands/ListClustersCommand.d.ts +3 -0
- package/dist-types/commands/ListClustersV2Command.d.ts +3 -0
- package/dist-types/commands/UpdateRebalancingCommand.d.ts +100 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +83 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Kafka.d.ts +17 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateRebalancingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -594,6 +594,14 @@ UpdateMonitoring
|
|
|
594
594
|
|
|
595
595
|
[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/)
|
|
596
596
|
|
|
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
|
+
|
|
597
605
|
</details>
|
|
598
606
|
<details>
|
|
599
607
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -150,6 +150,10 @@ const EnhancedMonitoring = {
|
|
|
150
150
|
PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER",
|
|
151
151
|
PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION",
|
|
152
152
|
};
|
|
153
|
+
const RebalancingStatus = {
|
|
154
|
+
ACTIVE: "ACTIVE",
|
|
155
|
+
PAUSED: "PAUSED",
|
|
156
|
+
};
|
|
153
157
|
const StorageMode = {
|
|
154
158
|
LOCAL: "LOCAL",
|
|
155
159
|
TIERED: "TIERED",
|
|
@@ -377,6 +381,7 @@ const se_CreateClusterCommand = async (input, context) => {
|
|
|
377
381
|
loggingInfo: [, (_) => se_LoggingInfo(_), `LoggingInfo`],
|
|
378
382
|
numberOfBrokerNodes: [, , `NumberOfBrokerNodes`],
|
|
379
383
|
openMonitoring: [, (_) => se_OpenMonitoringInfo(_), `OpenMonitoring`],
|
|
384
|
+
rebalancing: [, (_) => se_Rebalancing(_), `Rebalancing`],
|
|
380
385
|
storageMode: [, , `StorageMode`],
|
|
381
386
|
tags: [, (_) => smithyClient._json(_), `Tags`],
|
|
382
387
|
}));
|
|
@@ -959,6 +964,21 @@ const se_UpdateMonitoringCommand = async (input, context) => {
|
|
|
959
964
|
b.m("PUT").h(headers).b(body);
|
|
960
965
|
return b.build();
|
|
961
966
|
};
|
|
967
|
+
const se_UpdateRebalancingCommand = async (input, context) => {
|
|
968
|
+
const b = core.requestBuilder(input, context);
|
|
969
|
+
const headers = {
|
|
970
|
+
"content-type": "application/json",
|
|
971
|
+
};
|
|
972
|
+
b.bp("/v1/clusters/{ClusterArn}/rebalancing");
|
|
973
|
+
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
974
|
+
let body;
|
|
975
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
976
|
+
currentVersion: [, , `CurrentVersion`],
|
|
977
|
+
rebalancing: [, (_) => se_Rebalancing(_), `Rebalancing`],
|
|
978
|
+
}));
|
|
979
|
+
b.m("PUT").h(headers).b(body);
|
|
980
|
+
return b.build();
|
|
981
|
+
};
|
|
962
982
|
const se_UpdateReplicationInfoCommand = async (input, context) => {
|
|
963
983
|
const b = core.requestBuilder(input, context);
|
|
964
984
|
const headers = {
|
|
@@ -1765,6 +1785,21 @@ const de_UpdateMonitoringCommand = async (output, context) => {
|
|
|
1765
1785
|
Object.assign(contents, doc);
|
|
1766
1786
|
return contents;
|
|
1767
1787
|
};
|
|
1788
|
+
const de_UpdateRebalancingCommand = async (output, context) => {
|
|
1789
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1790
|
+
return de_CommandError(output, context);
|
|
1791
|
+
}
|
|
1792
|
+
const contents = smithyClient.map({
|
|
1793
|
+
$metadata: deserializeMetadata(output),
|
|
1794
|
+
});
|
|
1795
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1796
|
+
const doc = smithyClient.take(data, {
|
|
1797
|
+
ClusterArn: [, smithyClient.expectString, `clusterArn`],
|
|
1798
|
+
ClusterOperationArn: [, smithyClient.expectString, `clusterOperationArn`],
|
|
1799
|
+
});
|
|
1800
|
+
Object.assign(contents, doc);
|
|
1801
|
+
return contents;
|
|
1802
|
+
};
|
|
1768
1803
|
const de_UpdateReplicationInfoCommand = async (output, context) => {
|
|
1769
1804
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1770
1805
|
return de_CommandError(output, context);
|
|
@@ -2145,6 +2180,7 @@ const se_ProvisionedRequest = (input, context) => {
|
|
|
2145
2180
|
loggingInfo: [, (_) => se_LoggingInfo(_), `LoggingInfo`],
|
|
2146
2181
|
numberOfBrokerNodes: [, , `NumberOfBrokerNodes`],
|
|
2147
2182
|
openMonitoring: [, (_) => se_OpenMonitoringInfo(_), `OpenMonitoring`],
|
|
2183
|
+
rebalancing: [, (_) => se_Rebalancing(_), `Rebalancing`],
|
|
2148
2184
|
storageMode: [, , `StorageMode`],
|
|
2149
2185
|
});
|
|
2150
2186
|
};
|
|
@@ -2159,6 +2195,11 @@ const se_PublicAccess = (input, context) => {
|
|
|
2159
2195
|
type: [, , `Type`],
|
|
2160
2196
|
});
|
|
2161
2197
|
};
|
|
2198
|
+
const se_Rebalancing = (input, context) => {
|
|
2199
|
+
return smithyClient.take(input, {
|
|
2200
|
+
status: [, , `Status`],
|
|
2201
|
+
});
|
|
2202
|
+
};
|
|
2162
2203
|
const se_ReplicationInfo = (input, context) => {
|
|
2163
2204
|
return smithyClient.take(input, {
|
|
2164
2205
|
consumerGroupReplication: [, (_) => se_ConsumerGroupReplication(_), `ConsumerGroupReplication`],
|
|
@@ -2560,6 +2601,7 @@ const de_ClusterInfo = (output, context) => {
|
|
|
2560
2601
|
LoggingInfo: [, (_) => de_LoggingInfo(_), `loggingInfo`],
|
|
2561
2602
|
NumberOfBrokerNodes: [, smithyClient.expectInt32, `numberOfBrokerNodes`],
|
|
2562
2603
|
OpenMonitoring: [, (_) => de_OpenMonitoring(_), `openMonitoring`],
|
|
2604
|
+
Rebalancing: [, (_) => de_Rebalancing(_), `rebalancing`],
|
|
2563
2605
|
State: [, smithyClient.expectString, `state`],
|
|
2564
2606
|
StateInfo: [, (_) => de_StateInfo(_), `stateInfo`],
|
|
2565
2607
|
StorageMode: [, smithyClient.expectString, `storageMode`],
|
|
@@ -2776,6 +2818,7 @@ const de_MutableClusterInfo = (output, context) => {
|
|
|
2776
2818
|
LoggingInfo: [, (_) => de_LoggingInfo(_), `loggingInfo`],
|
|
2777
2819
|
NumberOfBrokerNodes: [, smithyClient.expectInt32, `numberOfBrokerNodes`],
|
|
2778
2820
|
OpenMonitoring: [, (_) => de_OpenMonitoring(_), `openMonitoring`],
|
|
2821
|
+
Rebalancing: [, (_) => de_Rebalancing(_), `rebalancing`],
|
|
2779
2822
|
StorageMode: [, smithyClient.expectString, `storageMode`],
|
|
2780
2823
|
});
|
|
2781
2824
|
};
|
|
@@ -2833,6 +2876,7 @@ const de_Provisioned = (output, context) => {
|
|
|
2833
2876
|
LoggingInfo: [, (_) => de_LoggingInfo(_), `loggingInfo`],
|
|
2834
2877
|
NumberOfBrokerNodes: [, smithyClient.expectInt32, `numberOfBrokerNodes`],
|
|
2835
2878
|
OpenMonitoring: [, (_) => de_OpenMonitoringInfo(_), `openMonitoring`],
|
|
2879
|
+
Rebalancing: [, (_) => de_Rebalancing(_), `rebalancing`],
|
|
2836
2880
|
StorageMode: [, smithyClient.expectString, `storageMode`],
|
|
2837
2881
|
ZookeeperConnectString: [, smithyClient.expectString, `zookeeperConnectString`],
|
|
2838
2882
|
ZookeeperConnectStringTls: [, smithyClient.expectString, `zookeeperConnectStringTls`],
|
|
@@ -2849,6 +2893,11 @@ const de_PublicAccess = (output, context) => {
|
|
|
2849
2893
|
Type: [, smithyClient.expectString, `type`],
|
|
2850
2894
|
});
|
|
2851
2895
|
};
|
|
2896
|
+
const de_Rebalancing = (output, context) => {
|
|
2897
|
+
return smithyClient.take(output, {
|
|
2898
|
+
Status: [, smithyClient.expectString, `status`],
|
|
2899
|
+
});
|
|
2900
|
+
};
|
|
2852
2901
|
const de_ReplicationInfoDescription = (output, context) => {
|
|
2853
2902
|
return smithyClient.take(output, {
|
|
2854
2903
|
ConsumerGroupReplication: [, (_) => de_ConsumerGroupReplication(_), `consumerGroupReplication`],
|
|
@@ -3906,6 +3955,23 @@ class UpdateMonitoringCommand extends smithyClient.Command
|
|
|
3906
3955
|
.build() {
|
|
3907
3956
|
}
|
|
3908
3957
|
|
|
3958
|
+
class UpdateRebalancingCommand extends smithyClient.Command
|
|
3959
|
+
.classBuilder()
|
|
3960
|
+
.ep(commonParams)
|
|
3961
|
+
.m(function (Command, cs, config, o) {
|
|
3962
|
+
return [
|
|
3963
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
3964
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
3965
|
+
];
|
|
3966
|
+
})
|
|
3967
|
+
.s("Kafka", "UpdateRebalancing", {})
|
|
3968
|
+
.n("KafkaClient", "UpdateRebalancingCommand")
|
|
3969
|
+
.f(void 0, void 0)
|
|
3970
|
+
.ser(se_UpdateRebalancingCommand)
|
|
3971
|
+
.de(de_UpdateRebalancingCommand)
|
|
3972
|
+
.build() {
|
|
3973
|
+
}
|
|
3974
|
+
|
|
3909
3975
|
class UpdateReplicationInfoCommand extends smithyClient.Command
|
|
3910
3976
|
.classBuilder()
|
|
3911
3977
|
.ep(commonParams)
|
|
@@ -4007,6 +4073,7 @@ const commands = {
|
|
|
4007
4073
|
UpdateConfigurationCommand,
|
|
4008
4074
|
UpdateConnectivityCommand,
|
|
4009
4075
|
UpdateMonitoringCommand,
|
|
4076
|
+
UpdateRebalancingCommand,
|
|
4010
4077
|
UpdateReplicationInfoCommand,
|
|
4011
4078
|
UpdateSecurityCommand,
|
|
4012
4079
|
UpdateStorageCommand,
|
|
@@ -4101,6 +4168,7 @@ exports.ListVpcConnectionsCommand = ListVpcConnectionsCommand;
|
|
|
4101
4168
|
exports.NodeType = NodeType;
|
|
4102
4169
|
exports.NotFoundException = NotFoundException;
|
|
4103
4170
|
exports.PutClusterPolicyCommand = PutClusterPolicyCommand;
|
|
4171
|
+
exports.RebalancingStatus = RebalancingStatus;
|
|
4104
4172
|
exports.RebootBrokerCommand = RebootBrokerCommand;
|
|
4105
4173
|
exports.RejectClientVpcConnectionCommand = RejectClientVpcConnectionCommand;
|
|
4106
4174
|
exports.ReplicationStartingPositionType = ReplicationStartingPositionType;
|
|
@@ -4121,6 +4189,7 @@ exports.UpdateClusterKafkaVersionCommand = UpdateClusterKafkaVersionCommand;
|
|
|
4121
4189
|
exports.UpdateConfigurationCommand = UpdateConfigurationCommand;
|
|
4122
4190
|
exports.UpdateConnectivityCommand = UpdateConnectivityCommand;
|
|
4123
4191
|
exports.UpdateMonitoringCommand = UpdateMonitoringCommand;
|
|
4192
|
+
exports.UpdateRebalancingCommand = UpdateRebalancingCommand;
|
|
4124
4193
|
exports.UpdateReplicationInfoCommand = UpdateReplicationInfoCommand;
|
|
4125
4194
|
exports.UpdateSecurityCommand = UpdateSecurityCommand;
|
|
4126
4195
|
exports.UpdateStorageCommand = UpdateStorageCommand;
|
package/dist-es/Kafka.js
CHANGED
|
@@ -48,6 +48,7 @@ import { UpdateClusterKafkaVersionCommand, } from "./commands/UpdateClusterKafka
|
|
|
48
48
|
import { UpdateConfigurationCommand, } from "./commands/UpdateConfigurationCommand";
|
|
49
49
|
import { UpdateConnectivityCommand, } from "./commands/UpdateConnectivityCommand";
|
|
50
50
|
import { UpdateMonitoringCommand, } from "./commands/UpdateMonitoringCommand";
|
|
51
|
+
import { UpdateRebalancingCommand, } from "./commands/UpdateRebalancingCommand";
|
|
51
52
|
import { UpdateReplicationInfoCommand, } from "./commands/UpdateReplicationInfoCommand";
|
|
52
53
|
import { UpdateSecurityCommand, } from "./commands/UpdateSecurityCommand";
|
|
53
54
|
import { UpdateStorageCommand, } from "./commands/UpdateStorageCommand";
|
|
@@ -102,6 +103,7 @@ const commands = {
|
|
|
102
103
|
UpdateConfigurationCommand,
|
|
103
104
|
UpdateConnectivityCommand,
|
|
104
105
|
UpdateMonitoringCommand,
|
|
106
|
+
UpdateRebalancingCommand,
|
|
105
107
|
UpdateReplicationInfoCommand,
|
|
106
108
|
UpdateSecurityCommand,
|
|
107
109
|
UpdateStorageCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateRebalancingCommand, se_UpdateRebalancingCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateRebalancingCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Kafka", "UpdateRebalancing", {})
|
|
17
|
+
.n("KafkaClient", "UpdateRebalancingCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateRebalancingCommand)
|
|
20
|
+
.de(de_UpdateRebalancingCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -47,6 +47,7 @@ export * from "./UpdateClusterKafkaVersionCommand";
|
|
|
47
47
|
export * from "./UpdateConfigurationCommand";
|
|
48
48
|
export * from "./UpdateConnectivityCommand";
|
|
49
49
|
export * from "./UpdateMonitoringCommand";
|
|
50
|
+
export * from "./UpdateRebalancingCommand";
|
|
50
51
|
export * from "./UpdateReplicationInfoCommand";
|
|
51
52
|
export * from "./UpdateSecurityCommand";
|
|
52
53
|
export * from "./UpdateStorageCommand";
|
|
@@ -32,6 +32,10 @@ export const EnhancedMonitoring = {
|
|
|
32
32
|
PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER",
|
|
33
33
|
PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION",
|
|
34
34
|
};
|
|
35
|
+
export const RebalancingStatus = {
|
|
36
|
+
ACTIVE: "ACTIVE",
|
|
37
|
+
PAUSED: "PAUSED",
|
|
38
|
+
};
|
|
35
39
|
export const StorageMode = {
|
|
36
40
|
LOCAL: "LOCAL",
|
|
37
41
|
TIERED: "TIERED",
|
|
@@ -49,6 +49,7 @@ export const se_CreateClusterCommand = async (input, context) => {
|
|
|
49
49
|
loggingInfo: [, (_) => se_LoggingInfo(_, context), `LoggingInfo`],
|
|
50
50
|
numberOfBrokerNodes: [, , `NumberOfBrokerNodes`],
|
|
51
51
|
openMonitoring: [, (_) => se_OpenMonitoringInfo(_, context), `OpenMonitoring`],
|
|
52
|
+
rebalancing: [, (_) => se_Rebalancing(_, context), `Rebalancing`],
|
|
52
53
|
storageMode: [, , `StorageMode`],
|
|
53
54
|
tags: [, (_) => _json(_), `Tags`],
|
|
54
55
|
}));
|
|
@@ -631,6 +632,21 @@ export const se_UpdateMonitoringCommand = async (input, context) => {
|
|
|
631
632
|
b.m("PUT").h(headers).b(body);
|
|
632
633
|
return b.build();
|
|
633
634
|
};
|
|
635
|
+
export const se_UpdateRebalancingCommand = async (input, context) => {
|
|
636
|
+
const b = rb(input, context);
|
|
637
|
+
const headers = {
|
|
638
|
+
"content-type": "application/json",
|
|
639
|
+
};
|
|
640
|
+
b.bp("/v1/clusters/{ClusterArn}/rebalancing");
|
|
641
|
+
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
642
|
+
let body;
|
|
643
|
+
body = JSON.stringify(take(input, {
|
|
644
|
+
currentVersion: [, , `CurrentVersion`],
|
|
645
|
+
rebalancing: [, (_) => se_Rebalancing(_, context), `Rebalancing`],
|
|
646
|
+
}));
|
|
647
|
+
b.m("PUT").h(headers).b(body);
|
|
648
|
+
return b.build();
|
|
649
|
+
};
|
|
634
650
|
export const se_UpdateReplicationInfoCommand = async (input, context) => {
|
|
635
651
|
const b = rb(input, context);
|
|
636
652
|
const headers = {
|
|
@@ -1437,6 +1453,21 @@ export const de_UpdateMonitoringCommand = async (output, context) => {
|
|
|
1437
1453
|
Object.assign(contents, doc);
|
|
1438
1454
|
return contents;
|
|
1439
1455
|
};
|
|
1456
|
+
export const de_UpdateRebalancingCommand = async (output, context) => {
|
|
1457
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1458
|
+
return de_CommandError(output, context);
|
|
1459
|
+
}
|
|
1460
|
+
const contents = map({
|
|
1461
|
+
$metadata: deserializeMetadata(output),
|
|
1462
|
+
});
|
|
1463
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1464
|
+
const doc = take(data, {
|
|
1465
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
1466
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1467
|
+
});
|
|
1468
|
+
Object.assign(contents, doc);
|
|
1469
|
+
return contents;
|
|
1470
|
+
};
|
|
1440
1471
|
export const de_UpdateReplicationInfoCommand = async (output, context) => {
|
|
1441
1472
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1442
1473
|
return de_CommandError(output, context);
|
|
@@ -1817,6 +1848,7 @@ const se_ProvisionedRequest = (input, context) => {
|
|
|
1817
1848
|
loggingInfo: [, (_) => se_LoggingInfo(_, context), `LoggingInfo`],
|
|
1818
1849
|
numberOfBrokerNodes: [, , `NumberOfBrokerNodes`],
|
|
1819
1850
|
openMonitoring: [, (_) => se_OpenMonitoringInfo(_, context), `OpenMonitoring`],
|
|
1851
|
+
rebalancing: [, (_) => se_Rebalancing(_, context), `Rebalancing`],
|
|
1820
1852
|
storageMode: [, , `StorageMode`],
|
|
1821
1853
|
});
|
|
1822
1854
|
};
|
|
@@ -1831,6 +1863,11 @@ const se_PublicAccess = (input, context) => {
|
|
|
1831
1863
|
type: [, , `Type`],
|
|
1832
1864
|
});
|
|
1833
1865
|
};
|
|
1866
|
+
const se_Rebalancing = (input, context) => {
|
|
1867
|
+
return take(input, {
|
|
1868
|
+
status: [, , `Status`],
|
|
1869
|
+
});
|
|
1870
|
+
};
|
|
1834
1871
|
const se_ReplicationInfo = (input, context) => {
|
|
1835
1872
|
return take(input, {
|
|
1836
1873
|
consumerGroupReplication: [, (_) => se_ConsumerGroupReplication(_, context), `ConsumerGroupReplication`],
|
|
@@ -2232,6 +2269,7 @@ const de_ClusterInfo = (output, context) => {
|
|
|
2232
2269
|
LoggingInfo: [, (_) => de_LoggingInfo(_, context), `loggingInfo`],
|
|
2233
2270
|
NumberOfBrokerNodes: [, __expectInt32, `numberOfBrokerNodes`],
|
|
2234
2271
|
OpenMonitoring: [, (_) => de_OpenMonitoring(_, context), `openMonitoring`],
|
|
2272
|
+
Rebalancing: [, (_) => de_Rebalancing(_, context), `rebalancing`],
|
|
2235
2273
|
State: [, __expectString, `state`],
|
|
2236
2274
|
StateInfo: [, (_) => de_StateInfo(_, context), `stateInfo`],
|
|
2237
2275
|
StorageMode: [, __expectString, `storageMode`],
|
|
@@ -2448,6 +2486,7 @@ const de_MutableClusterInfo = (output, context) => {
|
|
|
2448
2486
|
LoggingInfo: [, (_) => de_LoggingInfo(_, context), `loggingInfo`],
|
|
2449
2487
|
NumberOfBrokerNodes: [, __expectInt32, `numberOfBrokerNodes`],
|
|
2450
2488
|
OpenMonitoring: [, (_) => de_OpenMonitoring(_, context), `openMonitoring`],
|
|
2489
|
+
Rebalancing: [, (_) => de_Rebalancing(_, context), `rebalancing`],
|
|
2451
2490
|
StorageMode: [, __expectString, `storageMode`],
|
|
2452
2491
|
});
|
|
2453
2492
|
};
|
|
@@ -2505,6 +2544,7 @@ const de_Provisioned = (output, context) => {
|
|
|
2505
2544
|
LoggingInfo: [, (_) => de_LoggingInfo(_, context), `loggingInfo`],
|
|
2506
2545
|
NumberOfBrokerNodes: [, __expectInt32, `numberOfBrokerNodes`],
|
|
2507
2546
|
OpenMonitoring: [, (_) => de_OpenMonitoringInfo(_, context), `openMonitoring`],
|
|
2547
|
+
Rebalancing: [, (_) => de_Rebalancing(_, context), `rebalancing`],
|
|
2508
2548
|
StorageMode: [, __expectString, `storageMode`],
|
|
2509
2549
|
ZookeeperConnectString: [, __expectString, `zookeeperConnectString`],
|
|
2510
2550
|
ZookeeperConnectStringTls: [, __expectString, `zookeeperConnectStringTls`],
|
|
@@ -2521,6 +2561,11 @@ const de_PublicAccess = (output, context) => {
|
|
|
2521
2561
|
Type: [, __expectString, `type`],
|
|
2522
2562
|
});
|
|
2523
2563
|
};
|
|
2564
|
+
const de_Rebalancing = (output, context) => {
|
|
2565
|
+
return take(output, {
|
|
2566
|
+
Status: [, __expectString, `status`],
|
|
2567
|
+
});
|
|
2568
|
+
};
|
|
2524
2569
|
const de_ReplicationInfoDescription = (output, context) => {
|
|
2525
2570
|
return take(output, {
|
|
2526
2571
|
ConsumerGroupReplication: [, (_) => de_ConsumerGroupReplication(_, context), `consumerGroupReplication`],
|
package/dist-types/Kafka.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommand
|
|
|
48
48
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
49
49
|
import { UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput } from "./commands/UpdateConnectivityCommand";
|
|
50
50
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
|
|
51
|
+
import { UpdateRebalancingCommandInput, UpdateRebalancingCommandOutput } from "./commands/UpdateRebalancingCommand";
|
|
51
52
|
import { UpdateReplicationInfoCommandInput, UpdateReplicationInfoCommandOutput } from "./commands/UpdateReplicationInfoCommand";
|
|
52
53
|
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "./commands/UpdateSecurityCommand";
|
|
53
54
|
import { UpdateStorageCommandInput, UpdateStorageCommandOutput } from "./commands/UpdateStorageCommand";
|
|
@@ -354,6 +355,12 @@ export interface Kafka {
|
|
|
354
355
|
updateMonitoring(args: UpdateMonitoringCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMonitoringCommandOutput>;
|
|
355
356
|
updateMonitoring(args: UpdateMonitoringCommandInput, cb: (err: any, data?: UpdateMonitoringCommandOutput) => void): void;
|
|
356
357
|
updateMonitoring(args: UpdateMonitoringCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMonitoringCommandOutput) => void): void;
|
|
358
|
+
/**
|
|
359
|
+
* @see {@link UpdateRebalancingCommand}
|
|
360
|
+
*/
|
|
361
|
+
updateRebalancing(args: UpdateRebalancingCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRebalancingCommandOutput>;
|
|
362
|
+
updateRebalancing(args: UpdateRebalancingCommandInput, cb: (err: any, data?: UpdateRebalancingCommandOutput) => void): void;
|
|
363
|
+
updateRebalancing(args: UpdateRebalancingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRebalancingCommandOutput) => void): void;
|
|
357
364
|
/**
|
|
358
365
|
* @see {@link UpdateReplicationInfoCommand}
|
|
359
366
|
*/
|
|
@@ -56,6 +56,7 @@ import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommand
|
|
|
56
56
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
57
57
|
import { UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput } from "./commands/UpdateConnectivityCommand";
|
|
58
58
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
|
|
59
|
+
import { UpdateRebalancingCommandInput, UpdateRebalancingCommandOutput } from "./commands/UpdateRebalancingCommand";
|
|
59
60
|
import { UpdateReplicationInfoCommandInput, UpdateReplicationInfoCommandOutput } from "./commands/UpdateReplicationInfoCommand";
|
|
60
61
|
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "./commands/UpdateSecurityCommand";
|
|
61
62
|
import { UpdateStorageCommandInput, UpdateStorageCommandOutput } from "./commands/UpdateStorageCommand";
|
|
@@ -65,11 +66,11 @@ export { __Client };
|
|
|
65
66
|
/**
|
|
66
67
|
* @public
|
|
67
68
|
*/
|
|
68
|
-
export type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateClusterCommandInput | CreateClusterV2CommandInput | CreateConfigurationCommandInput | CreateReplicatorCommandInput | CreateVpcConnectionCommandInput | DeleteClusterCommandInput | DeleteClusterPolicyCommandInput | DeleteConfigurationCommandInput | DeleteReplicatorCommandInput | DeleteVpcConnectionCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeClusterOperationV2CommandInput | DescribeClusterV2CommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | DescribeReplicatorCommandInput | DescribeVpcConnectionCommandInput | GetBootstrapBrokersCommandInput | GetClusterPolicyCommandInput | GetCompatibleKafkaVersionsCommandInput | ListClientVpcConnectionsCommandInput | ListClusterOperationsCommandInput | ListClusterOperationsV2CommandInput | ListClustersCommandInput | ListClustersV2CommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListReplicatorsCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | ListVpcConnectionsCommandInput | PutClusterPolicyCommandInput | RebootBrokerCommandInput | RejectClientVpcConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateConnectivityCommandInput | UpdateMonitoringCommandInput | UpdateReplicationInfoCommandInput | UpdateSecurityCommandInput | UpdateStorageCommandInput;
|
|
69
|
+
export type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateClusterCommandInput | CreateClusterV2CommandInput | CreateConfigurationCommandInput | CreateReplicatorCommandInput | CreateVpcConnectionCommandInput | DeleteClusterCommandInput | DeleteClusterPolicyCommandInput | DeleteConfigurationCommandInput | DeleteReplicatorCommandInput | DeleteVpcConnectionCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeClusterOperationV2CommandInput | DescribeClusterV2CommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | DescribeReplicatorCommandInput | DescribeVpcConnectionCommandInput | GetBootstrapBrokersCommandInput | GetClusterPolicyCommandInput | GetCompatibleKafkaVersionsCommandInput | ListClientVpcConnectionsCommandInput | ListClusterOperationsCommandInput | ListClusterOperationsV2CommandInput | ListClustersCommandInput | ListClustersV2CommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListReplicatorsCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | ListVpcConnectionsCommandInput | PutClusterPolicyCommandInput | RebootBrokerCommandInput | RejectClientVpcConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateConnectivityCommandInput | UpdateMonitoringCommandInput | UpdateRebalancingCommandInput | UpdateReplicationInfoCommandInput | UpdateSecurityCommandInput | UpdateStorageCommandInput;
|
|
69
70
|
/**
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
|
-
export type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateClusterCommandOutput | CreateClusterV2CommandOutput | CreateConfigurationCommandOutput | CreateReplicatorCommandOutput | CreateVpcConnectionCommandOutput | DeleteClusterCommandOutput | DeleteClusterPolicyCommandOutput | DeleteConfigurationCommandOutput | DeleteReplicatorCommandOutput | DeleteVpcConnectionCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeClusterOperationV2CommandOutput | DescribeClusterV2CommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | DescribeReplicatorCommandOutput | DescribeVpcConnectionCommandOutput | GetBootstrapBrokersCommandOutput | GetClusterPolicyCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListClientVpcConnectionsCommandOutput | ListClusterOperationsCommandOutput | ListClusterOperationsV2CommandOutput | ListClustersCommandOutput | ListClustersV2CommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListReplicatorsCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | ListVpcConnectionsCommandOutput | PutClusterPolicyCommandOutput | RebootBrokerCommandOutput | RejectClientVpcConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateConnectivityCommandOutput | UpdateMonitoringCommandOutput | UpdateReplicationInfoCommandOutput | UpdateSecurityCommandOutput | UpdateStorageCommandOutput;
|
|
73
|
+
export type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateClusterCommandOutput | CreateClusterV2CommandOutput | CreateConfigurationCommandOutput | CreateReplicatorCommandOutput | CreateVpcConnectionCommandOutput | DeleteClusterCommandOutput | DeleteClusterPolicyCommandOutput | DeleteConfigurationCommandOutput | DeleteReplicatorCommandOutput | DeleteVpcConnectionCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeClusterOperationV2CommandOutput | DescribeClusterV2CommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | DescribeReplicatorCommandOutput | DescribeVpcConnectionCommandOutput | GetBootstrapBrokersCommandOutput | GetClusterPolicyCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListClientVpcConnectionsCommandOutput | ListClusterOperationsCommandOutput | ListClusterOperationsV2CommandOutput | ListClustersCommandOutput | ListClustersV2CommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListReplicatorsCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | ListVpcConnectionsCommandOutput | PutClusterPolicyCommandOutput | RebootBrokerCommandOutput | RejectClientVpcConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateConnectivityCommandOutput | UpdateMonitoringCommandOutput | UpdateRebalancingCommandOutput | UpdateReplicationInfoCommandOutput | UpdateSecurityCommandOutput | UpdateStorageCommandOutput;
|
|
73
74
|
/**
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
@@ -86,6 +86,9 @@ declare const DescribeClusterCommand_base: {
|
|
|
86
86
|
* // "STRING_VALUE",
|
|
87
87
|
* // ],
|
|
88
88
|
* // },
|
|
89
|
+
* // Rebalancing: { // Rebalancing
|
|
90
|
+
* // Status: "PAUSED" || "ACTIVE",
|
|
91
|
+
* // },
|
|
89
92
|
* // ClientAuthentication: { // ClientAuthentication
|
|
90
93
|
* // Sasl: { // Sasl
|
|
91
94
|
* // Scram: { // Scram
|
|
@@ -165,6 +165,9 @@ declare const DescribeClusterOperationCommand_base: {
|
|
|
165
165
|
* // Number("double"),
|
|
166
166
|
* // ],
|
|
167
167
|
* // },
|
|
168
|
+
* // Rebalancing: { // Rebalancing
|
|
169
|
+
* // Status: "PAUSED" || "ACTIVE",
|
|
170
|
+
* // },
|
|
168
171
|
* // },
|
|
169
172
|
* // TargetClusterInfo: {
|
|
170
173
|
* // BrokerEBSVolumeInfo: [
|
|
@@ -269,6 +272,9 @@ declare const DescribeClusterOperationCommand_base: {
|
|
|
269
272
|
* // Number("double"),
|
|
270
273
|
* // ],
|
|
271
274
|
* // },
|
|
275
|
+
* // Rebalancing: {
|
|
276
|
+
* // Status: "PAUSED" || "ACTIVE",
|
|
277
|
+
* // },
|
|
272
278
|
* // },
|
|
273
279
|
* // VpcConnectionInfo: { // VpcConnectionInfo
|
|
274
280
|
* // VpcConnectionArn: "STRING_VALUE",
|
|
@@ -166,6 +166,9 @@ declare const DescribeClusterOperationV2Command_base: {
|
|
|
166
166
|
* // Number("double"),
|
|
167
167
|
* // ],
|
|
168
168
|
* // },
|
|
169
|
+
* // Rebalancing: { // Rebalancing
|
|
170
|
+
* // Status: "PAUSED" || "ACTIVE",
|
|
171
|
+
* // },
|
|
169
172
|
* // },
|
|
170
173
|
* // TargetClusterInfo: {
|
|
171
174
|
* // BrokerEBSVolumeInfo: [
|
|
@@ -270,6 +273,9 @@ declare const DescribeClusterOperationV2Command_base: {
|
|
|
270
273
|
* // Number("double"),
|
|
271
274
|
* // ],
|
|
272
275
|
* // },
|
|
276
|
+
* // Rebalancing: {
|
|
277
|
+
* // Status: "PAUSED" || "ACTIVE",
|
|
278
|
+
* // },
|
|
273
279
|
* // },
|
|
274
280
|
* // VpcConnectionInfo: { // VpcConnectionInfo
|
|
275
281
|
* // VpcConnectionArn: "STRING_VALUE",
|
|
@@ -100,6 +100,9 @@ declare const DescribeClusterV2Command_base: {
|
|
|
100
100
|
* // "STRING_VALUE",
|
|
101
101
|
* // ],
|
|
102
102
|
* // },
|
|
103
|
+
* // Rebalancing: { // Rebalancing
|
|
104
|
+
* // Status: "PAUSED" || "ACTIVE",
|
|
105
|
+
* // },
|
|
103
106
|
* // CurrentBrokerSoftwareInfo: { // BrokerSoftwareInfo
|
|
104
107
|
* // ConfigurationArn: "STRING_VALUE",
|
|
105
108
|
* // ConfigurationRevision: Number("long"),
|
|
@@ -168,6 +168,9 @@ declare const ListClusterOperationsCommand_base: {
|
|
|
168
168
|
* // Number("double"),
|
|
169
169
|
* // ],
|
|
170
170
|
* // },
|
|
171
|
+
* // Rebalancing: { // Rebalancing
|
|
172
|
+
* // Status: "PAUSED" || "ACTIVE",
|
|
173
|
+
* // },
|
|
171
174
|
* // },
|
|
172
175
|
* // TargetClusterInfo: {
|
|
173
176
|
* // BrokerEBSVolumeInfo: [
|
|
@@ -272,6 +275,9 @@ declare const ListClusterOperationsCommand_base: {
|
|
|
272
275
|
* // Number("double"),
|
|
273
276
|
* // ],
|
|
274
277
|
* // },
|
|
278
|
+
* // Rebalancing: {
|
|
279
|
+
* // Status: "PAUSED" || "ACTIVE",
|
|
280
|
+
* // },
|
|
275
281
|
* // },
|
|
276
282
|
* // VpcConnectionInfo: { // VpcConnectionInfo
|
|
277
283
|
* // VpcConnectionArn: "STRING_VALUE",
|
|
@@ -89,6 +89,9 @@ declare const ListClustersCommand_base: {
|
|
|
89
89
|
* // "STRING_VALUE",
|
|
90
90
|
* // ],
|
|
91
91
|
* // },
|
|
92
|
+
* // Rebalancing: { // Rebalancing
|
|
93
|
+
* // Status: "PAUSED" || "ACTIVE",
|
|
94
|
+
* // },
|
|
92
95
|
* // ClientAuthentication: { // ClientAuthentication
|
|
93
96
|
* // Sasl: { // Sasl
|
|
94
97
|
* // Scram: { // Scram
|
|
@@ -104,6 +104,9 @@ declare const ListClustersV2Command_base: {
|
|
|
104
104
|
* // "STRING_VALUE",
|
|
105
105
|
* // ],
|
|
106
106
|
* // },
|
|
107
|
+
* // Rebalancing: { // Rebalancing
|
|
108
|
+
* // Status: "PAUSED" || "ACTIVE",
|
|
109
|
+
* // },
|
|
107
110
|
* // CurrentBrokerSoftwareInfo: { // BrokerSoftwareInfo
|
|
108
111
|
* // ConfigurationArn: "STRING_VALUE",
|
|
109
112
|
* // ConfigurationRevision: Number("long"),
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
4
|
+
import { UpdateRebalancingRequest, UpdateRebalancingResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateRebalancingCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateRebalancingCommandInput extends UpdateRebalancingRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateRebalancingCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateRebalancingCommandOutput extends UpdateRebalancingResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateRebalancingCommand_base: {
|
|
25
|
+
new (input: UpdateRebalancingCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRebalancingCommandInput, UpdateRebalancingCommandOutput, KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateRebalancingCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRebalancingCommandInput, UpdateRebalancingCommandOutput, KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Use this resource to update the intelligent rebalancing status of an Amazon MSK Provisioned cluster with Express brokers.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { KafkaClient, UpdateRebalancingCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
35
|
+
* // const { KafkaClient, UpdateRebalancingCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
36
|
+
* // import type { KafkaClientConfig } from "@aws-sdk/client-kafka";
|
|
37
|
+
* const config = {}; // type is KafkaClientConfig
|
|
38
|
+
* const client = new KafkaClient(config);
|
|
39
|
+
* const input = { // UpdateRebalancingRequest
|
|
40
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
41
|
+
* CurrentVersion: "STRING_VALUE", // required
|
|
42
|
+
* Rebalancing: { // Rebalancing
|
|
43
|
+
* Status: "PAUSED" || "ACTIVE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
46
|
+
* const command = new UpdateRebalancingCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // UpdateRebalancingResponse
|
|
49
|
+
* // ClusterArn: "STRING_VALUE",
|
|
50
|
+
* // ClusterOperationArn: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param UpdateRebalancingCommandInput - {@link UpdateRebalancingCommandInput}
|
|
56
|
+
* @returns {@link UpdateRebalancingCommandOutput}
|
|
57
|
+
* @see {@link UpdateRebalancingCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link UpdateRebalancingCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link BadRequestException} (client fault)
|
|
62
|
+
* <p>Returns information about an error.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
65
|
+
* <p>Returns information about an error.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
68
|
+
* <p>Returns information about an error.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link NotFoundException} (client fault)
|
|
71
|
+
* <p>Returns information about an error.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
|
+
* <p>Returns information about an error.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
77
|
+
* <p>Returns information about an error.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
80
|
+
* <p>Returns information about an error.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link KafkaServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from Kafka service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class UpdateRebalancingCommand extends UpdateRebalancingCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: UpdateRebalancingRequest;
|
|
93
|
+
output: UpdateRebalancingResponse;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: UpdateRebalancingCommandInput;
|
|
97
|
+
output: UpdateRebalancingCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -47,6 +47,7 @@ export * from "./UpdateClusterKafkaVersionCommand";
|
|
|
47
47
|
export * from "./UpdateConfigurationCommand";
|
|
48
48
|
export * from "./UpdateConnectivityCommand";
|
|
49
49
|
export * from "./UpdateMonitoringCommand";
|
|
50
|
+
export * from "./UpdateRebalancingCommand";
|
|
50
51
|
export * from "./UpdateReplicationInfoCommand";
|
|
51
52
|
export * from "./UpdateSecurityCommand";
|
|
52
53
|
export * from "./UpdateStorageCommand";
|
|
@@ -564,6 +564,29 @@ export interface OpenMonitoringInfo {
|
|
|
564
564
|
*/
|
|
565
565
|
Prometheus: PrometheusInfo | undefined;
|
|
566
566
|
}
|
|
567
|
+
/**
|
|
568
|
+
* @public
|
|
569
|
+
* @enum
|
|
570
|
+
*/
|
|
571
|
+
export declare const RebalancingStatus: {
|
|
572
|
+
readonly ACTIVE: "ACTIVE";
|
|
573
|
+
readonly PAUSED: "PAUSED";
|
|
574
|
+
};
|
|
575
|
+
/**
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
export type RebalancingStatus = (typeof RebalancingStatus)[keyof typeof RebalancingStatus];
|
|
579
|
+
/**
|
|
580
|
+
* <p>Specifies whether or not intelligent rebalancing is turned on for a newly created MSK Provisioned cluster with Express brokers. Intelligent rebalancing performs automatic partition balancing operations when you scale your clusters up or down. By default, intelligent rebalancing is ACTIVE for all new Express-based clusters.</p>
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
583
|
+
export interface Rebalancing {
|
|
584
|
+
/**
|
|
585
|
+
* <p>Intelligent rebalancing status. The default intelligent rebalancing status is ACTIVE for all new Express-based clusters.</p>
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
Status?: RebalancingStatus | undefined;
|
|
589
|
+
}
|
|
567
590
|
/**
|
|
568
591
|
* @public
|
|
569
592
|
* @enum
|
|
@@ -586,6 +609,11 @@ export interface Provisioned {
|
|
|
586
609
|
* @public
|
|
587
610
|
*/
|
|
588
611
|
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* <p>Specifies whether or not intelligent rebalancing is turned on for a newly created MSK Provisioned cluster with Express brokers. Intelligent rebalancing performs automatic partition balancing operations when you scale your clusters up or down. By default, intelligent rebalancing is ACTIVE for all new Express-based clusters.</p>
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
Rebalancing?: Rebalancing | undefined;
|
|
589
617
|
/**
|
|
590
618
|
* <p>Information about the Apache Kafka version deployed on the brokers.</p>
|
|
591
619
|
* @public
|
|
@@ -846,6 +874,11 @@ export interface ClusterInfo {
|
|
|
846
874
|
* @public
|
|
847
875
|
*/
|
|
848
876
|
BrokerNodeGroupInfo?: BrokerNodeGroupInfo | undefined;
|
|
877
|
+
/**
|
|
878
|
+
* <p>Contains information about intelligent rebalancing for new MSK Provisioned clusters with Express brokers. By default, intelligent rebalancing status is ACTIVE.</p>
|
|
879
|
+
* @public
|
|
880
|
+
*/
|
|
881
|
+
Rebalancing?: Rebalancing | undefined;
|
|
849
882
|
/**
|
|
850
883
|
* <p>Includes all client authentication information.</p>
|
|
851
884
|
* @public
|
|
@@ -1074,6 +1107,11 @@ export interface MutableClusterInfo {
|
|
|
1074
1107
|
* @public
|
|
1075
1108
|
*/
|
|
1076
1109
|
BrokerCountUpdateInfo?: BrokerCountUpdateInfo | undefined;
|
|
1110
|
+
/**
|
|
1111
|
+
* <p>Describes the intelligent rebalancing configuration of an MSK Provisioned cluster with Express brokers.</p>
|
|
1112
|
+
* @public
|
|
1113
|
+
*/
|
|
1114
|
+
Rebalancing?: Rebalancing | undefined;
|
|
1077
1115
|
}
|
|
1078
1116
|
/**
|
|
1079
1117
|
* @public
|
|
@@ -2277,6 +2315,11 @@ export interface CreateClusterRequest {
|
|
|
2277
2315
|
* @public
|
|
2278
2316
|
*/
|
|
2279
2317
|
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
2318
|
+
/**
|
|
2319
|
+
* <p>Specifies if intelligent rebalancing should be turned on for the new MSK Provisioned cluster with Express brokers. By default, intelligent rebalancing status is ACTIVE for all new clusters.</p>
|
|
2320
|
+
* @public
|
|
2321
|
+
*/
|
|
2322
|
+
Rebalancing?: Rebalancing | undefined;
|
|
2280
2323
|
/**
|
|
2281
2324
|
* <p>Includes all client authentication related information.</p>
|
|
2282
2325
|
* @public
|
|
@@ -2359,6 +2402,11 @@ export interface ProvisionedRequest {
|
|
|
2359
2402
|
* @public
|
|
2360
2403
|
*/
|
|
2361
2404
|
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
2405
|
+
/**
|
|
2406
|
+
* <p>Specifies if intelligent rebalancing is turned on for your MSK Provisioned cluster with Express brokers. For all new Express-based clusters that you create, intelligent rebalancing is turned on by default.</p>
|
|
2407
|
+
* @public
|
|
2408
|
+
*/
|
|
2409
|
+
Rebalancing?: Rebalancing | undefined;
|
|
2362
2410
|
/**
|
|
2363
2411
|
* <p>Includes all client authentication information.</p>
|
|
2364
2412
|
* @public
|
|
@@ -4090,6 +4138,41 @@ export interface UpdateMonitoringResponse {
|
|
|
4090
4138
|
*/
|
|
4091
4139
|
ClusterOperationArn?: string | undefined;
|
|
4092
4140
|
}
|
|
4141
|
+
/**
|
|
4142
|
+
* @public
|
|
4143
|
+
*/
|
|
4144
|
+
export interface UpdateRebalancingRequest {
|
|
4145
|
+
/**
|
|
4146
|
+
* <p>The Amazon Resource Name (ARN) of the cluster.</p>
|
|
4147
|
+
* @public
|
|
4148
|
+
*/
|
|
4149
|
+
ClusterArn: string | undefined;
|
|
4150
|
+
/**
|
|
4151
|
+
* <p>The current version of the cluster.</p>
|
|
4152
|
+
* @public
|
|
4153
|
+
*/
|
|
4154
|
+
CurrentVersion: string | undefined;
|
|
4155
|
+
/**
|
|
4156
|
+
* <p>Specifies if intelligent rebalancing should be turned on for your cluster. The default intelligent rebalancing status is ACTIVE for all new MSK Provisioned clusters that you create with Express brokers.</p>
|
|
4157
|
+
* @public
|
|
4158
|
+
*/
|
|
4159
|
+
Rebalancing: Rebalancing | undefined;
|
|
4160
|
+
}
|
|
4161
|
+
/**
|
|
4162
|
+
* @public
|
|
4163
|
+
*/
|
|
4164
|
+
export interface UpdateRebalancingResponse {
|
|
4165
|
+
/**
|
|
4166
|
+
* <p>The Amazon Resource Name (ARN) of the cluster whose intelligent rebalancing status you've updated.</p>
|
|
4167
|
+
* @public
|
|
4168
|
+
*/
|
|
4169
|
+
ClusterArn?: string | undefined;
|
|
4170
|
+
/**
|
|
4171
|
+
* <p>The Amazon Resource Name (ARN) of the cluster operation.</p>
|
|
4172
|
+
* @public
|
|
4173
|
+
*/
|
|
4174
|
+
ClusterOperationArn?: string | undefined;
|
|
4175
|
+
}
|
|
4093
4176
|
/**
|
|
4094
4177
|
* <p>Details for updating the topic replication of a replicator.</p>
|
|
4095
4178
|
* @public
|
|
@@ -49,6 +49,7 @@ import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommand
|
|
|
49
49
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "../commands/UpdateConfigurationCommand";
|
|
50
50
|
import { UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput } from "../commands/UpdateConnectivityCommand";
|
|
51
51
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "../commands/UpdateMonitoringCommand";
|
|
52
|
+
import { UpdateRebalancingCommandInput, UpdateRebalancingCommandOutput } from "../commands/UpdateRebalancingCommand";
|
|
52
53
|
import { UpdateReplicationInfoCommandInput, UpdateReplicationInfoCommandOutput } from "../commands/UpdateReplicationInfoCommand";
|
|
53
54
|
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "../commands/UpdateSecurityCommand";
|
|
54
55
|
import { UpdateStorageCommandInput, UpdateStorageCommandOutput } from "../commands/UpdateStorageCommand";
|
|
@@ -248,6 +249,10 @@ export declare const se_UpdateConnectivityCommand: (input: UpdateConnectivityCom
|
|
|
248
249
|
* serializeAws_restJson1UpdateMonitoringCommand
|
|
249
250
|
*/
|
|
250
251
|
export declare const se_UpdateMonitoringCommand: (input: UpdateMonitoringCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
252
|
+
/**
|
|
253
|
+
* serializeAws_restJson1UpdateRebalancingCommand
|
|
254
|
+
*/
|
|
255
|
+
export declare const se_UpdateRebalancingCommand: (input: UpdateRebalancingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
251
256
|
/**
|
|
252
257
|
* serializeAws_restJson1UpdateReplicationInfoCommand
|
|
253
258
|
*/
|
|
@@ -456,6 +461,10 @@ export declare const de_UpdateConnectivityCommand: (output: __HttpResponse, cont
|
|
|
456
461
|
* deserializeAws_restJson1UpdateMonitoringCommand
|
|
457
462
|
*/
|
|
458
463
|
export declare const de_UpdateMonitoringCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateMonitoringCommandOutput>;
|
|
464
|
+
/**
|
|
465
|
+
* deserializeAws_restJson1UpdateRebalancingCommand
|
|
466
|
+
*/
|
|
467
|
+
export declare const de_UpdateRebalancingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRebalancingCommandOutput>;
|
|
459
468
|
/**
|
|
460
469
|
* deserializeAws_restJson1UpdateReplicationInfoCommand
|
|
461
470
|
*/
|
|
@@ -195,6 +195,10 @@ import {
|
|
|
195
195
|
UpdateMonitoringCommandInput,
|
|
196
196
|
UpdateMonitoringCommandOutput,
|
|
197
197
|
} from "./commands/UpdateMonitoringCommand";
|
|
198
|
+
import {
|
|
199
|
+
UpdateRebalancingCommandInput,
|
|
200
|
+
UpdateRebalancingCommandOutput,
|
|
201
|
+
} from "./commands/UpdateRebalancingCommand";
|
|
198
202
|
import {
|
|
199
203
|
UpdateReplicationInfoCommandInput,
|
|
200
204
|
UpdateReplicationInfoCommandOutput,
|
|
@@ -853,6 +857,19 @@ export interface Kafka {
|
|
|
853
857
|
options: __HttpHandlerOptions,
|
|
854
858
|
cb: (err: any, data?: UpdateMonitoringCommandOutput) => void
|
|
855
859
|
): void;
|
|
860
|
+
updateRebalancing(
|
|
861
|
+
args: UpdateRebalancingCommandInput,
|
|
862
|
+
options?: __HttpHandlerOptions
|
|
863
|
+
): Promise<UpdateRebalancingCommandOutput>;
|
|
864
|
+
updateRebalancing(
|
|
865
|
+
args: UpdateRebalancingCommandInput,
|
|
866
|
+
cb: (err: any, data?: UpdateRebalancingCommandOutput) => void
|
|
867
|
+
): void;
|
|
868
|
+
updateRebalancing(
|
|
869
|
+
args: UpdateRebalancingCommandInput,
|
|
870
|
+
options: __HttpHandlerOptions,
|
|
871
|
+
cb: (err: any, data?: UpdateRebalancingCommandOutput) => void
|
|
872
|
+
): void;
|
|
856
873
|
updateReplicationInfo(
|
|
857
874
|
args: UpdateReplicationInfoCommandInput,
|
|
858
875
|
options?: __HttpHandlerOptions
|
|
@@ -241,6 +241,10 @@ import {
|
|
|
241
241
|
UpdateMonitoringCommandInput,
|
|
242
242
|
UpdateMonitoringCommandOutput,
|
|
243
243
|
} from "./commands/UpdateMonitoringCommand";
|
|
244
|
+
import {
|
|
245
|
+
UpdateRebalancingCommandInput,
|
|
246
|
+
UpdateRebalancingCommandOutput,
|
|
247
|
+
} from "./commands/UpdateRebalancingCommand";
|
|
244
248
|
import {
|
|
245
249
|
UpdateReplicationInfoCommandInput,
|
|
246
250
|
UpdateReplicationInfoCommandOutput,
|
|
@@ -310,6 +314,7 @@ export type ServiceInputTypes =
|
|
|
310
314
|
| UpdateConfigurationCommandInput
|
|
311
315
|
| UpdateConnectivityCommandInput
|
|
312
316
|
| UpdateMonitoringCommandInput
|
|
317
|
+
| UpdateRebalancingCommandInput
|
|
313
318
|
| UpdateReplicationInfoCommandInput
|
|
314
319
|
| UpdateSecurityCommandInput
|
|
315
320
|
| UpdateStorageCommandInput;
|
|
@@ -363,6 +368,7 @@ export type ServiceOutputTypes =
|
|
|
363
368
|
| UpdateConfigurationCommandOutput
|
|
364
369
|
| UpdateConnectivityCommandOutput
|
|
365
370
|
| UpdateMonitoringCommandOutput
|
|
371
|
+
| UpdateRebalancingCommandOutput
|
|
366
372
|
| UpdateReplicationInfoCommandOutput
|
|
367
373
|
| UpdateSecurityCommandOutput
|
|
368
374
|
| UpdateStorageCommandOutput;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KafkaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KafkaClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateRebalancingRequest,
|
|
10
|
+
UpdateRebalancingResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateRebalancingCommandInput
|
|
15
|
+
extends UpdateRebalancingRequest {}
|
|
16
|
+
export interface UpdateRebalancingCommandOutput
|
|
17
|
+
extends UpdateRebalancingResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateRebalancingCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateRebalancingCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateRebalancingCommandInput,
|
|
24
|
+
UpdateRebalancingCommandOutput,
|
|
25
|
+
KafkaClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateRebalancingCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateRebalancingCommandInput,
|
|
33
|
+
UpdateRebalancingCommandOutput,
|
|
34
|
+
KafkaClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateRebalancingCommand extends UpdateRebalancingCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateRebalancingRequest;
|
|
44
|
+
output: UpdateRebalancingResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateRebalancingCommandInput;
|
|
48
|
+
output: UpdateRebalancingCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -47,6 +47,7 @@ export * from "./UpdateClusterKafkaVersionCommand";
|
|
|
47
47
|
export * from "./UpdateConfigurationCommand";
|
|
48
48
|
export * from "./UpdateConnectivityCommand";
|
|
49
49
|
export * from "./UpdateMonitoringCommand";
|
|
50
|
+
export * from "./UpdateRebalancingCommand";
|
|
50
51
|
export * from "./UpdateReplicationInfoCommand";
|
|
51
52
|
export * from "./UpdateSecurityCommand";
|
|
52
53
|
export * from "./UpdateStorageCommand";
|
|
@@ -174,6 +174,15 @@ export interface PrometheusInfo {
|
|
|
174
174
|
export interface OpenMonitoringInfo {
|
|
175
175
|
Prometheus: PrometheusInfo | undefined;
|
|
176
176
|
}
|
|
177
|
+
export declare const RebalancingStatus: {
|
|
178
|
+
readonly ACTIVE: "ACTIVE";
|
|
179
|
+
readonly PAUSED: "PAUSED";
|
|
180
|
+
};
|
|
181
|
+
export type RebalancingStatus =
|
|
182
|
+
(typeof RebalancingStatus)[keyof typeof RebalancingStatus];
|
|
183
|
+
export interface Rebalancing {
|
|
184
|
+
Status?: RebalancingStatus | undefined;
|
|
185
|
+
}
|
|
177
186
|
export declare const StorageMode: {
|
|
178
187
|
readonly LOCAL: "LOCAL";
|
|
179
188
|
readonly TIERED: "TIERED";
|
|
@@ -181,6 +190,7 @@ export declare const StorageMode: {
|
|
|
181
190
|
export type StorageMode = (typeof StorageMode)[keyof typeof StorageMode];
|
|
182
191
|
export interface Provisioned {
|
|
183
192
|
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
193
|
+
Rebalancing?: Rebalancing | undefined;
|
|
184
194
|
CurrentBrokerSoftwareInfo?: BrokerSoftwareInfo | undefined;
|
|
185
195
|
ClientAuthentication?: ClientAuthentication | undefined;
|
|
186
196
|
EncryptionInfo?: EncryptionInfo | undefined;
|
|
@@ -251,6 +261,7 @@ export interface OpenMonitoring {
|
|
|
251
261
|
export interface ClusterInfo {
|
|
252
262
|
ActiveOperationArn?: string | undefined;
|
|
253
263
|
BrokerNodeGroupInfo?: BrokerNodeGroupInfo | undefined;
|
|
264
|
+
Rebalancing?: Rebalancing | undefined;
|
|
254
265
|
ClientAuthentication?: ClientAuthentication | undefined;
|
|
255
266
|
ClusterArn?: string | undefined;
|
|
256
267
|
ClusterName?: string | undefined;
|
|
@@ -303,6 +314,7 @@ export interface MutableClusterInfo {
|
|
|
303
314
|
ConnectivityInfo?: ConnectivityInfo | undefined;
|
|
304
315
|
StorageMode?: StorageMode | undefined;
|
|
305
316
|
BrokerCountUpdateInfo?: BrokerCountUpdateInfo | undefined;
|
|
317
|
+
Rebalancing?: Rebalancing | undefined;
|
|
306
318
|
}
|
|
307
319
|
export declare const UserIdentityType: {
|
|
308
320
|
readonly AWSACCOUNT: "AWSACCOUNT";
|
|
@@ -639,6 +651,7 @@ export interface ConsumerGroupReplicationUpdate {
|
|
|
639
651
|
}
|
|
640
652
|
export interface CreateClusterRequest {
|
|
641
653
|
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
654
|
+
Rebalancing?: Rebalancing | undefined;
|
|
642
655
|
ClientAuthentication?: ClientAuthentication | undefined;
|
|
643
656
|
ClusterName: string | undefined;
|
|
644
657
|
ConfigurationInfo?: ConfigurationInfo | undefined;
|
|
@@ -658,6 +671,7 @@ export interface CreateClusterResponse {
|
|
|
658
671
|
}
|
|
659
672
|
export interface ProvisionedRequest {
|
|
660
673
|
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
674
|
+
Rebalancing?: Rebalancing | undefined;
|
|
661
675
|
ClientAuthentication?: ClientAuthentication | undefined;
|
|
662
676
|
ConfigurationInfo?: ConfigurationInfo | undefined;
|
|
663
677
|
EncryptionInfo?: EncryptionInfo | undefined;
|
|
@@ -1089,6 +1103,15 @@ export interface UpdateMonitoringResponse {
|
|
|
1089
1103
|
ClusterArn?: string | undefined;
|
|
1090
1104
|
ClusterOperationArn?: string | undefined;
|
|
1091
1105
|
}
|
|
1106
|
+
export interface UpdateRebalancingRequest {
|
|
1107
|
+
ClusterArn: string | undefined;
|
|
1108
|
+
CurrentVersion: string | undefined;
|
|
1109
|
+
Rebalancing: Rebalancing | undefined;
|
|
1110
|
+
}
|
|
1111
|
+
export interface UpdateRebalancingResponse {
|
|
1112
|
+
ClusterArn?: string | undefined;
|
|
1113
|
+
ClusterOperationArn?: string | undefined;
|
|
1114
|
+
}
|
|
1092
1115
|
export interface TopicReplicationUpdate {
|
|
1093
1116
|
CopyAccessControlListsForTopics: boolean | undefined;
|
|
1094
1117
|
CopyTopicConfigurations: boolean | undefined;
|
|
@@ -199,6 +199,10 @@ import {
|
|
|
199
199
|
UpdateMonitoringCommandInput,
|
|
200
200
|
UpdateMonitoringCommandOutput,
|
|
201
201
|
} from "../commands/UpdateMonitoringCommand";
|
|
202
|
+
import {
|
|
203
|
+
UpdateRebalancingCommandInput,
|
|
204
|
+
UpdateRebalancingCommandOutput,
|
|
205
|
+
} from "../commands/UpdateRebalancingCommand";
|
|
202
206
|
import {
|
|
203
207
|
UpdateReplicationInfoCommandInput,
|
|
204
208
|
UpdateReplicationInfoCommandOutput,
|
|
@@ -407,6 +411,10 @@ export declare const se_UpdateMonitoringCommand: (
|
|
|
407
411
|
input: UpdateMonitoringCommandInput,
|
|
408
412
|
context: __SerdeContext
|
|
409
413
|
) => Promise<__HttpRequest>;
|
|
414
|
+
export declare const se_UpdateRebalancingCommand: (
|
|
415
|
+
input: UpdateRebalancingCommandInput,
|
|
416
|
+
context: __SerdeContext
|
|
417
|
+
) => Promise<__HttpRequest>;
|
|
410
418
|
export declare const se_UpdateReplicationInfoCommand: (
|
|
411
419
|
input: UpdateReplicationInfoCommandInput,
|
|
412
420
|
context: __SerdeContext
|
|
@@ -615,6 +623,10 @@ export declare const de_UpdateMonitoringCommand: (
|
|
|
615
623
|
output: __HttpResponse,
|
|
616
624
|
context: __SerdeContext
|
|
617
625
|
) => Promise<UpdateMonitoringCommandOutput>;
|
|
626
|
+
export declare const de_UpdateRebalancingCommand: (
|
|
627
|
+
output: __HttpResponse,
|
|
628
|
+
context: __SerdeContext
|
|
629
|
+
) => Promise<UpdateRebalancingCommandOutput>;
|
|
618
630
|
export declare const de_UpdateReplicationInfoCommand: (
|
|
619
631
|
output: __HttpResponse,
|
|
620
632
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafka",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafka Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.928.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kafka",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.928.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.928.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.928.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.925.0",
|
|
30
30
|
"@aws-sdk/types": "3.922.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.928.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.2",
|
|
35
35
|
"@smithy/core": "^3.17.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.5",
|