aws-sdk-kafka 1.98.0 → 1.99.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9390eefe0e3cde2f42cf024f07f5944eee2a8c696cfec77a67e35e1b20b6ae21
4
- data.tar.gz: 2e3268a0a2bd7a9bf52d23a30429443a422ac14ed633dd8db63fb4d3ea578231
3
+ metadata.gz: c063b5798cda8bb65dc84083a92c27994e0f6e69abef4838c1f0058d30331190
4
+ data.tar.gz: ac60619299b868989244c726090165614a8d3c4afeaa609d8dc6227255345f2b
5
5
  SHA512:
6
- metadata.gz: 81027b990230c4e097268d30aa6045e74cfc59361a1cc301896e7edb16b334febebcc739fe659ee033d5a4ea33622b7096209894e0a0597d1c8c559db0b262f8
7
- data.tar.gz: 784ad86cbce6f2c3e5dd56487767ea32f47c4c3f4cc1f5dacc072e37995c557566d75212ee1ba3d466b5bc765289abc506654d641c33dfcbbab70db43b15b2cb
6
+ metadata.gz: ffc8353853da5f35f602c2d4becead1bc3cf3024203fb375a02c53b1d9a5118fe91cd7bbff26ed96ee886cabc26470d54b027f1d5700b168402e60ca90e573f5
7
+ data.tar.gz: ce66ea119c73ef6dfc5be02188f82602dd7fac48564a9edc0ef56ebbd30ffd88372a3924897a6eeb9b7495fffecbbdc6faf925ecba0580153e2648d21c9d9d7c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.99.0 (2025-11-10)
5
+ ------------------
6
+
7
+ * Feature - Amazon MSK now supports intelligent rebalancing for MSK Express brokers.
8
+
4
9
  1.98.0 (2025-10-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.99.0
@@ -549,6 +549,11 @@ module Aws::Kafka
549
549
  # @option params [Hash<String,String>] :tags
550
550
  # Create tags when creating the cluster.
551
551
  #
552
+ # @option params [Types::Rebalancing] :rebalancing
553
+ # Specifies if intelligent rebalancing should be turned on for the new
554
+ # MSK Provisioned cluster with Express brokers. By default, intelligent
555
+ # rebalancing status is ACTIVE for all new clusters.
556
+ #
552
557
  # @option params [String] :storage_mode
553
558
  # This controls storage mode for supported storage tiers.
554
559
  #
@@ -661,6 +666,9 @@ module Aws::Kafka
661
666
  # tags: {
662
667
  # "__string" => "__string",
663
668
  # },
669
+ # rebalancing: {
670
+ # status: "PAUSED", # required, accepts PAUSED, ACTIVE
671
+ # },
664
672
  # storage_mode: "LOCAL", # accepts LOCAL, TIERED
665
673
  # })
666
674
  #
@@ -806,6 +814,9 @@ module Aws::Kafka
806
814
  # },
807
815
  # number_of_broker_nodes: 1, # required
808
816
  # storage_mode: "LOCAL", # accepts LOCAL, TIERED
817
+ # rebalancing: {
818
+ # status: "PAUSED", # required, accepts PAUSED, ACTIVE
819
+ # },
809
820
  # },
810
821
  # serverless: {
811
822
  # vpc_configs: [ # required
@@ -1242,6 +1253,7 @@ module Aws::Kafka
1242
1253
  # resp.cluster_info.zookeeper_connect_string #=> String
1243
1254
  # resp.cluster_info.zookeeper_connect_string_tls #=> String
1244
1255
  # resp.cluster_info.storage_mode #=> String, one of "LOCAL", "TIERED"
1256
+ # resp.cluster_info.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
1245
1257
  # resp.cluster_info.customer_action_status #=> String, one of "CRITICAL_ACTION_REQUIRED", "ACTION_RECOMMENDED", "NONE"
1246
1258
  #
1247
1259
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeCluster AWS API Documentation
@@ -1324,6 +1336,7 @@ module Aws::Kafka
1324
1336
  # resp.cluster_info.provisioned.zookeeper_connect_string #=> String
1325
1337
  # resp.cluster_info.provisioned.zookeeper_connect_string_tls #=> String
1326
1338
  # resp.cluster_info.provisioned.storage_mode #=> String, one of "LOCAL", "TIERED"
1339
+ # resp.cluster_info.provisioned.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
1327
1340
  # resp.cluster_info.provisioned.customer_action_status #=> String, one of "CRITICAL_ACTION_REQUIRED", "ACTION_RECOMMENDED", "NONE"
1328
1341
  # resp.cluster_info.serverless.vpc_configs #=> Array
1329
1342
  # resp.cluster_info.serverless.vpc_configs[0].subnet_ids #=> Array
@@ -1407,6 +1420,7 @@ module Aws::Kafka
1407
1420
  # resp.cluster_operation_info.source_cluster_info.broker_count_update_info.created_broker_ids[0] #=> Float
1408
1421
  # resp.cluster_operation_info.source_cluster_info.broker_count_update_info.deleted_broker_ids #=> Array
1409
1422
  # resp.cluster_operation_info.source_cluster_info.broker_count_update_info.deleted_broker_ids[0] #=> Float
1423
+ # resp.cluster_operation_info.source_cluster_info.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
1410
1424
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
1411
1425
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
1412
1426
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
@@ -1445,6 +1459,7 @@ module Aws::Kafka
1445
1459
  # resp.cluster_operation_info.target_cluster_info.broker_count_update_info.created_broker_ids[0] #=> Float
1446
1460
  # resp.cluster_operation_info.target_cluster_info.broker_count_update_info.deleted_broker_ids #=> Array
1447
1461
  # resp.cluster_operation_info.target_cluster_info.broker_count_update_info.deleted_broker_ids[0] #=> Float
1462
+ # resp.cluster_operation_info.target_cluster_info.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
1448
1463
  # resp.cluster_operation_info.vpc_connection_info.vpc_connection_arn #=> String
1449
1464
  # resp.cluster_operation_info.vpc_connection_info.owner #=> String
1450
1465
  # resp.cluster_operation_info.vpc_connection_info.user_identity.type #=> String, one of "AWSACCOUNT", "AWSSERVICE"
@@ -1524,6 +1539,7 @@ module Aws::Kafka
1524
1539
  # resp.cluster_operation_info.provisioned.source_cluster_info.broker_count_update_info.created_broker_ids[0] #=> Float
1525
1540
  # resp.cluster_operation_info.provisioned.source_cluster_info.broker_count_update_info.deleted_broker_ids #=> Array
1526
1541
  # resp.cluster_operation_info.provisioned.source_cluster_info.broker_count_update_info.deleted_broker_ids[0] #=> Float
1542
+ # resp.cluster_operation_info.provisioned.source_cluster_info.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
1527
1543
  # resp.cluster_operation_info.provisioned.target_cluster_info.broker_ebs_volume_info #=> Array
1528
1544
  # resp.cluster_operation_info.provisioned.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
1529
1545
  # resp.cluster_operation_info.provisioned.target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
@@ -1562,6 +1578,7 @@ module Aws::Kafka
1562
1578
  # resp.cluster_operation_info.provisioned.target_cluster_info.broker_count_update_info.created_broker_ids[0] #=> Float
1563
1579
  # resp.cluster_operation_info.provisioned.target_cluster_info.broker_count_update_info.deleted_broker_ids #=> Array
1564
1580
  # resp.cluster_operation_info.provisioned.target_cluster_info.broker_count_update_info.deleted_broker_ids[0] #=> Float
1581
+ # resp.cluster_operation_info.provisioned.target_cluster_info.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
1565
1582
  # resp.cluster_operation_info.provisioned.vpc_connection_info.vpc_connection_arn #=> String
1566
1583
  # resp.cluster_operation_info.provisioned.vpc_connection_info.owner #=> String
1567
1584
  # resp.cluster_operation_info.provisioned.vpc_connection_info.user_identity.type #=> String, one of "AWSACCOUNT", "AWSSERVICE"
@@ -1981,6 +1998,7 @@ module Aws::Kafka
1981
1998
  # resp.cluster_operation_info_list[0].source_cluster_info.broker_count_update_info.created_broker_ids[0] #=> Float
1982
1999
  # resp.cluster_operation_info_list[0].source_cluster_info.broker_count_update_info.deleted_broker_ids #=> Array
1983
2000
  # resp.cluster_operation_info_list[0].source_cluster_info.broker_count_update_info.deleted_broker_ids[0] #=> Float
2001
+ # resp.cluster_operation_info_list[0].source_cluster_info.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
1984
2002
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
1985
2003
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
1986
2004
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
@@ -2019,6 +2037,7 @@ module Aws::Kafka
2019
2037
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_count_update_info.created_broker_ids[0] #=> Float
2020
2038
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_count_update_info.deleted_broker_ids #=> Array
2021
2039
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_count_update_info.deleted_broker_ids[0] #=> Float
2040
+ # resp.cluster_operation_info_list[0].target_cluster_info.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
2022
2041
  # resp.cluster_operation_info_list[0].vpc_connection_info.vpc_connection_arn #=> String
2023
2042
  # resp.cluster_operation_info_list[0].vpc_connection_info.owner #=> String
2024
2043
  # resp.cluster_operation_info_list[0].vpc_connection_info.user_identity.type #=> String, one of "AWSACCOUNT", "AWSSERVICE"
@@ -2157,6 +2176,7 @@ module Aws::Kafka
2157
2176
  # resp.cluster_info_list[0].zookeeper_connect_string #=> String
2158
2177
  # resp.cluster_info_list[0].zookeeper_connect_string_tls #=> String
2159
2178
  # resp.cluster_info_list[0].storage_mode #=> String, one of "LOCAL", "TIERED"
2179
+ # resp.cluster_info_list[0].rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
2160
2180
  # resp.cluster_info_list[0].customer_action_status #=> String, one of "CRITICAL_ACTION_REQUIRED", "ACTION_RECOMMENDED", "NONE"
2161
2181
  # resp.next_token #=> String
2162
2182
  #
@@ -2258,6 +2278,7 @@ module Aws::Kafka
2258
2278
  # resp.cluster_info_list[0].provisioned.zookeeper_connect_string #=> String
2259
2279
  # resp.cluster_info_list[0].provisioned.zookeeper_connect_string_tls #=> String
2260
2280
  # resp.cluster_info_list[0].provisioned.storage_mode #=> String, one of "LOCAL", "TIERED"
2281
+ # resp.cluster_info_list[0].provisioned.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
2261
2282
  # resp.cluster_info_list[0].provisioned.customer_action_status #=> String, one of "CRITICAL_ACTION_REQUIRED", "ACTION_RECOMMENDED", "NONE"
2262
2283
  # resp.cluster_info_list[0].serverless.vpc_configs #=> Array
2263
2284
  # resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids #=> Array
@@ -3233,6 +3254,47 @@ module Aws::Kafka
3233
3254
  req.send_request(options)
3234
3255
  end
3235
3256
 
3257
+ # Use this resource to update the intelligent rebalancing status of an
3258
+ # Amazon MSK Provisioned cluster with Express brokers.
3259
+ #
3260
+ # @option params [required, String] :cluster_arn
3261
+ # The Amazon Resource Name (ARN) of the cluster.
3262
+ #
3263
+ # @option params [required, String] :current_version
3264
+ # The current version of the cluster.
3265
+ #
3266
+ # @option params [required, Types::Rebalancing] :rebalancing
3267
+ # Includes all rebalancing-related information for the cluster.
3268
+ #
3269
+ # @return [Types::UpdateRebalancingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3270
+ #
3271
+ # * {Types::UpdateRebalancingResponse#cluster_arn #cluster_arn} => String
3272
+ # * {Types::UpdateRebalancingResponse#cluster_operation_arn #cluster_operation_arn} => String
3273
+ #
3274
+ # @example Request syntax with placeholder values
3275
+ #
3276
+ # resp = client.update_rebalancing({
3277
+ # cluster_arn: "__string", # required
3278
+ # current_version: "__string", # required
3279
+ # rebalancing: { # required
3280
+ # status: "PAUSED", # required, accepts PAUSED, ACTIVE
3281
+ # },
3282
+ # })
3283
+ #
3284
+ # @example Response structure
3285
+ #
3286
+ # resp.cluster_arn #=> String
3287
+ # resp.cluster_operation_arn #=> String
3288
+ #
3289
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateRebalancing AWS API Documentation
3290
+ #
3291
+ # @overload update_rebalancing(params = {})
3292
+ # @param [Hash] params ({})
3293
+ def update_rebalancing(params = {}, options = {})
3294
+ req = build_request(:update_rebalancing, params)
3295
+ req.send_request(options)
3296
+ end
3297
+
3236
3298
  # Updates replication info of a replicator.
3237
3299
  #
3238
3300
  # @option params [Types::ConsumerGroupReplicationUpdate] :consumer_group_replication
@@ -3429,7 +3491,7 @@ module Aws::Kafka
3429
3491
  tracer: tracer
3430
3492
  )
