aws-sdk-kafka 1.39.0 → 1.43.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: 8c812df1726ccc67cbf279a14159611ae0f59bc3b226e78b2e3982bd9fc3080f
4
- data.tar.gz: 72e0314a11cbfa02d5c66db01d102d7b9407e48d74644f2062705acc50e6ef3c
3
+ metadata.gz: ec637a7e82f3593927200a5cae2637b27abac4cf25bbc985badd143cb54a6cb2
4
+ data.tar.gz: 44d260edf714e4bbf549930ea45ca057c102082b8c447b078201957e185845d6
5
5
  SHA512:
6
- metadata.gz: 8a0303ac5b84553f8fa7193228ff3c0f5e368998d9cd56a4aa35c6226b7dde32fc5d59ad0667eab6e5bf1d7dd40d14d8c5e3a13087a354cce1ea142bce93c5a2
7
- data.tar.gz: 502fb3926059f1b7bfcd95704aa4358d3723b8a81b33f4e097fc9ac15856f809b83da44396890abf0d8ea031fecd2fe7da38d7dbcb19cab5551b6c47f7dfb546
6
+ metadata.gz: 1d699ff5029e47108a465f235bb098a6a94152ebb79be8045ad1ddceb185f81f2655c63c47483446d7e6dbb0688d4a339192e6461c84c06689177f8daf27e7f8
7
+ data.tar.gz: c990efb4fc21c496d466a68970f2a6e2cd92e990b23f28d0b55d18dd763132ad243a40158333b23873c2a13ceb3d37d3cdac662e8217e504c6a0a9f32b4268db
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.43.0 (2021-11-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.42.0 (2021-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.41.0 (2021-09-21)
15
+ ------------------
16
+
17
+ * Feature - Added StateInfo to ClusterInfo
18
+
19
+ 1.40.0 (2021-09-08)
20
+ ------------------
21
+
22
+ * Feature - Amazon MSK has added a new API that allows you to update the encrypting and authentication settings for an existing cluster.
23
+
4
24
  1.39.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.43.0
@@ -275,6 +275,15 @@ module Aws::Kafka
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -431,6 +440,10 @@ module Aws::Kafka
431
440
  # },
432
441
  # tls: {
433
442
  # certificate_authority_arn_list: ["__string"],
443
+ # enabled: false,
444
+ # },
445
+ # unauthenticated: {
446
+ # enabled: false,
434
447
  # },
435
448
  # },
436
449
  # cluster_name: "__stringMin1Max64", # required
@@ -641,6 +654,8 @@ module Aws::Kafka
641
654
  # resp.cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
642
655
  # resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
643
656
  # resp.cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
657
+ # resp.cluster_info.client_authentication.tls.enabled #=> Boolean
658
+ # resp.cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
644
659
  # resp.cluster_info.cluster_arn #=> String
645
660
  # resp.cluster_info.cluster_name #=> String
646
661
  # resp.cluster_info.creation_time #=> Time
@@ -663,6 +678,8 @@ module Aws::Kafka
663
678
  # resp.cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
664
679
  # resp.cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
665
680
  # resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
681
+ # resp.cluster_info.state_info.code #=> String
682
+ # resp.cluster_info.state_info.message #=> String
666
683
  # resp.cluster_info.tags #=> Hash
667
684
  # resp.cluster_info.tags["__string"] #=> String
668
685
  # resp.cluster_info.zookeeper_connect_string #=> String
@@ -723,6 +740,15 @@ module Aws::Kafka
723
740
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
724
741
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.prefix #=> String
725
742
  # resp.cluster_operation_info.source_cluster_info.instance_type #=> String
743
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
744
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
745
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
746
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
747
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.tls.enabled #=> Boolean
748
+ # resp.cluster_operation_info.source_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
749
+ # resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
750
+ # resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
751
+ # resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
726
752
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
727
753
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
728
754
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
@@ -741,6 +767,15 @@ module Aws::Kafka
741
767
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
742
768
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.prefix #=> String
743
769
  # resp.cluster_operation_info.target_cluster_info.instance_type #=> String
770
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
771
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
772
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
773
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
774
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.tls.enabled #=> Boolean
775
+ # resp.cluster_operation_info.target_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
776
+ # resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
777
+ # resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
778
+ # resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
744
779
  #
745
780
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
746
781
  #
@@ -988,6 +1023,15 @@ module Aws::Kafka
988
1023
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
989
1024
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.prefix #=> String
990
1025
  # resp.cluster_operation_info_list[0].source_cluster_info.instance_type #=> String
1026
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
1027
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
1028
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
1029
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
1030
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.tls.enabled #=> Boolean
1031
+ # resp.cluster_operation_info_list[0].source_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
1032
+ # resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
1033
+ # resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
1034
+ # resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
991
1035
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
992
1036
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
993
1037
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
@@ -1006,6 +1050,15 @@ module Aws::Kafka
1006
1050
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
1007
1051
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.prefix #=> String
1008
1052
  # resp.cluster_operation_info_list[0].target_cluster_info.instance_type #=> String
1053
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
1054
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
1055
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
1056
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
1057
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.tls.enabled #=> Boolean
1058
+ # resp.cluster_operation_info_list[0].target_cluster_info.client_authentication.unauthenticated.enabled #=> Boolean
1059
+ # resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
1060
+ # resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
1061
+ # resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
1009
1062
  # resp.next_token #=> String
1010
1063
  #
1011
1064
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
@@ -1055,6 +1108,8 @@ module Aws::Kafka
1055
1108
  # resp.cluster_info_list[0].client_authentication.sasl.iam.enabled #=> Boolean
1056
1109
  # resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
1057
1110
  # resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list[0] #=> String
1111
+ # resp.cluster_info_list[0].client_authentication.tls.enabled #=> Boolean
1112
+ # resp.cluster_info_list[0].client_authentication.unauthenticated.enabled #=> Boolean
1058
1113
  # resp.cluster_info_list[0].cluster_arn #=> String
1059
1114
  # resp.cluster_info_list[0].cluster_name #=> String
1060
1115
  # resp.cluster_info_list[0].creation_time #=> Time
@@ -1077,6 +1132,8 @@ module Aws::Kafka
1077
1132
  # resp.cluster_info_list[0].open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
1078
1133
  # resp.cluster_info_list[0].open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
1079
1134
  # resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
1135
+ # resp.cluster_info_list[0].state_info.code #=> String
1136
+ # resp.cluster_info_list[0].state_info.message #=> String
1080
1137
  # resp.cluster_info_list[0].tags #=> Hash
1081
1138
  # resp.cluster_info_list[0].tags["__string"] #=> String
1082
1139
  # resp.cluster_info_list[0].zookeeper_connect_string #=> String
@@ -1748,6 +1805,74 @@ module Aws::Kafka
1748
1805
  req.send_request(options)
1749
1806
  end
1750
1807
 
1808
+ # You can use this operation to update the encrypting and authentication
1809
+ # settings for an existing cluster.
1810
+ #
1811
+ # @option params [Types::ClientAuthentication] :client_authentication
1812
+ # Includes all client authentication related information.
1813
+ #
1814
+ # @option params [required, String] :cluster_arn
1815
+ #
1816
+ # @option params [required, String] :current_version
1817
+ # You can use the DescribeCluster operation to get the current version
1818
+ # of the cluster. After the security update is complete, the cluster
1819
+ # will have a new version.
1820
+ #
1821
+ # @option params [Types::EncryptionInfo] :encryption_info
1822
+ # Includes all encryption-related information.
1823
+ #
1824
+ # @return [Types::UpdateSecurityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1825
+ #
1826
+ # * {Types::UpdateSecurityResponse#cluster_arn #cluster_arn} => String
1827
+ # * {Types::UpdateSecurityResponse#cluster_operation_arn #cluster_operation_arn} => String
1828
+ #
1829
+ # @example Request syntax with placeholder values
1830
+ #
1831
+ # resp = client.update_security({
1832
+ # client_authentication: {
1833
+ # sasl: {
1834
+ # scram: {
1835
+ # enabled: false,
1836
+ # },
1837
+ # iam: {
1838
+ # enabled: false,
1839
+ # },
1840
+ # },
1841
+ # tls: {
1842
+ # certificate_authority_arn_list: ["__string"],
1843
+ # enabled: false,
1844
+ # },
1845
+ # unauthenticated: {
1846
+ # enabled: false,
1847
+ # },
1848
+ # },
1849
+ # cluster_arn: "__string", # required
1850
+ # current_version: "__string", # required
1851
+ # encryption_info: {
1852
+ # encryption_at_rest: {
1853
+ # data_volume_kms_key_id: "__string", # required
1854
+ # },
1855
+ # encryption_in_transit: {
1856
+ # client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
1857
+ # in_cluster: false,
1858
+ # },
1859
+ # },
1860
+ # })
1861
+ #
1862
+ # @example Response structure
1863
+ #
1864
+ # resp.cluster_arn #=> String
1865
+ # resp.cluster_operation_arn #=> String
1866
+ #
1867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateSecurity AWS API Documentation
1868
+ #
1869
+ # @overload update_security(params = {})
1870
+ # @param [Hash] params ({})
1871
+ def update_security(params = {}, options = {})
1872
+ req = build_request(:update_security, params)
1873
+ req.send_request(options)
1874
+ end
1875
+
1751
1876
  # @!endgroup
1752
1877
 
1753
1878
  # @param params ({})
@@ -1761,7 +1886,7 @@ module Aws::Kafka
1761
1886
  params: params,
1762
1887
  config: config)
1763
1888
  context[:gem_name] = 'aws-sdk-kafka'
1764
- context[:gem_version] = '1.39.0'
1889
+ context[:gem_version] = '1.43.0'
1765
1890
  Seahorse::Client::Request.new(handlers, context)
1766
1891
  end
1767
1892
 
@@ -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: __stringMin5Max32, location_name: "instanceType"))
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
@@ -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
@@ -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.39.0'
51
+ GEM_VERSION = '1.43.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.39.0
4
+ version: 1.43.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-09-01 00:00:00.000000000 Z
11
+ date: 2021-11-04 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.120.0
22
+ version: 3.122.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.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement