aws-sdk-kafka 1.43.0 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafka/client.rb +62 -4
- data/lib/aws-sdk-kafka/client_api.rb +39 -0
- data/lib/aws-sdk-kafka/types.rb +163 -17
- data/lib/aws-sdk-kafka.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a8d0ecae032a6280cdd1090e232d180bdf456e8943b5b30d1b5c4087e4fd140
|
4
|
+
data.tar.gz: 10a9665f503037dcf7c1e78f0fcb963db37a77a13a6ce87893e84f8afddbb45a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d620a03c9a4a443c996f2221cbb7a5af5a0b161db7392410283a279242501c7040e9f66143ae1adc523e6468be9ed359163a216c2af5d18a88615a9a71917d9d
|
7
|
+
data.tar.gz: 87c8c1032ab21f64db55408e280c7b1899ae90b98d4650fedec3e892fc9f21fa95a66379daa2d8f5b150be116be5d2129e237046b80cbf35900b1a30560bf91e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2021-11-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon MSK has added a new API that allows you to update the connectivity settings for an existing cluster to enable public accessibility.
|
8
|
+
|
4
9
|
1.43.0 (2021-11-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -401,7 +401,7 @@ module Aws::Kafka
|
|
401
401
|
# LoggingInfo details.
|
402
402
|
#
|
403
403
|
# @option params [required, Integer] :number_of_broker_nodes
|
404
|
-
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
404
|
+
# The number of Apache Kafka broker nodes in the Amazon MSK cluster.
|
405
405
|
#
|
406
406
|
# @option params [Types::OpenMonitoringInfo] :open_monitoring
|
407
407
|
# The settings for open monitoring.
|
@@ -428,6 +428,11 @@ module Aws::Kafka
|
|
428
428
|
# volume_size: 1,
|
429
429
|
# },
|
430
430
|
# },
|
431
|
+
# connectivity_info: {
|
432
|
+
# public_access: {
|
433
|
+
# type: "__string",
|
434
|
+
# },
|
435
|
+
# },
|
431
436
|
# },
|
432
437
|
# client_authentication: {
|
433
438
|
# sasl: {
|
@@ -650,6 +655,7 @@ module Aws::Kafka
|
|
650
655
|
# resp.cluster_info.broker_node_group_info.security_groups #=> Array
|
651
656
|
# resp.cluster_info.broker_node_group_info.security_groups[0] #=> String
|
652
657
|
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
658
|
+
# resp.cluster_info.broker_node_group_info.connectivity_info.public_access.type #=> String
|
653
659
|
# resp.cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
654
660
|
# resp.cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
|
655
661
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
@@ -749,6 +755,7 @@ module Aws::Kafka
|
|
749
755
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
750
756
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
751
757
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
758
|
+
# resp.cluster_operation_info.source_cluster_info.connectivity_info.public_access.type #=> String
|
752
759
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
|
753
760
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
754
761
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
@@ -776,6 +783,7 @@ module Aws::Kafka
|
|
776
783
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
777
784
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
778
785
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
786
|
+
# resp.cluster_operation_info.target_cluster_info.connectivity_info.public_access.type #=> String
|
779
787
|
#
|
780
788
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
|
781
789
|
#
|
@@ -909,6 +917,9 @@ module Aws::Kafka
|
|
909
917
|
# @return [Types::GetBootstrapBrokersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
910
918
|
#
|
911
919
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string #bootstrap_broker_string} => String
|
920
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_sasl_iam #bootstrap_broker_string_public_sasl_iam} => String
|
921
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_sasl_scram #bootstrap_broker_string_public_sasl_scram} => String
|
922
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_tls #bootstrap_broker_string_public_tls} => String
|
912
923
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_tls #bootstrap_broker_string_tls} => String
|
913
924
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_scram #bootstrap_broker_string_sasl_scram} => String
|
914
925
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_iam #bootstrap_broker_string_sasl_iam} => String
|
@@ -922,6 +933,9 @@ module Aws::Kafka
|
|
922
933
|
# @example Response structure
|
923
934
|
#
|
924
935
|
# resp.bootstrap_broker_string #=> String
|
936
|
+
# resp.bootstrap_broker_string_public_sasl_iam #=> String
|
937
|
+
# resp.bootstrap_broker_string_public_sasl_scram #=> String
|
938
|
+
# resp.bootstrap_broker_string_public_tls #=> String
|
925
939
|
# resp.bootstrap_broker_string_tls #=> String
|
926
940
|
# resp.bootstrap_broker_string_sasl_scram #=> String
|
927
941
|
# resp.bootstrap_broker_string_sasl_iam #=> String
|
@@ -1032,6 +1046,7 @@ module Aws::Kafka
|
|
1032
1046
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1033
1047
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1034
1048
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1049
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.connectivity_info.public_access.type #=> String
|
1035
1050
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
1036
1051
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1037
1052
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
@@ -1059,6 +1074,7 @@ module Aws::Kafka
|
|
1059
1074
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1060
1075
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1061
1076
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1077
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.connectivity_info.public_access.type #=> String
|
1062
1078
|
# resp.next_token #=> String
|
1063
1079
|
#
|
1064
1080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
|
@@ -1104,6 +1120,7 @@ module Aws::Kafka
|
|
1104
1120
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups #=> Array
|
1105
1121
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups[0] #=> String
|
1106
1122
|
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1123
|
+
# resp.cluster_info_list[0].broker_node_group_info.connectivity_info.public_access.type #=> String
|
1107
1124
|
# resp.cluster_info_list[0].client_authentication.sasl.scram.enabled #=> Boolean
|
1108
1125
|
# resp.cluster_info_list[0].client_authentication.sasl.iam.enabled #=> Boolean
|
1109
1126
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
|
@@ -1233,7 +1250,7 @@ module Aws::Kafka
|
|
1233
1250
|
req.send_request(options)
|
1234
1251
|
end
|
1235
1252
|
|
1236
|
-
# Returns a list of Kafka versions.
|
1253
|
+
# Returns a list of Apache Kafka versions.
|
1237
1254
|
#
|
1238
1255
|
# @option params [Integer] :max_results
|
1239
1256
|
#
|
@@ -1697,7 +1714,7 @@ module Aws::Kafka
|
|
1697
1714
|
# Current cluster version.
|
1698
1715
|
#
|
1699
1716
|
# @option params [required, String] :target_kafka_version
|
1700
|
-
# Target Kafka version.
|
1717
|
+
# Target Apache Kafka version.
|
1701
1718
|
#
|
1702
1719
|
# @return [Types::UpdateClusterKafkaVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1703
1720
|
#
|
@@ -1730,6 +1747,47 @@ module Aws::Kafka
|
|
1730
1747
|
req.send_request(options)
|
1731
1748
|
end
|
1732
1749
|
|
1750
|
+
# Updates the connectivity configuration for the cluster.
|
1751
|
+
#
|
1752
|
+
# @option params [required, String] :cluster_arn
|
1753
|
+
#
|
1754
|
+
# @option params [required, Types::ConnectivityInfo] :connectivity_info
|
1755
|
+
# Information about the broker access configuration.
|
1756
|
+
#
|
1757
|
+
# @option params [required, String] :current_version
|
1758
|
+
# The current version of the cluster.
|
1759
|
+
#
|
1760
|
+
# @return [Types::UpdateConnectivityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1761
|
+
#
|
1762
|
+
# * {Types::UpdateConnectivityResponse#cluster_arn #cluster_arn} => String
|
1763
|
+
# * {Types::UpdateConnectivityResponse#cluster_operation_arn #cluster_operation_arn} => String
|
1764
|
+
#
|
1765
|
+
# @example Request syntax with placeholder values
|
1766
|
+
#
|
1767
|
+
# resp = client.update_connectivity({
|
1768
|
+
# cluster_arn: "__string", # required
|
1769
|
+
# connectivity_info: { # required
|
1770
|
+
# public_access: {
|
1771
|
+
# type: "__string",
|
1772
|
+
# },
|
1773
|
+
# },
|
1774
|
+
# current_version: "__string", # required
|
1775
|
+
# })
|
1776
|
+
#
|
1777
|
+
# @example Response structure
|
1778
|
+
#
|
1779
|
+
# resp.cluster_arn #=> String
|
1780
|
+
# resp.cluster_operation_arn #=> String
|
1781
|
+
#
|
1782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivity AWS API Documentation
|
1783
|
+
#
|
1784
|
+
# @overload update_connectivity(params = {})
|
1785
|
+
# @param [Hash] params ({})
|
1786
|
+
def update_connectivity(params = {}, options = {})
|
1787
|
+
req = build_request(:update_connectivity, params)
|
1788
|
+
req.send_request(options)
|
1789
|
+
end
|
1790
|
+
|
1733
1791
|
# Updates the monitoring settings for the cluster. You can use this
|
1734
1792
|
# operation to specify which Apache Kafka metrics you want Amazon MSK to
|
1735
1793
|
# send to Amazon CloudWatch. You can also specify settings for open
|
@@ -1886,7 +1944,7 @@ module Aws::Kafka
|
|
1886
1944
|
params: params,
|
1887
1945
|
config: config)
|
1888
1946
|
context[:gem_name] = 'aws-sdk-kafka'
|
1889
|
-
context[:gem_version] = '1.
|
1947
|
+
context[:gem_version] = '1.44.0'
|
1890
1948
|
Seahorse::Client::Request.new(handlers, context)
|
1891
1949
|
end
|
1892
1950
|
|
@@ -38,6 +38,7 @@ module Aws::Kafka
|
|
38
38
|
ConfigurationRevision = Shapes::StructureShape.new(name: 'ConfigurationRevision')
|
39
39
|
ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
|
40
40
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
41
|
+
ConnectivityInfo = Shapes::StructureShape.new(name: 'ConnectivityInfo')
|
41
42
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
42
43
|
CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
|
43
44
|
CreateConfigurationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationRequest')
|
@@ -101,6 +102,7 @@ module Aws::Kafka
|
|
101
102
|
OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
|
102
103
|
Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
|
103
104
|
PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
|
105
|
+
PublicAccess = Shapes::StructureShape.new(name: 'PublicAccess')
|
104
106
|
RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
|
105
107
|
RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
|
106
108
|
S3 = Shapes::StructureShape.new(name: 'S3')
|
@@ -128,6 +130,8 @@ module Aws::Kafka
|
|
128
130
|
UpdateClusterKafkaVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionResponse')
|
129
131
|
UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
|
130
132
|
UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
|
133
|
+
UpdateConnectivityRequest = Shapes::StructureShape.new(name: 'UpdateConnectivityRequest')
|
134
|
+
UpdateConnectivityResponse = Shapes::StructureShape.new(name: 'UpdateConnectivityResponse')
|
131
135
|
UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
|
132
136
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
133
137
|
UpdateSecurityRequest = Shapes::StructureShape.new(name: 'UpdateSecurityRequest')
|
@@ -192,6 +196,7 @@ module Aws::Kafka
|
|
192
196
|
BrokerNodeGroupInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __stringMin5Max32, required: true, location_name: "instanceType"))
|
193
197
|
BrokerNodeGroupInfo.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
|
194
198
|
BrokerNodeGroupInfo.add_member(:storage_info, Shapes::ShapeRef.new(shape: StorageInfo, location_name: "storageInfo"))
|
199
|
+
BrokerNodeGroupInfo.add_member(:connectivity_info, Shapes::ShapeRef.new(shape: ConnectivityInfo, location_name: "connectivityInfo"))
|
195
200
|
BrokerNodeGroupInfo.struct_class = Types::BrokerNodeGroupInfo
|
196
201
|
|
197
202
|
BrokerNodeInfo.add_member(:attached_eni_id, Shapes::ShapeRef.new(shape: __string, location_name: "attachedENIId"))
|
@@ -282,6 +287,9 @@ module Aws::Kafka
|
|
282
287
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
283
288
|
ConflictException.struct_class = Types::ConflictException
|
284
289
|
|
290
|
+
ConnectivityInfo.add_member(:public_access, Shapes::ShapeRef.new(shape: PublicAccess, location_name: "publicAccess"))
|
291
|
+
ConnectivityInfo.struct_class = Types::ConnectivityInfo
|
292
|
+
|
285
293
|
CreateClusterRequest.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
|
286
294
|
CreateClusterRequest.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
287
295
|
CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __stringMin1Max64, required: true, location_name: "clusterName"))
|
@@ -397,6 +405,9 @@ module Aws::Kafka
|
|
397
405
|
GetBootstrapBrokersRequest.struct_class = Types::GetBootstrapBrokersRequest
|
398
406
|
|
399
407
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerString"))
|
408
|
+
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_public_sasl_iam, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringPublicSaslIam"))
|
409
|
+
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_public_sasl_scram, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringPublicSaslScram"))
|
410
|
+
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_public_tls, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringPublicTls"))
|
400
411
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringTls"))
|
401
412
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_sasl_scram, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringSaslScram"))
|
402
413
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_sasl_iam, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringSaslIam"))
|
@@ -505,6 +516,7 @@ module Aws::Kafka
|
|
505
516
|
MutableClusterInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "instanceType"))
|
506
517
|
MutableClusterInfo.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
507
518
|
MutableClusterInfo.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
519
|
+
MutableClusterInfo.add_member(:connectivity_info, Shapes::ShapeRef.new(shape: ConnectivityInfo, location_name: "connectivityInfo"))
|
508
520
|
MutableClusterInfo.struct_class = Types::MutableClusterInfo
|
509
521
|
|
510
522
|
NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
|
@@ -539,6 +551,9 @@ module Aws::Kafka
|
|
539
551
|
PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
|
540
552
|
PrometheusInfo.struct_class = Types::PrometheusInfo
|
541
553
|
|
554
|
+
PublicAccess.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
|
555
|
+
PublicAccess.struct_class = Types::PublicAccess
|
556
|
+
|
542
557
|
RebootBrokerRequest.add_member(:broker_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "brokerIds"))
|
543
558
|
RebootBrokerRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
544
559
|
RebootBrokerRequest.struct_class = Types::RebootBrokerRequest
|
@@ -653,6 +668,15 @@ module Aws::Kafka
|
|
653
668
|
UpdateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
654
669
|
UpdateConfigurationResponse.struct_class = Types::UpdateConfigurationResponse
|
655
670
|
|
671
|
+
UpdateConnectivityRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
672
|
+
UpdateConnectivityRequest.add_member(:connectivity_info, Shapes::ShapeRef.new(shape: ConnectivityInfo, required: true, location_name: "connectivityInfo"))
|
673
|
+
UpdateConnectivityRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
674
|
+
UpdateConnectivityRequest.struct_class = Types::UpdateConnectivityRequest
|
675
|
+
|
676
|
+
UpdateConnectivityResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
677
|
+
UpdateConnectivityResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
678
|
+
UpdateConnectivityResponse.struct_class = Types::UpdateConnectivityResponse
|
679
|
+
|
656
680
|
UpdateMonitoringRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
657
681
|
UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
658
682
|
UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
@@ -1154,6 +1178,21 @@ module Aws::Kafka
|
|
1154
1178
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1155
1179
|
end)
|
1156
1180
|
|
1181
|
+
api.add_operation(:update_connectivity, Seahorse::Model::Operation.new.tap do |o|
|
1182
|
+
o.name = "UpdateConnectivity"
|
1183
|
+
o.http_method = "PUT"
|
1184
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/connectivity"
|
1185
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConnectivityRequest)
|
1186
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateConnectivityResponse)
|
1187
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1188
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1189
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1190
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1191
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1192
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1193
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1194
|
+
end)
|
1195
|
+
|
1157
1196
|
api.add_operation(:update_monitoring, Seahorse::Model::Operation.new.tap do |o|
|
1158
1197
|
o.name = "UpdateMonitoring"
|
1159
1198
|
o.http_method = "PUT"
|
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
|
@@ -1802,7 +1866,7 @@ module Aws::Kafka
|
|
1802
1866
|
# Response for ListKafkaVersions.
|
1803
1867
|
#
|
1804
1868
|
# @!attribute [rw] kafka_versions
|
1805
|
-
# An array of Kafka version objects.
|
1869
|
+
# An array of Apache Kafka version objects.
|
1806
1870
|
# @return [Array<Types::KafkaVersion>]
|
1807
1871
|
#
|
1808
1872
|
# @!attribute [rw] next_token
|
@@ -2031,6 +2095,10 @@ module Aws::Kafka
|
|
2031
2095
|
# Includes all encryption-related information.
|
2032
2096
|
# @return [Types::EncryptionInfo]
|
2033
2097
|
#
|
2098
|
+
# @!attribute [rw] connectivity_info
|
2099
|
+
# Information about the broker access configuration.
|
2100
|
+
# @return [Types::ConnectivityInfo]
|
2101
|
+
#
|
2034
2102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
|
2035
2103
|
#
|
2036
2104
|
class MutableClusterInfo < Struct.new(
|
@@ -2043,7 +2111,8 @@ module Aws::Kafka
|
|
2043
2111
|
:logging_info,
|
2044
2112
|
:instance_type,
|
2045
2113
|
:client_authentication,
|
2046
|
-
:encryption_info
|
2114
|
+
:encryption_info,
|
2115
|
+
:connectivity_info)
|
2047
2116
|
SENSITIVE = []
|
2048
2117
|
include Aws::Structure
|
2049
2118
|
end
|
@@ -2633,7 +2702,7 @@ module Aws::Kafka
|
|
2633
2702
|
# @return [String]
|
2634
2703
|
#
|
2635
2704
|
# @!attribute [rw] target_kafka_version
|
2636
|
-
# Target Kafka version.
|
2705
|
+
# Target Apache Kafka version.
|
2637
2706
|
# @return [String]
|
2638
2707
|
#
|
2639
2708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersionRequest AWS API Documentation
|
@@ -2717,6 +2786,61 @@ module Aws::Kafka
|
|
2717
2786
|
include Aws::Structure
|
2718
2787
|
end
|
2719
2788
|
|
2789
|
+
# Request body for UpdateConnectivity.
|
2790
|
+
#
|
2791
|
+
# @note When making an API call, you may pass UpdateConnectivityRequest
|
2792
|
+
# data as a hash:
|
2793
|
+
#
|
2794
|
+
# {
|
2795
|
+
# cluster_arn: "__string", # required
|
2796
|
+
# connectivity_info: { # required
|
2797
|
+
# public_access: {
|
2798
|
+
# type: "__string",
|
2799
|
+
# },
|
2800
|
+
# },
|
2801
|
+
# current_version: "__string", # required
|
2802
|
+
# }
|
2803
|
+
#
|
2804
|
+
# @!attribute [rw] cluster_arn
|
2805
|
+
# @return [String]
|
2806
|
+
#
|
2807
|
+
# @!attribute [rw] connectivity_info
|
2808
|
+
# Information about the broker access configuration.
|
2809
|
+
# @return [Types::ConnectivityInfo]
|
2810
|
+
#
|
2811
|
+
# @!attribute [rw] current_version
|
2812
|
+
# The current version of the cluster.
|
2813
|
+
# @return [String]
|
2814
|
+
#
|
2815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivityRequest AWS API Documentation
|
2816
|
+
#
|
2817
|
+
class UpdateConnectivityRequest < Struct.new(
|
2818
|
+
:cluster_arn,
|
2819
|
+
:connectivity_info,
|
2820
|
+
:current_version)
|
2821
|
+
SENSITIVE = []
|
2822
|
+
include Aws::Structure
|
2823
|
+
end
|
2824
|
+
|
2825
|
+
# Response body for UpdateConnectivity.
|
2826
|
+
#
|
2827
|
+
# @!attribute [rw] cluster_arn
|
2828
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
2829
|
+
# @return [String]
|
2830
|
+
#
|
2831
|
+
# @!attribute [rw] cluster_operation_arn
|
2832
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
2833
|
+
# @return [String]
|
2834
|
+
#
|
2835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivityResponse AWS API Documentation
|
2836
|
+
#
|
2837
|
+
class UpdateConnectivityResponse < Struct.new(
|
2838
|
+
:cluster_arn,
|
2839
|
+
:cluster_operation_arn)
|
2840
|
+
SENSITIVE = []
|
2841
|
+
include Aws::Structure
|
2842
|
+
end
|
2843
|
+
|
2720
2844
|
# Request body for UpdateMonitoring.
|
2721
2845
|
#
|
2722
2846
|
# @note When making an API call, you may pass UpdateMonitoringRequest
|
@@ -3016,6 +3140,28 @@ module Aws::Kafka
|
|
3016
3140
|
include Aws::Structure
|
3017
3141
|
end
|
3018
3142
|
|
3143
|
+
# Broker public access control.
|
3144
|
+
#
|
3145
|
+
# @note When making an API call, you may pass PublicAccess
|
3146
|
+
# data as a hash:
|
3147
|
+
#
|
3148
|
+
# {
|
3149
|
+
# type: "__string",
|
3150
|
+
# }
|
3151
|
+
#
|
3152
|
+
# @!attribute [rw] type
|
3153
|
+
# The value DISABLED indicates that public access is disabled.
|
3154
|
+
# SERVICE\_PROVIDED\_EIPS indicates that public access is enabled.
|
3155
|
+
# @return [String]
|
3156
|
+
#
|
3157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/PublicAccess AWS API Documentation
|
3158
|
+
#
|
3159
|
+
class PublicAccess < Struct.new(
|
3160
|
+
:type)
|
3161
|
+
SENSITIVE = []
|
3162
|
+
include Aws::Structure
|
3163
|
+
end
|
3164
|
+
|
3019
3165
|
# Request body for RebootBrokerNode action.
|
3020
3166
|
#
|
3021
3167
|
# @note When making an API call, you may pass RebootBrokerRequest
|
data/lib/aws-sdk-kafka.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.44.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|