3431
3493
  context[:gem_name] = 'aws-sdk-kafka'
3432
- context[:gem_version] = '1.98.0'
3494
+ context[:gem_version] = '1.99.0'
3433
3495
  Seahorse::Client::Request.new(handlers, context)
3434
3496
  end
3435
3497
 
@@ -158,6 +158,8 @@ module Aws::Kafka
158
158
  PublicAccess = Shapes::StructureShape.new(name: 'PublicAccess')
159
159
  PutClusterPolicyRequest = Shapes::StructureShape.new(name: 'PutClusterPolicyRequest')
160
160
  PutClusterPolicyResponse = Shapes::StructureShape.new(name: 'PutClusterPolicyResponse')
161
+ Rebalancing = Shapes::StructureShape.new(name: 'Rebalancing')
162
+ RebalancingStatus = Shapes::StringShape.new(name: 'RebalancingStatus')
161
163
  RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
162
164
  RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
163
165
  RejectClientVpcConnectionRequest = Shapes::StructureShape.new(name: 'RejectClientVpcConnectionRequest')
@@ -209,6 +211,8 @@ module Aws::Kafka
209
211
  UpdateConnectivityResponse = Shapes::StructureShape.new(name: 'UpdateConnectivityResponse')
210
212
  UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
211
213
  UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
