aws-sdk-kafka 1.36.0 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6405858121548fce6b876f1ebfa5313b00ec433a9a6a0e4d2f3609a89068230f
4
- data.tar.gz: 29e9ee5966980eadbde2d8bce426ad1b20424e162da40479f9da4be825ddb538
3
+ metadata.gz: 01c8c1fc42f4eb462a8e5bb5eb247643ba19db7e382515425239f85f70a1d029
4
+ data.tar.gz: e013716efd35898107c2ebe86d516d7990b1ee228c4c89d51a82adf5693019e0
5
5
  SHA512:
6
- metadata.gz: a49b6535d2a4ab749bebb8b5ff607904c3feb077b8e962e169632036d114e7544c6c997ba3eca8de71b6e1bc9ba5f8a3fd8ec619826bdc5e1ef0d3802d3950d0
7
- data.tar.gz: fc52d30b20cb722f525ec06028f8676038a42105ea9bfd08daf5571770cf117893d95af7b143c71c79e42cf81199a9bbcedc0a95894de15bf61adc8c7f105eed
6
+ metadata.gz: 39094b78886db122aa27dd50a19098726b57d88e39692231cd4c6ff2760f80992d77231835e2d035fe47fe2b5239f57f67cda1b99742c36392729812ebbb133d
7
+ data.tar.gz: aee6c1e062dca2cfc220cfe40ea78aecf1e7802de3ee0bc66d6c177e8687828f82c105b5039cb5d5980551e86a902dbe6d94550a70571f64c9c92f47a16802b5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.40.0 (2021-09-08)
5
+ ------------------
6
+
7
+ * Feature - Amazon MSK has added a new API that allows you to update the encrypting and authentication settings for an existing cluster.
8
+
9
+ 1.39.0 (2021-09-01)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.38.0 (2021-07-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.37.0 (2021-07-28)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.36.0 (2021-05-06)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.40.0
@@ -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
@@ -723,6 +729,15 @@ module Aws::Kafka
723
729
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
724
730
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.prefix #=> String
725
731
  # resp.cluster_operation_info.source_cluster_info.instance_type #=> String
732
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
733
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
734
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
735
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
736
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.tls.enabled #=> Boolean
737
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
738
+ # resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
739
+ # resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
740
+ # resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
726
741
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
727
742
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
728
743
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
@@ -741,6 +756,15 @@ module Aws::Kafka
741
756
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
742
757
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.prefix #=> String
743
758
  # resp.cluster_operation_info.target_cluster_info.instance_type #=> String
759
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
760
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
761
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
762
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
763
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.tls.enabled #=> Boolean
764
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
765
+ # resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
766
+ # resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
767
+ # resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
744
768
  #
745
769
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
746
770
  #
@@ -988,6 +1012,15 @@ module Aws::Kafka
988
1012
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
989
1013
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.prefix #=> String
990
1014
  # resp.cluster_operation_info_list[0].source_cluster_info.instance_type #=> String
1015
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
1016
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
1017
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
1018
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
1019
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.tls.enabled #=> Boolean
1020
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
1021
+ # resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
1022
+ # resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
1023
+ # resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
991
1024
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
992
1025
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
993
1026
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
@@ -1006,6 +1039,15 @@ module Aws::Kafka
1006
1039
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
1007
1040
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.prefix #=> String
1008
1041
  # resp.cluster_operation_info_list[0].target_cluster_info.instance_type #=> String
1042
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
1043
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
1044
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
1045
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
1046
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.tls.enabled #=> Boolean
1047
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
1048
+ # resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
1049
+ # resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
1050
+ # resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
1009
1051
  # resp.next_token #=> String
1010
1052
  #
1011
1053
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
@@ -1055,6 +1097,8 @@ module Aws::Kafka
1055
1097
  # resp.cluster_info_list[0].client_authentication.sasl.iam.enabled #=> Boolean
1056
1098
  # resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
1057
1099
  # resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list[0] #=> String
1100
+ # resp.cluster_info_list[0].client_authentication.tls.enabled #=> Boolean
1101
+ # resp.cluster_info_list[0].client_authentication.unauthenticated.enabled #=> Boolean
1058
1102
  # resp.cluster_info_list[0].cluster_arn #=> String
1059
1103
  # resp.cluster_info_list[0].cluster_name #=> String
1060
1104
  # resp.cluster_info_list[0].creation_time #=> Time
@@ -1748,6 +1792,74 @@ module Aws::Kafka
1748
1792
  req.send_request(options)
1749
1793
  end
1750
1794
 
1795
+ # You can use this operation to update the encrypting and authentication
1796
+ # settings for an existing cluster.
1797
+ #
1798
+ # @option params [Types::ClientAuthentication] :client_authentication
1799
+ # Includes all client authentication related information.
1800
+ #
1801
+ # @option params [required, String] :cluster_arn
1802
+ #
1803
+ # @option params [required, String] :current_version
1804
+ # You can use the DescribeCluster operation to get the current version
1805
+ # of the cluster. After the security update is complete, the cluster
1806
+ # will have a new version.
1807
+ #
1808
+ # @option params [Types::EncryptionInfo] :encryption_info
1809
+ # Includes all encryption-related information.
1810
+ #
1811
+ # @return [Types::UpdateSecurityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1812
+ #
1813
+ # * {Types::UpdateSecurityResponse#cluster_arn #cluster_arn} => String
1814
+ # * {Types::UpdateSecurityResponse#cluster_operation_arn #cluster_operation_arn} => String
1815
+ #
1816
+ # @example Request syntax with placeholder values
1817
+ #
1818
+ # resp = client.update_security({
1819
+ # client_authentication: {
1820
+ # sasl: {
1821
+ # scram: {
1822
+ # enabled: false,
1823
+ # },
1824
+ # iam: {
1825
+ # enabled: false,
1826
+ # },
1827
+ # },
1828
+ # tls: {
1829
+ # certificate_authority_arn_list: ["__string"],
1830
+ # enabled: false,
1831
+ # },
1832
+ # unauthenticated: {
1833
+ # enabled: false,
1834
+ # },
1835
+ # },
1836
+ # cluster_arn: "__string", # required
1837
+ # current_version: "__string", # required
1838
+ # encryption_info: {
1839
+ # encryption_at_rest: {
1840
+ # data_volume_kms_key_id: "__string", # required
1841
+ # },
1842
+ # encryption_in_transit: {
1843
+ # client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
1844
+ # in_cluster: false,
1845
+ # },
1846
+ # },
1847
+ # })
1848
+ #
1849
+ # @example Response structure
1850
+ #
1851
+ # resp.cluster_arn #=> String
1852
+ # resp.cluster_operation_arn #=> String
1853
+ #
1854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateSecurity AWS API Documentation
1855
+ #
1856
+ # @overload update_security(params = {})
1857
+ # @param [Hash] params ({})
1858
+ def update_security(params = {}, options = {})
1859
+ req = build_request(:update_security, params)
1860
+ req.send_request(options)
1861
+ end
1862
+
1751
1863
  # @!endgroup
1752
1864
 
1753
1865
  # @param params ({})
@@ -1761,7 +1873,7 @@ module Aws::Kafka
1761
1873
  params: params,
1762
1874
  config: config)
