aws-sdk-kafka 1.42.0 → 1.46.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 +401 -6
- data/lib/aws-sdk-kafka/client_api.rb +188 -0
- data/lib/aws-sdk-kafka/types.rb +975 -153
- data/lib/aws-sdk-kafka.rb +1 -1
- metadata +4 -4
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -145,7 +145,8 @@ module Aws::Kafka
|
|
145
145
|
include Aws::Structure
|
146
146
|
end
|
147
147
|
|
148
|
-
# Describes the setup to be used for Kafka broker nodes in the
|
148
|
+
# Describes the setup to be used for Apache Kafka broker nodes in the
|
149
|
+
# cluster.
|
149
150
|
#
|
150
151
|
# @note When making an API call, you may pass BrokerNodeGroupInfo
|
151
152
|
# data as a hash:
|
@@ -160,6 +161,11 @@ module Aws::Kafka
|
|
160
161
|
# volume_size: 1,
|
161
162
|
# },
|
162
163
|
# },
|
164
|
+
# connectivity_info: {
|
165
|
+
# public_access: {
|
166
|
+
# type: "__string",
|
167
|
+
# },
|
168
|
+
# },
|
163
169
|
# }
|
164
170
|
#
|
165
171
|
# @!attribute [rw] broker_az_distribution
|
@@ -193,6 +199,10 @@ module Aws::Kafka
|
|
193
199
|
# nodes.
|
194
200
|
# @return [Types::StorageInfo]
|
195
201
|
#
|
202
|
+
# @!attribute [rw] connectivity_info
|
203
|
+
# Information about the broker access configuration.
|
204
|
+
# @return [Types::ConnectivityInfo]
|
205
|
+
#
|
196
206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BrokerNodeGroupInfo AWS API Documentation
|
197
207
|
#
|
198
208
|
class BrokerNodeGroupInfo < Struct.new(
|
@@ -200,7 +210,8 @@ module Aws::Kafka
|
|
200
210
|
:client_subnets,
|
201
211
|
:instance_type,
|
202
212
|
:security_groups,
|
203
|
-
:storage_info
|
213
|
+
:storage_info,
|
214
|
+
:connectivity_info)
|
204
215
|
SENSITIVE = []
|
205
216
|
include Aws::Structure
|
206
217
|
end
|
@@ -225,7 +236,7 @@ module Aws::Kafka
|
|
225
236
|
#
|
226
237
|
# @!attribute [rw] current_broker_software_info
|
227
238
|
# Information about the version of software currently deployed on the
|
228
|
-
# Kafka brokers in the cluster.
|
239
|
+
# Apache Kafka brokers in the cluster.
|
229
240
|
# @return [Types::BrokerSoftwareInfo]
|
230
241
|
#
|
231
242
|
# @!attribute [rw] endpoints
|
@@ -371,7 +382,7 @@ module Aws::Kafka
|
|
371
382
|
#
|
372
383
|
# @!attribute [rw] current_broker_software_info
|
373
384
|
# Information about the version of software currently deployed on the
|
374
|
-
# Kafka brokers in the cluster.
|
385
|
+
# Apache Kafka brokers in the cluster.
|
375
386
|
# @return [Types::BrokerSoftwareInfo]
|
376
387
|
#
|
377
388
|
# @!attribute [rw] logging_info
|
@@ -556,7 +567,8 @@ module Aws::Kafka
|
|
556
567
|
include Aws::Structure
|
557
568
|
end
|
558
569
|
|
559
|
-
# Contains source Kafka versions and compatible target
|
570
|
+
# Contains source Apache Kafka versions and compatible target Apache
|
571
|
+
# Kafka versions.
|
560
572
|
#
|
561
573
|
# @!attribute [rw] source_version
|
562
574
|
# @return [String]
|
@@ -688,6 +700,29 @@ module Aws::Kafka
|
|
688
700
|
include Aws::Structure
|
689
701
|
end
|
690
702
|
|
703
|
+
# Information about the broker access configuration.
|
704
|
+
#
|
705
|
+
# @note When making an API call, you may pass ConnectivityInfo
|
706
|
+
# data as a hash:
|
707
|
+
#
|
708
|
+
# {
|
709
|
+
# public_access: {
|
710
|
+
# type: "__string",
|
711
|
+
# },
|
712
|
+
# }
|
713
|
+
#
|
714
|
+
# @!attribute [rw] public_access
|
715
|
+
# Public access control for brokers.
|
716
|
+
# @return [Types::PublicAccess]
|
717
|
+
#
|
718
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ConnectivityInfo AWS API Documentation
|
719
|
+
#
|
720
|
+
class ConnectivityInfo < Struct.new(
|
721
|
+
:public_access)
|
722
|
+
SENSITIVE = []
|
723
|
+
include Aws::Structure
|
724
|
+
end
|
725
|
+
|
691
726
|
# Creates a cluster.
|
692
727
|
#
|
693
728
|
# @note When making an API call, you may pass CreateClusterRequest
|
@@ -704,6 +739,11 @@ module Aws::Kafka
|
|
704
739
|
# volume_size: 1,
|
705
740
|
# },
|
706
741
|
# },
|
742
|
+
# connectivity_info: {
|
743
|
+
# public_access: {
|
744
|
+
# type: "__string",
|
745
|
+
# },
|
746
|
+
# },
|
707
747
|
# },
|
708
748
|
# client_authentication: {
|
709
749
|
# sasl: {
|
@@ -807,7 +847,7 @@ module Aws::Kafka
|
|
807
847
|
# @return [Types::LoggingInfo]
|
808
848
|
#
|
809
849
|
# @!attribute [rw] number_of_broker_nodes
|
810
|
-
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
850
|
+
# The number of Apache Kafka broker nodes in the Amazon MSK cluster.
|
811
851
|
# @return [Integer]
|
812
852
|
#
|
813
853
|
# @!attribute [rw] open_monitoring
|
@@ -1253,8 +1293,8 @@ module Aws::Kafka
|
|
1253
1293
|
include Aws::Structure
|
1254
1294
|
end
|
1255
1295
|
|
1256
|
-
# Contains information about the EBS storage volumes attached to
|
1257
|
-
# broker nodes.
|
1296
|
+
# Contains information about the EBS storage volumes attached to Apache
|
1297
|
+
# Kafka broker nodes.
|
1258
1298
|
#
|
1259
1299
|
# @note When making an API call, you may pass EBSStorageInfo
|
1260
1300
|
# data as a hash:
|
@@ -1482,16 +1522,37 @@ module Aws::Kafka
|
|
1482
1522
|
# A string containing one or more hostname:port pairs.
|
1483
1523
|
# @return [String]
|
1484
1524
|
#
|
1525
|
+
# @!attribute [rw] bootstrap_broker_string_public_sasl_iam
|
1526
|
+
# A string that contains one or more DNS names (or IP addresses) and
|
1527
|
+
# SASL IAM port pairs. The following is an example.
|
1528
|
+
#
|
1529
|
+
# <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>
|
1530
|
+
# @return [String]
|
1531
|
+
#
|
1532
|
+
# @!attribute [rw] bootstrap_broker_string_public_sasl_scram
|
1533
|
+
# A string containing one or more DNS names (or IP addresses) and SASL
|
1534
|
+
# SCRAM port pairs. The following is an example.
|
1535
|
+
#
|
1536
|
+
# <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>
|
1537
|
+
# @return [String]
|
1538
|
+
#
|
1539
|
+
# @!attribute [rw] bootstrap_broker_string_public_tls
|
1540
|
+
# A string containing one or more DNS names (or IP addresses) and TLS
|
1541
|
+
# port pairs. The following is an example.
|
1542
|
+
#
|
1543
|
+
# <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>
|
1544
|
+
# @return [String]
|
1545
|
+
#
|
1485
1546
|
# @!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.
|
1547
|
+
# A string containing one or more DNS names (or IP addresses) and TLS
|
1548
|
+
# port pairs. The following is an example.
|
1488
1549
|
#
|
1489
1550
|
# <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
1551
|
# @return [String]
|
1491
1552
|
#
|
1492
1553
|
# @!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.
|
1554
|
+
# A string containing one or more DNS names (or IP addresses) and SASL
|
1555
|
+
# SCRAM port pairs. The following is an example.
|
1495
1556
|
#
|
1496
1557
|
# <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
1558
|
# @return [String]
|
@@ -1507,6 +1568,9 @@ module Aws::Kafka
|
|
1507
1568
|
#
|
1508
1569
|
class GetBootstrapBrokersResponse < Struct.new(
|
1509
1570
|
:bootstrap_broker_string,
|
1571
|
+
:bootstrap_broker_string_public_sasl_iam,
|
1572
|
+
:bootstrap_broker_string_public_sasl_scram,
|
1573
|
+
:bootstrap_broker_string_public_tls,
|
1510
1574
|
:bootstrap_broker_string_tls,
|
1511
1575
|
:bootstrap_broker_string_sasl_scram,
|
1512
1576
|
:bootstrap_broker_string_sasl_iam)
|
@@ -1563,10 +1627,10 @@ module Aws::Kafka
|
|
1563
1627
|
include Aws::Structure
|
1564
1628
|
end
|
1565
1629
|
|
1566
|
-
# Information about a Kafka version.
|
1630
|
+
# Information about a Apache Kafka version.
|
1567
1631
|
#
|
1568
1632
|
# @!attribute [rw] version
|
1569
|
-
# The Kafka version.
|
1633
|
+
# The Apache Kafka version.
|
1570
1634
|
# @return [String]
|
1571
1635
|
#
|
1572
1636
|
# @!attribute [rw] status
|
@@ -1632,28 +1696,42 @@ module Aws::Kafka
|
|
1632
1696
|
include Aws::Structure
|
1633
1697
|
end
|
1634
1698
|
|
1635
|
-
# @note When making an API call, you may pass
|
1699
|
+
# @note When making an API call, you may pass ListClustersV2Request
|
1636
1700
|
# data as a hash:
|
1637
1701
|
#
|
1638
1702
|
# {
|
1639
1703
|
# cluster_name_filter: "__string",
|
1704
|
+
# cluster_type_filter: "__string",
|
1640
1705
|
# max_results: 1,
|
1641
1706
|
# next_token: "__string",
|
1642
1707
|
# }
|
1643
1708
|
#
|
1644
1709
|
# @!attribute [rw] cluster_name_filter
|
1710
|
+
# Specify a prefix of the names of the clusters that you want to list.
|
1711
|
+
# The service lists all the clusters whose names start with this
|
1712
|
+
# prefix.
|
1713
|
+
# @return [String]
|
1714
|
+
#
|
1715
|
+
# @!attribute [rw] cluster_type_filter
|
1716
|
+
# Specify either PROVISIONED or SERVERLESS.
|
1645
1717
|
# @return [String]
|
1646
1718
|
#
|
1647
1719
|
# @!attribute [rw] max_results
|
1720
|
+
# The maximum number of results to return in the response. If there
|
1721
|
+
# are more results, the response includes a NextToken parameter.
|
1648
1722
|
# @return [Integer]
|
1649
1723
|
#
|
1650
1724
|
# @!attribute [rw] next_token
|
1725
|
+
# The paginated results marker. When the result of the operation is
|
1726
|
+
# truncated, the call returns NextToken in the response. To get the
|
1727
|
+
# next batch, provide this token in your next request.
|
1651
1728
|
# @return [String]
|
1652
1729
|
#
|
1653
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1730
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2Request AWS API Documentation
|
1654
1731
|
#
|
1655
|
-
class
|
1732
|
+
class ListClustersV2Request < Struct.new(
|
1656
1733
|
:cluster_name_filter,
|
1734
|
+
:cluster_type_filter,
|
1657
1735
|
:max_results,
|
1658
1736
|
:next_token)
|
1659
1737
|
SENSITIVE = []
|
@@ -1665,7 +1743,7 @@ module Aws::Kafka
|
|
1665
1743
|
#
|
1666
1744
|
# @!attribute [rw] cluster_info_list
|
1667
1745
|
# Information on each of the MSK clusters in the response.
|
1668
|
-
# @return [Array<Types::
|
1746
|
+
# @return [Array<Types::Cluster>]
|
1669
1747
|
#
|
1670
1748
|
# @!attribute [rw] next_token
|
1671
1749
|
# The paginated results marker. When the result of a ListClusters
|
@@ -1674,212 +1752,874 @@ module Aws::Kafka
|
|
1674
1752
|
# request.
|
1675
1753
|
# @return [String]
|
1676
1754
|
#
|
1677
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2Response AWS API Documentation
|
1678
1756
|
#
|
1679
|
-
class
|
1757
|
+
class ListClustersV2Response < Struct.new(
|
1680
1758
|
:cluster_info_list,
|
1681
1759
|
:next_token)
|
1682
1760
|
SENSITIVE = []
|
1683
1761
|
include Aws::Structure
|
1684
1762
|
end
|
1685
1763
|
|
1686
|
-
#
|
1764
|
+
# Creates a new Amazon MSK cluster of either the provisioned or the
|
1765
|
+
# serverless type.
|
1766
|
+
#
|
1767
|
+
# @note When making an API call, you may pass CreateClusterV2Request
|
1687
1768
|
# data as a hash:
|
1688
1769
|
#
|
1689
1770
|
# {
|
1690
|
-
#
|
1691
|
-
#
|
1692
|
-
#
|
1771
|
+
# cluster_name: "__stringMin1Max64", # required
|
1772
|
+
# tags: {
|
1773
|
+
# "__string" => "__string",
|
1774
|
+
# },
|
1775
|
+
# provisioned: {
|
1776
|
+
# broker_node_group_info: { # required
|
1777
|
+
# broker_az_distribution: "DEFAULT", # accepts DEFAULT
|
1778
|
+
# client_subnets: ["__string"], # required
|
1779
|
+
# instance_type: "__stringMin5Max32", # required
|
1780
|
+
# security_groups: ["__string"],
|
1781
|
+
# storage_info: {
|
1782
|
+
# ebs_storage_info: {
|
1783
|
+
# volume_size: 1,
|
1784
|
+
# },
|
1785
|
+
# },
|
1786
|
+
# connectivity_info: {
|
1787
|
+
# public_access: {
|
1788
|
+
# type: "__string",
|
1789
|
+
# },
|
1790
|
+
# },
|
1791
|
+
# },
|
1792
|
+
# client_authentication: {
|
1793
|
+
# sasl: {
|
1794
|
+
# scram: {
|
1795
|
+
# enabled: false,
|
1796
|
+
# },
|
1797
|
+
# iam: {
|
1798
|
+
# enabled: false,
|
1799
|
+
# },
|
1800
|
+
# },
|
1801
|
+
# tls: {
|
1802
|
+
# certificate_authority_arn_list: ["__string"],
|
1803
|
+
# enabled: false,
|
1804
|
+
# },
|
1805
|
+
# unauthenticated: {
|
1806
|
+
# enabled: false,
|
1807
|
+
# },
|
1808
|
+
# },
|
1809
|
+
# configuration_info: {
|
1810
|
+
# arn: "__string", # required
|
1811
|
+
# revision: 1, # required
|
1812
|
+
# },
|
1813
|
+
# encryption_info: {
|
1814
|
+
# encryption_at_rest: {
|
1815
|
+
# data_volume_kms_key_id: "__string", # required
|
1816
|
+
# },
|
1817
|
+
# encryption_in_transit: {
|
1818
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
1819
|
+
# in_cluster: false,
|
1820
|
+
# },
|
1821
|
+
# },
|
1822
|
+
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
|
1823
|
+
# open_monitoring: {
|
1824
|
+
# prometheus: { # required
|
1825
|
+
# jmx_exporter: {
|
1826
|
+
# enabled_in_broker: false, # required
|
1827
|
+
# },
|
1828
|
+
# node_exporter: {
|
1829
|
+
# enabled_in_broker: false, # required
|
1830
|
+
# },
|
1831
|
+
# },
|
1832
|
+
# },
|
1833
|
+
# kafka_version: "__stringMin1Max128", # required
|
1834
|
+
# logging_info: {
|
1835
|
+
# broker_logs: { # required
|
1836
|
+
# cloud_watch_logs: {
|
1837
|
+
# enabled: false, # required
|
1838
|
+
# log_group: "__string",
|
1839
|
+
# },
|
1840
|
+
# firehose: {
|
1841
|
+
# delivery_stream: "__string",
|
1842
|
+
# enabled: false, # required
|
1843
|
+
# },
|
1844
|
+
# s3: {
|
1845
|
+
# bucket: "__string",
|
1846
|
+
# enabled: false, # required
|
1847
|
+
# prefix: "__string",
|
1848
|
+
# },
|
1849
|
+
# },
|
1850
|
+
# },
|
1851
|
+
# number_of_broker_nodes: 1, # required
|
1852
|
+
# },
|
1853
|
+
# serverless: {
|
1854
|
+
# vpc_configs: [ # required
|
1855
|
+
# {
|
1856
|
+
# subnet_ids: ["__string"], # required
|
1857
|
+
# security_group_ids: ["__string"],
|
1858
|
+
# },
|
1859
|
+
# ],
|
1860
|
+
# client_authentication: {
|
1861
|
+
# sasl: {
|
1862
|
+
# iam: {
|
1863
|
+
# enabled: false,
|
1864
|
+
# },
|
1865
|
+
# },
|
1866
|
+
# },
|
1867
|
+
# },
|
1693
1868
|
# }
|
1694
1869
|
#
|
1695
|
-
# @!attribute [rw]
|
1696
|
-
#
|
1697
|
-
#
|
1698
|
-
# @!attribute [rw] max_results
|
1699
|
-
# @return [Integer]
|
1700
|
-
#
|
1701
|
-
# @!attribute [rw] next_token
|
1870
|
+
# @!attribute [rw] cluster_name
|
1871
|
+
# The name of the cluster.
|
1702
1872
|
# @return [String]
|
1703
1873
|
#
|
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.
|
1874
|
+
# @!attribute [rw] tags
|
1875
|
+
# A map of tags that you want the cluster to have.
|
1876
|
+
# @return [Hash<String,String>]
|
1715
1877
|
#
|
1716
|
-
# @!attribute [rw]
|
1717
|
-
#
|
1718
|
-
# @return [
|
1878
|
+
# @!attribute [rw] provisioned
|
1879
|
+
# Creates a provisioned cluster.
|
1880
|
+
# @return [Types::ProvisionedRequest]
|
1719
1881
|
#
|
1720
|
-
# @!attribute [rw]
|
1721
|
-
#
|
1722
|
-
# @return [
|
1882
|
+
# @!attribute [rw] serverless
|
1883
|
+
# Creates a serverless cluster.
|
1884
|
+
# @return [Types::ServerlessRequest]
|
1723
1885
|
#
|
1724
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2Request AWS API Documentation
|
1725
1887
|
#
|
1726
|
-
class
|
1727
|
-
:
|
1728
|
-
:
|
1888
|
+
class CreateClusterV2Request < Struct.new(
|
1889
|
+
:cluster_name,
|
1890
|
+
:tags,
|
1891
|
+
:provisioned,
|
1892
|
+
:serverless)
|
1729
1893
|
SENSITIVE = []
|
1730
1894
|
include Aws::Structure
|
1731
1895
|
end
|
1732
1896
|
|
1733
|
-
#
|
1734
|
-
#
|
1735
|
-
#
|
1736
|
-
# {
|
1737
|
-
# max_results: 1,
|
1738
|
-
# next_token: "__string",
|
1739
|
-
# }
|
1897
|
+
# Returns information about the created cluster of either the
|
1898
|
+
# provisioned or the serverless type.
|
1740
1899
|
#
|
1741
|
-
# @!attribute [rw]
|
1742
|
-
#
|
1743
|
-
#
|
1744
|
-
# @!attribute [rw] next_token
|
1900
|
+
# @!attribute [rw] cluster_arn
|
1901
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
1745
1902
|
# @return [String]
|
1746
1903
|
#
|
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.
|
1904
|
+
# @!attribute [rw] cluster_name
|
1905
|
+
# The name of the MSK cluster.
|
1906
|
+
# @return [String]
|
1758
1907
|
#
|
1759
|
-
# @!attribute [rw]
|
1760
|
-
#
|
1761
|
-
#
|
1908
|
+
# @!attribute [rw] state
|
1909
|
+
# The state of the cluster. The possible states are ACTIVE, CREATING,
|
1910
|
+
# DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING\_BROKER, and
|
1911
|
+
# UPDATING.
|
1912
|
+
# @return [String]
|
1762
1913
|
#
|
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.
|
1914
|
+
# @!attribute [rw] cluster_type
|
1915
|
+
# The type of the cluster. The possible types are PROVISIONED or
|
1916
|
+
# SERVERLESS.
|
1768
1917
|
# @return [String]
|
1769
1918
|
#
|
1770
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2Response AWS API Documentation
|
1771
1920
|
#
|
1772
|
-
class
|
1773
|
-
:
|
1774
|
-
:
|
1921
|
+
class CreateClusterV2Response < Struct.new(
|
1922
|
+
:cluster_arn,
|
1923
|
+
:cluster_name,
|
1924
|
+
:state,
|
1925
|
+
:cluster_type)
|
1775
1926
|
SENSITIVE = []
|
1776
1927
|
include Aws::Structure
|
1777
1928
|
end
|
1778
1929
|
|
1779
|
-
# @note When making an API call, you may pass
|
1930
|
+
# @note When making an API call, you may pass DescribeClusterV2Request
|
1780
1931
|
# data as a hash:
|
1781
1932
|
#
|
1782
1933
|
# {
|
1783
|
-
#
|
1784
|
-
# next_token: "__string",
|
1934
|
+
# cluster_arn: "__string", # required
|
1785
1935
|
# }
|
1786
1936
|
#
|
1787
|
-
# @!attribute [rw]
|
1788
|
-
#
|
1789
|
-
#
|
1790
|
-
# @!attribute [rw] next_token
|
1937
|
+
# @!attribute [rw] cluster_arn
|
1938
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
1791
1939
|
# @return [String]
|
1792
1940
|
#
|
1793
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2Request AWS API Documentation
|
1794
1942
|
#
|
1795
|
-
class
|
1796
|
-
:
|
1797
|
-
:next_token)
|
1943
|
+
class DescribeClusterV2Request < Struct.new(
|
1944
|
+
:cluster_arn)
|
1798
1945
|
SENSITIVE = []
|
1799
1946
|
include Aws::Structure
|
1800
1947
|
end
|
1801
1948
|
|
1802
|
-
#
|
1949
|
+
# Returns information about a cluster of either the provisioned or the
|
1950
|
+
# serverless type.
|
1803
1951
|
#
|
1804
|
-
# @!attribute [rw]
|
1805
|
-
#
|
1806
|
-
# @return [
|
1807
|
-
#
|
1808
|
-
# @!attribute [rw] next_token
|
1809
|
-
# Paginated results marker.
|
1810
|
-
# @return [String]
|
1952
|
+
# @!attribute [rw] cluster_info
|
1953
|
+
# The cluster information.
|
1954
|
+
# @return [Types::Cluster]
|
1811
1955
|
#
|
1812
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/
|
1956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2Response AWS API Documentation
|
1813
1957
|
#
|
1814
|
-
class
|
1815
|
-
:
|
1816
|
-
:next_token)
|
1958
|
+
class DescribeClusterV2Response < Struct.new(
|
1959
|
+
:cluster_info)
|
1817
1960
|
SENSITIVE = []
|
1818
1961
|
include Aws::Structure
|
1819
1962
|
end
|
1820
1963
|
|
1821
|
-
#
|
1822
|
-
#
|
1964
|
+
# Returns information about a cluster of either the provisioned or the
|
1965
|
+
# serverless type.
|
1823
1966
|
#
|
1824
|
-
#
|
1825
|
-
#
|
1826
|
-
#
|
1827
|
-
#
|
1828
|
-
# }
|
1967
|
+
# @!attribute [rw] active_operation_arn
|
1968
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a cluster
|
1969
|
+
# operation.
|
1970
|
+
# @return [String]
|
1829
1971
|
#
|
1830
|
-
# @!attribute [rw]
|
1972
|
+
# @!attribute [rw] cluster_type
|
1973
|
+
# Cluster Type.
|
1831
1974
|
# @return [String]
|
1832
1975
|
#
|
1833
|
-
# @!attribute [rw]
|
1834
|
-
#
|
1976
|
+
# @!attribute [rw] cluster_arn
|
1977
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
1978
|
+
# @return [String]
|
1835
1979
|
#
|
1836
|
-
# @!attribute [rw]
|
1980
|
+
# @!attribute [rw] cluster_name
|
1981
|
+
# The name of the cluster.
|
1837
1982
|
# @return [String]
|
1838
1983
|
#
|
1839
|
-
#
|
1984
|
+
# @!attribute [rw] creation_time
|
1985
|
+
# The time when the cluster was created.
|
1986
|
+
# @return [Time]
|
1840
1987
|
#
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
:next_token)
|
1845
|
-
SENSITIVE = []
|
1846
|
-
include Aws::Structure
|
1847
|
-
end
|
1848
|
-
|
1849
|
-
# Information about nodes in the cluster.
|
1988
|
+
# @!attribute [rw] current_version
|
1989
|
+
# The current version of the MSK cluster.
|
1990
|
+
# @return [String]
|
1850
1991
|
#
|
1851
|
-
# @!attribute [rw]
|
1852
|
-
# The
|
1853
|
-
#
|
1854
|
-
#
|
1855
|
-
# request.
|
1992
|
+
# @!attribute [rw] state
|
1993
|
+
# The state of the cluster. The possible states are ACTIVE, CREATING,
|
1994
|
+
# DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING\_BROKER, and
|
1995
|
+
# UPDATING.
|
1856
1996
|
# @return [String]
|
1857
1997
|
#
|
1858
|
-
# @!attribute [rw]
|
1859
|
-
#
|
1860
|
-
# @return [
|
1998
|
+
# @!attribute [rw] state_info
|
1999
|
+
# State Info for the Amazon MSK cluster.
|
2000
|
+
# @return [Types::StateInfo]
|
1861
2001
|
#
|
1862
|
-
#
|
2002
|
+
# @!attribute [rw] tags
|
2003
|
+
# Tags attached to the cluster.
|
2004
|
+
# @return [Hash<String,String>]
|
1863
2005
|
#
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
2006
|
+
# @!attribute [rw] provisioned
|
2007
|
+
# Information about the provisioned cluster.
|
2008
|
+
# @return [Types::Provisioned]
|
2009
|
+
#
|
2010
|
+
# @!attribute [rw] serverless
|
2011
|
+
# Information about the serverless cluster.
|
2012
|
+
# @return [Types::Serverless]
|
2013
|
+
#
|
2014
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Cluster AWS API Documentation
|
2015
|
+
#
|
2016
|
+
class Cluster < Struct.new(
|
2017
|
+
:active_operation_arn,
|
2018
|
+
:cluster_type,
|
2019
|
+
:cluster_arn,
|
2020
|
+
:cluster_name,
|
2021
|
+
:creation_time,
|
2022
|
+
:current_version,
|
2023
|
+
:state,
|
2024
|
+
:state_info,
|
2025
|
+
:tags,
|
2026
|
+
:provisioned,
|
2027
|
+
:serverless)
|
1867
2028
|
SENSITIVE = []
|
1868
2029
|
include Aws::Structure
|
1869
2030
|
end
|
1870
2031
|
|
1871
|
-
#
|
2032
|
+
# Creates a provisioned cluster.
|
2033
|
+
#
|
2034
|
+
# @note When making an API call, you may pass ProvisionedRequest
|
1872
2035
|
# data as a hash:
|
1873
2036
|
#
|
1874
2037
|
# {
|
1875
|
-
#
|
1876
|
-
#
|
1877
|
-
#
|
1878
|
-
#
|
1879
|
-
#
|
1880
|
-
#
|
1881
|
-
#
|
1882
|
-
#
|
2038
|
+
# broker_node_group_info: { # required
|
2039
|
+
# broker_az_distribution: "DEFAULT", # accepts DEFAULT
|
2040
|
+
# client_subnets: ["__string"], # required
|
2041
|
+
# instance_type: "__stringMin5Max32", # required
|
2042
|
+
# security_groups: ["__string"],
|
2043
|
+
# storage_info: {
|
2044
|
+
# ebs_storage_info: {
|
2045
|
+
# volume_size: 1,
|
2046
|
+
# },
|
2047
|
+
# },
|
2048
|
+
# connectivity_info: {
|
2049
|
+
# public_access: {
|
2050
|
+
# type: "__string",
|
2051
|
+
# },
|
2052
|
+
# },
|
2053
|
+
# },
|
2054
|
+
# client_authentication: {
|
2055
|
+
# sasl: {
|
2056
|
+
# scram: {
|
2057
|
+
# enabled: false,
|
2058
|
+
# },
|
2059
|
+
# iam: {
|
2060
|
+
# enabled: false,
|
2061
|
+
# },
|
2062
|
+
# },
|
2063
|
+
# tls: {
|
2064
|
+
# certificate_authority_arn_list: ["__string"],
|
2065
|
+
# enabled: false,
|
2066
|
+
# },
|
2067
|
+
# unauthenticated: {
|
2068
|
+
# enabled: false,
|
2069
|
+
# },
|
2070
|
+
# },
|
2071
|
+
# configuration_info: {
|
2072
|
+
# arn: "__string", # required
|
2073
|
+
# revision: 1, # required
|
2074
|
+
# },
|
2075
|
+
# encryption_info: {
|
2076
|
+
# encryption_at_rest: {
|
2077
|
+
# data_volume_kms_key_id: "__string", # required
|
2078
|
+
# },
|
2079
|
+
# encryption_in_transit: {
|
2080
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
2081
|
+
# in_cluster: false,
|
2082
|
+
# },
|
2083
|
+
# },
|
2084
|
+
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
|
2085
|
+
# open_monitoring: {
|
2086
|
+
# prometheus: { # required
|
2087
|
+
# jmx_exporter: {
|
2088
|
+
# enabled_in_broker: false, # required
|
2089
|
+
# },
|
2090
|
+
# node_exporter: {
|
2091
|
+
# enabled_in_broker: false, # required
|
2092
|
+
# },
|
2093
|
+
# },
|
2094
|
+
# },
|
2095
|
+
# kafka_version: "__stringMin1Max128", # required
|
2096
|
+
# logging_info: {
|
2097
|
+
# broker_logs: { # required
|
2098
|
+
# cloud_watch_logs: {
|
2099
|
+
# enabled: false, # required
|
2100
|
+
# log_group: "__string",
|
2101
|
+
# },
|
2102
|
+
# firehose: {
|
2103
|
+
# delivery_stream: "__string",
|
2104
|
+
# enabled: false, # required
|
2105
|
+
# },
|
2106
|
+
# s3: {
|
2107
|
+
# bucket: "__string",
|
2108
|
+
# enabled: false, # required
|
2109
|
+
# prefix: "__string",
|
2110
|
+
# },
|
2111
|
+
# },
|
2112
|
+
# },
|
2113
|
+
# number_of_broker_nodes: 1, # required
|
2114
|
+
# }
|
2115
|
+
#
|
2116
|
+
# @!attribute [rw] broker_node_group_info
|
2117
|
+
# Information about the brokers.
|
2118
|
+
# @return [Types::BrokerNodeGroupInfo]
|
2119
|
+
#
|
2120
|
+
# @!attribute [rw] client_authentication
|
2121
|
+
# Includes all client authentication related information.
|
2122
|
+
# @return [Types::ClientAuthentication]
|
2123
|
+
#
|
2124
|
+
# @!attribute [rw] configuration_info
|
2125
|
+
# Represents the configuration that you want MSK to use for the
|
2126
|
+
# cluster.
|
2127
|
+
# @return [Types::ConfigurationInfo]
|
2128
|
+
#
|
2129
|
+
# @!attribute [rw] encryption_info
|
2130
|
+
# Includes all encryption-related information.
|
2131
|
+
# @return [Types::EncryptionInfo]
|
2132
|
+
#
|
2133
|
+
# @!attribute [rw] enhanced_monitoring
|
2134
|
+
# Specifies the level of monitoring for the MSK cluster. The possible
|
2135
|
+
# values are DEFAULT, PER\_BROKER, PER\_TOPIC\_PER\_BROKER, and
|
2136
|
+
# PER\_TOPIC\_PER\_PARTITION.
|
2137
|
+
# @return [String]
|
2138
|
+
#
|
2139
|
+
# @!attribute [rw] open_monitoring
|
2140
|
+
# The settings for open monitoring.
|
2141
|
+
# @return [Types::OpenMonitoringInfo]
|
2142
|
+
#
|
2143
|
+
# @!attribute [rw] kafka_version
|
2144
|
+
# The Apache Kafka version that you want for the cluster.
|
2145
|
+
# @return [String]
|
2146
|
+
#
|
2147
|
+
# @!attribute [rw] logging_info
|
2148
|
+
# LoggingInfo details.
|
2149
|
+
# @return [Types::LoggingInfo]
|
2150
|
+
#
|
2151
|
+
# @!attribute [rw] number_of_broker_nodes
|
2152
|
+
# The number of brokers in the cluster.
|
2153
|
+
# @return [Integer]
|
2154
|
+
#
|
2155
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ProvisionedRequest AWS API Documentation
|
2156
|
+
#
|
2157
|
+
class ProvisionedRequest < Struct.new(
|
2158
|
+
:broker_node_group_info,
|
2159
|
+
:client_authentication,
|
2160
|
+
:configuration_info,
|
2161
|
+
:encryption_info,
|
2162
|
+
:enhanced_monitoring,
|
2163
|
+
:open_monitoring,
|
2164
|
+
:kafka_version,
|
2165
|
+
:logging_info,
|
2166
|
+
:number_of_broker_nodes)
|
2167
|
+
SENSITIVE = []
|
2168
|
+
include Aws::Structure
|
2169
|
+
end
|
2170
|
+
|
2171
|
+
# Describes the provisioned cluster.
|
2172
|
+
#
|
2173
|
+
# @!attribute [rw] broker_node_group_info
|
2174
|
+
# Information about the brokers.
|
2175
|
+
# @return [Types::BrokerNodeGroupInfo]
|
2176
|
+
#
|
2177
|
+
# @!attribute [rw] current_broker_software_info
|
2178
|
+
# Information about the version of software currently deployed on the
|
2179
|
+
# Apache Kafka brokers in the cluster.
|
2180
|
+
# @return [Types::BrokerSoftwareInfo]
|
2181
|
+
#
|
2182
|
+
# @!attribute [rw] client_authentication
|
2183
|
+
# Includes all client authentication information.
|
2184
|
+
# @return [Types::ClientAuthentication]
|
2185
|
+
#
|
2186
|
+
# @!attribute [rw] encryption_info
|
2187
|
+
# Includes all encryption-related information.
|
2188
|
+
# @return [Types::EncryptionInfo]
|
2189
|
+
#
|
2190
|
+
# @!attribute [rw] enhanced_monitoring
|
2191
|
+
# Specifies which metrics are gathered for the MSK cluster. This
|
2192
|
+
# property has the following possible values: DEFAULT, PER\_BROKER,
|
2193
|
+
# PER\_TOPIC\_PER\_BROKER, and PER\_TOPIC\_PER\_PARTITION. For a list
|
2194
|
+
# of the metrics associated with each of these levels of monitoring,
|
2195
|
+
# see [Monitoring][1].
|
2196
|
+
#
|
2197
|
+
#
|
2198
|
+
#
|
2199
|
+
# [1]: https://docs.aws.amazon.com/msk/latest/developerguide/monitoring.html
|
2200
|
+
# @return [String]
|
2201
|
+
#
|
2202
|
+
# @!attribute [rw] open_monitoring
|
2203
|
+
# Settings for open monitoring using Prometheus.
|
2204
|
+
# @return [Types::OpenMonitoringInfo]
|
2205
|
+
#
|
2206
|
+
# @!attribute [rw] logging_info
|
2207
|
+
# You can configure your MSK cluster to send broker logs to different
|
2208
|
+
# destination types. This is a container for the configuration details
|
2209
|
+
# related to broker logs.
|
2210
|
+
# @return [Types::LoggingInfo]
|
2211
|
+
#
|
2212
|
+
# @!attribute [rw] number_of_broker_nodes
|
2213
|
+
# The number of brokers in the cluster.
|
2214
|
+
# @return [Integer]
|
2215
|
+
#
|
2216
|
+
# @!attribute [rw] zookeeper_connect_string
|
2217
|
+
# The connection string to use to connect to the Apache ZooKeeper
|
2218
|
+
# cluster.
|
2219
|
+
# @return [String]
|
2220
|
+
#
|
2221
|
+
# @!attribute [rw] zookeeper_connect_string_tls
|
2222
|
+
# The connection string to use to connect to the Apache ZooKeeper
|
2223
|
+
# cluster on a TLS port.
|
2224
|
+
# @return [String]
|
2225
|
+
#
|
2226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Provisioned AWS API Documentation
|
2227
|
+
#
|
2228
|
+
class Provisioned < Struct.new(
|
2229
|
+
:broker_node_group_info,
|
2230
|
+
:current_broker_software_info,
|
2231
|
+
:client_authentication,
|
2232
|
+
:encryption_info,
|
2233
|
+
:enhanced_monitoring,
|
2234
|
+
:open_monitoring,
|
2235
|
+
:logging_info,
|
2236
|
+
:number_of_broker_nodes,
|
2237
|
+
:zookeeper_connect_string,
|
2238
|
+
:zookeeper_connect_string_tls)
|
2239
|
+
SENSITIVE = []
|
2240
|
+
include Aws::Structure
|
2241
|
+
end
|
2242
|
+
|
2243
|
+
# The configuration of the Amazon VPCs for the cluster.
|
2244
|
+
#
|
2245
|
+
# @note When making an API call, you may pass VpcConfig
|
2246
|
+
# data as a hash:
|
2247
|
+
#
|
2248
|
+
# {
|
2249
|
+
# subnet_ids: ["__string"], # required
|
2250
|
+
# security_group_ids: ["__string"],
|
2251
|
+
# }
|
2252
|
+
#
|
2253
|
+
# @!attribute [rw] subnet_ids
|
2254
|
+
# The IDs of the subnets associated with the cluster.
|
2255
|
+
# @return [Array<String>]
|
2256
|
+
#
|
2257
|
+
# @!attribute [rw] security_group_ids
|
2258
|
+
# The IDs of the security groups associated with the cluster.
|
2259
|
+
# @return [Array<String>]
|
2260
|
+
#
|
2261
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/VpcConfig AWS API Documentation
|
2262
|
+
#
|
2263
|
+
class VpcConfig < Struct.new(
|
2264
|
+
:subnet_ids,
|
2265
|
+
:security_group_ids)
|
2266
|
+
SENSITIVE = []
|
2267
|
+
include Aws::Structure
|
2268
|
+
end
|
2269
|
+
|
2270
|
+
# Creates serverless cluster.
|
2271
|
+
#
|
2272
|
+
# @note When making an API call, you may pass ServerlessRequest
|
2273
|
+
# data as a hash:
|
2274
|
+
#
|
2275
|
+
# {
|
2276
|
+
# vpc_configs: [ # required
|
2277
|
+
# {
|
2278
|
+
# subnet_ids: ["__string"], # required
|
2279
|
+
# security_group_ids: ["__string"],
|
2280
|
+
# },
|
2281
|
+
# ],
|
2282
|
+
# client_authentication: {
|
2283
|
+
# sasl: {
|
2284
|
+
# iam: {
|
2285
|
+
# enabled: false,
|
2286
|
+
# },
|
2287
|
+
# },
|
2288
|
+
# },
|
2289
|
+
# }
|
2290
|
+
#
|
2291
|
+
# @!attribute [rw] vpc_configs
|
2292
|
+
# Information on vpc config for the serverless cluster.
|
2293
|
+
# @return [Array<Types::VpcConfig>]
|
2294
|
+
#
|
2295
|
+
# @!attribute [rw] client_authentication
|
2296
|
+
# Information about the serverless cluster client authentication.
|
2297
|
+
# @return [Types::ServerlessClientAuthentication]
|
2298
|
+
#
|
2299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ServerlessRequest AWS API Documentation
|
2300
|
+
#
|
2301
|
+
class ServerlessRequest < Struct.new(
|
2302
|
+
:vpc_configs,
|
2303
|
+
:client_authentication)
|
2304
|
+
SENSITIVE = []
|
2305
|
+
include Aws::Structure
|
2306
|
+
end
|
2307
|
+
|
2308
|
+
# Describes the serverless cluster client authentication.
|
2309
|
+
#
|
2310
|
+
# @note When making an API call, you may pass ServerlessClientAuthentication
|
2311
|
+
# data as a hash:
|
2312
|
+
#
|
2313
|
+
# {
|
2314
|
+
# sasl: {
|
2315
|
+
# iam: {
|
2316
|
+
# enabled: false,
|
2317
|
+
# },
|
2318
|
+
# },
|
2319
|
+
# }
|
2320
|
+
#
|
2321
|
+
# @!attribute [rw] sasl
|
2322
|
+
# Serverless cluster SASL information.
|
2323
|
+
# @return [Types::ServerlessSasl]
|
2324
|
+
#
|
2325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ServerlessClientAuthentication AWS API Documentation
|
2326
|
+
#
|
2327
|
+
class ServerlessClientAuthentication < Struct.new(
|
2328
|
+
:sasl)
|
2329
|
+
SENSITIVE = []
|
2330
|
+
include Aws::Structure
|
2331
|
+
end
|
2332
|
+
|
2333
|
+
# Describes the serverless cluster SASL information.
|
2334
|
+
#
|
2335
|
+
# @note When making an API call, you may pass ServerlessSasl
|
2336
|
+
# data as a hash:
|
2337
|
+
#
|
2338
|
+
# {
|
2339
|
+
# iam: {
|
2340
|
+
# enabled: false,
|
2341
|
+
# },
|
2342
|
+
# }
|
2343
|
+
#
|
2344
|
+
# @!attribute [rw] iam
|
2345
|
+
# Indicates whether IAM access control is enabled.
|
2346
|
+
# @return [Types::Iam]
|
2347
|
+
#
|
2348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ServerlessSasl AWS API Documentation
|
2349
|
+
#
|
2350
|
+
class ServerlessSasl < Struct.new(
|
2351
|
+
:iam)
|
2352
|
+
SENSITIVE = []
|
2353
|
+
include Aws::Structure
|
2354
|
+
end
|
2355
|
+
|
2356
|
+
# Describes the serverless cluster.
|
2357
|
+
#
|
2358
|
+
# @!attribute [rw] vpc_configs
|
2359
|
+
# Information on vpc config for the serverless cluster.
|
2360
|
+
# @return [Array<Types::VpcConfig>]
|
2361
|
+
#
|
2362
|
+
# @!attribute [rw] client_authentication
|
2363
|
+
# Information about the serverless cluster client authentication.
|
2364
|
+
# @return [Types::ServerlessClientAuthentication]
|
2365
|
+
#
|
2366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Serverless AWS API Documentation
|
2367
|
+
#
|
2368
|
+
class Serverless < Struct.new(
|
2369
|
+
:vpc_configs,
|
2370
|
+
:client_authentication)
|
2371
|
+
SENSITIVE = []
|
2372
|
+
include Aws::Structure
|
2373
|
+
end
|
2374
|
+
|
2375
|
+
# @note When making an API call, you may pass ListClustersRequest
|
2376
|
+
# data as a hash:
|
2377
|
+
#
|
2378
|
+
# {
|
2379
|
+
# cluster_name_filter: "__string",
|
2380
|
+
# max_results: 1,
|
2381
|
+
# next_token: "__string",
|
2382
|
+
# }
|
2383
|
+
#
|
2384
|
+
# @!attribute [rw] cluster_name_filter
|
2385
|
+
# @return [String]
|
2386
|
+
#
|
2387
|
+
# @!attribute [rw] max_results
|
2388
|
+
# @return [Integer]
|
2389
|
+
#
|
2390
|
+
# @!attribute [rw] next_token
|
2391
|
+
# @return [String]
|
2392
|
+
#
|
2393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersRequest AWS API Documentation
|
2394
|
+
#
|
2395
|
+
class ListClustersRequest < Struct.new(
|
2396
|
+
:cluster_name_filter,
|
2397
|
+
:max_results,
|
2398
|
+
:next_token)
|
2399
|
+
SENSITIVE = []
|
2400
|
+
include Aws::Structure
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
# The response contains an array containing cluster information and a
|
2404
|
+
# next token if the response is truncated.
|
2405
|
+
#
|
2406
|
+
# @!attribute [rw] cluster_info_list
|
2407
|
+
# Information on each of the MSK clusters in the response.
|
2408
|
+
# @return [Array<Types::ClusterInfo>]
|
2409
|
+
#
|
2410
|
+
# @!attribute [rw] next_token
|
2411
|
+
# The paginated results marker. When the result of a ListClusters
|
2412
|
+
# operation is truncated, the call returns NextToken in the response.
|
2413
|
+
# To get another batch of clusters, provide this token in your next
|
2414
|
+
# request.
|
2415
|
+
# @return [String]
|
2416
|
+
#
|
2417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersResponse AWS API Documentation
|
2418
|
+
#
|
2419
|
+
class ListClustersResponse < Struct.new(
|
2420
|
+
:cluster_info_list,
|
2421
|
+
:next_token)
|
2422
|
+
SENSITIVE = []
|
2423
|
+
include Aws::Structure
|
2424
|
+
end
|
2425
|
+
|
2426
|
+
# @note When making an API call, you may pass ListConfigurationRevisionsRequest
|
2427
|
+
# data as a hash:
|
2428
|
+
#
|
2429
|
+
# {
|
2430
|
+
# arn: "__string", # required
|
2431
|
+
# max_results: 1,
|
2432
|
+
# next_token: "__string",
|
2433
|
+
# }
|
2434
|
+
#
|
2435
|
+
# @!attribute [rw] arn
|
2436
|
+
# @return [String]
|
2437
|
+
#
|
2438
|
+
# @!attribute [rw] max_results
|
2439
|
+
# @return [Integer]
|
2440
|
+
#
|
2441
|
+
# @!attribute [rw] next_token
|
2442
|
+
# @return [String]
|
2443
|
+
#
|
2444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationRevisionsRequest AWS API Documentation
|
2445
|
+
#
|
2446
|
+
class ListConfigurationRevisionsRequest < Struct.new(
|
2447
|
+
:arn,
|
2448
|
+
:max_results,
|
2449
|
+
:next_token)
|
2450
|
+
SENSITIVE = []
|
2451
|
+
include Aws::Structure
|
2452
|
+
end
|
2453
|
+
|
2454
|
+
# Information about revisions of an MSK configuration.
|
2455
|
+
#
|
2456
|
+
# @!attribute [rw] next_token
|
2457
|
+
# Paginated results marker.
|
2458
|
+
# @return [String]
|
2459
|
+
#
|
2460
|
+
# @!attribute [rw] revisions
|
2461
|
+
# List of ConfigurationRevision objects.
|
2462
|
+
# @return [Array<Types::ConfigurationRevision>]
|
2463
|
+
#
|
2464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationRevisionsResponse AWS API Documentation
|
2465
|
+
#
|
2466
|
+
class ListConfigurationRevisionsResponse < Struct.new(
|
2467
|
+
:next_token,
|
2468
|
+
:revisions)
|
2469
|
+
SENSITIVE = []
|
2470
|
+
include Aws::Structure
|
2471
|
+
end
|
2472
|
+
|
2473
|
+
# @note When making an API call, you may pass ListConfigurationsRequest
|
2474
|
+
# data as a hash:
|
2475
|
+
#
|
2476
|
+
# {
|
2477
|
+
# max_results: 1,
|
2478
|
+
# next_token: "__string",
|
2479
|
+
# }
|
2480
|
+
#
|
2481
|
+
# @!attribute [rw] max_results
|
2482
|
+
# @return [Integer]
|
2483
|
+
#
|
2484
|
+
# @!attribute [rw] next_token
|
2485
|
+
# @return [String]
|
2486
|
+
#
|
2487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationsRequest AWS API Documentation
|
2488
|
+
#
|
2489
|
+
class ListConfigurationsRequest < Struct.new(
|
2490
|
+
:max_results,
|
2491
|
+
:next_token)
|
2492
|
+
SENSITIVE = []
|
2493
|
+
include Aws::Structure
|
2494
|
+
end
|
2495
|
+
|
2496
|
+
# The response contains an array of Configuration and a next token if
|
2497
|
+
# the response is truncated.
|
2498
|
+
#
|
2499
|
+
# @!attribute [rw] configurations
|
2500
|
+
# An array of MSK configurations.
|
2501
|
+
# @return [Array<Types::Configuration>]
|
2502
|
+
#
|
2503
|
+
# @!attribute [rw] next_token
|
2504
|
+
# The paginated results marker. When the result of a
|
2505
|
+
# ListConfigurations operation is truncated, the call returns
|
2506
|
+
# NextToken in the response. To get another batch of configurations,
|
2507
|
+
# provide this token in your next request.
|
2508
|
+
# @return [String]
|
2509
|
+
#
|
2510
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationsResponse AWS API Documentation
|
2511
|
+
#
|
2512
|
+
class ListConfigurationsResponse < Struct.new(
|
2513
|
+
:configurations,
|
2514
|
+
:next_token)
|
2515
|
+
SENSITIVE = []
|
2516
|
+
include Aws::Structure
|
2517
|
+
end
|
2518
|
+
|
2519
|
+
# @note When making an API call, you may pass ListKafkaVersionsRequest
|
2520
|
+
# data as a hash:
|
2521
|
+
#
|
2522
|
+
# {
|
2523
|
+
# max_results: 1,
|
2524
|
+
# next_token: "__string",
|
2525
|
+
# }
|
2526
|
+
#
|
2527
|
+
# @!attribute [rw] max_results
|
2528
|
+
# @return [Integer]
|
2529
|
+
#
|
2530
|
+
# @!attribute [rw] next_token
|
2531
|
+
# @return [String]
|
2532
|
+
#
|
2533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListKafkaVersionsRequest AWS API Documentation
|
2534
|
+
#
|
2535
|
+
class ListKafkaVersionsRequest < Struct.new(
|
2536
|
+
:max_results,
|
2537
|
+
:next_token)
|
2538
|
+
SENSITIVE = []
|
2539
|
+
include Aws::Structure
|
2540
|
+
end
|
2541
|
+
|
2542
|
+
# Response for ListKafkaVersions.
|
2543
|
+
#
|
2544
|
+
# @!attribute [rw] kafka_versions
|
2545
|
+
# An array of Apache Kafka version objects.
|
2546
|
+
# @return [Array<Types::KafkaVersion>]
|
2547
|
+
#
|
2548
|
+
# @!attribute [rw] next_token
|
2549
|
+
# Paginated results marker.
|
2550
|
+
# @return [String]
|
2551
|
+
#
|
2552
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListKafkaVersionsResponse AWS API Documentation
|
2553
|
+
#
|
2554
|
+
class ListKafkaVersionsResponse < Struct.new(
|
2555
|
+
:kafka_versions,
|
2556
|
+
:next_token)
|
2557
|
+
SENSITIVE = []
|
2558
|
+
include Aws::Structure
|
2559
|
+
end
|
2560
|
+
|
2561
|
+
# @note When making an API call, you may pass ListNodesRequest
|
2562
|
+
# data as a hash:
|
2563
|
+
#
|
2564
|
+
# {
|
2565
|
+
# cluster_arn: "__string", # required
|
2566
|
+
# max_results: 1,
|
2567
|
+
# next_token: "__string",
|
2568
|
+
# }
|
2569
|
+
#
|
2570
|
+
# @!attribute [rw] cluster_arn
|
2571
|
+
# @return [String]
|
2572
|
+
#
|
2573
|
+
# @!attribute [rw] max_results
|
2574
|
+
# @return [Integer]
|
2575
|
+
#
|
2576
|
+
# @!attribute [rw] next_token
|
2577
|
+
# @return [String]
|
2578
|
+
#
|
2579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListNodesRequest AWS API Documentation
|
2580
|
+
#
|
2581
|
+
class ListNodesRequest < Struct.new(
|
2582
|
+
:cluster_arn,
|
2583
|
+
:max_results,
|
2584
|
+
:next_token)
|
2585
|
+
SENSITIVE = []
|
2586
|
+
include Aws::Structure
|
2587
|
+
end
|
2588
|
+
|
2589
|
+
# Information about nodes in the cluster.
|
2590
|
+
#
|
2591
|
+
# @!attribute [rw] next_token
|
2592
|
+
# The paginated results marker. When the result of a ListNodes
|
2593
|
+
# operation is truncated, the call returns NextToken in the response.
|
2594
|
+
# To get another batch of nodes, provide this token in your next
|
2595
|
+
# request.
|
2596
|
+
# @return [String]
|
2597
|
+
#
|
2598
|
+
# @!attribute [rw] node_info_list
|
2599
|
+
# List containing a NodeInfo object.
|
2600
|
+
# @return [Array<Types::NodeInfo>]
|
2601
|
+
#
|
2602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListNodesResponse AWS API Documentation
|
2603
|
+
#
|
2604
|
+
class ListNodesResponse < Struct.new(
|
2605
|
+
:next_token,
|
2606
|
+
:node_info_list)
|
2607
|
+
SENSITIVE = []
|
2608
|
+
include Aws::Structure
|
2609
|
+
end
|
2610
|
+
|
2611
|
+
# @note When making an API call, you may pass ListScramSecretsRequest
|
2612
|
+
# data as a hash:
|
2613
|
+
#
|
2614
|
+
# {
|
2615
|
+
# cluster_arn: "__string", # required
|
2616
|
+
# max_results: 1,
|
2617
|
+
# next_token: "__string",
|
2618
|
+
# }
|
2619
|
+
#
|
2620
|
+
# @!attribute [rw] cluster_arn
|
2621
|
+
# @return [String]
|
2622
|
+
#
|
1883
2623
|
# @!attribute [rw] max_results
|
1884
2624
|
# @return [Integer]
|
1885
2625
|
#
|
@@ -2031,6 +2771,10 @@ module Aws::Kafka
|
|
2031
2771
|
# Includes all encryption-related information.
|
2032
2772
|
# @return [Types::EncryptionInfo]
|
2033
2773
|
#
|
2774
|
+
# @!attribute [rw] connectivity_info
|
2775
|
+
# Information about the broker access configuration.
|
2776
|
+
# @return [Types::ConnectivityInfo]
|
2777
|
+
#
|
2034
2778
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
|
2035
2779
|
#
|
2036
2780
|
class MutableClusterInfo < Struct.new(
|
@@ -2043,7 +2787,8 @@ module Aws::Kafka
|
|
2043
2787
|
:logging_info,
|
2044
2788
|
:instance_type,
|
2045
2789
|
:client_authentication,
|
2046
|
-
:encryption_info
|
2790
|
+
:encryption_info,
|
2791
|
+
:connectivity_info)
|
2047
2792
|
SENSITIVE = []
|
2048
2793
|
include Aws::Structure
|
2049
2794
|
end
|
@@ -2633,7 +3378,7 @@ module Aws::Kafka
|
|
2633
3378
|
# @return [String]
|
2634
3379
|
#
|
2635
3380
|
# @!attribute [rw] target_kafka_version
|
2636
|
-
# Target Kafka version.
|
3381
|
+
# Target Apache Kafka version.
|
2637
3382
|
# @return [String]
|
2638
3383
|
#
|
2639
3384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersionRequest AWS API Documentation
|
@@ -2717,6 +3462,61 @@ module Aws::Kafka
|
|
2717
3462
|
include Aws::Structure
|
2718
3463
|
end
|
2719
3464
|
|
3465
|
+
# Request body for UpdateConnectivity.
|
3466
|
+
#
|
3467
|
+
# @note When making an API call, you may pass UpdateConnectivityRequest
|
3468
|
+
# data as a hash:
|
3469
|
+
#
|
3470
|
+
# {
|
3471
|
+
# cluster_arn: "__string", # required
|
3472
|
+
# connectivity_info: { # required
|
3473
|
+
# public_access: {
|
3474
|
+
# type: "__string",
|
3475
|
+
# },
|
3476
|
+
# },
|
3477
|
+
# current_version: "__string", # required
|
3478
|
+
# }
|
3479
|
+
#
|
3480
|
+
# @!attribute [rw] cluster_arn
|
3481
|
+
# @return [String]
|
3482
|
+
#
|
3483
|
+
# @!attribute [rw] connectivity_info
|
3484
|
+
# Information about the broker access configuration.
|
3485
|
+
# @return [Types::ConnectivityInfo]
|
3486
|
+
#
|
3487
|
+
# @!attribute [rw] current_version
|
3488
|
+
# The current version of the cluster.
|
3489
|
+
# @return [String]
|
3490
|
+
#
|
3491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivityRequest AWS API Documentation
|
3492
|
+
#
|
3493
|
+
class UpdateConnectivityRequest < Struct.new(
|
3494
|
+
:cluster_arn,
|
3495
|
+
:connectivity_info,
|
3496
|
+
:current_version)
|
3497
|
+
SENSITIVE = []
|
3498
|
+
include Aws::Structure
|
3499
|
+
end
|
3500
|
+
|
3501
|
+
# Response body for UpdateConnectivity.
|
3502
|
+
#
|
3503
|
+
# @!attribute [rw] cluster_arn
|
3504
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
3505
|
+
# @return [String]
|
3506
|
+
#
|
3507
|
+
# @!attribute [rw] cluster_operation_arn
|
3508
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
3509
|
+
# @return [String]
|
3510
|
+
#
|
3511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivityResponse AWS API Documentation
|
3512
|
+
#
|
3513
|
+
class UpdateConnectivityResponse < Struct.new(
|
3514
|
+
:cluster_arn,
|
3515
|
+
:cluster_operation_arn)
|
3516
|
+
SENSITIVE = []
|
3517
|
+
include Aws::Structure
|
3518
|
+
end
|
3519
|
+
|
2720
3520
|
# Request body for UpdateMonitoring.
|
2721
3521
|
#
|
2722
3522
|
# @note When making an API call, you may pass UpdateMonitoringRequest
|
@@ -3016,6 +3816,28 @@ module Aws::Kafka
|
|
3016
3816
|
include Aws::Structure
|
3017
3817
|
end
|
3018
3818
|
|
3819
|
+
# Broker public access control.
|
3820
|
+
#
|
3821
|
+
# @note When making an API call, you may pass PublicAccess
|
3822
|
+
# data as a hash:
|
3823
|
+
#
|
3824
|
+
# {
|
3825
|
+
# type: "__string",
|
3826
|
+
# }
|
3827
|
+
#
|
3828
|
+
# @!attribute [rw] type
|
3829
|
+
# The value DISABLED indicates that public access is disabled.
|
3830
|
+
# SERVICE\_PROVIDED\_EIPS indicates that public access is enabled.
|
3831
|
+
# @return [String]
|
3832
|
+
#
|
3833
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/PublicAccess AWS API Documentation
|
3834
|
+
#
|
3835
|
+
class PublicAccess < Struct.new(
|
3836
|
+
:type)
|
3837
|
+
SENSITIVE = []
|
3838
|
+
include Aws::Structure
|
3839
|
+
end
|
3840
|
+
|
3019
3841
|
# Request body for RebootBrokerNode action.
|
3020
3842
|
#
|
3021
3843
|
# @note When making an API call, you may pass RebootBrokerRequest
|