214
+ UpdateRebalancingRequest = Shapes::StructureShape.new(name: 'UpdateRebalancingRequest')
215
+ UpdateRebalancingResponse = Shapes::StructureShape.new(name: 'UpdateRebalancingResponse')
212
216
  UpdateReplicationInfoRequest = Shapes::StructureShape.new(name: 'UpdateReplicationInfoRequest')
213
217
  UpdateReplicationInfoResponse = Shapes::StructureShape.new(name: 'UpdateReplicationInfoResponse')
214
218
  UpdateSecurityRequest = Shapes::StructureShape.new(name: 'UpdateSecurityRequest')
@@ -381,6 +385,7 @@ module Aws::Kafka
381
385
  ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
382
386
  ClusterInfo.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
383
387
  ClusterInfo.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
388
+ ClusterInfo.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, location_name: "rebalancing"))
384
389
  ClusterInfo.add_member(:customer_action_status, Shapes::ShapeRef.new(shape: CustomerActionStatus, location_name: "customerActionStatus"))
385
390
  ClusterInfo.struct_class = Types::ClusterInfo
386
391
 
@@ -490,6 +495,7 @@ module Aws::Kafka
490
495
  CreateClusterRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
491
496
  CreateClusterRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
492
497
  CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
498
+ CreateClusterRequest.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, location_name: "rebalancing"))
493
499
  CreateClusterRequest.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