1763
1875
  context[:gem_name] = 'aws-sdk-kafka'
1764
- context[:gem_version] = '1.36.0'
1876
+ context[:gem_version] = '1.40.0'
1765
1877
  Seahorse::Client::Request.new(handlers, context)
1766
1878
  end
1767
1879
 
@@ -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"))
@@ -497,7 +501,9 @@ module Aws::Kafka
497
501
  MutableClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
498
502
  MutableClusterInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
499
503
  MutableClusterInfo.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
500
- MutableClusterInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __stringMin5Max32, location_name: "instanceType"))
504
+ MutableClusterInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "instanceType"))
505
+ MutableClusterInfo.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
506
+ MutableClusterInfo.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
501
507
  MutableClusterInfo.struct_class = Types::MutableClusterInfo
502
508
 
503
509
  NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
@@ -568,12 +574,16 @@ module Aws::Kafka
568
574
  TagResourceRequest.struct_class = Types::TagResourceRequest
569
575
 
570
576
  Tls.add_member(:certificate_authority_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "certificateAuthorityArnList"))
577
+ Tls.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
571
578
  Tls.struct_class = Types::Tls
572
579
 
573
580
  TooManyRequestsException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
574
581
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
575
582
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
576
583
 
584
+ Unauthenticated.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
585
+ Unauthenticated.struct_class = Types::Unauthenticated
586
+
577
587
  UnauthorizedException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
578
588
  UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
579
589
  UnauthorizedException.struct_class = Types::UnauthorizedException
@@ -653,6 +663,16 @@ module Aws::Kafka
653
663
  UpdateMonitoringResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
654
664
  UpdateMonitoringResponse.struct_class = Types::UpdateMonitoringResponse
655
665
 
