aws-sdk-kafka 1.43.0 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafka/client.rb +421 -7
- data/lib/aws-sdk-kafka/client_api.rb +196 -1
- data/lib/aws-sdk-kafka/types.rb +1040 -147
- data/lib/aws-sdk-kafka.rb +1 -1
- metadata +4 -4
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -81,13 +81,21 @@ module Aws::Kafka
|
|
81
81
|
#
|
82
82
|
# {
|
83
83
|
# kafka_broker_node_id: "__string", # required
|
84
|
-
#
|
84
|
+
# provisioned_throughput: {
|
85
|
+
# enabled: false,
|
86
|
+
# volume_throughput: 1,
|
87
|
+
# },
|
88
|
+
# volume_size_gb: 1,
|
85
89
|
# }
|
86
90
|
#
|
87
91
|
# @!attribute [rw] kafka_broker_node_id
|
88
92
|
# The ID of the broker to update.
|
89
93
|
# @return [String]
|
90
94
|
#
|
95
|
+
# @!attribute [rw] provisioned_throughput
|
96
|
+
# EBS volume provisioned throughput information.
|
97
|
+
# @return [Types::ProvisionedThroughput]
|
98
|
+
#
|
91
99
|
# @!attribute [rw] volume_size_gb
|
92
100
|
# Size of the EBS volume to update.
|
93
101
|
# @return [Integer]
|
@@ -96,6 +104,7 @@ module Aws::Kafka
|
|
96
104
|
#
|
97
105
|
class BrokerEBSVolumeInfo < Struct.new(
|
98
106
|
:kafka_broker_node_id,
|
107
|
+
:provisioned_throughput,
|
99
108
|
:volume_size_gb)
|
100
109
|
SENSITIVE = []
|
101
110
|
include Aws::Structure
|
@@ -145,7 +154,8 @@ module Aws::Kafka
|
|
145
154
|
include Aws::Structure
|
146
155
|
end
|
147
156
|
|
148
|
-
# Describes the setup to be used for Kafka broker nodes in the
|
157
|
+
# Describes the setup to be used for Apache Kafka broker nodes in the
|
158
|
+
# cluster.
|
149
159
|
#
|
150
160
|
# @note When making an API call, you may pass BrokerNodeGroupInfo
|
151
161
|
# data as a hash:
|
@@ -157,9 +167,18 @@ module Aws::Kafka
|
|
157
167
|
# security_groups: ["__string"],
|
158
168
|
# storage_info: {
|
159
169
|
# ebs_storage_info: {
|
170
|
+
# provisioned_throughput: {
|
171
|
+
# enabled: false,
|
172
|
+
# volume_throughput: 1,
|
173
|
+
# },
|
160
174
|
# volume_size: 1,
|
161
175
|
# },
|
162
176
|
# },
|
177
|
+
# connectivity_info: {
|
178
|
+
# public_access: {
|
179
|
+
# type: "__string",
|
180
|
+
# },
|
181
|
+
# },
|
163
182
|
# }
|
164
183
|
#
|
165
184
|
# @!attribute [rw] broker_az_distribution
|
@@ -193,6 +212,10 @@ module Aws::Kafka
|
|
193
212
|
# nodes.
|
194
213
|
# @return [Types::StorageInfo]
|
195
214
|
#
|
215
|
+
# @!attribute [rw] connectivity_info
|
216
|
+
# Information about the broker access configuration.
|
217
|
+
# @return [Types::ConnectivityInfo]
|
218
|
+
#
|
196
219
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BrokerNodeGroupInfo AWS API Documentation
|
197
220
|
#
|
198
221
|
class BrokerNodeGroupInfo < Struct.new(
|
@@ -200,7 +223,8 @@ module Aws::Kafka
|
|
200
223
|
:client_subnets,
|
201
224
|
:instance_type,
|
202
225
|
:security_groups,
|
203
|
-
:storage_info
|
226
|
+
:storage_info,
|
227
|
+
:connectivity_info)
|
204
228
|
SENSITIVE = []
|
205
229
|
include Aws::Structure
|
206
230
|
end
|
@@ -225,7 +249,7 @@ module Aws::Kafka
|
|
225
249
|
#
|
226
250
|
# @!attribute [rw] current_broker_software_info
|
227
251
|
# Information about the version of software currently deployed on the
|
228
|
-
# Kafka brokers in the cluster.
|
252
|
+
# Apache Kafka brokers in the cluster.
|
229
253
|
# @return [Types::BrokerSoftwareInfo]
|
230
254
|
#
|
231
255
|
# @!attribute [rw] endpoints
|
@@ -371,7 +395,7 @@ module Aws::Kafka
|
|
371
395
|
#
|
372
396
|
# @!attribute [rw] current_broker_software_info
|
373
397
|
# Information about the version of software currently deployed on the
|
374
|
-
# Kafka brokers in the cluster.
|
398
|
+
# Apache Kafka brokers in the cluster.
|
375
399
|
# @return [Types::BrokerSoftwareInfo]
|
376
400
|
#
|
377
401
|
# @!attribute [rw] logging_info
|
@@ -556,7 +580,8 @@ module Aws::Kafka
|
|
556
580
|
include Aws::Structure
|
557
581
|
end
|
558
582
|
|
559
|
-
# Contains source Kafka versions and compatible target
|
583
|
+
# Contains source Apache Kafka versions and compatible target Apache
|
584
|
+
# Kafka versions.
|
560
585
|
#
|
561
586
|
# @!attribute [rw] source_version
|
562
587
|
# @return [String]
|
@@ -688,6 +713,29 @@ module Aws::Kafka
|
|
688
713
|
include Aws::Structure
|
689
714
|
end
|
690
715
|
|
716
|
+
# Information about the broker access configuration.
|
717
|
+
#
|
718
|
+
# @note When making an API call, you may pass ConnectivityInfo
|
719
|
+
# data as a hash:
|
720
|
+
#
|
721
|
+
# {
|
722
|
+
# public_access: {
|
723
|
+
# type: "__string",
|
724
|
+
# },
|
725
|
+
# }
|
726
|
+
#
|
727
|
+
# @!attribute [rw] public_access
|
728
|
+
# Public access control for brokers.
|
729
|
+
# @return [Types::PublicAccess]
|
730
|
+
#
|
731
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ConnectivityInfo AWS API Documentation
|
732
|
+
#
|
733
|
+
class ConnectivityInfo < Struct.new(
|
734
|
+
:public_access)
|
735
|
+
SENSITIVE = []
|
736
|
+
include Aws::Structure
|
737
|
+
end
|
738
|
+
|
691
739
|
# Creates a cluster.
|
692
740
|
#
|
693
741
|
# @note When making an API call, you may pass CreateClusterRequest
|
@@ -701,9 +749,18 @@ module Aws::Kafka
|
|
701
749
|
# security_groups: ["__string"],
|
702
750
|
# storage_info: {
|
703
751
|
# ebs_storage_info: {
|
752
|
+
# provisioned_throughput: {
|
753
|
+
# enabled: false,
|
754
|
+
# volume_throughput: 1,
|
755
|
+
# },
|
704
756
|
# volume_size: 1,
|
705
757
|
# },
|
706
758
|
# },
|
759
|
+
# connectivity_info: {
|
760
|
+
# public_access: {
|
761
|
+
# type: "__string",
|
762
|
+
# },
|
763
|
+
# },
|
707
764
|
# },
|
708
765
|
# client_authentication: {
|
709
766
|
# sasl: {
|
@@ -807,7 +864,7 @@ module Aws::Kafka
|
|
807
864
|
# @return [Types::LoggingInfo]
|
808
865
|
#
|
809
866
|
# @!attribute [rw] number_of_broker_nodes
|
810
|
-
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
867
|
+
# The number of Apache Kafka broker nodes in the Amazon MSK cluster.
|
811
868
|
# @return [Integer]
|
812
869
|
#
|
813
870
|
# @!attribute [rw] open_monitoring
|
@@ -1253,16 +1310,24 @@ module Aws::Kafka
|
|
1253
1310
|
include Aws::Structure
|
1254
1311
|
end
|
1255
1312
|
|
1256
|
-
# Contains information about the EBS storage volumes attached to
|
1257
|
-
# broker nodes.
|
1313
|
+
# Contains information about the EBS storage volumes attached to Apache
|
1314
|
+
# Kafka broker nodes.
|
1258
1315
|
#
|
1259
1316
|
# @note When making an API call, you may pass EBSStorageInfo
|
1260
1317
|
# data as a hash:
|
1261
1318
|
#
|
1262
1319
|
# {
|
1320
|
+
# provisioned_throughput: {
|
1321
|
+
# enabled: false,
|
1322
|
+
# volume_throughput: 1,
|
1323
|
+
# },
|
1263
1324
|
# volume_size: 1,
|
1264
1325
|
# }
|
1265
1326
|
#
|
1327
|
+
# @!attribute [rw] provisioned_throughput
|
1328
|
+
# EBS volume provisioned throughput information.
|
1329
|
+
# @return [Types::ProvisionedThroughput]
|
1330
|
+
#
|
1266
1331
|
# @!attribute [rw] volume_size
|
1267
1332
|
# The size in GiB of the EBS volume for the data drive on each broker
|
1268
1333
|
# node.
|
@@ -1271,6 +1336,7 @@ module Aws::Kafka
|
|
1271
1336
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/EBSStorageInfo AWS API Documentation
|
1272
1337
|
#
|
1273
1338
|
class EBSStorageInfo < Struct.new(
|
1339
|
+
:provisioned_throughput,
|
1274
1340
|
:volume_size)
|
1275
1341
|
SENSITIVE = []
|
1276
1342
|
include Aws::Structure
|
@@ -1482,16 +1548,37 @@ module Aws::Kafka
|
|
1482
1548
|
# A string containing one or more hostname:port pairs.
|
1483
1549
|
# @return [String]
|
1484
1550
|
#
|
1551
|
+
# @!attribute [rw] bootstrap_broker_string_public_sasl_iam
|
1552
|
+
# A string that contains one or more DNS names (or IP addresses) and
|
1553
|
+
# SASL IAM port pairs. The following is an example.
|
1554
|
+
#
|
1555
|
+
# <programlisting>\{ "BootstrapBrokerStringSaslIam": "b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9198,b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9198,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9198" \}</programlisting>
|
1556
|
+
# @return [String]
|
1557
|
+
#
|
1558
|
+
# @!attribute [rw] bootstrap_broker_string_public_sasl_scram
|
1559
|
+
# A string containing one or more DNS names (or IP addresses) and SASL
|
1560
|
+
# SCRAM port pairs. The following is an example.
|
1561
|
+
#
|
1562
|
+
# <programlisting>\{ "BootstrapBrokerStringSaslScram": "b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9196,b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9196,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9196" \}</programlisting>
|
1563
|
+
# @return [String]
|
1564
|
+
#
|
1565
|
+
# @!attribute [rw] bootstrap_broker_string_public_tls
|
1566
|
+
# A string containing one or more DNS names (or IP addresses) and TLS
|
1567
|
+
# port pairs. The following is an example.
|
1568
|
+
#
|
1569
|
+
# <programlisting>\{ "BootstrapBrokerStringTls": "b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9194,b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9194,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9194" \}</programlisting>
|
1570
|
+
# @return [String]
|
1571
|
+
#
|
1485
1572
|
# @!attribute [rw] bootstrap_broker_string_tls
|
1486
|
-
# A string containing one or more DNS names (or IP) and TLS
|
1487
|
-
# pairs. The following is an example.
|
1573
|
+
# A string containing one or more DNS names (or IP addresses) and TLS
|
1574
|
+
# port pairs. The following is an example.
|
1488
1575
|
#
|
1489
1576
|
# <programlisting>\{ "BootstrapBrokerStringTls": "b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094,b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094" \}</programlisting>
|
1490
1577
|
# @return [String]
|
1491
1578
|
#
|
1492
1579
|
# @!attribute [rw] bootstrap_broker_string_sasl_scram
|
1493
|
-
# A string containing one or more DNS names (or IP) and SASL
|
1494
|
-
# port pairs. The following is an example.
|
1580
|
+
# A string containing one or more DNS names (or IP addresses) and SASL
|
1581
|
+
# SCRAM port pairs. The following is an example.
|
1495
1582
|
#
|
1496
1583
|
# <programlisting>\{ "BootstrapBrokerStringSaslScram": "b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096,b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096" \}</programlisting>
|
1497
1584
|
# @return [String]
|
@@ -1507,6 +1594,9 @@ module Aws::Kafka
|
|
1507
1594
|
#
|
1508
1595
|
class GetBootstrapBrokersResponse < Struct.new(
|
1509
1596
|
:bootstrap_broker_string,
|
1597
|
+
:bootstrap_broker_string_public_sasl_iam,
|
1598
|
+
:bootstrap_broker_string_public_sasl_scram,
|
1599
|
+
:bootstrap_broker_string_public_tls,
|
1510
1600
|
:bootstrap_broker_string_tls,
|
1511
1601
|
:bootstrap_broker_string_sasl_scram,
|
1512
1602
|
:bootstrap_broker_string_sasl_iam)
|
@@ -1563,10 +1653,10 @@ module Aws::Kafka
|
|
1563
1653
|
include Aws::Structure
|
1564
1654
|
end
|
1565
1655
|
|
1566
|
-
# Information about a Kafka version.
|
1656
|
+
# Information about a Apache Kafka version.
|
1567
1657
|
#
|
1568
1658
|
# @!attribute [rw] version
|
1569
|
-
# The Kafka version.
|
1659
|
+
# The Apache Kafka version.
|
1570
1660
|
# @return [String]
|
1571
1661
|
#
|
1572
1662
|
# @!attribute [rw] status
|
@@ -1632,28 +1722,42 @@ module Aws::Kafka
|
|
1632
1722
|
include Aws::Structure
|
1633
1723
|
end
|
1634
1724
|
|
1635
|
-
# @note When making an API call, you may pass
|
1725
|
+
# @note When making an API call, you may pass ListClustersV2Request
|
1636
1726
|
# data as a hash:
|
1637
1727
|
#
|
1638
1728
|
# {
|
1639
1729
|
# cluster_name_filter: "__string",
|
1730
|
+
# cluster_type_filter: "__string",
|
1640
1731
|
# max_results: 1,
|
1641
1732
|
# next_token: "__string",
|
1642
1733
|
# }
|
1643
1734
|
#
|
1644
1735
|
# @!attribute [rw] cluster_name_filter
|
1736
|
+
# Specify a prefix of the names of the clusters that you want to list.
|
1737
|
+
# The service lists all the clusters whose names start with this
|
1738
|
+
# prefix.
|
1739
|
+
# @return [String]
|
1740
|
+
#
|
1741
|
+
# @!attribute [rw] cluster_type_filter
|
1742
|
+
# Specify either PROVISIONED or SERVERLESS.
|
1645
1743
|
# @return [String]
|
1646
1744
|
#
|
1647
1745
|
# @!attribute [rw] max_results
|
1746
|
+
# The maximum number of results to return in the response. If there
|
1747
|
+
# are more results, the response includes a NextToken parameter.
|
1648
1748
|
# @return [Integer]
|
1649
1749
|
#
|
1650
1750
|
# @!attribute [rw] next_token
|
1751
|
+
# The paginated results marker. When the result of the operation is
|
1752
|
+
# truncated, the call returns NextToken in the response. To get the
|
1753
|
+
# next batch, provide this token in your next request.
|
1651
1754
|
# @return [String]
|
1652
1755
|
#
|
1653
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1756
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2Request AWS API Documentation
|
1654
1757
|
#
|
1655
|
-
class
|
1758
|
+
class ListClustersV2Request < Struct.new(
|
1656
1759
|
:cluster_name_filter,
|
1760
|
+
:cluster_type_filter,
|
1657
1761
|
:max_results,
|
1658
1762
|
:next_token)
|
1659
1763
|
SENSITIVE = []
|
@@ -1665,7 +1769,7 @@ module Aws::Kafka
|
|
1665
1769
|
#
|
1666
1770
|
# @!attribute [rw] cluster_info_list
|
1667
1771
|
# Information on each of the MSK clusters in the response.
|
1668
|
-
# @return [Array<Types::
|
1772
|
+
# @return [Array<Types::Cluster>]
|
1669
1773
|
#
|
1670
1774
|
# @!attribute [rw] next_token
|
1671
1775
|
# The paginated results marker. When the result of a ListClusters
|
@@ -1674,201 +1778,871 @@ module Aws::Kafka
|
|
1674
1778
|
# request.
|
1675
1779
|
# @return [String]
|
1676
1780
|
#
|
1677
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2Response AWS API Documentation
|
1678
1782
|
#
|
1679
|
-
class
|
1783
|
+
class ListClustersV2Response < Struct.new(
|
1680
1784
|
:cluster_info_list,
|
1681
1785
|
:next_token)
|
1682
1786
|
SENSITIVE = []
|
1683
1787
|
include Aws::Structure
|
1684
1788
|
end
|
1685
1789
|
|
1686
|
-
#
|
1790
|
+
# Creates a new Amazon MSK cluster of either the provisioned or the
|
1791
|
+
# serverless type.
|
1792
|
+
#
|
1793
|
+
# @note When making an API call, you may pass CreateClusterV2Request
|
1687
1794
|
# data as a hash:
|
1688
1795
|
#
|
1689
1796
|
# {
|
1690
|
-
#
|
1691
|
-
#
|
1692
|
-
#
|
1797
|
+
# cluster_name: "__stringMin1Max64", # required
|
1798
|
+
# tags: {
|
1799
|
+
# "__string" => "__string",
|
1800
|
+
# },
|
1801
|
+
# provisioned: {
|
1802
|
+
# broker_node_group_info: { # required
|
1803
|
+
# broker_az_distribution: "DEFAULT", # accepts DEFAULT
|
1804
|
+
# client_subnets: ["__string"], # required
|
1805
|
+
# instance_type: "__stringMin5Max32", # required
|
1806
|
+
# security_groups: ["__string"],
|
1807
|
+
# storage_info: {
|
1808
|
+
# ebs_storage_info: {
|
1809
|
+
# provisioned_throughput: {
|
1810
|
+
# enabled: false,
|
1811
|
+
# volume_throughput: 1,
|
1812
|
+
# },
|
1813
|
+
# volume_size: 1,
|
1814
|
+
# },
|
1815
|
+
# },
|
1816
|
+
# connectivity_info: {
|
1817
|
+
# public_access: {
|
1818
|
+
# type: "__string",
|
1819
|
+
# },
|
1820
|
+
# },
|
1821
|
+
# },
|
1822
|
+
# client_authentication: {
|
1823
|
+
# sasl: {
|
1824
|
+
# scram: {
|
1825
|
+
# enabled: false,
|
1826
|
+
# },
|
1827
|
+
# iam: {
|
1828
|
+
# enabled: false,
|
1829
|
+
# },
|
1830
|
+
# },
|
1831
|
+
# tls: {
|
1832
|
+
# certificate_authority_arn_list: ["__string"],
|
1833
|
+
# enabled: false,
|
1834
|
+
# },
|
1835
|
+
# unauthenticated: {
|
1836
|
+
# enabled: false,
|
1837
|
+
# },
|
1838
|
+
# },
|
1839
|
+
# configuration_info: {
|
1840
|
+
# arn: "__string", # required
|
1841
|
+
# revision: 1, # required
|
1842
|
+
# },
|
1843
|
+
# encryption_info: {
|
1844
|
+
# encryption_at_rest: {
|
1845
|
+
# data_volume_kms_key_id: "__string", # required
|
1846
|
+
# },
|
1847
|
+
# encryption_in_transit: {
|
1848
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
1849
|
+
# in_cluster: false,
|
1850
|
+
# },
|
1851
|
+
# },
|
1852
|
+
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
|
1853
|
+
# open_monitoring: {
|
1854
|
+
# prometheus: { # required
|
1855
|
+
# jmx_exporter: {
|
1856
|
+
# enabled_in_broker: false, # required
|
1857
|
+
# },
|
1858
|
+
# node_exporter: {
|
1859
|
+
# enabled_in_broker: false, # required
|
1860
|
+
# },
|
1861
|
+
# },
|
1862
|
+
# },
|
1863
|
+
# kafka_version: "__stringMin1Max128", # required
|
1864
|
+
# logging_info: {
|
1865
|
+
# broker_logs: { # required
|
1866
|
+
# cloud_watch_logs: {
|
1867
|
+
# enabled: false, # required
|
1868
|
+
# log_group: "__string",
|
1869
|
+
# },
|
1870
|
+
# firehose: {
|
1871
|
+
# delivery_stream: "__string",
|
1872
|
+
# enabled: false, # required
|
1873
|
+
# },
|
1874
|
+
# s3: {
|
1875
|
+
# bucket: "__string",
|
1876
|
+
# enabled: false, # required
|
1877
|
+
# prefix: "__string",
|
1878
|
+
# },
|
1879
|
+
# },
|
1880
|
+
# },
|
1881
|
+
# number_of_broker_nodes: 1, # required
|
1882
|
+
# },
|
1883
|
+
# serverless: {
|
1884
|
+
# vpc_configs: [ # required
|
1885
|
+
# {
|
1886
|
+
# subnet_ids: ["__string"], # required
|
1887
|
+
# security_group_ids: ["__string"],
|
1888
|
+
# },
|
1889
|
+
# ],
|
1890
|
+
# client_authentication: {
|
1891
|
+
# sasl: {
|
1892
|
+
# iam: {
|
1893
|
+
# enabled: false,
|
1894
|
+
# },
|
1895
|
+
# },
|
1896
|
+
# },
|
1897
|
+
# },
|
1693
1898
|
# }
|
1694
1899
|
#
|
1695
|
-
# @!attribute [rw]
|
1696
|
-
#
|
1697
|
-
#
|
1698
|
-
# @!attribute [rw] max_results
|
1699
|
-
# @return [Integer]
|
1700
|
-
#
|
1701
|
-
# @!attribute [rw] next_token
|
1900
|
+
# @!attribute [rw] cluster_name
|
1901
|
+
# The name of the cluster.
|
1702
1902
|
# @return [String]
|
1703
1903
|
#
|
1704
|
-
#
|
1705
|
-
#
|
1706
|
-
|
1707
|
-
:arn,
|
1708
|
-
:max_results,
|
1709
|
-
:next_token)
|
1710
|
-
SENSITIVE = []
|
1711
|
-
include Aws::Structure
|
1712
|
-
end
|
1713
|
-
|
1714
|
-
# Information about revisions of an MSK configuration.
|
1904
|
+
# @!attribute [rw] tags
|
1905
|
+
# A map of tags that you want the cluster to have.
|
1906
|
+
# @return [Hash<String,String>]
|
1715
1907
|
#
|
1716
|
-
# @!attribute [rw]
|
1717
|
-
#
|
1718
|
-
# @return [
|
1908
|
+
# @!attribute [rw] provisioned
|
1909
|
+
# Creates a provisioned cluster.
|
1910
|
+
# @return [Types::ProvisionedRequest]
|
1719
1911
|
#
|
1720
|
-
# @!attribute [rw]
|
1721
|
-
#
|
1722
|
-
# @return [
|
1912
|
+
# @!attribute [rw] serverless
|
1913
|
+
# Creates a serverless cluster.
|
1914
|
+
# @return [Types::ServerlessRequest]
|
1723
1915
|
#
|
1724
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2Request AWS API Documentation
|
1725
1917
|
#
|
1726
|
-
class
|
1727
|
-
:
|
1728
|
-
:
|
1918
|
+
class CreateClusterV2Request < Struct.new(
|
1919
|
+
:cluster_name,
|
1920
|
+
:tags,
|
1921
|
+
:provisioned,
|
1922
|
+
:serverless)
|
1729
1923
|
SENSITIVE = []
|
1730
1924
|
include Aws::Structure
|
1731
1925
|
end
|
1732
1926
|
|
1733
|
-
#
|
1734
|
-
#
|
1735
|
-
#
|
1736
|
-
# {
|
1737
|
-
# max_results: 1,
|
1738
|
-
# next_token: "__string",
|
1739
|
-
# }
|
1927
|
+
# Returns information about the created cluster of either the
|
1928
|
+
# provisioned or the serverless type.
|
1740
1929
|
#
|
1741
|
-
# @!attribute [rw]
|
1742
|
-
#
|
1743
|
-
#
|
1744
|
-
# @!attribute [rw] next_token
|
1930
|
+
# @!attribute [rw] cluster_arn
|
1931
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
1745
1932
|
# @return [String]
|
1746
1933
|
#
|
1747
|
-
#
|
1748
|
-
#
|
1749
|
-
|
1750
|
-
:max_results,
|
1751
|
-
:next_token)
|
1752
|
-
SENSITIVE = []
|
1753
|
-
include Aws::Structure
|
1754
|
-
end
|
1755
|
-
|
1756
|
-
# The response contains an array of Configuration and a next token if
|
1757
|
-
# the response is truncated.
|
1934
|
+
# @!attribute [rw] cluster_name
|
1935
|
+
# The name of the MSK cluster.
|
1936
|
+
# @return [String]
|
1758
1937
|
#
|
1759
|
-
# @!attribute [rw]
|
1760
|
-
#
|
1761
|
-
#
|
1938
|
+
# @!attribute [rw] state
|
1939
|
+
# The state of the cluster. The possible states are ACTIVE, CREATING,
|
1940
|
+
# DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING\_BROKER, and
|
1941
|
+
# UPDATING.
|
1942
|
+
# @return [String]
|
1762
1943
|
#
|
1763
|
-
# @!attribute [rw]
|
1764
|
-
# The
|
1765
|
-
#
|
1766
|
-
# NextToken in the response. To get another batch of configurations,
|
1767
|
-
# provide this token in your next request.
|
1944
|
+
# @!attribute [rw] cluster_type
|
1945
|
+
# The type of the cluster. The possible types are PROVISIONED or
|
1946
|
+
# SERVERLESS.
|
1768
1947
|
# @return [String]
|
1769
1948
|
#
|
1770
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2Response AWS API Documentation
|
1771
1950
|
#
|
1772
|
-
class
|
1773
|
-
:
|
1774
|
-
:
|
1951
|
+
class CreateClusterV2Response < Struct.new(
|
1952
|
+
:cluster_arn,
|
1953
|
+
:cluster_name,
|
1954
|
+
:state,
|
1955
|
+
:cluster_type)
|
1775
1956
|
SENSITIVE = []
|
1776
1957
|
include Aws::Structure
|
1777
1958
|
end
|
1778
1959
|
|
1779
|
-
# @note When making an API call, you may pass
|
1960
|
+
# @note When making an API call, you may pass DescribeClusterV2Request
|
1780
1961
|
# data as a hash:
|
1781
1962
|
#
|
1782
1963
|
# {
|
1783
|
-
#
|
1784
|
-
# next_token: "__string",
|
1964
|
+
# cluster_arn: "__string", # required
|
1785
1965
|
# }
|
1786
1966
|
#
|
1787
|
-
# @!attribute [rw]
|
1788
|
-
#
|
1789
|
-
#
|
1790
|
-
# @!attribute [rw] next_token
|
1967
|
+
# @!attribute [rw] cluster_arn
|
1968
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
1791
1969
|
# @return [String]
|
1792
1970
|
#
|
1793
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1971
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2Request AWS API Documentation
|
1794
1972
|
#
|
1795
|
-
class
|
1796
|
-
:
|
1797
|
-
:next_token)
|
1973
|
+
class DescribeClusterV2Request < Struct.new(
|
1974
|
+
:cluster_arn)
|
1798
1975
|
SENSITIVE = []
|
1799
1976
|
include Aws::Structure
|
1800
1977
|
end
|
1801
1978
|
|
1802
|
-
#
|
1979
|
+
# Returns information about a cluster of either the provisioned or the
|
1980
|
+
# serverless type.
|
1803
1981
|
#
|
1804
|
-
# @!attribute [rw]
|
1805
|
-
#
|
1806
|
-
# @return [
|
1807
|
-
#
|
1808
|
-
# @!attribute [rw] next_token
|
1809
|
-
# Paginated results marker.
|
1810
|
-
# @return [String]
|
1982
|
+
# @!attribute [rw] cluster_info
|
1983
|
+
# The cluster information.
|
1984
|
+
# @return [Types::Cluster]
|
1811
1985
|
#
|
1812
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1986
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2Response AWS API Documentation
|
1813
1987
|
#
|
1814
|
-
class
|
1815
|
-
:
|
1816
|
-
:next_token)
|
1988
|
+
class DescribeClusterV2Response < Struct.new(
|
1989
|
+
:cluster_info)
|
1817
1990
|
SENSITIVE = []
|
1818
1991
|
include Aws::Structure
|
1819
1992
|
end
|
1820
1993
|
|
1821
|
-
#
|
1822
|
-
#
|
1994
|
+
# Returns information about a cluster of either the provisioned or the
|
1995
|
+
# serverless type.
|
1823
1996
|
#
|
1824
|
-
#
|
1825
|
-
#
|
1826
|
-
#
|
1827
|
-
#
|
1828
|
-
# }
|
1997
|
+
# @!attribute [rw] active_operation_arn
|
1998
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a cluster
|
1999
|
+
# operation.
|
2000
|
+
# @return [String]
|
1829
2001
|
#
|
1830
|
-
# @!attribute [rw]
|
2002
|
+
# @!attribute [rw] cluster_type
|
2003
|
+
# Cluster Type.
|
1831
2004
|
# @return [String]
|
1832
2005
|
#
|
1833
|
-
# @!attribute [rw]
|
1834
|
-
#
|
2006
|
+
# @!attribute [rw] cluster_arn
|
2007
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
2008
|
+
# @return [String]
|
1835
2009
|
#
|
1836
|
-
# @!attribute [rw]
|
2010
|
+
# @!attribute [rw] cluster_name
|
2011
|
+
# The name of the cluster.
|
1837
2012
|
# @return [String]
|
1838
2013
|
#
|
1839
|
-
#
|
2014
|
+
# @!attribute [rw] creation_time
|
2015
|
+
# The time when the cluster was created.
|
2016
|
+
# @return [Time]
|
1840
2017
|
#
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
:next_token)
|
1845
|
-
SENSITIVE = []
|
1846
|
-
include Aws::Structure
|
1847
|
-
end
|
1848
|
-
|
1849
|
-
# Information about nodes in the cluster.
|
2018
|
+
# @!attribute [rw] current_version
|
2019
|
+
# The current version of the MSK cluster.
|
2020
|
+
# @return [String]
|
1850
2021
|
#
|
1851
|
-
# @!attribute [rw]
|
1852
|
-
# The
|
1853
|
-
#
|
1854
|
-
#
|
1855
|
-
# request.
|
2022
|
+
# @!attribute [rw] state
|
2023
|
+
# The state of the cluster. The possible states are ACTIVE, CREATING,
|
2024
|
+
# DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING\_BROKER, and
|
2025
|
+
# UPDATING.
|
1856
2026
|
# @return [String]
|
1857
2027
|
#
|
1858
|
-
# @!attribute [rw]
|
1859
|
-
#
|
1860
|
-
# @return [
|
2028
|
+
# @!attribute [rw] state_info
|
2029
|
+
# State Info for the Amazon MSK cluster.
|
2030
|
+
# @return [Types::StateInfo]
|
1861
2031
|
#
|
1862
|
-
#
|
2032
|
+
# @!attribute [rw] tags
|
2033
|
+
# Tags attached to the cluster.
|
2034
|
+
# @return [Hash<String,String>]
|
1863
2035
|
#
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
2036
|
+
# @!attribute [rw] provisioned
|
2037
|
+
# Information about the provisioned cluster.
|
2038
|
+
# @return [Types::Provisioned]
|
2039
|
+
#
|
2040
|
+
# @!attribute [rw] serverless
|
2041
|
+
# Information about the serverless cluster.
|
2042
|
+
# @return [Types::Serverless]
|
2043
|
+
#
|
2044
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Cluster AWS API Documentation
|
2045
|
+
#
|
2046
|
+
class Cluster < Struct.new(
|
2047
|
+
:active_operation_arn,
|
2048
|
+
:cluster_type,
|
2049
|
+
:cluster_arn,
|
2050
|
+
:cluster_name,
|
2051
|
+
:creation_time,
|
2052
|
+
:current_version,
|
2053
|
+
:state,
|
2054
|
+
:state_info,
|
2055
|
+
:tags,
|
2056
|
+
:provisioned,
|
2057
|
+
:serverless)
|
1867
2058
|
SENSITIVE = []
|
1868
2059
|
include Aws::Structure
|
1869
2060
|
end
|
1870
2061
|
|
1871
|
-
#
|
2062
|
+
# Creates a provisioned cluster.
|
2063
|
+
#
|
2064
|
+
# @note When making an API call, you may pass ProvisionedRequest
|
2065
|
+
# data as a hash:
|
2066
|
+
#
|
2067
|
+
# {
|
2068
|
+
# broker_node_group_info: { # required
|
2069
|
+
# broker_az_distribution: "DEFAULT", # accepts DEFAULT
|
2070
|
+
# client_subnets: ["__string"], # required
|
2071
|
+
# instance_type: "__stringMin5Max32", # required
|
2072
|
+
# security_groups: ["__string"],
|
2073
|
+
# storage_info: {
|
2074
|
+
# ebs_storage_info: {
|
2075
|
+
# provisioned_throughput: {
|
2076
|
+
# enabled: false,
|
2077
|
+
# volume_throughput: 1,
|
2078
|
+
# },
|
2079
|
+
# volume_size: 1,
|
2080
|
+
# },
|
2081
|
+
# },
|
2082
|
+
# connectivity_info: {
|
2083
|
+
# public_access: {
|
2084
|
+
# type: "__string",
|
2085
|
+
# },
|
2086
|
+
# },
|
2087
|
+
# },
|
2088
|
+
# client_authentication: {
|
2089
|
+
# sasl: {
|
2090
|
+
# scram: {
|
2091
|
+
# enabled: false,
|
2092
|
+
# },
|
2093
|
+
# iam: {
|
2094
|
+
# enabled: false,
|
2095
|
+
# },
|
2096
|
+
# },
|
2097
|
+
# tls: {
|
2098
|
+
# certificate_authority_arn_list: ["__string"],
|
2099
|
+
# enabled: false,
|
2100
|
+
# },
|
2101
|
+
# unauthenticated: {
|
2102
|
+
# enabled: false,
|
2103
|
+
# },
|
2104
|
+
# },
|
2105
|
+
# configuration_info: {
|
2106
|
+
# arn: "__string", # required
|
2107
|
+
# revision: 1, # required
|
2108
|
+
# },
|
2109
|
+
# encryption_info: {
|
2110
|
+
# encryption_at_rest: {
|
2111
|
+
# data_volume_kms_key_id: "__string", # required
|
2112
|
+
# },
|
2113
|
+
# encryption_in_transit: {
|
2114
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
2115
|
+
# in_cluster: false,
|
2116
|
+
# },
|
2117
|
+
# },
|
2118
|
+
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
|
2119
|
+
# open_monitoring: {
|
2120
|
+
# prometheus: { # required
|
2121
|
+
# jmx_exporter: {
|
2122
|
+
# enabled_in_broker: false, # required
|
2123
|
+
# },
|
2124
|
+
# node_exporter: {
|
2125
|
+
# enabled_in_broker: false, # required
|
2126
|
+
# },
|
2127
|
+
# },
|
2128
|
+
# },
|
2129
|
+
# kafka_version: "__stringMin1Max128", # required
|
2130
|
+
# logging_info: {
|
2131
|
+
# broker_logs: { # required
|
2132
|
+
# cloud_watch_logs: {
|
2133
|
+
# enabled: false, # required
|
2134
|
+
# log_group: "__string",
|
2135
|
+
# },
|
2136
|
+
# firehose: {
|
2137
|
+
# delivery_stream: "__string",
|
2138
|
+
# enabled: false, # required
|
2139
|
+
# },
|
2140
|
+
# s3: {
|
2141
|
+
# bucket: "__string",
|
2142
|
+
# enabled: false, # required
|
2143
|
+
# prefix: "__string",
|
2144
|
+
# },
|
2145
|
+
# },
|
2146
|
+
# },
|
2147
|
+
# number_of_broker_nodes: 1, # required
|
2148
|
+
# }
|
2149
|
+
#
|
2150
|
+
# @!attribute [rw] broker_node_group_info
|
2151
|
+
# Information about the brokers.
|
2152
|
+
# @return [Types::BrokerNodeGroupInfo]
|
2153
|
+
#
|
2154
|
+
# @!attribute [rw] client_authentication
|
2155
|
+
# Includes all client authentication related information.
|
2156
|
+
# @return [Types::ClientAuthentication]
|
2157
|
+
#
|
2158
|
+
# @!attribute [rw] configuration_info
|
2159
|
+
# Represents the configuration that you want MSK to use for the
|
2160
|
+
# cluster.
|
2161
|
+
# @return [Types::ConfigurationInfo]
|
2162
|
+
#
|
2163
|
+
# @!attribute [rw] encryption_info
|
2164
|
+
# Includes all encryption-related information.
|
2165
|
+
# @return [Types::EncryptionInfo]
|
2166
|
+
#
|
2167
|
+
# @!attribute [rw] enhanced_monitoring
|
2168
|
+
# Specifies the level of monitoring for the MSK cluster. The possible
|
2169
|
+
# values are DEFAULT, PER\_BROKER, PER\_TOPIC\_PER\_BROKER, and
|
2170
|
+
# PER\_TOPIC\_PER\_PARTITION.
|
2171
|
+
# @return [String]
|
2172
|
+
#
|
2173
|
+
# @!attribute [rw] open_monitoring
|
2174
|
+
# The settings for open monitoring.
|
2175
|
+
# @return [Types::OpenMonitoringInfo]
|
2176
|
+
#
|
2177
|
+
# @!attribute [rw] kafka_version
|
2178
|
+
# The Apache Kafka version that you want for the cluster.
|
2179
|
+
# @return [String]
|
2180
|
+
#
|
2181
|
+
# @!attribute [rw] logging_info
|
2182
|
+
# LoggingInfo details.
|
2183
|
+
# @return [Types::LoggingInfo]
|
2184
|
+
#
|
2185
|
+
# @!attribute [rw] number_of_broker_nodes
|
2186
|
+
# The number of brokers in the cluster.
|
2187
|
+
# @return [Integer]
|
2188
|
+
#
|
2189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ProvisionedRequest AWS API Documentation
|
2190
|
+
#
|
2191
|
+
class ProvisionedRequest < Struct.new(
|
2192
|
+
:broker_node_group_info,
|
2193
|
+
:client_authentication,
|
2194
|
+
:configuration_info,
|
2195
|
+
:encryption_info,
|
2196
|
+
:enhanced_monitoring,
|
2197
|
+
:open_monitoring,
|
2198
|
+
:kafka_version,
|
2199
|
+
:logging_info,
|
2200
|
+
:number_of_broker_nodes)
|
2201
|
+
SENSITIVE = []
|
2202
|
+
include Aws::Structure
|
2203
|
+
end
|
2204
|
+
|
2205
|
+
# Describes the provisioned cluster.
|
2206
|
+
#
|
2207
|
+
# @!attribute [rw] broker_node_group_info
|
2208
|
+
# Information about the brokers.
|
2209
|
+
# @return [Types::BrokerNodeGroupInfo]
|
2210
|
+
#
|
2211
|
+
# @!attribute [rw] current_broker_software_info
|
2212
|
+
# Information about the version of software currently deployed on the
|
2213
|
+
# Apache Kafka brokers in the cluster.
|
2214
|
+
# @return [Types::BrokerSoftwareInfo]
|
2215
|
+
#
|
2216
|
+
# @!attribute [rw] client_authentication
|
2217
|
+
# Includes all client authentication information.
|
2218
|
+
# @return [Types::ClientAuthentication]
|
2219
|
+
#
|
2220
|
+
# @!attribute [rw] encryption_info
|
2221
|
+
# Includes all encryption-related information.
|
2222
|
+
# @return [Types::EncryptionInfo]
|
2223
|
+
#
|
2224
|
+
# @!attribute [rw] enhanced_monitoring
|
2225
|
+
# Specifies which metrics are gathered for the MSK cluster. This
|
2226
|
+
# property has the following possible values: DEFAULT, PER\_BROKER,
|
2227
|
+
# PER\_TOPIC\_PER\_BROKER, and PER\_TOPIC\_PER\_PARTITION. For a list
|
2228
|
+
# of the metrics associated with each of these levels of monitoring,
|
2229
|
+
# see [Monitoring][1].
|
2230
|
+
#
|
2231
|
+
#
|
2232
|
+
#
|
2233
|
+
# [1]: https://docs.aws.amazon.com/msk/latest/developerguide/monitoring.html
|
2234
|
+
# @return [String]
|
2235
|
+
#
|
2236
|
+
# @!attribute [rw] open_monitoring
|
2237
|
+
# Settings for open monitoring using Prometheus.
|
2238
|
+
# @return [Types::OpenMonitoringInfo]
|
2239
|
+
#
|
2240
|
+
# @!attribute [rw] logging_info
|
2241
|
+
# You can configure your MSK cluster to send broker logs to different
|
2242
|
+
# destination types. This is a container for the configuration details
|
2243
|
+
# related to broker logs.
|
2244
|
+
# @return [Types::LoggingInfo]
|
2245
|
+
#
|
2246
|
+
# @!attribute [rw] number_of_broker_nodes
|
2247
|
+
# The number of brokers in the cluster.
|
2248
|
+
# @return [Integer]
|
2249
|
+
#
|
2250
|
+
# @!attribute [rw] zookeeper_connect_string
|
2251
|
+
# The connection string to use to connect to the Apache ZooKeeper
|
2252
|
+
# cluster.
|
2253
|
+
# @return [String]
|
2254
|
+
#
|
2255
|
+
# @!attribute [rw] zookeeper_connect_string_tls
|
2256
|
+
# The connection string to use to connect to the Apache ZooKeeper
|
2257
|
+
# cluster on a TLS port.
|
2258
|
+
# @return [String]
|
2259
|
+
#
|
2260
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Provisioned AWS API Documentation
|
2261
|
+
#
|
2262
|
+
class Provisioned < Struct.new(
|
2263
|
+
:broker_node_group_info,
|
2264
|
+
:current_broker_software_info,
|
2265
|
+
:client_authentication,
|
2266
|
+
:encryption_info,
|
2267
|
+
:enhanced_monitoring,
|
2268
|
+
:open_monitoring,
|
2269
|
+
:logging_info,
|
2270
|
+
:number_of_broker_nodes,
|
2271
|
+
:zookeeper_connect_string,
|
2272
|
+
:zookeeper_connect_string_tls)
|
2273
|
+
SENSITIVE = []
|
2274
|
+
include Aws::Structure
|
2275
|
+
end
|
2276
|
+
|
2277
|
+
# The configuration of the Amazon VPCs for the cluster.
|
2278
|
+
#
|
2279
|
+
# @note When making an API call, you may pass VpcConfig
|
2280
|
+
# data as a hash:
|
2281
|
+
#
|
2282
|
+
# {
|
2283
|
+
# subnet_ids: ["__string"], # required
|
2284
|
+
# security_group_ids: ["__string"],
|
2285
|
+
# }
|
2286
|
+
#
|
2287
|
+
# @!attribute [rw] subnet_ids
|
2288
|
+
# The IDs of the subnets associated with the cluster.
|
2289
|
+
# @return [Array<String>]
|
2290
|
+
#
|
2291
|
+
# @!attribute [rw] security_group_ids
|
2292
|
+
# The IDs of the security groups associated with the cluster.
|
2293
|
+
# @return [Array<String>]
|
2294
|
+
#
|
2295
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/VpcConfig AWS API Documentation
|
2296
|
+
#
|
2297
|
+
class VpcConfig < Struct.new(
|
2298
|
+
:subnet_ids,
|
2299
|
+
:security_group_ids)
|
2300
|
+
SENSITIVE = []
|
2301
|
+
include Aws::Structure
|
2302
|
+
end
|
2303
|
+
|
2304
|
+
# Creates serverless cluster.
|
2305
|
+
#
|
2306
|
+
# @note When making an API call, you may pass ServerlessRequest
|
2307
|
+
# data as a hash:
|
2308
|
+
#
|
2309
|
+
# {
|
2310
|
+
# vpc_configs: [ # required
|
2311
|
+
# {
|
2312
|
+
# subnet_ids: ["__string"], # required
|
2313
|
+
# security_group_ids: ["__string"],
|
2314
|
+
# },
|
2315
|
+
# ],
|
2316
|
+
# client_authentication: {
|
2317
|
+
# sasl: {
|
2318
|
+
# iam: {
|
2319
|
+
# enabled: false,
|
2320
|
+
# },
|
2321
|
+
# },
|
2322
|
+
# },
|
2323
|
+
# }
|
2324
|
+
#
|
2325
|
+
# @!attribute [rw] vpc_configs
|
2326
|
+
# Information on vpc config for the serverless cluster.
|
2327
|
+
# @return [Array<Types::VpcConfig>]
|
2328
|
+
#
|
2329
|
+
# @!attribute [rw] client_authentication
|
2330
|
+
# Information about the serverless cluster client authentication.
|
2331
|
+
# @return [Types::ServerlessClientAuthentication]
|
2332
|
+
#
|
2333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ServerlessRequest AWS API Documentation
|
2334
|
+
#
|
2335
|
+
class ServerlessRequest < Struct.new(
|
2336
|
+
:vpc_configs,
|
2337
|
+
:client_authentication)
|
2338
|
+
SENSITIVE = []
|
2339
|
+
include Aws::Structure
|
2340
|
+
end
|
2341
|
+
|
2342
|
+
# Describes the serverless cluster client authentication.
|
2343
|
+
#
|
2344
|
+
# @note When making an API call, you may pass ServerlessClientAuthentication
|
2345
|
+
# data as a hash:
|
2346
|
+
#
|
2347
|
+
# {
|
2348
|
+
# sasl: {
|
2349
|
+
# iam: {
|
2350
|
+
# enabled: false,
|
2351
|
+
# },
|
2352
|
+
# },
|
2353
|
+
# }
|
2354
|
+
#
|
2355
|
+
# @!attribute [rw] sasl
|
2356
|
+
# Serverless cluster SASL information.
|
2357
|
+
# @return [Types::ServerlessSasl]
|
2358
|
+
#
|
2359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ServerlessClientAuthentication AWS API Documentation
|
2360
|
+
#
|
2361
|
+
class ServerlessClientAuthentication < Struct.new(
|
2362
|
+
:sasl)
|
2363
|
+
SENSITIVE = []
|
2364
|
+
include Aws::Structure
|
2365
|
+
end
|
2366
|
+
|
2367
|
+
# Describes the serverless cluster SASL information.
|
2368
|
+
#
|
2369
|
+
# @note When making an API call, you may pass ServerlessSasl
|
2370
|
+
# data as a hash:
|
2371
|
+
#
|
2372
|
+
# {
|
2373
|
+
# iam: {
|
2374
|
+
# enabled: false,
|
2375
|
+
# },
|
2376
|
+
# }
|
2377
|
+
#
|
2378
|
+
# @!attribute [rw] iam
|
2379
|
+
# Indicates whether IAM access control is enabled.
|
2380
|
+
# @return [Types::Iam]
|
2381
|
+
#
|
2382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ServerlessSasl AWS API Documentation
|
2383
|
+
#
|
2384
|
+
class ServerlessSasl < Struct.new(
|
2385
|
+
:iam)
|
2386
|
+
SENSITIVE = []
|
2387
|
+
include Aws::Structure
|
2388
|
+
end
|
2389
|
+
|
2390
|
+
# Describes the serverless cluster.
|
2391
|
+
#
|
2392
|
+
# @!attribute [rw] vpc_configs
|
2393
|
+
# Information on vpc config for the serverless cluster.
|
2394
|
+
# @return [Array<Types::VpcConfig>]
|
2395
|
+
#
|
2396
|
+
# @!attribute [rw] client_authentication
|
2397
|
+
# Information about the serverless cluster client authentication.
|
2398
|
+
# @return [Types::ServerlessClientAuthentication]
|
2399
|
+
#
|
2400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Serverless AWS API Documentation
|
2401
|
+
#
|
2402
|
+
class Serverless < Struct.new(
|
2403
|
+
:vpc_configs,
|
2404
|
+
:client_authentication)
|
2405
|
+
SENSITIVE = []
|
2406
|
+
include Aws::Structure
|
2407
|
+
end
|
2408
|
+
|
2409
|
+
# @note When making an API call, you may pass ListClustersRequest
|
2410
|
+
# data as a hash:
|
2411
|
+
#
|
2412
|
+
# {
|
2413
|
+
# cluster_name_filter: "__string",
|
2414
|
+
# max_results: 1,
|
2415
|
+
# next_token: "__string",
|
2416
|
+
# }
|
2417
|
+
#
|
2418
|
+
# @!attribute [rw] cluster_name_filter
|
2419
|
+
# @return [String]
|
2420
|
+
#
|
2421
|
+
# @!attribute [rw] max_results
|
2422
|
+
# @return [Integer]
|
2423
|
+
#
|
2424
|
+
# @!attribute [rw] next_token
|
2425
|
+
# @return [String]
|
2426
|
+
#
|
2427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersRequest AWS API Documentation
|
2428
|
+
#
|
2429
|
+
class ListClustersRequest < Struct.new(
|
2430
|
+
:cluster_name_filter,
|
2431
|
+
:max_results,
|
2432
|
+
:next_token)
|
2433
|
+
SENSITIVE = []
|
2434
|
+
include Aws::Structure
|
2435
|
+
end
|
2436
|
+
|
2437
|
+
# The response contains an array containing cluster information and a
|
2438
|
+
# next token if the response is truncated.
|
2439
|
+
#
|
2440
|
+
# @!attribute [rw] cluster_info_list
|
2441
|
+
# Information on each of the MSK clusters in the response.
|
2442
|
+
# @return [Array<Types::ClusterInfo>]
|
2443
|
+
#
|
2444
|
+
# @!attribute [rw] next_token
|
2445
|
+
# The paginated results marker. When the result of a ListClusters
|
2446
|
+
# operation is truncated, the call returns NextToken in the response.
|
2447
|
+
# To get another batch of clusters, provide this token in your next
|
2448
|
+
# request.
|
2449
|
+
# @return [String]
|
2450
|
+
#
|
2451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersResponse AWS API Documentation
|
2452
|
+
#
|
2453
|
+
class ListClustersResponse < Struct.new(
|
2454
|
+
:cluster_info_list,
|
2455
|
+
:next_token)
|
2456
|
+
SENSITIVE = []
|
2457
|
+
include Aws::Structure
|
2458
|
+
end
|
2459
|
+
|
2460
|
+
# @note When making an API call, you may pass ListConfigurationRevisionsRequest
|
2461
|
+
# data as a hash:
|
2462
|
+
#
|
2463
|
+
# {
|
2464
|
+
# arn: "__string", # required
|
2465
|
+
# max_results: 1,
|
2466
|
+
# next_token: "__string",
|
2467
|
+
# }
|
2468
|
+
#
|
2469
|
+
# @!attribute [rw] arn
|
2470
|
+
# @return [String]
|
2471
|
+
#
|
2472
|
+
# @!attribute [rw] max_results
|
2473
|
+
# @return [Integer]
|
2474
|
+
#
|
2475
|
+
# @!attribute [rw] next_token
|
2476
|
+
# @return [String]
|
2477
|
+
#
|
2478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationRevisionsRequest AWS API Documentation
|
2479
|
+
#
|
2480
|
+
class ListConfigurationRevisionsRequest < Struct.new(
|
2481
|
+
:arn,
|
2482
|
+
:max_results,
|
2483
|
+
:next_token)
|
2484
|
+
SENSITIVE = []
|
2485
|
+
include Aws::Structure
|
2486
|
+
end
|
2487
|
+
|
2488
|
+
# Information about revisions of an MSK configuration.
|
2489
|
+
#
|
2490
|
+
# @!attribute [rw] next_token
|
2491
|
+
# Paginated results marker.
|
2492
|
+
# @return [String]
|
2493
|
+
#
|
2494
|
+
# @!attribute [rw] revisions
|
2495
|
+
# List of ConfigurationRevision objects.
|
2496
|
+
# @return [Array<Types::ConfigurationRevision>]
|
2497
|
+
#
|
2498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationRevisionsResponse AWS API Documentation
|
2499
|
+
#
|
2500
|
+
class ListConfigurationRevisionsResponse < Struct.new(
|
2501
|
+
:next_token,
|
2502
|
+
:revisions)
|
2503
|
+
SENSITIVE = []
|
2504
|
+
include Aws::Structure
|
2505
|
+
end
|
2506
|
+
|
2507
|
+
# @note When making an API call, you may pass ListConfigurationsRequest
|
2508
|
+
# data as a hash:
|
2509
|
+
#
|
2510
|
+
# {
|
2511
|
+
# max_results: 1,
|
2512
|
+
# next_token: "__string",
|
2513
|
+
# }
|
2514
|
+
#
|
2515
|
+
# @!attribute [rw] max_results
|
2516
|
+
# @return [Integer]
|
2517
|
+
#
|
2518
|
+
# @!attribute [rw] next_token
|
2519
|
+
# @return [String]
|
2520
|
+
#
|
2521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationsRequest AWS API Documentation
|
2522
|
+
#
|
2523
|
+
class ListConfigurationsRequest < Struct.new(
|
2524
|
+
:max_results,
|
2525
|
+
:next_token)
|
2526
|
+
SENSITIVE = []
|
2527
|
+
include Aws::Structure
|
2528
|
+
end
|
2529
|
+
|
2530
|
+
# The response contains an array of Configuration and a next token if
|
2531
|
+
# the response is truncated.
|
2532
|
+
#
|
2533
|
+
# @!attribute [rw] configurations
|
2534
|
+
# An array of MSK configurations.
|
2535
|
+
# @return [Array<Types::Configuration>]
|
2536
|
+
#
|
2537
|
+
# @!attribute [rw] next_token
|
2538
|
+
# The paginated results marker. When the result of a
|
2539
|
+
# ListConfigurations operation is truncated, the call returns
|
2540
|
+
# NextToken in the response. To get another batch of configurations,
|
2541
|
+
# provide this token in your next request.
|
2542
|
+
# @return [String]
|
2543
|
+
#
|
2544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationsResponse AWS API Documentation
|
2545
|
+
#
|
2546
|
+
class ListConfigurationsResponse < Struct.new(
|
2547
|
+
:configurations,
|
2548
|
+
:next_token)
|
2549
|
+
SENSITIVE = []
|
2550
|
+
include Aws::Structure
|
2551
|
+
end
|
2552
|
+
|
2553
|
+
# @note When making an API call, you may pass ListKafkaVersionsRequest
|
2554
|
+
# data as a hash:
|
2555
|
+
#
|
2556
|
+
# {
|
2557
|
+
# max_results: 1,
|
2558
|
+
# next_token: "__string",
|
2559
|
+
# }
|
2560
|
+
#
|
2561
|
+
# @!attribute [rw] max_results
|
2562
|
+
# @return [Integer]
|
2563
|
+
#
|
2564
|
+
# @!attribute [rw] next_token
|
2565
|
+
# @return [String]
|
2566
|
+
#
|
2567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListKafkaVersionsRequest AWS API Documentation
|
2568
|
+
#
|
2569
|
+
class ListKafkaVersionsRequest < Struct.new(
|
2570
|
+
:max_results,
|
2571
|
+
:next_token)
|
2572
|
+
SENSITIVE = []
|
2573
|
+
include Aws::Structure
|
2574
|
+
end
|
2575
|
+
|
2576
|
+
# Response for ListKafkaVersions.
|
2577
|
+
#
|
2578
|
+
# @!attribute [rw] kafka_versions
|
2579
|
+
# An array of Apache Kafka version objects.
|
2580
|
+
# @return [Array<Types::KafkaVersion>]
|
2581
|
+
#
|
2582
|
+
# @!attribute [rw] next_token
|
2583
|
+
# Paginated results marker.
|
2584
|
+
# @return [String]
|
2585
|
+
#
|
2586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListKafkaVersionsResponse AWS API Documentation
|
2587
|
+
#
|
2588
|
+
class ListKafkaVersionsResponse < Struct.new(
|
2589
|
+
:kafka_versions,
|
2590
|
+
:next_token)
|
2591
|
+
SENSITIVE = []
|
2592
|
+
include Aws::Structure
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
# @note When making an API call, you may pass ListNodesRequest
|
2596
|
+
# data as a hash:
|
2597
|
+
#
|
2598
|
+
# {
|
2599
|
+
# cluster_arn: "__string", # required
|
2600
|
+
# max_results: 1,
|
2601
|
+
# next_token: "__string",
|
2602
|
+
# }
|
2603
|
+
#
|
2604
|
+
# @!attribute [rw] cluster_arn
|
2605
|
+
# @return [String]
|
2606
|
+
#
|
2607
|
+
# @!attribute [rw] max_results
|
2608
|
+
# @return [Integer]
|
2609
|
+
#
|
2610
|
+
# @!attribute [rw] next_token
|
2611
|
+
# @return [String]
|
2612
|
+
#
|
2613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListNodesRequest AWS API Documentation
|
2614
|
+
#
|
2615
|
+
class ListNodesRequest < Struct.new(
|
2616
|
+
:cluster_arn,
|
2617
|
+
:max_results,
|
2618
|
+
:next_token)
|
2619
|
+
SENSITIVE = []
|
2620
|
+
include Aws::Structure
|
2621
|
+
end
|
2622
|
+
|
2623
|
+
# Information about nodes in the cluster.
|
2624
|
+
#
|
2625
|
+
# @!attribute [rw] next_token
|
2626
|
+
# The paginated results marker. When the result of a ListNodes
|
2627
|
+
# operation is truncated, the call returns NextToken in the response.
|
2628
|
+
# To get another batch of nodes, provide this token in your next
|
2629
|
+
# request.
|
2630
|
+
# @return [String]
|
2631
|
+
#
|
2632
|
+
# @!attribute [rw] node_info_list
|
2633
|
+
# List containing a NodeInfo object.
|
2634
|
+
# @return [Array<Types::NodeInfo>]
|
2635
|
+
#
|
2636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListNodesResponse AWS API Documentation
|
2637
|
+
#
|
2638
|
+
class ListNodesResponse < Struct.new(
|
2639
|
+
:next_token,
|
2640
|
+
:node_info_list)
|
2641
|
+
SENSITIVE = []
|
2642
|
+
include Aws::Structure
|
2643
|
+
end
|
2644
|
+
|
2645
|
+
# @note When making an API call, you may pass ListScramSecretsRequest
|
1872
2646
|
# data as a hash:
|
1873
2647
|
#
|
1874
2648
|
# {
|
@@ -2031,6 +2805,10 @@ module Aws::Kafka
|
|
2031
2805
|
# Includes all encryption-related information.
|
2032
2806
|
# @return [Types::EncryptionInfo]
|
2033
2807
|
#
|
2808
|
+
# @!attribute [rw] connectivity_info
|
2809
|
+
# Information about the broker access configuration.
|
2810
|
+
# @return [Types::ConnectivityInfo]
|
2811
|
+
#
|
2034
2812
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
|
2035
2813
|
#
|
2036
2814
|
class MutableClusterInfo < Struct.new(
|
@@ -2043,7 +2821,8 @@ module Aws::Kafka
|
|
2043
2821
|
:logging_info,
|
2044
2822
|
:instance_type,
|
2045
2823
|
:client_authentication,
|
2046
|
-
:encryption_info
|
2824
|
+
:encryption_info,
|
2825
|
+
:connectivity_info)
|
2047
2826
|
SENSITIVE = []
|
2048
2827
|
include Aws::Structure
|
2049
2828
|
end
|
@@ -2214,6 +2993,10 @@ module Aws::Kafka
|
|
2214
2993
|
#
|
2215
2994
|
# {
|
2216
2995
|
# ebs_storage_info: {
|
2996
|
+
# provisioned_throughput: {
|
2997
|
+
# enabled: false,
|
2998
|
+
# volume_throughput: 1,
|
2999
|
+
# },
|
2217
3000
|
# volume_size: 1,
|
2218
3001
|
# },
|
2219
3002
|
# }
|
@@ -2498,7 +3281,11 @@ module Aws::Kafka
|
|
2498
3281
|
# target_broker_ebs_volume_info: [ # required
|
2499
3282
|
# {
|
2500
3283
|
# kafka_broker_node_id: "__string", # required
|
2501
|
-
#
|
3284
|
+
# provisioned_throughput: {
|
3285
|
+
# enabled: false,
|
3286
|
+
# volume_throughput: 1,
|
3287
|
+
# },
|
3288
|
+
# volume_size_gb: 1,
|
2502
3289
|
# },
|
2503
3290
|
# ],
|
2504
3291
|
# }
|
@@ -2633,7 +3420,7 @@ module Aws::Kafka
|
|
2633
3420
|
# @return [String]
|
2634
3421
|
#
|
2635
3422
|
# @!attribute [rw] target_kafka_version
|
2636
|
-
# Target Kafka version.
|
3423
|
+
# Target Apache Kafka version.
|
2637
3424
|
# @return [String]
|
2638
3425
|
#
|
2639
3426
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersionRequest AWS API Documentation
|
@@ -2717,6 +3504,61 @@ module Aws::Kafka
|
|
2717
3504
|
include Aws::Structure
|
2718
3505
|
end
|
2719
3506
|
|
3507
|
+
# Request body for UpdateConnectivity.
|
3508
|
+
#
|
3509
|
+
# @note When making an API call, you may pass UpdateConnectivityRequest
|
3510
|
+
# data as a hash:
|
3511
|
+
#
|
3512
|
+
# {
|
3513
|
+
# cluster_arn: "__string", # required
|
3514
|
+
# connectivity_info: { # required
|
3515
|
+
# public_access: {
|
3516
|
+
# type: "__string",
|
3517
|
+
# },
|
3518
|
+
# },
|
3519
|
+
# current_version: "__string", # required
|
3520
|
+
# }
|
3521
|
+
#
|
3522
|
+
# @!attribute [rw] cluster_arn
|
3523
|
+
# @return [String]
|
3524
|
+
#
|
3525
|
+
# @!attribute [rw] connectivity_info
|
3526
|
+
# Information about the broker access configuration.
|
3527
|
+
# @return [Types::ConnectivityInfo]
|
3528
|
+
#
|
3529
|
+
# @!attribute [rw] current_version
|
3530
|
+
# The current version of the cluster.
|
3531
|
+
# @return [String]
|
3532
|
+
#
|
3533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivityRequest AWS API Documentation
|
3534
|
+
#
|
3535
|
+
class UpdateConnectivityRequest < Struct.new(
|
3536
|
+
:cluster_arn,
|
3537
|
+
:connectivity_info,
|
3538
|
+
:current_version)
|
3539
|
+
SENSITIVE = []
|
3540
|
+
include Aws::Structure
|
3541
|
+
end
|
3542
|
+
|
3543
|
+
# Response body for UpdateConnectivity.
|
3544
|
+
#
|
3545
|
+
# @!attribute [rw] cluster_arn
|
3546
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
3547
|
+
# @return [String]
|
3548
|
+
#
|
3549
|
+
# @!attribute [rw] cluster_operation_arn
|
3550
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
3551
|
+
# @return [String]
|
3552
|
+
#
|
3553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivityResponse AWS API Documentation
|
3554
|
+
#
|
3555
|
+
class UpdateConnectivityResponse < Struct.new(
|
3556
|
+
:cluster_arn,
|
3557
|
+
:cluster_operation_arn)
|
3558
|
+
SENSITIVE = []
|
3559
|
+
include Aws::Structure
|
3560
|
+
end
|
3561
|
+
|
2720
3562
|
# Request body for UpdateMonitoring.
|
2721
3563
|
#
|
2722
3564
|
# @note When making an API call, you may pass UpdateMonitoringRequest
|
@@ -3016,6 +3858,57 @@ module Aws::Kafka
|
|
3016
3858
|
include Aws::Structure
|
3017
3859
|
end
|
3018
3860
|
|
3861
|
+
# Contains information about provisioned throughput for EBS storage
|
3862
|
+
# volumes attached to kafka broker nodes.
|
3863
|
+
#
|
3864
|
+
# @note When making an API call, you may pass ProvisionedThroughput
|
3865
|
+
# data as a hash:
|
3866
|
+
#
|
3867
|
+
# {
|
3868
|
+
# enabled: false,
|
3869
|
+
# volume_throughput: 1,
|
3870
|
+
# }
|
3871
|
+
#
|
3872
|
+
# @!attribute [rw] enabled
|
3873
|
+
# Provisioned throughput is enabled or not.
|
3874
|
+
# @return [Boolean]
|
3875
|
+
#
|
3876
|
+
# @!attribute [rw] volume_throughput
|
3877
|
+
# Throughput value of the EBS volumes for the data drive on each kafka
|
3878
|
+
# broker node in MiB per second.
|
3879
|
+
# @return [Integer]
|
3880
|
+
#
|
3881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ProvisionedThroughput AWS API Documentation
|
3882
|
+
#
|
3883
|
+
class ProvisionedThroughput < Struct.new(
|
3884
|
+
:enabled,
|
3885
|
+
:volume_throughput)
|
3886
|
+
SENSITIVE = []
|
3887
|
+
include Aws::Structure
|
3888
|
+
end
|
3889
|
+
|
3890
|
+
# Broker public access control.
|
3891
|
+
#
|
3892
|
+
# @note When making an API call, you may pass PublicAccess
|
3893
|
+
# data as a hash:
|
3894
|
+
#
|
3895
|
+
# {
|
3896
|
+
# type: "__string",
|
3897
|
+
# }
|
3898
|
+
#
|
3899
|
+
# @!attribute [rw] type
|
3900
|
+
# The value DISABLED indicates that public access is disabled.
|
3901
|
+
# SERVICE\_PROVIDED\_EIPS indicates that public access is enabled.
|
3902
|
+
# @return [String]
|
3903
|
+
#
|
3904
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/PublicAccess AWS API Documentation
|
3905
|
+
#
|
3906
|
+
class PublicAccess < Struct.new(
|
3907
|
+
:type)
|
3908
|
+
SENSITIVE = []
|
3909
|
+
include Aws::Structure
|
3910
|
+
end
|
3911
|
+
|
3019
3912
|
# Request body for RebootBrokerNode action.
|
3020
3913
|
#
|
3021
3914
|
# @note When making an API call, you may pass RebootBrokerRequest
|