494
500
  CreateClusterRequest.struct_class = Types::CreateClusterRequest
495
501
 
@@ -889,6 +895,7 @@ module Aws::Kafka
889
895
  MutableClusterInfo.add_member(:connectivity_info, Shapes::ShapeRef.new(shape: ConnectivityInfo, location_name: "connectivityInfo"))
890
896
  MutableClusterInfo.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
891
897
  MutableClusterInfo.add_member(:broker_count_update_info, Shapes::ShapeRef.new(shape: BrokerCountUpdateInfo, location_name: "brokerCountUpdateInfo"))
898
+ MutableClusterInfo.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, location_name: "rebalancing"))
892
899
  MutableClusterInfo.struct_class = Types::MutableClusterInfo
893
900
 
894
901
  NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
@@ -935,6 +942,7 @@ module Aws::Kafka
935
942
  Provisioned.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
936
943
  Provisioned.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
937
944
  Provisioned.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
945
+ Provisioned.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, location_name: "rebalancing"))
938
946
  Provisioned.add_member(:customer_action_status, Shapes::ShapeRef.new(shape: CustomerActionStatus, location_name: "customerActionStatus"))
939
947
  Provisioned.struct_class = Types::Provisioned
940
948
 
@@ -948,6 +956,7 @@ module Aws::Kafka
948
956
  ProvisionedRequest.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
