aws-sdk-kafka 1.98.0 → 1.100.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafka/client.rb +194 -1
- data/lib/aws-sdk-kafka/client_api.rb +151 -0
- data/lib/aws-sdk-kafka/types.rb +287 -2
- data/lib/aws-sdk-kafka.rb +1 -1
- data/sig/client.rbs +66 -1
- data/sig/types.rbs +84 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2001c28417d80798371b024060f7eccc34bf78ec216b8397c0fa20c4dd9cb15
|
|
4
|
+
data.tar.gz: ca4b601cbd2ddd8d89d09e91bdcd641439aebc66290bfa4c4a02e6af38d98fb8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d32d0f5af183e261c4cc9f89ccd7c7eb8907d18af0527709d7cf06d22b774ed57064269268ef79c4c8c248afe5e65f586690b33fdcbc88a66b57b397333d7302
|
|
7
|
+
data.tar.gz: e7c2fd8a587f29596e38a40b128ec99debb886c035fa059db5658cfbf87fe844c3e9fdfbca4eb63bfe8f4da9211eb2c7cbe6ace4bc7b4ffe1bf64cc4af20b6e7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.100.0 (2025-11-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon MSK adds three new APIs, ListTopics, DescribeTopic, and DescribeTopicPartitions for viewing Kafka topics in your MSK clusters.
|
|
8
|
+
|
|
9
|
+
1.99.0 (2025-11-10)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon MSK now supports intelligent rebalancing for MSK Express brokers.
|
|
13
|
+
|
|
4
14
|
1.98.0 (2025-10-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.100.0
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
|
@@ -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"
|
|
@@ -1740,6 +1757,92 @@ module Aws::Kafka
|
|
|
1740
1757
|
req.send_request(options)
|
|
1741
1758
|
end
|
|
1742
1759
|
|
|
1760
|
+
# Returns topic details of this topic on a MSK cluster.
|
|
1761
|
+
#
|
|
1762
|
+
# @option params [required, String] :cluster_arn
|
|
1763
|
+
#
|
|
1764
|
+
# @option params [required, String] :topic_name
|
|
1765
|
+
#
|
|
1766
|
+
# @return [Types::DescribeTopicResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1767
|
+
#
|
|
1768
|
+
# * {Types::DescribeTopicResponse#topic_arn #topic_arn} => String
|
|
1769
|
+
# * {Types::DescribeTopicResponse#topic_name #topic_name} => String
|
|
1770
|
+
# * {Types::DescribeTopicResponse#replication_factor #replication_factor} => Integer
|
|
1771
|
+
# * {Types::DescribeTopicResponse#partition_count #partition_count} => Integer
|
|
1772
|
+
# * {Types::DescribeTopicResponse#configs #configs} => String
|
|
1773
|
+
# * {Types::DescribeTopicResponse#status #status} => String
|
|
1774
|
+
#
|
|
1775
|
+
# @example Request syntax with placeholder values
|
|
1776
|
+
#
|
|
1777
|
+
# resp = client.describe_topic({
|
|
1778
|
+
# cluster_arn: "__string", # required
|
|
1779
|
+
# topic_name: "__string", # required
|
|
1780
|
+
# })
|
|
1781
|
+
#
|
|
1782
|
+
# @example Response structure
|
|
1783
|
+
#
|
|
1784
|
+
# resp.topic_arn #=> String
|
|
1785
|
+
# resp.topic_name #=> String
|
|
1786
|
+
# resp.replication_factor #=> Integer
|
|
1787
|
+
# resp.partition_count #=> Integer
|
|
1788
|
+
# resp.configs #=> String
|
|
1789
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
|
|
1790
|
+
#
|
|
1791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeTopic AWS API Documentation
|
|
1792
|
+
#
|
|
1793
|
+
# @overload describe_topic(params = {})
|
|
1794
|
+
# @param [Hash] params ({})
|
|
1795
|
+
def describe_topic(params = {}, options = {})
|
|
1796
|
+
req = build_request(:describe_topic, params)
|
|
1797
|
+
req.send_request(options)
|
|
1798
|
+
end
|
|
1799
|
+
|
|
1800
|
+
# Returns partition details of this topic on a MSK cluster.
|
|
1801
|
+
#
|
|
1802
|
+
# @option params [required, String] :cluster_arn
|
|
1803
|
+
#
|
|
1804
|
+
# @option params [required, String] :topic_name
|
|
1805
|
+
#
|
|
1806
|
+
# @option params [Integer] :max_results
|
|
1807
|
+
#
|
|
1808
|
+
# @option params [String] :next_token
|
|
1809
|
+
#
|
|
1810
|
+
# @return [Types::DescribeTopicPartitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1811
|
+
#
|
|
1812
|
+
# * {Types::DescribeTopicPartitionsResponse#partitions #partitions} => Array<Types::TopicPartitionInfo>
|
|
1813
|
+
# * {Types::DescribeTopicPartitionsResponse#next_token #next_token} => String
|
|
1814
|
+
#
|
|
1815
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1816
|
+
#
|
|
1817
|
+
# @example Request syntax with placeholder values
|
|
1818
|
+
#
|
|
1819
|
+
# resp = client.describe_topic_partitions({
|
|
1820
|
+
# cluster_arn: "__string", # required
|
|
1821
|
+
# topic_name: "__string", # required
|
|
1822
|
+
# max_results: 1,
|
|
1823
|
+
# next_token: "__string",
|
|
1824
|
+
# })
|
|
1825
|
+
#
|
|
1826
|
+
# @example Response structure
|
|
1827
|
+
#
|
|
1828
|
+
# resp.partitions #=> Array
|
|
1829
|
+
# resp.partitions[0].partition #=> Integer
|
|
1830
|
+
# resp.partitions[0].leader #=> Integer
|
|
1831
|
+
# resp.partitions[0].replicas #=> Array
|
|
1832
|
+
# resp.partitions[0].replicas[0] #=> Integer
|
|
1833
|
+
# resp.partitions[0].isr #=> Array
|
|
1834
|
+
# resp.partitions[0].isr[0] #=> Integer
|
|
1835
|
+
# resp.next_token #=> String
|
|
1836
|
+
#
|
|
1837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeTopicPartitions AWS API Documentation
|
|
1838
|
+
#
|
|
1839
|
+
# @overload describe_topic_partitions(params = {})
|
|
1840
|
+
# @param [Hash] params ({})
|
|
1841
|
+
def describe_topic_partitions(params = {}, options = {})
|
|
1842
|
+
req = build_request(:describe_topic_partitions, params)
|
|
1843
|
+
req.send_request(options)
|
|
1844
|
+
end
|
|
1845
|
+
|
|
1743
1846
|
# Displays information about the specified Amazon MSK VPC connection.
|
|
1744
1847
|
#
|
|
1745
1848
|
# @option params [required, String] :arn
|
|
@@ -1981,6 +2084,7 @@ module Aws::Kafka
|
|
|
1981
2084
|
# resp.cluster_operation_info_list[0].source_cluster_info.broker_count_update_info.created_broker_ids[0] #=> Float
|
|
1982
2085
|
# resp.cluster_operation_info_list[0].source_cluster_info.broker_count_update_info.deleted_broker_ids #=> Array
|
|
1983
2086
|
# resp.cluster_operation_info_list[0].source_cluster_info.broker_count_update_info.deleted_broker_ids[0] #=> Float
|
|
2087
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
|
|
1984
2088
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
|
1985
2089
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
|
1986
2090
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
|
@@ -2019,6 +2123,7 @@ module Aws::Kafka
|
|
|
2019
2123
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_count_update_info.created_broker_ids[0] #=> Float
|
|
2020
2124
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_count_update_info.deleted_broker_ids #=> Array
|
|
2021
2125
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_count_update_info.deleted_broker_ids[0] #=> Float
|
|
2126
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
|
|
2022
2127
|
# resp.cluster_operation_info_list[0].vpc_connection_info.vpc_connection_arn #=> String
|
|
2023
2128
|
# resp.cluster_operation_info_list[0].vpc_connection_info.owner #=> String
|
|
2024
2129
|
# resp.cluster_operation_info_list[0].vpc_connection_info.user_identity.type #=> String, one of "AWSACCOUNT", "AWSSERVICE"
|
|
@@ -2157,6 +2262,7 @@ module Aws::Kafka
|
|
|
2157
2262
|
# resp.cluster_info_list[0].zookeeper_connect_string #=> String
|
|
2158
2263
|
# resp.cluster_info_list[0].zookeeper_connect_string_tls #=> String
|
|
2159
2264
|
# resp.cluster_info_list[0].storage_mode #=> String, one of "LOCAL", "TIERED"
|
|
2265
|
+
# resp.cluster_info_list[0].rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
|
|
2160
2266
|
# resp.cluster_info_list[0].customer_action_status #=> String, one of "CRITICAL_ACTION_REQUIRED", "ACTION_RECOMMENDED", "NONE"
|
|
2161
2267
|
# resp.next_token #=> String
|
|
2162
2268
|
#
|
|
@@ -2258,6 +2364,7 @@ module Aws::Kafka
|
|
|
2258
2364
|
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string #=> String
|
|
2259
2365
|
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string_tls #=> String
|
|
2260
2366
|
# resp.cluster_info_list[0].provisioned.storage_mode #=> String, one of "LOCAL", "TIERED"
|
|
2367
|
+
# resp.cluster_info_list[0].provisioned.rebalancing.status #=> String, one of "PAUSED", "ACTIVE"
|
|
2261
2368
|
# resp.cluster_info_list[0].provisioned.customer_action_status #=> String, one of "CRITICAL_ACTION_REQUIRED", "ACTION_RECOMMENDED", "NONE"
|
|
2262
2369
|
# resp.cluster_info_list[0].serverless.vpc_configs #=> Array
|
|
2263
2370
|
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids #=> Array
|
|
@@ -2653,6 +2760,51 @@ module Aws::Kafka
|
|
|
2653
2760
|
req.send_request(options)
|
|
2654
2761
|
end
|
|
2655
2762
|
|
|
2763
|
+
# List topics in a MSK cluster.
|
|
2764
|
+
#
|
|
2765
|
+
# @option params [required, String] :cluster_arn
|
|
2766
|
+
#
|
|
2767
|
+
# @option params [Integer] :max_results
|
|
2768
|
+
#
|
|
2769
|
+
# @option params [String] :next_token
|
|
2770
|
+
#
|
|
2771
|
+
# @option params [String] :topic_name_filter
|
|
2772
|
+
#
|
|
2773
|
+
# @return [Types::ListTopicsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2774
|
+
#
|
|
2775
|
+
# * {Types::ListTopicsResponse#topics #topics} => Array<Types::TopicInfo>
|
|
2776
|
+
# * {Types::ListTopicsResponse#next_token #next_token} => String
|
|
2777
|
+
#
|
|
2778
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2779
|
+
#
|
|
2780
|
+
# @example Request syntax with placeholder values
|
|
2781
|
+
#
|
|
2782
|
+
# resp = client.list_topics({
|
|
2783
|
+
# cluster_arn: "__string", # required
|
|
2784
|
+
# max_results: 1,
|
|
2785
|
+
# next_token: "__string",
|
|
2786
|
+
# topic_name_filter: "__string",
|
|
2787
|
+
# })
|
|
2788
|
+
#
|
|
2789
|
+
# @example Response structure
|
|
2790
|
+
#
|
|
2791
|
+
# resp.topics #=> Array
|
|
2792
|
+
# resp.topics[0].topic_arn #=> String
|
|
2793
|
+
# resp.topics[0].topic_name #=> String
|
|
2794
|
+
# resp.topics[0].replication_factor #=> Integer
|
|
2795
|
+
# resp.topics[0].partition_count #=> Integer
|
|
2796
|
+
# resp.topics[0].out_of_sync_replica_count #=> Integer
|
|
2797
|
+
# resp.next_token #=> String
|
|
2798
|
+
#
|
|
2799
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListTopics AWS API Documentation
|
|
2800
|
+
#
|
|
2801
|
+
# @overload list_topics(params = {})
|
|
2802
|
+
# @param [Hash] params ({})
|
|
2803
|
+
def list_topics(params = {}, options = {})
|
|
2804
|
+
req = build_request(:list_topics, params)
|
|
2805
|
+
req.send_request(options)
|
|
2806
|
+
end
|
|
2807
|
+
|
|
2656
2808
|
# @option params [required, String] :cluster_arn
|
|
2657
2809
|
#
|
|
2658
2810
|
# @option params [required, String] :vpc_connection_arn
|
|
@@ -3233,6 +3385,47 @@ module Aws::Kafka
|
|
|
3233
3385
|
req.send_request(options)
|
|
3234
3386
|
end
|
|
3235
3387
|
|
|
3388
|
+
# Use this resource to update the intelligent rebalancing status of an
|
|
3389
|
+
# Amazon MSK Provisioned cluster with Express brokers.
|
|
3390
|
+
#
|
|
3391
|
+
# @option params [required, String] :cluster_arn
|
|
3392
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
|
3393
|
+
#
|
|
3394
|
+
# @option params [required, String] :current_version
|
|
3395
|
+
# The current version of the cluster.
|
|
3396
|
+
#
|
|
3397
|
+
# @option params [required, Types::Rebalancing] :rebalancing
|
|
3398
|
+
# Includes all rebalancing-related information for the cluster.
|
|
3399
|
+
#
|
|
3400
|
+
# @return [Types::UpdateRebalancingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3401
|
+
#
|
|
3402
|
+
# * {Types::UpdateRebalancingResponse#cluster_arn #cluster_arn} => String
|
|
3403
|
+
# * {Types::UpdateRebalancingResponse#cluster_operation_arn #cluster_operation_arn} => String
|
|
3404
|
+
#
|
|
3405
|
+
# @example Request syntax with placeholder values
|
|
3406
|
+
#
|
|
3407
|
+
# resp = client.update_rebalancing({
|
|
3408
|
+
# cluster_arn: "__string", # required
|
|
3409
|
+
# current_version: "__string", # required
|
|
3410
|
+
# rebalancing: { # required
|
|
3411
|
+
# status: "PAUSED", # required, accepts PAUSED, ACTIVE
|
|
3412
|
+
# },
|
|
3413
|
+
# })
|
|
3414
|
+
#
|
|
3415
|
+
# @example Response structure
|
|
3416
|
+
#
|
|
3417
|
+
# resp.cluster_arn #=> String
|
|
3418
|
+
# resp.cluster_operation_arn #=> String
|
|
3419
|
+
#
|
|
3420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateRebalancing AWS API Documentation
|
|
3421
|
+
#
|
|
3422
|
+
# @overload update_rebalancing(params = {})
|
|
3423
|
+
# @param [Hash] params ({})
|
|
3424
|
+
def update_rebalancing(params = {}, options = {})
|
|
3425
|
+
req = build_request(:update_rebalancing, params)
|
|
3426
|
+
req.send_request(options)
|
|
3427
|
+
end
|
|
3428
|
+
|
|
3236
3429
|
# Updates replication info of a replicator.
|
|
3237
3430
|
#
|
|
3238
3431
|
# @option params [Types::ConsumerGroupReplicationUpdate] :consumer_group_replication
|
|
@@ -3429,7 +3622,7 @@ module Aws::Kafka
|
|
|
3429
3622
|
tracer: tracer
|
|
3430
3623
|
)
|
|
3431
3624
|
context[:gem_name] = 'aws-sdk-kafka'
|
|
3432
|
-
context[:gem_version] = '1.
|
|
3625
|
+
context[:gem_version] = '1.100.0'
|
|
3433
3626
|
Seahorse::Client::Request.new(handlers, context)
|
|
3434
3627
|
end
|
|
3435
3628
|
|
|
@@ -87,6 +87,10 @@ module Aws::Kafka
|
|
|
87
87
|
DescribeConfigurationRevisionResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionResponse')
|
|
88
88
|
DescribeReplicatorRequest = Shapes::StructureShape.new(name: 'DescribeReplicatorRequest')
|
|
89
89
|
DescribeReplicatorResponse = Shapes::StructureShape.new(name: 'DescribeReplicatorResponse')
|
|
90
|
+
DescribeTopicPartitionsRequest = Shapes::StructureShape.new(name: 'DescribeTopicPartitionsRequest')
|
|
91
|
+
DescribeTopicPartitionsResponse = Shapes::StructureShape.new(name: 'DescribeTopicPartitionsResponse')
|
|
92
|
+
DescribeTopicRequest = Shapes::StructureShape.new(name: 'DescribeTopicRequest')
|
|
93
|
+
DescribeTopicResponse = Shapes::StructureShape.new(name: 'DescribeTopicResponse')
|
|
90
94
|
DescribeVpcConnectionRequest = Shapes::StructureShape.new(name: 'DescribeVpcConnectionRequest')
|
|
91
95
|
DescribeVpcConnectionResponse = Shapes::StructureShape.new(name: 'DescribeVpcConnectionResponse')
|
|
92
96
|
EBSStorageInfo = Shapes::StructureShape.new(name: 'EBSStorageInfo')
|
|
@@ -138,6 +142,8 @@ module Aws::Kafka
|
|
|
138
142
|
ListScramSecretsResponse = Shapes::StructureShape.new(name: 'ListScramSecretsResponse')
|
|
139
143
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
140
144
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
145
|
+
ListTopicsRequest = Shapes::StructureShape.new(name: 'ListTopicsRequest')
|
|
146
|
+
ListTopicsResponse = Shapes::StructureShape.new(name: 'ListTopicsResponse')
|
|
141
147
|
ListVpcConnectionsRequest = Shapes::StructureShape.new(name: 'ListVpcConnectionsRequest')
|
|
142
148
|
ListVpcConnectionsResponse = Shapes::StructureShape.new(name: 'ListVpcConnectionsResponse')
|
|
143
149
|
LoggingInfo = Shapes::StructureShape.new(name: 'LoggingInfo')
|
|
@@ -158,6 +164,8 @@ module Aws::Kafka
|
|
|
158
164
|
PublicAccess = Shapes::StructureShape.new(name: 'PublicAccess')
|
|
159
165
|
PutClusterPolicyRequest = Shapes::StructureShape.new(name: 'PutClusterPolicyRequest')
|
|
160
166
|
PutClusterPolicyResponse = Shapes::StructureShape.new(name: 'PutClusterPolicyResponse')
|
|
167
|
+
Rebalancing = Shapes::StructureShape.new(name: 'Rebalancing')
|
|
168
|
+
RebalancingStatus = Shapes::StringShape.new(name: 'RebalancingStatus')
|
|
161
169
|
RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
|
|
162
170
|
RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
|
|
163
171
|
RejectClientVpcConnectionRequest = Shapes::StructureShape.new(name: 'RejectClientVpcConnectionRequest')
|
|
@@ -187,8 +195,11 @@ module Aws::Kafka
|
|
|
187
195
|
TargetCompressionType = Shapes::StringShape.new(name: 'TargetCompressionType')
|
|
188
196
|
Tls = Shapes::StructureShape.new(name: 'Tls')
|
|
189
197
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
|
198
|
+
TopicInfo = Shapes::StructureShape.new(name: 'TopicInfo')
|
|
199
|
+
TopicPartitionInfo = Shapes::StructureShape.new(name: 'TopicPartitionInfo')
|
|
190
200
|
TopicReplication = Shapes::StructureShape.new(name: 'TopicReplication')
|
|
191
201
|
TopicReplicationUpdate = Shapes::StructureShape.new(name: 'TopicReplicationUpdate')
|
|
202
|
+
TopicState = Shapes::StringShape.new(name: 'TopicState')
|
|
192
203
|
Unauthenticated = Shapes::StructureShape.new(name: 'Unauthenticated')
|
|
193
204
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
|
194
205
|
UnprocessedScramSecret = Shapes::StructureShape.new(name: 'UnprocessedScramSecret')
|
|
@@ -209,6 +220,8 @@ module Aws::Kafka
|
|
|
209
220
|
UpdateConnectivityResponse = Shapes::StructureShape.new(name: 'UpdateConnectivityResponse')
|
|
210
221
|
UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
|
|
211
222
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
|
223
|
+
UpdateRebalancingRequest = Shapes::StructureShape.new(name: 'UpdateRebalancingRequest')
|
|
224
|
+
UpdateRebalancingResponse = Shapes::StructureShape.new(name: 'UpdateRebalancingResponse')
|
|
212
225
|
UpdateReplicationInfoRequest = Shapes::StructureShape.new(name: 'UpdateReplicationInfoRequest')
|
|
213
226
|
UpdateReplicationInfoResponse = Shapes::StructureShape.new(name: 'UpdateReplicationInfoResponse')
|
|
214
227
|
UpdateSecurityRequest = Shapes::StructureShape.new(name: 'UpdateSecurityRequest')
|
|
@@ -233,6 +246,7 @@ module Aws::Kafka
|
|
|
233
246
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
|
234
247
|
__double = Shapes::FloatShape.new(name: '__double')
|
|
235
248
|
__integer = Shapes::IntegerShape.new(name: '__integer')
|
|
249
|
+
__integerMin1 = Shapes::IntegerShape.new(name: '__integerMin1')
|
|
236
250
|
__integerMin1Max15 = Shapes::IntegerShape.new(name: '__integerMin1Max15')
|
|
237
251
|
__integerMin1Max16384 = Shapes::IntegerShape.new(name: '__integerMin1Max16384')
|
|
238
252
|
__listOfBrokerEBSVolumeInfo = Shapes::ListShape.new(name: '__listOfBrokerEBSVolumeInfo')
|
|
@@ -254,10 +268,13 @@ module Aws::Kafka
|
|
|
254
268
|
__listOfReplicationInfoDescription = Shapes::ListShape.new(name: '__listOfReplicationInfoDescription')
|
|
255
269
|
__listOfReplicationInfoSummary = Shapes::ListShape.new(name: '__listOfReplicationInfoSummary')
|
|
256
270
|
__listOfReplicatorSummary = Shapes::ListShape.new(name: '__listOfReplicatorSummary')
|
|
271
|
+
__listOfTopicInfo = Shapes::ListShape.new(name: '__listOfTopicInfo')
|
|
272
|
+
__listOfTopicPartitionInfo = Shapes::ListShape.new(name: '__listOfTopicPartitionInfo')
|
|
257
273
|
__listOfUnprocessedScramSecret = Shapes::ListShape.new(name: '__listOfUnprocessedScramSecret')
|
|
258
274
|
__listOfVpcConfig = Shapes::ListShape.new(name: '__listOfVpcConfig')
|
|
259
275
|
__listOfVpcConnection = Shapes::ListShape.new(name: '__listOfVpcConnection')
|
|
260
276
|
__listOf__double = Shapes::ListShape.new(name: '__listOf__double')
|
|
277
|
+
__listOf__integer = Shapes::ListShape.new(name: '__listOf__integer')
|
|
261
278
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
|
262
279
|
__listOf__stringMax249 = Shapes::ListShape.new(name: '__listOf__stringMax249')
|
|
263
280
|
__listOf__stringMax256 = Shapes::ListShape.new(name: '__listOf__stringMax256')
|
|
@@ -381,6 +398,7 @@ module Aws::Kafka
|
|
|
381
398
|
ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
|
|
382
399
|
ClusterInfo.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
|
|
383
400
|
ClusterInfo.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
|
401
|
+
ClusterInfo.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, location_name: "rebalancing"))
|
|
384
402
|
ClusterInfo.add_member(:customer_action_status, Shapes::ShapeRef.new(shape: CustomerActionStatus, location_name: "customerActionStatus"))
|
|
385
403
|
ClusterInfo.struct_class = Types::ClusterInfo
|
|
386
404
|
|
|
@@ -490,6 +508,7 @@ module Aws::Kafka
|
|
|
490
508
|
CreateClusterRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
|
|
491
509
|
CreateClusterRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
|
|
492
510
|
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
|
511
|
+
CreateClusterRequest.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, location_name: "rebalancing"))
|
|
493
512
|
CreateClusterRequest.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
|
494
513
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
|
495
514
|
|
|
@@ -654,6 +673,28 @@ module Aws::Kafka
|
|
|
654
673
|
DescribeReplicatorResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
|
655
674
|
DescribeReplicatorResponse.struct_class = Types::DescribeReplicatorResponse
|
|
656
675
|
|
|
676
|
+
DescribeTopicPartitionsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
|
677
|
+
DescribeTopicPartitionsRequest.add_member(:topic_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "topicName"))
|
|
678
|
+
DescribeTopicPartitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
679
|
+
DescribeTopicPartitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
|
680
|
+
DescribeTopicPartitionsRequest.struct_class = Types::DescribeTopicPartitionsRequest
|
|
681
|
+
|
|
682
|
+
DescribeTopicPartitionsResponse.add_member(:partitions, Shapes::ShapeRef.new(shape: __listOfTopicPartitionInfo, location_name: "partitions"))
|
|
683
|
+
DescribeTopicPartitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
|
684
|
+
DescribeTopicPartitionsResponse.struct_class = Types::DescribeTopicPartitionsResponse
|
|
685
|
+
|
|
686
|
+
DescribeTopicRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
|
687
|
+
DescribeTopicRequest.add_member(:topic_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "topicName"))
|
|
688
|
+
DescribeTopicRequest.struct_class = Types::DescribeTopicRequest
|
|
689
|
+
|
|
690
|
+
DescribeTopicResponse.add_member(:topic_arn, Shapes::ShapeRef.new(shape: __string, location_name: "topicArn"))
|
|
691
|
+
DescribeTopicResponse.add_member(:topic_name, Shapes::ShapeRef.new(shape: __string, location_name: "topicName"))
|
|
692
|
+
DescribeTopicResponse.add_member(:replication_factor, Shapes::ShapeRef.new(shape: __integer, location_name: "replicationFactor"))
|
|
693
|
+
DescribeTopicResponse.add_member(:partition_count, Shapes::ShapeRef.new(shape: __integer, location_name: "partitionCount"))
|
|
694
|
+
DescribeTopicResponse.add_member(:configs, Shapes::ShapeRef.new(shape: __string, location_name: "configs"))
|
|
695
|
+
DescribeTopicResponse.add_member(:status, Shapes::ShapeRef.new(shape: TopicState, location_name: "status"))
|
|
696
|
+
DescribeTopicResponse.struct_class = Types::DescribeTopicResponse
|
|
697
|
+
|
|
657
698
|
DescribeVpcConnectionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
|
658
699
|
DescribeVpcConnectionRequest.struct_class = Types::DescribeVpcConnectionRequest
|
|
659
700
|
|
|
@@ -865,6 +906,16 @@ module Aws::Kafka
|
|
|
865
906
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
|
866
907
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
867
908
|
|
|
909
|
+
ListTopicsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
|
910
|
+
ListTopicsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
911
|
+
ListTopicsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
|
912
|
+
ListTopicsRequest.add_member(:topic_name_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "topicNameFilter"))
|
|
913
|
+
ListTopicsRequest.struct_class = Types::ListTopicsRequest
|
|
914
|
+
|
|
915
|
+
ListTopicsResponse.add_member(:topics, Shapes::ShapeRef.new(shape: __listOfTopicInfo, location_name: "topics"))
|
|
916
|
+
ListTopicsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
|
917
|
+
ListTopicsResponse.struct_class = Types::ListTopicsResponse
|
|
918
|
+
|
|
868
919
|
ListVpcConnectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
869
920
|
ListVpcConnectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
|
870
921
|
ListVpcConnectionsRequest.struct_class = Types::ListVpcConnectionsRequest
|
|
@@ -889,6 +940,7 @@ module Aws::Kafka
|
|
|
889
940
|
MutableClusterInfo.add_member(:connectivity_info, Shapes::ShapeRef.new(shape: ConnectivityInfo, location_name: "connectivityInfo"))
|
|
890
941
|
MutableClusterInfo.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
|
891
942
|
MutableClusterInfo.add_member(:broker_count_update_info, Shapes::ShapeRef.new(shape: BrokerCountUpdateInfo, location_name: "brokerCountUpdateInfo"))
|
|
943
|
+
MutableClusterInfo.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, location_name: "rebalancing"))
|
|
892
944
|
MutableClusterInfo.struct_class = Types::MutableClusterInfo
|
|
893
945
|
|
|
894
946
|
NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
|
|
@@ -935,6 +987,7 @@ module Aws::Kafka
|
|
|
935
987
|
Provisioned.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
|
|
936
988
|
Provisioned.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
|
|
937
989
|
Provisioned.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
|
990
|
+
Provisioned.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, location_name: "rebalancing"))
|
|
938
991
|
Provisioned.add_member(:customer_action_status, Shapes::ShapeRef.new(shape: CustomerActionStatus, location_name: "customerActionStatus"))
|
|
939
992
|
Provisioned.struct_class = Types::Provisioned
|
|
940
993
|
|
|
@@ -948,6 +1001,7 @@ module Aws::Kafka
|
|
|
948
1001
|
ProvisionedRequest.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
|
949
1002
|
ProvisionedRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
|
|
950
1003
|
ProvisionedRequest.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
|
1004
|
+
ProvisionedRequest.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, location_name: "rebalancing"))
|
|
951
1005
|
ProvisionedRequest.struct_class = Types::ProvisionedRequest
|
|
952
1006
|
|
|
953
1007
|
ProvisionedThroughput.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
|
@@ -965,6 +1019,9 @@ module Aws::Kafka
|
|
|
965
1019
|
PutClusterPolicyResponse.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location_name: "currentVersion"))
|
|
966
1020
|
PutClusterPolicyResponse.struct_class = Types::PutClusterPolicyResponse
|
|
967
1021
|
|
|
1022
|
+
Rebalancing.add_member(:status, Shapes::ShapeRef.new(shape: RebalancingStatus, required: true, location_name: "status"))
|
|
1023
|
+
Rebalancing.struct_class = Types::Rebalancing
|
|
1024
|
+
|
|
968
1025
|
RebootBrokerRequest.add_member(:broker_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "brokerIds"))
|
|
969
1026
|
RebootBrokerRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
|
970
1027
|
RebootBrokerRequest.struct_class = Types::RebootBrokerRequest
|
|
@@ -1067,6 +1124,19 @@ module Aws::Kafka
|
|
|
1067
1124
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
|
1068
1125
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
|
1069
1126
|
|
|
1127
|
+
TopicInfo.add_member(:topic_arn, Shapes::ShapeRef.new(shape: __string, location_name: "topicArn"))
|
|
1128
|
+
TopicInfo.add_member(:topic_name, Shapes::ShapeRef.new(shape: __string, location_name: "topicName"))
|
|
1129
|
+
TopicInfo.add_member(:replication_factor, Shapes::ShapeRef.new(shape: __integer, location_name: "replicationFactor"))
|
|
1130
|
+
TopicInfo.add_member(:partition_count, Shapes::ShapeRef.new(shape: __integer, location_name: "partitionCount"))
|
|
1131
|
+
TopicInfo.add_member(:out_of_sync_replica_count, Shapes::ShapeRef.new(shape: __integer, location_name: "outOfSyncReplicaCount"))
|
|
1132
|
+
TopicInfo.struct_class = Types::TopicInfo
|
|
1133
|
+
|
|
1134
|
+
TopicPartitionInfo.add_member(:partition, Shapes::ShapeRef.new(shape: __integer, location_name: "partition"))
|
|
1135
|
+
TopicPartitionInfo.add_member(:leader, Shapes::ShapeRef.new(shape: __integer, location_name: "leader"))
|
|
1136
|
+
TopicPartitionInfo.add_member(:replicas, Shapes::ShapeRef.new(shape: __listOf__integer, location_name: "replicas"))
|
|
1137
|
+
TopicPartitionInfo.add_member(:isr, Shapes::ShapeRef.new(shape: __listOf__integer, location_name: "isr"))
|
|
1138
|
+
TopicPartitionInfo.struct_class = Types::TopicPartitionInfo
|
|
1139
|
+
|
|
1070
1140
|
TopicReplication.add_member(:copy_access_control_lists_for_topics, Shapes::ShapeRef.new(shape: __boolean, location_name: "copyAccessControlListsForTopics"))
|
|
1071
1141
|
TopicReplication.add_member(:copy_topic_configurations, Shapes::ShapeRef.new(shape: __boolean, location_name: "copyTopicConfigurations"))
|
|
1072
1142
|
TopicReplication.add_member(:detect_and_copy_new_topics, Shapes::ShapeRef.new(shape: __boolean, location_name: "detectAndCopyNewTopics"))
|
|
@@ -1174,6 +1244,15 @@ module Aws::Kafka
|
|
|
1174
1244
|
UpdateMonitoringResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
|
1175
1245
|
UpdateMonitoringResponse.struct_class = Types::UpdateMonitoringResponse
|
|
1176
1246
|
|
|
1247
|
+
UpdateRebalancingRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
|
1248
|
+
UpdateRebalancingRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
|
1249
|
+
UpdateRebalancingRequest.add_member(:rebalancing, Shapes::ShapeRef.new(shape: Rebalancing, required: true, location_name: "rebalancing"))
|
|
1250
|
+
UpdateRebalancingRequest.struct_class = Types::UpdateRebalancingRequest
|
|
1251
|
+
|
|
1252
|
+
UpdateRebalancingResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
|
1253
|
+
UpdateRebalancingResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
|
1254
|
+
UpdateRebalancingResponse.struct_class = Types::UpdateRebalancingResponse
|
|
1255
|
+
|
|
1177
1256
|
UpdateReplicationInfoRequest.add_member(:consumer_group_replication, Shapes::ShapeRef.new(shape: ConsumerGroupReplicationUpdate, location_name: "consumerGroupReplication"))
|
|
1178
1257
|
UpdateReplicationInfoRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
|
1179
1258
|
UpdateReplicationInfoRequest.add_member(:replicator_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "replicatorArn"))
|
|
@@ -1300,6 +1379,10 @@ module Aws::Kafka
|
|
|
1300
1379
|
|
|
1301
1380
|
__listOfReplicatorSummary.member = Shapes::ShapeRef.new(shape: ReplicatorSummary)
|
|
1302
1381
|
|
|
1382
|
+
__listOfTopicInfo.member = Shapes::ShapeRef.new(shape: TopicInfo)
|
|
1383
|
+
|
|
1384
|
+
__listOfTopicPartitionInfo.member = Shapes::ShapeRef.new(shape: TopicPartitionInfo)
|
|
1385
|
+
|
|
1303
1386
|
__listOfUnprocessedScramSecret.member = Shapes::ShapeRef.new(shape: UnprocessedScramSecret)
|
|
1304
1387
|
|
|
1305
1388
|
__listOfVpcConfig.member = Shapes::ShapeRef.new(shape: VpcConfig)
|
|
@@ -1308,6 +1391,8 @@ module Aws::Kafka
|
|
|
1308
1391
|
|
|
1309
1392
|
__listOf__double.member = Shapes::ShapeRef.new(shape: __double)
|
|
1310
1393
|
|
|
1394
|
+
__listOf__integer.member = Shapes::ShapeRef.new(shape: __integer)
|
|
1395
|
+
|
|
1311
1396
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
|
1312
1397
|
|
|
1313
1398
|
__listOf__stringMax249.member = Shapes::ShapeRef.new(shape: __stringMax249)
|
|
@@ -1576,6 +1661,38 @@ module Aws::Kafka
|
|
|
1576
1661
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1577
1662
|
end)
|
|
1578
1663
|
|
|
1664
|
+
api.add_operation(:describe_topic, Seahorse::Model::Operation.new.tap do |o|
|
|
1665
|
+
o.name = "DescribeTopic"
|
|
1666
|
+
o.http_method = "GET"
|
|
1667
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/topics/{topicName}"
|
|
1668
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTopicRequest)
|
|
1669
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTopicResponse)
|
|
1670
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1671
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
1672
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
1673
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
1674
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1675
|
+
end)
|
|
1676
|
+
|
|
1677
|
+
api.add_operation(:describe_topic_partitions, Seahorse::Model::Operation.new.tap do |o|
|
|
1678
|
+
o.name = "DescribeTopicPartitions"
|
|
1679
|
+
o.http_method = "GET"
|
|
1680
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/topics/{topicName}/partitions"
|
|
1681
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTopicPartitionsRequest)
|
|
1682
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTopicPartitionsResponse)
|
|
1683
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1684
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
1685
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
1686
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
1687
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1688
|
+
o[:pager] = Aws::Pager.new(
|
|
1689
|
+
limit_key: "max_results",
|
|
1690
|
+
tokens: {
|
|
1691
|
+
"next_token" => "next_token"
|
|
1692
|
+
}
|
|
1693
|
+
)
|
|
1694
|
+
end)
|
|
1695
|
+
|
|
1579
1696
|
api.add_operation(:describe_vpc_connection, Seahorse::Model::Operation.new.tap do |o|
|
|
1580
1697
|
o.name = "DescribeVpcConnection"
|
|
1581
1698
|
o.http_method = "GET"
|
|
@@ -1874,6 +1991,25 @@ module Aws::Kafka
|
|
|
1874
1991
|
)
|
|
1875
1992
|
end)
|
|
1876
1993
|
|
|
1994
|
+
api.add_operation(:list_topics, Seahorse::Model::Operation.new.tap do |o|
|
|
1995
|
+
o.name = "ListTopics"
|
|
1996
|
+
o.http_method = "GET"
|
|
1997
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/topics"
|
|
1998
|
+
o.input = Shapes::ShapeRef.new(shape: ListTopicsRequest)
|
|
1999
|
+
o.output = Shapes::ShapeRef.new(shape: ListTopicsResponse)
|
|
2000
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2001
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
2002
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
2003
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
2004
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
2005
|
+
o[:pager] = Aws::Pager.new(
|
|
2006
|
+
limit_key: "max_results",
|
|
2007
|
+
tokens: {
|
|
2008
|
+
"next_token" => "next_token"
|
|
2009
|
+
}
|
|
2010
|
+
)
|
|
2011
|
+
end)
|
|
2012
|
+
|
|
1877
2013
|
api.add_operation(:reject_client_vpc_connection, Seahorse::Model::Operation.new.tap do |o|
|
|
1878
2014
|
o.name = "RejectClientVpcConnection"
|
|
1879
2015
|
o.http_method = "PUT"
|
|
@@ -2074,6 +2210,21 @@ module Aws::Kafka
|
|
|
2074
2210
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
2075
2211
|
end)
|
|
2076
2212
|
|
|
2213
|
+
api.add_operation(:update_rebalancing, Seahorse::Model::Operation.new.tap do |o|
|
|
2214
|
+
o.name = "UpdateRebalancing"
|
|
2215
|
+
o.http_method = "PUT"
|
|
2216
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/rebalancing"
|
|
2217
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRebalancingRequest)
|
|
2218
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateRebalancingResponse)
|
|
2219
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
2220
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
2221
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
2222
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
2223
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2224
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2225
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
2226
|
+
end)
|
|
2227
|
+
|
|
2077
2228
|
api.add_operation(:update_replication_info, Seahorse::Model::Operation.new.tap do |o|
|
|
2078
2229
|
o.name = "UpdateReplicationInfo"
|
|
2079
2230
|
o.http_method = "PUT"
|
data/lib/aws-sdk-kafka/types.rb
CHANGED
|
@@ -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
|
|
@@ -1609,6 +1623,123 @@ module Aws::Kafka
|
|
|
1609
1623
|
include Aws::Structure
|
|
1610
1624
|
end
|
|
1611
1625
|
|
|
1626
|
+
# Request body for DescribeTopic.
|
|
1627
|
+
#
|
|
1628
|
+
# @!attribute [rw] cluster_arn
|
|
1629
|
+
# @return [String]
|
|
1630
|
+
#
|
|
1631
|
+
# @!attribute [rw] topic_name
|
|
1632
|
+
# @return [String]
|
|
1633
|
+
#
|
|
1634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeTopicRequest AWS API Documentation
|
|
1635
|
+
#
|
|
1636
|
+
class DescribeTopicRequest < Struct.new(
|
|
1637
|
+
:cluster_arn,
|
|
1638
|
+
:topic_name)
|
|
1639
|
+
SENSITIVE = []
|
|
1640
|
+
include Aws::Structure
|
|
1641
|
+
end
|
|
1642
|
+
|
|
1643
|
+
# Request body for DescribeTopicPartitions.
|
|
1644
|
+
#
|
|
1645
|
+
# @!attribute [rw] cluster_arn
|
|
1646
|
+
# @return [String]
|
|
1647
|
+
#
|
|
1648
|
+
# @!attribute [rw] topic_name
|
|
1649
|
+
# @return [String]
|
|
1650
|
+
#
|
|
1651
|
+
# @!attribute [rw] max_results
|
|
1652
|
+
# @return [Integer]
|
|
1653
|
+
#
|
|
1654
|
+
# @!attribute [rw] next_token
|
|
1655
|
+
# @return [String]
|
|
1656
|
+
#
|
|
1657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeTopicPartitionsRequest AWS API Documentation
|
|
1658
|
+
#
|
|
1659
|
+
class DescribeTopicPartitionsRequest < Struct.new(
|
|
1660
|
+
:cluster_arn,
|
|
1661
|
+
:topic_name,
|
|
1662
|
+
:max_results,
|
|
1663
|
+
:next_token)
|
|
1664
|
+
SENSITIVE = []
|
|
1665
|
+
include Aws::Structure
|
|
1666
|
+
end
|
|
1667
|
+
|
|
1668
|
+
# The response containing details for a topic.
|
|
1669
|
+
#
|
|
1670
|
+
# @!attribute [rw] topic_arn
|
|
1671
|
+
# @return [String]
|
|
1672
|
+
#
|
|
1673
|
+
# @!attribute [rw] topic_name
|
|
1674
|
+
# @return [String]
|
|
1675
|
+
#
|
|
1676
|
+
# @!attribute [rw] replication_factor
|
|
1677
|
+
# @return [Integer]
|
|
1678
|
+
#
|
|
1679
|
+
# @!attribute [rw] partition_count
|
|
1680
|
+
# @return [Integer]
|
|
1681
|
+
#
|
|
1682
|
+
# @!attribute [rw] configs
|
|
1683
|
+
# @return [String]
|
|
1684
|
+
#
|
|
1685
|
+
# @!attribute [rw] status
|
|
1686
|
+
# @return [String]
|
|
1687
|
+
#
|
|
1688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeTopicResponse AWS API Documentation
|
|
1689
|
+
#
|
|
1690
|
+
class DescribeTopicResponse < Struct.new(
|
|
1691
|
+
:topic_arn,
|
|
1692
|
+
:topic_name,
|
|
1693
|
+
:replication_factor,
|
|
1694
|
+
:partition_count,
|
|
1695
|
+
:configs,
|
|
1696
|
+
:status)
|
|
1697
|
+
SENSITIVE = []
|
|
1698
|
+
include Aws::Structure
|
|
1699
|
+
end
|
|
1700
|
+
|
|
1701
|
+
# The response containing partitions details for a topic.
|
|
1702
|
+
#
|
|
1703
|
+
# @!attribute [rw] partitions
|
|
1704
|
+
# @return [Array<Types::TopicPartitionInfo>]
|
|
1705
|
+
#
|
|
1706
|
+
# @!attribute [rw] next_token
|
|
1707
|
+
# @return [String]
|
|
1708
|
+
#
|
|
1709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeTopicPartitionsResponse AWS API Documentation
|
|
1710
|
+
#
|
|
1711
|
+
class DescribeTopicPartitionsResponse < Struct.new(
|
|
1712
|
+
:partitions,
|
|
1713
|
+
:next_token)
|
|
1714
|
+
SENSITIVE = []
|
|
1715
|
+
include Aws::Structure
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
# Contains information about a topic partition.
|
|
1719
|
+
#
|
|
1720
|
+
# @!attribute [rw] partition
|
|
1721
|
+
# @return [Integer]
|
|
1722
|
+
#
|
|
1723
|
+
# @!attribute [rw] leader
|
|
1724
|
+
# @return [Integer]
|
|
1725
|
+
#
|
|
1726
|
+
# @!attribute [rw] replicas
|
|
1727
|
+
# @return [Array<Integer>]
|
|
1728
|
+
#
|
|
1729
|
+
# @!attribute [rw] isr
|
|
1730
|
+
# @return [Array<Integer>]
|
|
1731
|
+
#
|
|
1732
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/TopicPartitionInfo AWS API Documentation
|
|
1733
|
+
#
|
|
1734
|
+
class TopicPartitionInfo < Struct.new(
|
|
1735
|
+
:partition,
|
|
1736
|
+
:leader,
|
|
1737
|
+
:replicas,
|
|
1738
|
+
:isr)
|
|
1739
|
+
SENSITIVE = []
|
|
1740
|
+
include Aws::Structure
|
|
1741
|
+
end
|
|
1742
|
+
|
|
1612
1743
|
# @!attribute [rw] replicator_arn
|
|
1613
1744
|
# @return [String]
|
|
1614
1745
|
#
|
|
@@ -2586,6 +2717,21 @@ module Aws::Kafka
|
|
|
2586
2717
|
include Aws::Structure
|
|
2587
2718
|
end
|
|
2588
2719
|
|
|
2720
|
+
# Includes all rebalancing-related information for the cluster.
|
|
2721
|
+
#
|
|
2722
|
+
# @!attribute [rw] status
|
|
2723
|
+
# Intelligent rebalancing status. The default intelligent rebalancing
|
|
2724
|
+
# status is ACTIVE for all new Express-based clusters.
|
|
2725
|
+
# @return [String]
|
|
2726
|
+
#
|
|
2727
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Rebalancing AWS API Documentation
|
|
2728
|
+
#
|
|
2729
|
+
class Rebalancing < Struct.new(
|
|
2730
|
+
:status)
|
|
2731
|
+
SENSITIVE = []
|
|
2732
|
+
include Aws::Structure
|
|
2733
|
+
end
|
|
2734
|
+
|
|
2589
2735
|
# Creates a provisioned cluster.
|
|
2590
2736
|
#
|
|
2591
2737
|
# @!attribute [rw] broker_node_group_info
|
|
@@ -2631,6 +2777,13 @@ module Aws::Kafka
|
|
|
2631
2777
|
# This controls storage mode for supported storage tiers.
|
|
2632
2778
|
# @return [String]
|
|
2633
2779
|
#
|
|
2780
|
+
# @!attribute [rw] rebalancing
|
|
2781
|
+
# Specifies if intelligent rebalancing is turned on for your MSK
|
|
2782
|
+
# Provisioned cluster with Express brokers. For all new Express-based
|
|
2783
|
+
# clusters that you create, intelligent rebalancing is turned on by
|
|
2784
|
+
# default.
|
|
2785
|
+
# @return [Types::Rebalancing]
|
|
2786
|
+
#
|
|
2634
2787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ProvisionedRequest AWS API Documentation
|
|
2635
2788
|
#
|
|
2636
2789
|
class ProvisionedRequest < Struct.new(
|
|
@@ -2643,7 +2796,8 @@ module Aws::Kafka
|
|
|
2643
2796
|
:kafka_version,
|
|
2644
2797
|
:logging_info,
|
|
2645
2798
|
:number_of_broker_nodes,
|
|
2646
|
-
:storage_mode
|
|
2799
|
+
:storage_mode,
|
|
2800
|
+
:rebalancing)
|
|
2647
2801
|
SENSITIVE = []
|
|
2648
2802
|
include Aws::Structure
|
|
2649
2803
|
end
|
|
@@ -2707,6 +2861,15 @@ module Aws::Kafka
|
|
|
2707
2861
|
# This controls storage mode for supported storage tiers.
|
|
2708
2862
|
# @return [String]
|
|
2709
2863
|
#
|
|
2864
|
+
# @!attribute [rw] rebalancing
|
|
2865
|
+
# Specifies whether or not intelligent rebalancing is turned on for a
|
|
2866
|
+
# newly created MSK Provisioned cluster with Express brokers.
|
|
2867
|
+
# Intelligent rebalancing performs automatic partition balancing
|
|
2868
|
+
# operations when you scale your clusters up or down. By default,
|
|
2869
|
+
# intelligent rebalancing is ACTIVE for all new Express-based
|
|
2870
|
+
# clusters.
|
|
2871
|
+
# @return [Types::Rebalancing]
|
|
2872
|
+
#
|
|
2710
2873
|
# @!attribute [rw] customer_action_status
|
|
2711
2874
|
# Determines if there is an action required from the customer.
|
|
2712
2875
|
# @return [String]
|
|
@@ -2725,6 +2888,7 @@ module Aws::Kafka
|
|
|
2725
2888
|
:zookeeper_connect_string,
|
|
2726
2889
|
:zookeeper_connect_string_tls,
|
|
2727
2890
|
:storage_mode,
|
|
2891
|
+
:rebalancing,
|
|
2728
2892
|
:customer_action_status)
|
|
2729
2893
|
SENSITIVE = []
|
|
2730
2894
|
include Aws::Structure
|
|
@@ -3132,6 +3296,48 @@ module Aws::Kafka
|
|
|
3132
3296
|
include Aws::Structure
|
|
3133
3297
|
end
|
|
3134
3298
|
|
|
3299
|
+
# Request body for ListTopics.
|
|
3300
|
+
#
|
|
3301
|
+
# @!attribute [rw] cluster_arn
|
|
3302
|
+
# @return [String]
|
|
3303
|
+
#
|
|
3304
|
+
# @!attribute [rw] max_results
|
|
3305
|
+
# @return [Integer]
|
|
3306
|
+
#
|
|
3307
|
+
# @!attribute [rw] next_token
|
|
3308
|
+
# @return [String]
|
|
3309
|
+
#
|
|
3310
|
+
# @!attribute [rw] topic_name_filter
|
|
3311
|
+
# @return [String]
|
|
3312
|
+
#
|
|
3313
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListTopicsRequest AWS API Documentation
|
|
3314
|
+
#
|
|
3315
|
+
class ListTopicsRequest < Struct.new(
|
|
3316
|
+
:cluster_arn,
|
|
3317
|
+
:max_results,
|
|
3318
|
+
:next_token,
|
|
3319
|
+
:topic_name_filter)
|
|
3320
|
+
SENSITIVE = []
|
|
3321
|
+
include Aws::Structure
|
|
3322
|
+
end
|
|
3323
|
+
|
|
3324
|
+
# The response contains an array of topics on a MSK Cluster.
|
|
3325
|
+
#
|
|
3326
|
+
# @!attribute [rw] topics
|
|
3327
|
+
# @return [Array<Types::TopicInfo>]
|
|
3328
|
+
#
|
|
3329
|
+
# @!attribute [rw] next_token
|
|
3330
|
+
# @return [String]
|
|
3331
|
+
#
|
|
3332
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListTopicsResponse AWS API Documentation
|
|
3333
|
+
#
|
|
3334
|
+
class ListTopicsResponse < Struct.new(
|
|
3335
|
+
:topics,
|
|
3336
|
+
:next_token)
|
|
3337
|
+
SENSITIVE = []
|
|
3338
|
+
include Aws::Structure
|
|
3339
|
+
end
|
|
3340
|
+
|
|
3135
3341
|
# @!attribute [rw] max_results
|
|
3136
3342
|
# @return [Integer]
|
|
3137
3343
|
#
|
|
@@ -3294,6 +3500,11 @@ module Aws::Kafka
|
|
|
3294
3500
|
# Describes brokers being changed during a broker count update.
|
|
3295
3501
|
# @return [Types::BrokerCountUpdateInfo]
|
|
3296
3502
|
#
|
|
3503
|
+
# @!attribute [rw] rebalancing
|
|
3504
|
+
# Describes the intelligent rebalancing configuration of an MSK
|
|
3505
|
+
# Provisioned cluster with Express brokers.
|
|
3506
|
+
# @return [Types::Rebalancing]
|
|
3507
|
+
#
|
|
3297
3508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
|
|
3298
3509
|
#
|
|
3299
3510
|
class MutableClusterInfo < Struct.new(
|
|
@@ -3309,7 +3520,8 @@ module Aws::Kafka
|
|
|
3309
3520
|
:encryption_info,
|
|
3310
3521
|
:connectivity_info,
|
|
3311
3522
|
:storage_mode,
|
|
3312
|
-
:broker_count_update_info
|
|
3523
|
+
:broker_count_update_info,
|
|
3524
|
+
:rebalancing)
|
|
3313
3525
|
SENSITIVE = []
|
|
3314
3526
|
include Aws::Structure
|
|
3315
3527
|
end
|
|
@@ -3827,6 +4039,35 @@ module Aws::Kafka
|
|
|
3827
4039
|
include Aws::Structure
|
|
3828
4040
|
end
|
|
3829
4041
|
|
|
4042
|
+
# Includes identification info about the topic.
|
|
4043
|
+
#
|
|
4044
|
+
# @!attribute [rw] topic_arn
|
|
4045
|
+
# @return [String]
|
|
4046
|
+
#
|
|
4047
|
+
# @!attribute [rw] topic_name
|
|
4048
|
+
# @return [String]
|
|
4049
|
+
#
|
|
4050
|
+
# @!attribute [rw] replication_factor
|
|
4051
|
+
# @return [Integer]
|
|
4052
|
+
#
|
|
4053
|
+
# @!attribute [rw] partition_count
|
|
4054
|
+
# @return [Integer]
|
|
4055
|
+
#
|
|
4056
|
+
# @!attribute [rw] out_of_sync_replica_count
|
|
4057
|
+
# @return [Integer]
|
|
4058
|
+
#
|
|
4059
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/TopicInfo AWS API Documentation
|
|
4060
|
+
#
|
|
4061
|
+
class TopicInfo < Struct.new(
|
|
4062
|
+
:topic_arn,
|
|
4063
|
+
:topic_name,
|
|
4064
|
+
:replication_factor,
|
|
4065
|
+
:partition_count,
|
|
4066
|
+
:out_of_sync_replica_count)
|
|
4067
|
+
SENSITIVE = []
|
|
4068
|
+
include Aws::Structure
|
|
4069
|
+
end
|
|
4070
|
+
|
|
3830
4071
|
# @!attribute [rw] enabled
|
|
3831
4072
|
# TLS authentication for VPC connectivity is on or off.
|
|
3832
4073
|
# @return [Boolean]
|
|
@@ -4008,6 +4249,50 @@ module Aws::Kafka
|
|
|
4008
4249
|
include Aws::Structure
|
|
4009
4250
|
end
|
|
4010
4251
|
|
|
4252
|
+
# Request body for UpdateRebalancing.
|
|
4253
|
+
#
|
|
4254
|
+
# @!attribute [rw] cluster_arn
|
|
4255
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
|
4256
|
+
# @return [String]
|
|
4257
|
+
#
|
|
4258
|
+
# @!attribute [rw] current_version
|
|
4259
|
+
# The current version of the cluster.
|
|
4260
|
+
# @return [String]
|
|
4261
|
+
#
|
|
4262
|
+
# @!attribute [rw] rebalancing
|
|
4263
|
+
# Includes all rebalancing-related information for the cluster.
|
|
4264
|
+
# @return [Types::Rebalancing]
|
|
4265
|
+
#
|
|
4266
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateRebalancingRequest AWS API Documentation
|
|
4267
|
+
#
|
|
4268
|
+
class UpdateRebalancingRequest < Struct.new(
|
|
4269
|
+
:cluster_arn,
|
|
4270
|
+
:current_version,
|
|
4271
|
+
:rebalancing)
|
|
4272
|
+
SENSITIVE = []
|
|
4273
|
+
include Aws::Structure
|
|
4274
|
+
end
|
|
4275
|
+
|
|
4276
|
+
# Response body for UpdateRebalancing.
|
|
4277
|
+
#
|
|
4278
|
+
# @!attribute [rw] cluster_arn
|
|
4279
|
+
# The Amazon Resource Name (ARN) of the cluster whose intelligent
|
|
4280
|
+
# rebalancing status you've updated.
|
|
4281
|
+
# @return [String]
|
|
4282
|
+
#
|
|
4283
|
+
# @!attribute [rw] cluster_operation_arn
|
|
4284
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
|
4285
|
+
# @return [String]
|
|
4286
|
+
#
|
|
4287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateRebalancingResponse AWS API Documentation
|
|
4288
|
+
#
|
|
4289
|
+
class UpdateRebalancingResponse < Struct.new(
|
|
4290
|
+
:cluster_arn,
|
|
4291
|
+
:cluster_operation_arn)
|
|
4292
|
+
SENSITIVE = []
|
|
4293
|
+
include Aws::Structure
|
|
4294
|
+
end
|
|
4295
|
+
|
|
4011
4296
|
# Request object for UpdateBrokerStorage.
|
|
4012
4297
|
#
|
|
4013
4298
|
# @!attribute [rw] cluster_arn
|
data/lib/aws-sdk-kafka.rb
CHANGED
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[
|
|
@@ -558,6 +564,36 @@ module Aws
|
|
|
558
564
|
) -> _DescribeReplicatorResponseSuccess
|
|
559
565
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeReplicatorResponseSuccess
|
|
560
566
|
|
|
567
|
+
interface _DescribeTopicResponseSuccess
|
|
568
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTopicResponse]
|
|
569
|
+
def topic_arn: () -> ::String
|
|
570
|
+
def topic_name: () -> ::String
|
|
571
|
+
def replication_factor: () -> ::Integer
|
|
572
|
+
def partition_count: () -> ::Integer
|
|
573
|
+
def configs: () -> ::String
|
|
574
|
+
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE")
|
|
575
|
+
end
|
|
576
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kafka/Client.html#describe_topic-instance_method
|
|
577
|
+
def describe_topic: (
|
|
578
|
+
cluster_arn: ::String,
|
|
579
|
+
topic_name: ::String
|
|
580
|
+
) -> _DescribeTopicResponseSuccess
|
|
581
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTopicResponseSuccess
|
|
582
|
+
|
|
583
|
+
interface _DescribeTopicPartitionsResponseSuccess
|
|
584
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTopicPartitionsResponse]
|
|
585
|
+
def partitions: () -> ::Array[Types::TopicPartitionInfo]
|
|
586
|
+
def next_token: () -> ::String
|
|
587
|
+
end
|
|
588
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kafka/Client.html#describe_topic_partitions-instance_method
|
|
589
|
+
def describe_topic_partitions: (
|
|
590
|
+
cluster_arn: ::String,
|
|
591
|
+
topic_name: ::String,
|
|
592
|
+
?max_results: ::Integer,
|
|
593
|
+
?next_token: ::String
|
|
594
|
+
) -> _DescribeTopicPartitionsResponseSuccess
|
|
595
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTopicPartitionsResponseSuccess
|
|
596
|
+
|
|
561
597
|
interface _DescribeVpcConnectionResponseSuccess
|
|
562
598
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVpcConnectionResponse]
|
|
563
599
|
def vpc_connection_arn: () -> ::String
|
|
@@ -781,6 +817,20 @@ module Aws
|
|
|
781
817
|
) -> _ListVpcConnectionsResponseSuccess
|
|
782
818
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVpcConnectionsResponseSuccess
|
|
783
819
|
|
|
820
|
+
interface _ListTopicsResponseSuccess
|
|
821
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTopicsResponse]
|
|
822
|
+
def topics: () -> ::Array[Types::TopicInfo]
|
|
823
|
+
def next_token: () -> ::String
|
|
824
|
+
end
|
|
825
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kafka/Client.html#list_topics-instance_method
|
|
826
|
+
def list_topics: (
|
|
827
|
+
cluster_arn: ::String,
|
|
828
|
+
?max_results: ::Integer,
|
|
829
|
+
?next_token: ::String,
|
|
830
|
+
?topic_name_filter: ::String
|
|
831
|
+
) -> _ListTopicsResponseSuccess
|
|
832
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTopicsResponseSuccess
|
|
833
|
+
|
|
784
834
|
interface _RejectClientVpcConnectionResponseSuccess
|
|
785
835
|
include ::Seahorse::Client::_ResponseSuccess[Types::RejectClientVpcConnectionResponse]
|
|
786
836
|
end
|
|
@@ -1015,6 +1065,21 @@ module Aws
|
|
|
1015
1065
|
) -> _UpdateMonitoringResponseSuccess
|
|
1016
1066
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMonitoringResponseSuccess
|
|
1017
1067
|
|
|
1068
|
+
interface _UpdateRebalancingResponseSuccess
|
|
1069
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRebalancingResponse]
|
|
1070
|
+
def cluster_arn: () -> ::String
|
|
1071
|
+
def cluster_operation_arn: () -> ::String
|
|
1072
|
+
end
|
|
1073
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kafka/Client.html#update_rebalancing-instance_method
|
|
1074
|
+
def update_rebalancing: (
|
|
1075
|
+
cluster_arn: ::String,
|
|
1076
|
+
current_version: ::String,
|
|
1077
|
+
rebalancing: {
|
|
1078
|
+
status: ("PAUSED" | "ACTIVE")
|
|
1079
|
+
}
|
|
1080
|
+
) -> _UpdateRebalancingResponseSuccess
|
|
1081
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRebalancingResponseSuccess
|
|
1082
|
+
|
|
1018
1083
|
interface _UpdateReplicationInfoResponseSuccess
|
|
1019
1084
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateReplicationInfoResponse]
|
|
1020
1085
|
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
|
|
@@ -449,6 +451,44 @@ module Aws::Kafka
|
|
|
449
451
|
SENSITIVE: []
|
|
450
452
|
end
|
|
451
453
|
|
|
454
|
+
class DescribeTopicRequest
|
|
455
|
+
attr_accessor cluster_arn: ::String
|
|
456
|
+
attr_accessor topic_name: ::String
|
|
457
|
+
SENSITIVE: []
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
class DescribeTopicPartitionsRequest
|
|
461
|
+
attr_accessor cluster_arn: ::String
|
|
462
|
+
attr_accessor topic_name: ::String
|
|
463
|
+
attr_accessor max_results: ::Integer
|
|
464
|
+
attr_accessor next_token: ::String
|
|
465
|
+
SENSITIVE: []
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
class DescribeTopicResponse
|
|
469
|
+
attr_accessor topic_arn: ::String
|
|
470
|
+
attr_accessor topic_name: ::String
|
|
471
|
+
attr_accessor replication_factor: ::Integer
|
|
472
|
+
attr_accessor partition_count: ::Integer
|
|
473
|
+
attr_accessor configs: ::String
|
|
474
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE")
|
|
475
|
+
SENSITIVE: []
|
|
476
|
+
end
|
|
477
|
+
|
|
478
|
+
class DescribeTopicPartitionsResponse
|
|
479
|
+
attr_accessor partitions: ::Array[Types::TopicPartitionInfo]
|
|
480
|
+
attr_accessor next_token: ::String
|
|
481
|
+
SENSITIVE: []
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
class TopicPartitionInfo
|
|
485
|
+
attr_accessor partition: ::Integer
|
|
486
|
+
attr_accessor leader: ::Integer
|
|
487
|
+
attr_accessor replicas: ::Array[::Integer]
|
|
488
|
+
attr_accessor isr: ::Array[::Integer]
|
|
489
|
+
SENSITIVE: []
|
|
490
|
+
end
|
|
491
|
+
|
|
452
492
|
class DescribeReplicatorRequest
|
|
453
493
|
attr_accessor replicator_arn: ::String
|
|
454
494
|
SENSITIVE: []
|
|
@@ -726,6 +766,11 @@ module Aws::Kafka
|
|
|
726
766
|
SENSITIVE: []
|
|
727
767
|
end
|
|
728
768
|
|
|
769
|
+
class Rebalancing
|
|
770
|
+
attr_accessor status: ("PAUSED" | "ACTIVE")
|
|
771
|
+
SENSITIVE: []
|
|
772
|
+
end
|
|
773
|
+
|
|
729
774
|
class ProvisionedRequest
|
|
730
775
|
attr_accessor broker_node_group_info: Types::BrokerNodeGroupInfo
|
|
731
776
|
attr_accessor client_authentication: Types::ClientAuthentication
|
|
@@ -737,6 +782,7 @@ module Aws::Kafka
|
|
|
737
782
|
attr_accessor logging_info: Types::LoggingInfo
|
|
738
783
|
attr_accessor number_of_broker_nodes: ::Integer
|
|
739
784
|
attr_accessor storage_mode: ("LOCAL" | "TIERED")
|
|
785
|
+
attr_accessor rebalancing: Types::Rebalancing
|
|
740
786
|
SENSITIVE: []
|
|
741
787
|
end
|
|
742
788
|
|
|
@@ -752,6 +798,7 @@ module Aws::Kafka
|
|
|
752
798
|
attr_accessor zookeeper_connect_string: ::String
|
|
753
799
|
attr_accessor zookeeper_connect_string_tls: ::String
|
|
754
800
|
attr_accessor storage_mode: ("LOCAL" | "TIERED")
|
|
801
|
+
attr_accessor rebalancing: Types::Rebalancing
|
|
755
802
|
attr_accessor customer_action_status: ("CRITICAL_ACTION_REQUIRED" | "ACTION_RECOMMENDED" | "NONE")
|
|
756
803
|
SENSITIVE: []
|
|
757
804
|
end
|
|
@@ -888,6 +935,20 @@ module Aws::Kafka
|
|
|
888
935
|
SENSITIVE: []
|
|
889
936
|
end
|
|
890
937
|
|
|
938
|
+
class ListTopicsRequest
|
|
939
|
+
attr_accessor cluster_arn: ::String
|
|
940
|
+
attr_accessor max_results: ::Integer
|
|
941
|
+
attr_accessor next_token: ::String
|
|
942
|
+
attr_accessor topic_name_filter: ::String
|
|
943
|
+
SENSITIVE: []
|
|
944
|
+
end
|
|
945
|
+
|
|
946
|
+
class ListTopicsResponse
|
|
947
|
+
attr_accessor topics: ::Array[Types::TopicInfo]
|
|
948
|
+
attr_accessor next_token: ::String
|
|
949
|
+
SENSITIVE: []
|
|
950
|
+
end
|
|
951
|
+
|
|
891
952
|
class ListReplicatorsRequest
|
|
892
953
|
attr_accessor max_results: ::Integer
|
|
893
954
|
attr_accessor next_token: ::String
|
|
@@ -936,6 +997,7 @@ module Aws::Kafka
|
|
|
936
997
|
attr_accessor connectivity_info: Types::ConnectivityInfo
|
|
937
998
|
attr_accessor storage_mode: ("LOCAL" | "TIERED")
|
|
938
999
|
attr_accessor broker_count_update_info: Types::BrokerCountUpdateInfo
|
|
1000
|
+
attr_accessor rebalancing: Types::Rebalancing
|
|
939
1001
|
SENSITIVE: []
|
|
940
1002
|
end
|
|
941
1003
|
|
|
@@ -1090,6 +1152,15 @@ module Aws::Kafka
|
|
|
1090
1152
|
SENSITIVE: []
|
|
1091
1153
|
end
|
|
1092
1154
|
|
|
1155
|
+
class TopicInfo
|
|
1156
|
+
attr_accessor topic_arn: ::String
|
|
1157
|
+
attr_accessor topic_name: ::String
|
|
1158
|
+
attr_accessor replication_factor: ::Integer
|
|
1159
|
+
attr_accessor partition_count: ::Integer
|
|
1160
|
+
attr_accessor out_of_sync_replica_count: ::Integer
|
|
1161
|
+
SENSITIVE: []
|
|
1162
|
+
end
|
|
1163
|
+
|
|
1093
1164
|
class VpcConnectivityTls
|
|
1094
1165
|
attr_accessor enabled: bool
|
|
1095
1166
|
SENSITIVE: []
|
|
@@ -1151,6 +1222,19 @@ module Aws::Kafka
|
|
|
1151
1222
|
SENSITIVE: []
|
|
1152
1223
|
end
|
|
1153
1224
|
|
|
1225
|
+
class UpdateRebalancingRequest
|
|
1226
|
+
attr_accessor cluster_arn: ::String
|
|
1227
|
+
attr_accessor current_version: ::String
|
|
1228
|
+
attr_accessor rebalancing: Types::Rebalancing
|
|
1229
|
+
SENSITIVE: []
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1232
|
+
class UpdateRebalancingResponse
|
|
1233
|
+
attr_accessor cluster_arn: ::String
|
|
1234
|
+
attr_accessor cluster_operation_arn: ::String
|
|
1235
|
+
SENSITIVE: []
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1154
1238
|
class UpdateBrokerStorageRequest
|
|
1155
1239
|
attr_accessor cluster_arn: ::String
|
|
1156
1240
|
attr_accessor current_version: ::String
|