666
+ UpdateSecurityRequest.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
667
+ UpdateSecurityRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
668
+ UpdateSecurityRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
669
+ UpdateSecurityRequest.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
670
+ UpdateSecurityRequest.struct_class = Types::UpdateSecurityRequest
671
+
672
+ UpdateSecurityResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
673
+ UpdateSecurityResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
674
+ UpdateSecurityResponse.struct_class = Types::UpdateSecurityResponse
675
+
656
676
  ZookeeperNodeInfo.add_member(:attached_eni_id, Shapes::ShapeRef.new(shape: __string, location_name: "attachedENIId"))
657
677
  ZookeeperNodeInfo.add_member(:client_vpc_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "clientVpcIpAddress"))
658
678
  ZookeeperNodeInfo.add_member(:endpoints, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "endpoints"))
@@ -1145,6 +1165,21 @@ module Aws::Kafka
1145
1165
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1146
1166
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1147
1167
  end)
1168
+
1169
+ api.add_operation(:update_security, Seahorse::Model::Operation.new.tap do |o|
1170
+ o.name = "UpdateSecurity"
1171
+ o.http_method = "PATCH"
1172
+ o.http_request_uri = "/v1/clusters/{clusterArn}/security"
1173
+ o.input = Shapes::ShapeRef.new(shape: UpdateSecurityRequest)
1174
+ o.output = Shapes::ShapeRef.new(shape: UpdateSecurityResponse)
1175
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1176
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1177
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1178
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1179
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1180
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1181
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1182
+ end)
1148
1183
  end
1149
1184
 
1150
1185
  end
@@ -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
@@ -702,6 +711,10 @@ module Aws::Kafka
702
711
  # },
703
712
  # tls: {
704
713
  # certificate_authority_arn_list: ["__string"],
714
+ # enabled: false,
715
+ # },
716
+ # unauthenticated: {
717
+ # enabled: false,
705
718
  # },
706
719
  # },
707
720
  # cluster_name: "__stringMin1Max64", # required
@@ -2005,6 +2018,14 @@ module Aws::Kafka
2005
2018
  # cluster to be.
2006
2019
  # @return [String]
2007
2020
  #
2021
+ # @!attribute [rw] client_authentication
2022
+ # Includes all client authentication related information.
2023
+ # @return [Types::ClientAuthentication]
2024
+ #
2025
+ # @!attribute [rw] encryption_info
2026
+ # Includes all encryption-related information.
2027
+ # @return [Types::EncryptionInfo]
2028
+ #
2008
2029
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
2009
2030
  #
2010
2031
  class MutableClusterInfo < Struct.new(
@@ -2015,7 +2036,9 @@ module Aws::Kafka
2015
2036
  :enhanced_monitoring,
2016
2037
  :kafka_version,
2017
2038
  :logging_info,
2018
- :instance_type)
2039
+ :instance_type,
2040
+ :client_authentication,
2041
+ :encryption_info)
2019
2042
  SENSITIVE = []
2020
2043
  include Aws::Structure
2021
2044
  end
@@ -2111,6 +2134,7 @@ module Aws::Kafka
2111
2134
  # }
2112
2135
  #
2113
2136
  # @!attribute [rw] enabled
2137
+ # SASL/SCRAM authentication is enabled or not.
2114
2138
  # @return [Boolean]
2115
2139
  #
2116
2140
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Scram AWS API Documentation
@@ -2236,16 +2260,22 @@ module Aws::Kafka
2236
2260
  #
2237
2261
  # {
2238
2262
  # certificate_authority_arn_list: ["__string"],
2263
+ # enabled: false,
2239
2264
  # }
2240
2265
  #
2241
2266
  # @!attribute [rw] certificate_authority_arn_list
2242
2267
  # List of ACM Certificate Authority ARNs.
2243
2268
  # @return [Array<String>]
2244
2269
  #
2270
+ # @!attribute [rw] enabled
2271
+ # TLS authentication is enabled or not.
2272
+ # @return [Boolean]
2273
+ #
2245
2274
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Tls AWS API Documentation
2246
2275
  #
2247
2276
  class Tls < Struct.new(
2248
- :certificate_authority_arn_list)
2277
+ :certificate_authority_arn_list,
2278
+ :enabled)
2249
2279
  SENSITIVE = []
2250
2280
  include Aws::Structure
2251
2281
  end
@@ -2267,6 +2297,28 @@ module Aws::Kafka
2267
2297
  include Aws::Structure
2268
2298
  end
2269
2299
 