949
957
  ProvisionedRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
950
958
  ProvisionedRequest.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
959
+ ProvisionedRequest.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, location_name: "rebalancing"))
951
960
  ProvisionedRequest.struct_class = Types::ProvisionedRequest
952
961
 
953
962
  ProvisionedThroughput.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
@@ -965,6 +974,9 @@ module Aws::Kafka
965
974
  PutClusterPolicyResponse.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location_name: "currentVersion"))
966
975
  PutClusterPolicyResponse.struct_class = Types::PutClusterPolicyResponse
967
976
 
977
+ Rebalancing.add_member(:status, Shapes::ShapeRef.new(shape: RebalancingStatus, required: true, location_name: "status"))
978
+ Rebalancing.struct_class = Types::Rebalancing
979
+
968
980
  RebootBrokerRequest.add_member(:broker_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "brokerIds"))
969
981
  RebootBrokerRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
970
982
  RebootBrokerRequest.struct_class = Types::RebootBrokerRequest
@@ -1174,6 +1186,15 @@ module Aws::Kafka
1174
1186
  UpdateMonitoringResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
1175
1187
  UpdateMonitoringResponse.struct_class = Types::UpdateMonitoringResponse
1176
1188
 
1189
+ UpdateRebalancingRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
1190
+ UpdateRebalancingRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
1191
+ UpdateRebalancingRequest.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, required: true, location_name: "rebalancing"))
1192
+ UpdateRebalancingRequest.struct_class = Types::UpdateRebalancingRequest
1193
+
1194
+ UpdateRebalancingResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
1195
+ UpdateRebalancingResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
1196
+ UpdateRebalancingResponse.struct_class = Types::UpdateRebalancingResponse
1197
+
1177
1198
  UpdateReplicationInfoRequest.add_member(:consumer_group_replication, Shapes::ShapeRef.new(shape: ConsumerGroupReplicationUpdate, location_name: "consumerGroupReplication"))
1178
1199
  UpdateReplicationInfoRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
1179
1200
  UpdateReplicationInfoRequest.add_member(:replicator_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "replicatorArn"))
@@ -2074,6 +2095,21 @@ module Aws::Kafka
2074
2095
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2075
2096
  end)
2076
2097
 
2098
+ api.add_operation(:update_rebalancing, Seahorse::Model::Operation.new.tap do |o|
2099
+ o.name = "UpdateRebalancing"
2100
+ o.http_method = "PUT"
2101
+ o.http_request_uri = "/v1/clusters/{clusterArn}/rebalancing"
2102
+ o.input = Shapes::ShapeRef.new(shape: UpdateRebalancingRequest)
2103
+ o.output = Shapes::ShapeRef.new(shape: UpdateRebalancingResponse)
2104
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2105
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2106
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2107
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2108
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2109
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2110
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2111
+ end)
2112
+
2077
2113
  api.add_operation(:update_replication_info, Seahorse::Model::Operation.new.tap do |o|
2078
2114
  o.name = "UpdateReplicationInfo"
2079
2115
  o.http_method = "PUT"
@@ -404,6 +404,12 @@ module Aws::Kafka
404
404
  # This controls storage mode for supported storage tiers.
405
405
  # @return [String]
406
406
  #
407
+ # @!attribute [rw] rebalancing
408
+ # Contains information about intelligent rebalancing for new MSK
409
+ # Provisioned clusters with Express brokers. By default, intelligent
410
+ # rebalancing status is ACTIVE.
411
+ # @return [Types::Rebalancing]
412
+ #
407
413
  # @!attribute [rw] customer_action_status
408
414
  # Determines if there is an action required from the customer.
409
415
  # @return [String]
@@ -430,6 +436,7 @@ module Aws::Kafka
430
436
  :zookeeper_connect_string,
431
437
  :zookeeper_connect_string_tls,
432
438
  :storage_mode,
439
+ :rebalancing,
433
440
  :customer_action_status)
434
441
  SENSITIVE = []
435
442
  include Aws::Structure
@@ -1022,6 +1029,12 @@ module Aws::Kafka
1022
1029
  # Create tags when creating the cluster.
1023
1030
  # @return [Hash<String,String>]
1024
1031
  #
