aws-sdk-kafka 1.38.0 → 1.42.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 +117 -1
- data/lib/aws-sdk-kafka/client_api.rb +37 -1
- data/lib/aws-sdk-kafka/types.rb +143 -3
- data/lib/aws-sdk-kafka.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3dfbaf7aa2fea214c0dea5c159411a24af5459b1e41b849a53704627e31ae941
|
4
|
+
data.tar.gz: 03ac9e8b96a977d7dcf61efb44b373b9007ca8bd9531b0e2e4a4e97677fc2632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a09a3287a8d20981d8b4c109926e6101320829487b203d2636ce5530d482b3d95d389c2d6059eb16192a3aa4d9fd2357188060366a0a05f8a81420780858274b
|
7
|
+
data.tar.gz: aa4c9ac6d92e4371658540eb71e8b656464ce4b44cd13751d4502fed70cb3815d14f2ea4bf07fa598794d2943d13d3ca413d956a9c47febfe262281890d18a17
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.42.0 (2021-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.41.0 (2021-09-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added StateInfo to ClusterInfo
|
13
|
+
|
14
|
+
1.40.0 (2021-09-08)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Amazon MSK has added a new API that allows you to update the encrypting and authentication settings for an existing cluster.
|
18
|
+
|
19
|
+
1.39.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.38.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -431,6 +431,10 @@ module Aws::Kafka
|
|
431
431
|
# },
|
432
432
|
# tls: {
|
433
433
|
# certificate_authority_arn_list: ["__string"],
|
434
|
+
# enabled: false,
|
435
|
+
# },
|
436
|
+
# unauthenticated: {
|
437
|
+
# enabled: false,
|
434
438
|
# },
|
435
439
|
# },
|
436
440
|
# cluster_name: "__stringMin1Max64", # required
|
@@ -641,6 +645,8 @@ module Aws::Kafka
|
|
641
645
|
# resp.cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
|
642
646
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
643
647
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
648
|
+
# resp.cluster_info.client_authentication.tls.enabled #=> Boolean
|
649
|
+
# resp.cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
|
644
650
|
# resp.cluster_info.cluster_arn #=> String
|
645
651
|
# resp.cluster_info.cluster_name #=> String
|
646
652
|
# resp.cluster_info.creation_time #=> Time
|
@@ -663,6 +669,8 @@ module Aws::Kafka
|
|
663
669
|
# resp.cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
664
670
|
# resp.cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
665
671
|
# resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
672
|
+
# resp.cluster_info.state_info.code #=> String
|
673
|
+
# resp.cluster_info.state_info.message #=> String
|
666
674
|
# resp.cluster_info.tags #=> Hash
|
667
675
|
# resp.cluster_info.tags["__string"] #=> String
|
668
676
|
# resp.cluster_info.zookeeper_connect_string #=> String
|
@@ -723,6 +731,15 @@ module Aws::Kafka
|
|
723
731
|
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
|
724
732
|
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.prefix #=> String
|
725
733
|
# resp.cluster_operation_info.source_cluster_info.instance_type #=> String
|
734
|
+
# resp.cluster_operation_info.source_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
735
|
+
# resp.cluster_operation_info.source_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
|
736
|
+
# resp.cluster_operation_info.source_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
737
|
+
# resp.cluster_operation_info.source_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
738
|
+
# resp.cluster_operation_info.source_cluster_info.client_authentication.tls.enabled #=> Boolean
|
739
|
+
# resp.cluster_operation_info.source_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
|
740
|
+
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
741
|
+
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
742
|
+
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
726
743
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
|
727
744
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
728
745
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
@@ -741,6 +758,15 @@ module Aws::Kafka
|
|
741
758
|
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
|
742
759
|
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.prefix #=> String
|
743
760
|
# resp.cluster_operation_info.target_cluster_info.instance_type #=> String
|
761
|
+
# resp.cluster_operation_info.target_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
762
|
+
# resp.cluster_operation_info.target_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
|
763
|
+
# resp.cluster_operation_info.target_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
764
|
+
# resp.cluster_operation_info.target_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
765
|
+
# resp.cluster_operation_info.target_cluster_info.client_authentication.tls.enabled #=> Boolean
|
766
|
+
# resp.cluster_operation_info.target_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
|
767
|
+
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
768
|
+
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
769
|
+
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
744
770
|
#
|
745
771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
|
746
772
|
#
|
@@ -988,6 +1014,15 @@ module Aws::Kafka
|
|
988
1014
|
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
|
989
1015
|
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.prefix #=> String
|
990
1016
|
# resp.cluster_operation_info_list[0].source_cluster_info.instance_type #=> String
|
1017
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
1018
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
|
1019
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
1020
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
1021
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.tls.enabled #=> Boolean
|
1022
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
|
1023
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1024
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1025
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
991
1026
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
992
1027
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
993
1028
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
@@ -1006,6 +1041,15 @@ module Aws::Kafka
|
|
1006
1041
|
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
|
1007
1042
|
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.prefix #=> String
|
1008
1043
|
# resp.cluster_operation_info_list[0].target_cluster_info.instance_type #=> String
|
1044
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
1045
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
|
1046
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
1047
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
1048
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.tls.enabled #=> Boolean
|
1049
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
|
1050
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1051
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1052
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1009
1053
|
# resp.next_token #=> String
|
1010
1054
|
#
|
1011
1055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
|
@@ -1055,6 +1099,8 @@ module Aws::Kafka
|
|
1055
1099
|
# resp.cluster_info_list[0].client_authentication.sasl.iam.enabled #=> Boolean
|
1056
1100
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
|
1057
1101
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
1102
|
+
# resp.cluster_info_list[0].client_authentication.tls.enabled #=> Boolean
|
1103
|
+
# resp.cluster_info_list[0].client_authentication.unauthenticated.enabled #=> Boolean
|
1058
1104
|
# resp.cluster_info_list[0].cluster_arn #=> String
|
1059
1105
|
# resp.cluster_info_list[0].cluster_name #=> String
|
1060
1106
|
# resp.cluster_info_list[0].creation_time #=> Time
|
@@ -1077,6 +1123,8 @@ module Aws::Kafka
|
|
1077
1123
|
# resp.cluster_info_list[0].open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
1078
1124
|
# resp.cluster_info_list[0].open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
1079
1125
|
# resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
1126
|
+
# resp.cluster_info_list[0].state_info.code #=> String
|
1127
|
+
# resp.cluster_info_list[0].state_info.message #=> String
|
1080
1128
|
# resp.cluster_info_list[0].tags #=> Hash
|
1081
1129
|
# resp.cluster_info_list[0].tags["__string"] #=> String
|
1082
1130
|
# resp.cluster_info_list[0].zookeeper_connect_string #=> String
|
@@ -1748,6 +1796,74 @@ module Aws::Kafka
|
|
1748
1796
|
req.send_request(options)
|
1749
1797
|
end
|
1750
1798
|
|
1799
|
+
# You can use this operation to update the encrypting and authentication
|
1800
|
+
# settings for an existing cluster.
|
1801
|
+
#
|
1802
|
+
# @option params [Types::ClientAuthentication] :client_authentication
|
1803
|
+
# Includes all client authentication related information.
|
1804
|
+
#
|
1805
|
+
# @option params [required, String] :cluster_arn
|
1806
|
+
#
|
1807
|
+
# @option params [required, String] :current_version
|
1808
|
+
# You can use the DescribeCluster operation to get the current version
|
1809
|
+
# of the cluster. After the security update is complete, the cluster
|
1810
|
+
# will have a new version.
|
1811
|
+
#
|
1812
|
+
# @option params [Types::EncryptionInfo] :encryption_info
|
1813
|
+
# Includes all encryption-related information.
|
1814
|
+
#
|
1815
|
+
# @return [Types::UpdateSecurityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1816
|
+
#
|
1817
|
+
# * {Types::UpdateSecurityResponse#cluster_arn #cluster_arn} => String
|
1818
|
+
# * {Types::UpdateSecurityResponse#cluster_operation_arn #cluster_operation_arn} => String
|
1819
|
+
#
|
1820
|
+
# @example Request syntax with placeholder values
|
1821
|
+
#
|
1822
|
+
# resp = client.update_security({
|
1823
|
+
# client_authentication: {
|
1824
|
+
# sasl: {
|
1825
|
+
# scram: {
|
1826
|
+
# enabled: false,
|
1827
|
+
# },
|
1828
|
+
# iam: {
|
1829
|
+
# enabled: false,
|
1830
|
+
# },
|
1831
|
+
# },
|
1832
|
+
# tls: {
|
1833
|
+
# certificate_authority_arn_list: ["__string"],
|
1834
|
+
# enabled: false,
|
1835
|
+
# },
|
1836
|
+
# unauthenticated: {
|
1837
|
+
# enabled: false,
|
1838
|
+
# },
|
1839
|
+
# },
|
1840
|
+
# cluster_arn: "__string", # required
|
1841
|
+
# current_version: "__string", # required
|
1842
|
+
# encryption_info: {
|
1843
|
+
# encryption_at_rest: {
|
1844
|
+
# data_volume_kms_key_id: "__string", # required
|
1845
|
+
# },
|
1846
|
+
# encryption_in_transit: {
|
1847
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
1848
|
+
# in_cluster: false,
|
1849
|
+
# },
|
1850
|
+
# },
|
1851
|
+
# })
|
1852
|
+
#
|
1853
|
+
# @example Response structure
|
1854
|
+
#
|
1855
|
+
# resp.cluster_arn #=> String
|
1856
|
+
# resp.cluster_operation_arn #=> String
|
1857
|
+
#
|
1858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateSecurity AWS API Documentation
|
1859
|
+
#
|
1860
|
+
# @overload update_security(params = {})
|
1861
|
+
# @param [Hash] params ({})
|
1862
|
+
def update_security(params = {}, options = {})
|
1863
|
+
req = build_request(:update_security, params)
|
1864
|
+
req.send_request(options)
|
1865
|
+
end
|
1866
|
+
|
1751
1867
|
# @!endgroup
|
1752
1868
|
|
1753
1869
|
# @param params ({})
|
@@ -1761,7 +1877,7 @@ module Aws::Kafka
|
|
1761
1877
|
params: params,
|
1762
1878
|
config: config)
|
1763
1879
|
context[:gem_name] = 'aws-sdk-kafka'
|
1764
|
-
context[:gem_version] = '1.
|
1880
|
+
context[:gem_version] = '1.42.0'
|
1765
1881
|
Seahorse::Client::Request.new(handlers, context)
|
1766
1882
|
end
|
1767
1883
|
|
@@ -112,6 +112,7 @@ module Aws::Kafka
|
|
112
112
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
113
113
|
Tls = Shapes::StructureShape.new(name: 'Tls')
|
114
114
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
115
|
+
Unauthenticated = Shapes::StructureShape.new(name: 'Unauthenticated')
|
115
116
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
116
117
|
UnprocessedScramSecret = Shapes::StructureShape.new(name: 'UnprocessedScramSecret')
|
117
118
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
@@ -129,6 +130,8 @@ module Aws::Kafka
|
|
129
130
|
UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
|
130
131
|
UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
|
131
132
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
133
|
+
UpdateSecurityRequest = Shapes::StructureShape.new(name: 'UpdateSecurityRequest')
|
134
|
+
UpdateSecurityResponse = Shapes::StructureShape.new(name: 'UpdateSecurityResponse')
|
132
135
|
ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
|
133
136
|
__blob = Shapes::BlobShape.new(name: '__blob')
|
134
137
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
@@ -206,6 +209,7 @@ module Aws::Kafka
|
|
206
209
|
|
207
210
|
ClientAuthentication.add_member(:sasl, Shapes::ShapeRef.new(shape: Sasl, location_name: "sasl"))
|
208
211
|
ClientAuthentication.add_member(:tls, Shapes::ShapeRef.new(shape: Tls, location_name: "tls"))
|
212
|
+
ClientAuthentication.add_member(:unauthenticated, Shapes::ShapeRef.new(shape: Unauthenticated, location_name: "unauthenticated"))
|
209
213
|
ClientAuthentication.struct_class = Types::ClientAuthentication
|
210
214
|
|
211
215
|
CloudWatchLogs.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
@@ -226,6 +230,7 @@ module Aws::Kafka
|
|
226
230
|
ClusterInfo.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integer, location_name: "numberOfBrokerNodes"))
|
227
231
|
ClusterInfo.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoring, location_name: "openMonitoring"))
|
228
232
|
ClusterInfo.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
233
|
+
ClusterInfo.add_member(:state_info, Shapes::ShapeRef.new(shape: StateInfo, location_name: "stateInfo"))
|
229
234
|
ClusterInfo.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
230
235
|
ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
|
231
236
|
ClusterInfo.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
|
@@ -497,7 +502,9 @@ module Aws::Kafka
|
|
497
502
|
MutableClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
498
503
|
MutableClusterInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
|
499
504
|
MutableClusterInfo.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
500
|
-
MutableClusterInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape:
|
505
|
+
MutableClusterInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "instanceType"))
|
506
|
+
MutableClusterInfo.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
507
|
+
MutableClusterInfo.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
501
508
|
MutableClusterInfo.struct_class = Types::MutableClusterInfo
|
502
509
|
|
503
510
|
NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
|
@@ -568,12 +575,16 @@ module Aws::Kafka
|
|
568
575
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
569
576
|
|
570
577
|
Tls.add_member(:certificate_authority_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "certificateAuthorityArnList"))
|
578
|
+
Tls.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
571
579
|
Tls.struct_class = Types::Tls
|
572
580
|
|
573
581
|
TooManyRequestsException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
574
582
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
575
583
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
576
584
|
|
585
|
+
Unauthenticated.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
586
|
+
Unauthenticated.struct_class = Types::Unauthenticated
|
587
|
+
|
577
588
|
UnauthorizedException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
578
589
|
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
579
590
|
UnauthorizedException.struct_class = Types::UnauthorizedException
|
@@ -653,6 +664,16 @@ module Aws::Kafka
|
|
653
664
|
UpdateMonitoringResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
654
665
|
UpdateMonitoringResponse.struct_class = Types::UpdateMonitoringResponse
|
655
666
|
|
667
|
+
UpdateSecurityRequest.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
668
|
+
UpdateSecurityRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
669
|
+
UpdateSecurityRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
670
|
+
UpdateSecurityRequest.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
671
|
+
UpdateSecurityRequest.struct_class = Types::UpdateSecurityRequest
|
672
|
+
|
673
|
+
UpdateSecurityResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
674
|
+
UpdateSecurityResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
675
|
+
UpdateSecurityResponse.struct_class = Types::UpdateSecurityResponse
|
676
|
+
|
656
677
|
ZookeeperNodeInfo.add_member(:attached_eni_id, Shapes::ShapeRef.new(shape: __string, location_name: "attachedENIId"))
|
657
678
|
ZookeeperNodeInfo.add_member(:client_vpc_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "clientVpcIpAddress"))
|
658
679
|
ZookeeperNodeInfo.add_member(:endpoints, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "endpoints"))
|
@@ -1145,6 +1166,21 @@ module Aws::Kafka
|
|
1145
1166
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1146
1167
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1147
1168
|
end)
|
1169
|
+
|
1170
|
+
api.add_operation(:update_security, Seahorse::Model::Operation.new.tap do |o|
|
1171
|
+
o.name = "UpdateSecurity"
|
1172
|
+
o.http_method = "PATCH"
|
1173
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/security"
|
1174
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSecurityRequest)
|
1175
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSecurityResponse)
|
1176
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1177
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1178
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1179
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1180
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1181
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1182
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1183
|
+
end)
|
1148
1184
|
end
|
1149
1185
|
|
1150
1186
|
end
|
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -287,6 +287,10 @@ module Aws::Kafka
|
|
287
287
|
# },
|
288
288
|
# tls: {
|
289
289
|
# certificate_authority_arn_list: ["__string"],
|
290
|
+
# enabled: false,
|
291
|
+
# },
|
292
|
+
# unauthenticated: {
|
293
|
+
# enabled: false,
|
290
294
|
# },
|
291
295
|
# }
|
292
296
|
#
|
@@ -297,11 +301,16 @@ module Aws::Kafka
|
|
297
301
|
# Details for ClientAuthentication using TLS.
|
298
302
|
# @return [Types::Tls]
|
299
303
|
#
|
304
|
+
# @!attribute [rw] unauthenticated
|
305
|
+
# Contains information about unauthenticated traffic to the cluster.
|
306
|
+
# @return [Types::Unauthenticated]
|
307
|
+
#
|
300
308
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClientAuthentication AWS API Documentation
|
301
309
|
#
|
302
310
|
class ClientAuthentication < Struct.new(
|
303
311
|
:sasl,
|
304
|
-
:tls
|
312
|
+
:tls,
|
313
|
+
:unauthenticated)
|
305
314
|
SENSITIVE = []
|
306
315
|
include Aws::Structure
|
307
316
|
end
|
@@ -407,6 +416,10 @@ module Aws::Kafka
|
|
407
416
|
# UPDATING.
|
408
417
|
# @return [String]
|
409
418
|
#
|
419
|
+
# @!attribute [rw] state_info
|
420
|
+
# Contains information about the state of the Amazon MSK cluster.
|
421
|
+
# @return [Types::StateInfo]
|
422
|
+
#
|
410
423
|
# @!attribute [rw] tags
|
411
424
|
# Tags attached to the cluster.
|
412
425
|
# @return [Hash<String,String>]
|
@@ -438,6 +451,7 @@ module Aws::Kafka
|
|
438
451
|
:number_of_broker_nodes,
|
439
452
|
:open_monitoring,
|
440
453
|
:state,
|
454
|
+
:state_info,
|
441
455
|
:tags,
|
442
456
|
:zookeeper_connect_string,
|
443
457
|
:zookeeper_connect_string_tls)
|
@@ -702,6 +716,10 @@ module Aws::Kafka
|
|
702
716
|
# },
|
703
717
|
# tls: {
|
704
718
|
# certificate_authority_arn_list: ["__string"],
|
719
|
+
# enabled: false,
|
720
|
+
# },
|
721
|
+
# unauthenticated: {
|
722
|
+
# enabled: false,
|
705
723
|
# },
|
706
724
|
# },
|
707
725
|
# cluster_name: "__stringMin1Max64", # required
|
@@ -2005,6 +2023,14 @@ module Aws::Kafka
|
|
2005
2023
|
# cluster to be.
|
2006
2024
|
# @return [String]
|
2007
2025
|
#
|
2026
|
+
# @!attribute [rw] client_authentication
|
2027
|
+
# Includes all client authentication related information.
|
2028
|
+
# @return [Types::ClientAuthentication]
|
2029
|
+
#
|
2030
|
+
# @!attribute [rw] encryption_info
|
2031
|
+
# Includes all encryption-related information.
|
2032
|
+
# @return [Types::EncryptionInfo]
|
2033
|
+
#
|
2008
2034
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
|
2009
2035
|
#
|
2010
2036
|
class MutableClusterInfo < Struct.new(
|
@@ -2015,7 +2041,9 @@ module Aws::Kafka
|
|
2015
2041
|
:enhanced_monitoring,
|
2016
2042
|
:kafka_version,
|
2017
2043
|
:logging_info,
|
2018
|
-
:instance_type
|
2044
|
+
:instance_type,
|
2045
|
+
:client_authentication,
|
2046
|
+
:encryption_info)
|
2019
2047
|
SENSITIVE = []
|
2020
2048
|
include Aws::Structure
|
2021
2049
|
end
|
@@ -2111,6 +2139,7 @@ module Aws::Kafka
|
|
2111
2139
|
# }
|
2112
2140
|
#
|
2113
2141
|
# @!attribute [rw] enabled
|
2142
|
+
# SASL/SCRAM authentication is enabled or not.
|
2114
2143
|
# @return [Boolean]
|
2115
2144
|
#
|
2116
2145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Scram AWS API Documentation
|
@@ -2236,16 +2265,22 @@ module Aws::Kafka
|
|
2236
2265
|
#
|
2237
2266
|
# {
|
2238
2267
|
# certificate_authority_arn_list: ["__string"],
|
2268
|
+
# enabled: false,
|
2239
2269
|
# }
|
2240
2270
|
#
|
2241
2271
|
# @!attribute [rw] certificate_authority_arn_list
|
2242
2272
|
# List of ACM Certificate Authority ARNs.
|
2243
2273
|
# @return [Array<String>]
|
2244
2274
|
#
|
2275
|
+
# @!attribute [rw] enabled
|
2276
|
+
# TLS authentication is enabled or not.
|
2277
|
+
# @return [Boolean]
|
2278
|
+
#
|
2245
2279
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Tls AWS API Documentation
|
2246
2280
|
#
|
2247
2281
|
class Tls < Struct.new(
|
2248
|
-
:certificate_authority_arn_list
|
2282
|
+
:certificate_authority_arn_list,
|
2283
|
+
:enabled)
|
2249
2284
|
SENSITIVE = []
|
2250
2285
|
include Aws::Structure
|
2251
2286
|
end
|
@@ -2267,6 +2302,28 @@ module Aws::Kafka
|
|
2267
2302
|
include Aws::Structure
|
2268
2303
|
end
|
2269
2304
|
|
2305
|
+
# Contains information about unauthenticated traffic to the cluster.
|
2306
|
+
#
|
2307
|
+
# @note When making an API call, you may pass Unauthenticated
|
2308
|
+
# data as a hash:
|
2309
|
+
#
|
2310
|
+
# {
|
2311
|
+
# enabled: false,
|
2312
|
+
# }
|
2313
|
+
#
|
2314
|
+
# @!attribute [rw] enabled
|
2315
|
+
# Specifies whether you want to enable or disable unauthenticated
|
2316
|
+
# traffic to your cluster.
|
2317
|
+
# @return [Boolean]
|
2318
|
+
#
|
2319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Unauthenticated AWS API Documentation
|
2320
|
+
#
|
2321
|
+
class Unauthenticated < Struct.new(
|
2322
|
+
:enabled)
|
2323
|
+
SENSITIVE = []
|
2324
|
+
include Aws::Structure
|
2325
|
+
end
|
2326
|
+
|
2270
2327
|
# Returns information about an error.
|
2271
2328
|
#
|
2272
2329
|
# @!attribute [rw] invalid_parameter
|
@@ -2750,6 +2807,89 @@ module Aws::Kafka
|
|
2750
2807
|
include Aws::Structure
|
2751
2808
|
end
|
2752
2809
|
|
2810
|
+
# Request body for UpdateSecurity.
|
2811
|
+
#
|
2812
|
+
# @note When making an API call, you may pass UpdateSecurityRequest
|
2813
|
+
# data as a hash:
|
2814
|
+
#
|
2815
|
+
# {
|
2816
|
+
# client_authentication: {
|
2817
|
+
# sasl: {
|
2818
|
+
# scram: {
|
2819
|
+
# enabled: false,
|
2820
|
+
# },
|
2821
|
+
# iam: {
|
2822
|
+
# enabled: false,
|
2823
|
+
# },
|
2824
|
+
# },
|
2825
|
+
# tls: {
|
2826
|
+
# certificate_authority_arn_list: ["__string"],
|
2827
|
+
# enabled: false,
|
2828
|
+
# },
|
2829
|
+
# unauthenticated: {
|
2830
|
+
# enabled: false,
|
2831
|
+
# },
|
2832
|
+
# },
|
2833
|
+
# cluster_arn: "__string", # required
|
2834
|
+
# current_version: "__string", # required
|
2835
|
+
# encryption_info: {
|
2836
|
+
# encryption_at_rest: {
|
2837
|
+
# data_volume_kms_key_id: "__string", # required
|
2838
|
+
# },
|
2839
|
+
# encryption_in_transit: {
|
2840
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
2841
|
+
# in_cluster: false,
|
2842
|
+
# },
|
2843
|
+
# },
|
2844
|
+
# }
|
2845
|
+
#
|
2846
|
+
# @!attribute [rw] client_authentication
|
2847
|
+
# Includes all client authentication related information.
|
2848
|
+
# @return [Types::ClientAuthentication]
|
2849
|
+
#
|
2850
|
+
# @!attribute [rw] cluster_arn
|
2851
|
+
# @return [String]
|
2852
|
+
#
|
2853
|
+
# @!attribute [rw] current_version
|
2854
|
+
# You can use the DescribeCluster operation to get the current version
|
2855
|
+
# of the cluster. After the security update is complete, the cluster
|
2856
|
+
# will have a new version.
|
2857
|
+
# @return [String]
|
2858
|
+
#
|
2859
|
+
# @!attribute [rw] encryption_info
|
2860
|
+
# Includes all encryption-related information.
|
2861
|
+
# @return [Types::EncryptionInfo]
|
2862
|
+
#
|
2863
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateSecurityRequest AWS API Documentation
|
2864
|
+
#
|
2865
|
+
class UpdateSecurityRequest < Struct.new(
|
2866
|
+
:client_authentication,
|
2867
|
+
:cluster_arn,
|
2868
|
+
:current_version,
|
2869
|
+
:encryption_info)
|
2870
|
+
SENSITIVE = []
|
2871
|
+
include Aws::Structure
|
2872
|
+
end
|
2873
|
+
|
2874
|
+
# Response body for UpdateSecurity.
|
2875
|
+
#
|
2876
|
+
# @!attribute [rw] cluster_arn
|
2877
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
2878
|
+
# @return [String]
|
2879
|
+
#
|
2880
|
+
# @!attribute [rw] cluster_operation_arn
|
2881
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
2882
|
+
# @return [String]
|
2883
|
+
#
|
2884
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateSecurityResponse AWS API Documentation
|
2885
|
+
#
|
2886
|
+
class UpdateSecurityResponse < Struct.new(
|
2887
|
+
:cluster_arn,
|
2888
|
+
:cluster_operation_arn)
|
2889
|
+
SENSITIVE = []
|
2890
|
+
include Aws::Structure
|
2891
|
+
end
|
2892
|
+
|
2753
2893
|
# Zookeeper node information.
|
2754
2894
|
#
|
2755
2895
|
# @!attribute [rw] attached_eni_id
|
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.42.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
|
+
date: 2021-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.121.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.121.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|