2300
+ # Contains information about unauthenticated traffic to the cluster.
2301
+ #
2302
+ # @note When making an API call, you may pass Unauthenticated
2303
+ # data as a hash:
2304
+ #
2305
+ # {
2306
+ # enabled: false,
2307
+ # }
2308
+ #
2309
+ # @!attribute [rw] enabled
2310
+ # Specifies whether you want to enable or disable unauthenticated
2311
+ # traffic to your cluster.
2312
+ # @return [Boolean]
2313
+ #
2314
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Unauthenticated AWS API Documentation
2315
+ #
2316
+ class Unauthenticated < Struct.new(
2317
+ :enabled)
2318
+ SENSITIVE = []
2319
+ include Aws::Structure
2320
+ end
2321
+
2270
2322
  # Returns information about an error.
2271
2323
  #
2272
2324
  # @!attribute [rw] invalid_parameter
@@ -2750,6 +2802,89 @@ module Aws::Kafka
2750
2802
  include Aws::Structure
2751
2803
  end
2752
2804
 
2805
+ # Request body for UpdateSecurity.
2806
+ #
2807
+ # @note When making an API call, you may pass UpdateSecurityRequest
2808
+ # data as a hash:
2809
+ #
2810
+ # {
2811
+ # client_authentication: {
2812
+ # sasl: {
2813
+ # scram: {
2814
+ # enabled: false,
2815
+ # },
2816
+ # iam: {
2817
+ # enabled: false,
2818
+ # },
2819
+ # },
2820
+ # tls: {
2821
+ # certificate_authority_arn_list: ["__string"],
2822
+ # enabled: false,
2823
+ # },
2824
+ # unauthenticated: {
2825
+ # enabled: false,
2826
+ # },
2827
+ # },
2828
+ # cluster_arn: "__string", # required
2829
+ # current_version: "__string", # required
2830
+ # encryption_info: {
2831
+ # encryption_at_rest: {
2832
+ # data_volume_kms_key_id: "__string", # required
2833
+ # },
2834
+ # encryption_in_transit: {
2835
+ # client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
2836
+ # in_cluster: false,
2837
+ # },
2838
+ # },
2839
+ # }
2840
+ #
2841
+ # @!attribute [rw] client_authentication
2842
+ # Includes all client authentication related information.
2843
+ # @return [Types::ClientAuthentication]
2844
+ #
2845
+ # @!attribute [rw] cluster_arn
2846
+ # @return [String]
2847
+ #
2848
+ # @!attribute [rw] current_version
2849
+ # You can use the DescribeCluster operation to get the current version
2850
+ # of the cluster. After the security update is complete, the cluster
2851
+ # will have a new version.
2852
+ # @return [String]
2853
+ #
2854
+ # @!attribute [rw] encryption_info
2855
+ # Includes all encryption-related information.
2856
+ # @return [Types::EncryptionInfo]
2857
+ #
2858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateSecurityRequest AWS API Documentation
2859
+ #
2860
+ class UpdateSecurityRequest < Struct.new(
2861
+ :client_authentication,
2862
+ :cluster_arn,
2863
+ :current_version,
2864
+ :encryption_info)
2865
+ SENSITIVE = []
2866
+ include Aws::Structure
2867
+ end
2868
+
2869
+ # Response body for UpdateSecurity.
2870
+ #
2871
+ # @!attribute [rw] cluster_arn
2872
+ # The Amazon Resource Name (ARN) of the cluster.
2873
+ # @return [String]
2874
+ #
2875
+ # @!attribute [rw] cluster_operation_arn
2876
+ # The Amazon Resource Name (ARN) of the cluster operation.
2877
+ # @return [String]
2878
+ #
2879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateSecurityResponse AWS API Documentation
2880
+ #
2881
+ class UpdateSecurityResponse < Struct.new(
2882
+ :cluster_arn,
2883
+ :cluster_operation_arn)
2884
+ SENSITIVE = []
2885
+ include Aws::Structure
2886
+ end
2887
+
2753
2888
  # Zookeeper node information.
2754
2889
  #
2755
2890
  # @!attribute [rw] attached_eni_id
data/lib/aws-sdk-kafka.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-kafka/customizations'
48
48
  # @!group service
49
49
  module Aws::Kafka
50
50
 
51
- GEM_VERSION = '1.36.0'
51
+ GEM_VERSION = '1.40.0'
52
52
 
53
53
  end
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.36.0
4
+ version: 1.40.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-05-06 00:00:00.000000000 Z
11
+ date: 2021-09-08 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.112.0
22
+ version: 3.120.0
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.112.0
32
+ version: 3.120.0
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: '0'
79
+ version: '2.3'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="