1032
+ # @!attribute [rw] rebalancing
1033
+ # Specifies if intelligent rebalancing should be turned on for the new
1034
+ # MSK Provisioned cluster with Express brokers. By default,
1035
+ # intelligent rebalancing status is ACTIVE for all new clusters.
1036
+ # @return [Types::Rebalancing]
1037
+ #
1025
1038
  # @!attribute [rw] storage_mode
1026
1039
  # This controls storage mode for supported storage tiers.
1027
1040
  # @return [String]
@@ -1040,6 +1053,7 @@ module Aws::Kafka
1040
1053
  :number_of_broker_nodes,
1041
1054
  :open_monitoring,
1042
1055
  :tags,
1056
+ :rebalancing,
1043
1057
  :storage_mode)
1044
1058
  SENSITIVE = []
1045
1059
  include Aws::Structure
@@ -2586,6 +2600,21 @@ module Aws::Kafka
2586
2600
  include Aws::Structure
2587
2601
  end
2588
2602
 
2603
+ # Includes all rebalancing-related information for the cluster.
2604
+ #
2605
+ # @!attribute [rw] status
2606
+ # Intelligent rebalancing status. The default intelligent rebalancing
2607
+ # status is ACTIVE for all new Express-based clusters.
2608
+ # @return [String]
2609
+ #
2610
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Rebalancing AWS API Documentation
2611
+ #
2612
+ class Rebalancing < Struct.new(
2613
+ :status)
2614
+ SENSITIVE = []
2615
+ include Aws::Structure
2616
+ end
2617
+
2589
2618
  # Creates a provisioned cluster.
2590
2619
  #
2591
2620
  # @!attribute [rw] broker_node_group_info
@@ -2631,6 +2660,13 @@ module Aws::Kafka
2631
2660
  # This controls storage mode for supported storage tiers.
2632
2661
  # @return [String]
2633
2662
  #
2663
+ # @!attribute [rw] rebalancing
2664
+ # Specifies if intelligent rebalancing is turned on for your MSK
2665
+ # Provisioned cluster with Express brokers. For all new Express-based
2666
+ # clusters that you create, intelligent rebalancing is turned on by
2667
+ # default.
2668
+ # @return [Types::Rebalancing]
2669
+ #
2634
2670
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ProvisionedRequest AWS API Documentation
2635
2671
  #
2636
2672
  class ProvisionedRequest < Struct.new(
@@ -2643,7 +2679,8 @@ module Aws::Kafka
2643
2679
  :kafka_version,
2644
2680
  :logging_info,
2645
2681
  :number_of_broker_nodes,
2646
- :storage_mode)
2682
+ :storage_mode,
2683
+ :rebalancing)
2647
2684
  SENSITIVE = []
2648
2685
  include Aws::Structure
2649
2686
  end
@@ -2707,6 +2744,15 @@ module Aws::Kafka
2707
2744
  # This controls storage mode for supported storage tiers.
2708
2745
  # @return [String]
2709
2746
  #
2747
+ # @!attribute [rw] rebalancing
2748
+ # Specifies whether or not intelligent rebalancing is turned on for a
2749
+ # newly created MSK Provisioned cluster with Express brokers.
2750
+ # Intelligent rebalancing performs automatic partition balancing
2751
+ # operations when you scale your clusters up or down. By default,
2752
+ # intelligent rebalancing is ACTIVE for all new Express-based
2753
+ # clusters.
2754
+ # @return [Types::Rebalancing]
2755
+ #
2710
2756
  # @!attribute [rw] customer_action_status
2711
2757
  # Determines if there is an action required from the customer.
2712
2758
  # @return [String]
@@ -2725,6 +2771,7 @@ module Aws::Kafka
2725
2771
  :zookeeper_connect_string,
2726
2772
  :zookeeper_connect_string_tls,
2727
2773
  :storage_mode,
2774
+ :rebalancing,
2728
2775
  :customer_action_status)
2729
2776
  SENSITIVE = []
2730
2777
  include Aws::Structure
@@ -3294,6 +3341,11 @@ module Aws::Kafka
3294
3341
  # Describes brokers being changed during a broker count update.
3295
3342
  # @return [Types::BrokerCountUpdateInfo]
3296
3343
  #
3344
+ # @!attribute [rw] rebalancing
3345
+ # Describes the intelligent rebalancing configuration of an MSK
3346
+ # Provisioned cluster with Express brokers.
3347
+ # @return [Types::Rebalancing]
3348
+ #
3297
3349
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
3298
3350
  #
3299
3351
  class MutableClusterInfo < Struct.new(
@@ -3309,7 +3361,8 @@ module Aws::Kafka
3309
3361
  :encryption_info,
3310
3362
  :connectivity_info,
3311
3363
  :storage_mode,
3312
- :broker_count_update_info)
3364
+ :broker_count_update_info,
3365
+ :rebalancing)
3313
3366
  SENSITIVE = []
3314
3367
  include Aws::Structure
3315
3368
  end
@@ -4008,6 +4061,50 @@ module Aws::Kafka
4008
4061
  include Aws::Structure
4009
4062
  end
4010
4063
 
4064
+ # Request body for UpdateRebalancing.
4065
+ #
4066
+ # @!attribute [rw] cluster_arn
4067
+ # The Amazon Resource Name (ARN) of the cluster.
4068
+ # @return [String]
4069
+ #
4070
+ # @!attribute [rw] current_version
4071
+ # The current version of the cluster.
4072
+ # @return [String]
4073
+ #
4074
+ # @!attribute [rw] rebalancing
4075
+ # Includes all rebalancing-related information for the cluster.
4076
+ # @return [Types::Rebalancing]
4077
+ #
4078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateRebalancingRequest AWS API Documentation
4079
+ #
4080
+ class UpdateRebalancingRequest < Struct.new(
4081
+ :cluster_arn,
4082
+ :current_version,
4083
+ :rebalancing)
4084
+ SENSITIVE = []
4085
+ include Aws::Structure
4086
+ end
4087
+
4088
+ # Response body for UpdateRebalancing.
4089
+ #
4090
+ # @!attribute [rw] cluster_arn
4091
+ # The Amazon Resource Name (ARN) of the cluster whose intelligent
4092
+ # rebalancing status you've updated.
4093
+ # @return [String]
4094
+ #
4095
+ # @!attribute [rw] cluster_operation_arn
4096
+ # The Amazon Resource Name (ARN) of the cluster operation.
4097
+ # @return [String]
4098
+ #
4099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateRebalancingResponse AWS API Documentation
4100
+ #
4101
+ class UpdateRebalancingResponse < Struct.new(
4102
+ :cluster_arn,
4103
+ :cluster_operation_arn)
4104
+ SENSITIVE = []
4105
+ include Aws::Structure
4106
+ end
4107
+
4011
4108
  # Request object for UpdateBrokerStorage.
4012
4109
  #
4013
4110
  # @!attribute [rw] cluster_arn
data/lib/aws-sdk-kafka.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::Kafka
54
54
  autoload :EndpointProvider, 'aws-sdk-kafka/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-kafka/endpoints'
56
56
 
57
- GEM_VERSION = '1.98.0'
57
+ GEM_VERSION = '1.99.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -196,6 +196,9 @@ module Aws
196
196
  }
197
197
  },
198
198
  ?tags: Hash[::String, ::String],
199
+ ?rebalancing: {
200
+ status: ("PAUSED" | "ACTIVE")
201
+ },
199
202
  ?storage_mode: ("LOCAL" | "TIERED")
200
203
  ) -> _CreateClusterResponseSuccess
201
204
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
@@ -308,7 +311,10 @@ module Aws
308
311
  }
309
312
  }?,
310
313
  number_of_broker_nodes: ::Integer,
311
- storage_mode: ("LOCAL" | "TIERED")?
314
+ storage_mode: ("LOCAL" | "TIERED")?,
315
+ rebalancing: {
316
+ status: ("PAUSED" | "ACTIVE")
317
+ }?
312
318
  },
313
319
  ?serverless: {
314
320
  vpc_configs: Array[
@@ -1015,6 +1021,21 @@ module Aws
1015
1021
  ) -> _UpdateMonitoringResponseSuccess
1016
1022
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMonitoringResponseSuccess
1017
1023
 
1024
+ interface _UpdateRebalancingResponseSuccess
1025
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRebalancingResponse]
1026
+ def cluster_arn: () -> ::String
1027
+ def cluster_operation_arn: () -> ::String
1028
+ end
1029
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kafka/Client.html#update_rebalancing-instance_method
1030
+ def update_rebalancing: (
1031
+ cluster_arn: ::String,
1032
+ current_version: ::String,
1033
+ rebalancing: {
1034
+ status: ("PAUSED" | "ACTIVE")
1035
+ }
1036
+ ) -> _UpdateRebalancingResponseSuccess
1037
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRebalancingResponseSuccess
1038
+
1018
1039
  interface _UpdateReplicationInfoResponseSuccess
1019
1040
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateReplicationInfoResponse]
1020
1041
  def replicator_arn: () -> ::String
data/sig/types.rbs CHANGED
@@ -112,6 +112,7 @@ module Aws::Kafka
112
112
  attr_accessor zookeeper_connect_string: ::String
113
113
  attr_accessor zookeeper_connect_string_tls: ::String
114
114
  attr_accessor storage_mode: ("LOCAL" | "TIERED")
115
+ attr_accessor rebalancing: Types::Rebalancing
115
116
  attr_accessor customer_action_status: ("CRITICAL_ACTION_REQUIRED" | "ACTION_RECOMMENDED" | "NONE")
116
117
  SENSITIVE: []
117
118
  end
@@ -275,6 +276,7 @@ module Aws::Kafka
275
276
  attr_accessor number_of_broker_nodes: ::Integer
276
277
  attr_accessor open_monitoring: Types::OpenMonitoringInfo
277
278
  attr_accessor tags: ::Hash[::String, ::String]
279
+ attr_accessor rebalancing: Types::Rebalancing
278
280
  attr_accessor storage_mode: ("LOCAL" | "TIERED")
279
281
  SENSITIVE: []
280
282
  end
@@ -726,6 +728,11 @@ module Aws::Kafka
726
728
  SENSITIVE: []
727
729
  end
728
730
 
731
+ class Rebalancing
732
+ attr_accessor status: ("PAUSED" | "ACTIVE")
733
+ SENSITIVE: []
734
+ end
735
+
729
736
  class ProvisionedRequest
730
737
  attr_accessor broker_node_group_info: Types::BrokerNodeGroupInfo
731
738
  attr_accessor client_authentication: Types::ClientAuthentication
@@ -737,6 +744,7 @@ module Aws::Kafka
737
744
  attr_accessor logging_info: Types::LoggingInfo
738
745
  attr_accessor number_of_broker_nodes: ::Integer
739
746
  attr_accessor storage_mode: ("LOCAL" | "TIERED")
747
+ attr_accessor rebalancing: Types::Rebalancing
740
748
  SENSITIVE: []
741
749
  end
742
750
 
@@ -752,6 +760,7 @@ module Aws::Kafka
752
760
  attr_accessor zookeeper_connect_string: ::String
753
761
  attr_accessor zookeeper_connect_string_tls: ::String
754
762
  attr_accessor storage_mode: ("LOCAL" | "TIERED")
763
+ attr_accessor rebalancing: Types::Rebalancing
755
764
  attr_accessor customer_action_status: ("CRITICAL_ACTION_REQUIRED" | "ACTION_RECOMMENDED" | "NONE")
756
765
  SENSITIVE: []
757
766
  end
@@ -936,6 +945,7 @@ module Aws::Kafka
936
945
  attr_accessor connectivity_info: Types::ConnectivityInfo
937
946
  attr_accessor storage_mode: ("LOCAL" | "TIERED")
938
947
  attr_accessor broker_count_update_info: Types::BrokerCountUpdateInfo
948
+ attr_accessor rebalancing: Types::Rebalancing
939
949
  SENSITIVE: []
940
950
  end
941
951
 
@@ -1151,6 +1161,19 @@ module Aws::Kafka
1151
1161
  SENSITIVE: []
1152
1162
  end
1153
1163
 
1164
+ class UpdateRebalancingRequest
1165
+ attr_accessor cluster_arn: ::String
1166
+ attr_accessor current_version: ::String
1167
+ attr_accessor rebalancing: Types::Rebalancing
1168
+ SENSITIVE: []
1169
+ end
1170
+
1171
+ class UpdateRebalancingResponse
1172
+ attr_accessor cluster_arn: ::String
1173
+ attr_accessor cluster_operation_arn: ::String
1174
+ SENSITIVE: []
1175
+ end
1176
+
1154
1177
  class UpdateBrokerStorageRequest
1155
1178
  attr_accessor cluster_arn: ::String
1156
1179
  attr_accessor current_version: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.98.0
4
+ version: 1.99.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services