aws-sdk-kafka 1.26.0 → 1.31.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: 12ca287eb8f5ee50f8048be8ced27a353f2ba7659133fbdad83b2a1720c294df
4
- data.tar.gz: b702de3f699ec4fdfd10f270c8385a4224fd8ec95d48f6280d597ccaf6af3746
3
+ metadata.gz: 9b5665c3039b2ab515ec01bb1f455396d12d7bb92b20225b7317a9dd29c06df5
4
+ data.tar.gz: e2c1821bde019c4bc91d079d0ff19ed6aea9823d9600938389276c15dfbb60b7
5
5
  SHA512:
6
- metadata.gz: 746b04115a7d618ac9c92157e5d1e917c4d1671da2052726f2b07fdcd339ef74e6866ed017fd0687d96d9128b6f4bf86f4bd98bcf7e24e7c87170097a85ab341
7
- data.tar.gz: c9da49ecb05b68176054f21c8a4b8779f2d1ad08f4f1f85e30e9822cf1261e7f5bb13b22a8432f432b8151b0cecc4672180d66f2047b1bff022966489d2427e6
6
+ metadata.gz: fcf9665b85408d65bc38353ebe754b0b266e7bcc0c7ad4fc07a046564aa4e0e2f4b010668e670f1df2865449ac24f78fdb2d36006d7b13ec6a6832cdbaf69018
7
+ data.tar.gz: 233197512337f61b3c29c5661b691c1b2ff89251b50c65c6cfa38df431b4461114e0e0f7afe9adaff865cb19dc1471caa5225fb133a952dc5d60f60e9d32721d
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -27,7 +28,7 @@ require_relative 'aws-sdk-kafka/customizations'
27
28
  # structure.
28
29
  #
29
30
  # kafka = Aws::Kafka::Client.new
30
- # resp = kafka.create_cluster(params)
31
+ # resp = kafka.batch_associate_scram_secret(params)
31
32
  #
32
33
  # See {Client} for more information.
33
34
  #
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-kafka/customizations'
47
48
  # @!group service
48
49
  module Aws::Kafka
49
50
 
50
- GEM_VERSION = '1.26.0'
51
+ GEM_VERSION = '1.31.0'
51
52
 
52
53
  end
@@ -327,6 +327,42 @@ module Aws::Kafka
327
327
 
328
328
  # @!group API Operations
329
329
 
330
+ # Associates one or more Scram Secrets with an Amazon MSK cluster.
331
+ #
332
+ # @option params [required, String] :cluster_arn
333
+ #
334
+ # @option params [required, Array<String>] :secret_arn_list
335
+ # List of AWS Secrets Manager secret ARNs.
336
+ #
337
+ # @return [Types::BatchAssociateScramSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
338
+ #
339
+ # * {Types::BatchAssociateScramSecretResponse#cluster_arn #cluster_arn} => String
340
+ # * {Types::BatchAssociateScramSecretResponse#unprocessed_scram_secrets #unprocessed_scram_secrets} => Array&lt;Types::UnprocessedScramSecret&gt;
341
+ #
342
+ # @example Request syntax with placeholder values
343
+ #
344
+ # resp = client.batch_associate_scram_secret({
345
+ # cluster_arn: "__string", # required
346
+ # secret_arn_list: ["__string"], # required
347
+ # })
348
+ #
349
+ # @example Response structure
350
+ #
351
+ # resp.cluster_arn #=> String
352
+ # resp.unprocessed_scram_secrets #=> Array
353
+ # resp.unprocessed_scram_secrets[0].error_code #=> String
354
+ # resp.unprocessed_scram_secrets[0].error_message #=> String
355
+ # resp.unprocessed_scram_secrets[0].secret_arn #=> String
356
+ #
357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchAssociateScramSecret AWS API Documentation
358
+ #
359
+ # @overload batch_associate_scram_secret(params = {})
360
+ # @param [Hash] params ({})
361
+ def batch_associate_scram_secret(params = {}, options = {})
362
+ req = build_request(:batch_associate_scram_secret, params)
363
+ req.send_request(options)
364
+ end
365
+
330
366
  # Creates a new MSK cluster.
331
367
  #
332
368
  # @option params [required, Types::BrokerNodeGroupInfo] :broker_node_group_info
@@ -346,7 +382,8 @@ module Aws::Kafka
346
382
  #
347
383
  # @option params [String] :enhanced_monitoring
348
384
  # Specifies the level of monitoring for the MSK cluster. The possible
349
- # values are DEFAULT, PER\_BROKER, and PER\_TOPIC\_PER\_BROKER.
385
+ # values are DEFAULT, PER\_BROKER, PER\_TOPIC\_PER\_BROKER, and
386
+ # PER\_TOPIC\_PER\_PARTITION.
350
387
  #
351
388
  # @option params [required, String] :kafka_version
352
389
  # The version of Apache Kafka.
@@ -384,6 +421,11 @@ module Aws::Kafka
384
421
  # },
385
422
  # },
386
423
  # client_authentication: {
424
+ # sasl: {
425
+ # scram: {
426
+ # enabled: false,
427
+ # },
428
+ # },
387
429
  # tls: {
388
430
  # certificate_authority_arn_list: ["__string"],
389
431
  # },
@@ -402,7 +444,7 @@ module Aws::Kafka
402
444
  # in_cluster: false,
403
445
  # },
404
446
  # },
405
- # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
447
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
406
448
  # kafka_version: "__stringMin1Max128", # required
407
449
  # logging_info: {
408
450
  # broker_logs: { # required
@@ -441,7 +483,7 @@ module Aws::Kafka
441
483
  #
442
484
  # resp.cluster_arn #=> String
443
485
  # resp.cluster_name #=> String
444
- # resp.state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
486
+ # resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
445
487
  #
446
488
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateCluster AWS API Documentation
447
489
  #
@@ -525,7 +567,7 @@ module Aws::Kafka
525
567
  # @example Response structure
526
568
  #
527
569
  # resp.cluster_arn #=> String
528
- # resp.state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
570
+ # resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
529
571
  #
530
572
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteCluster AWS API Documentation
531
573
  #
@@ -592,6 +634,7 @@ module Aws::Kafka
592
634
  # resp.cluster_info.broker_node_group_info.security_groups #=> Array
593
635
  # resp.cluster_info.broker_node_group_info.security_groups[0] #=> String
594
636
  # resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
637
+ # resp.cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
595
638
  # resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
596
639
  # resp.cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
597
640
  # resp.cluster_info.cluster_arn #=> String
@@ -611,14 +654,15 @@ module Aws::Kafka
611
654
  # resp.cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
612
655
  # resp.cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
613
656
  # resp.cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
614
- # resp.cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
657
+ # resp.cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
615
658
  # resp.cluster_info.number_of_broker_nodes #=> Integer
616
659
  # resp.cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
617
660
  # resp.cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
618
- # resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
661
+ # resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
619
662
  # resp.cluster_info.tags #=> Hash
620
663
  # resp.cluster_info.tags["__string"] #=> String
621
664
  # resp.cluster_info.zookeeper_connect_string #=> String
665
+ # resp.cluster_info.zookeeper_connect_string_tls #=> String
622
666
  #
623
667
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeCluster AWS API Documentation
624
668
  #
@@ -665,7 +709,7 @@ module Aws::Kafka
665
709
  # resp.cluster_operation_info.source_cluster_info.number_of_broker_nodes #=> Integer
666
710
  # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
667
711
  # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
668
- # resp.cluster_operation_info.source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
712
+ # resp.cluster_operation_info.source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
669
713
  # resp.cluster_operation_info.source_cluster_info.kafka_version #=> String
670
714
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
671
715
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -682,7 +726,7 @@ module Aws::Kafka
682
726
  # resp.cluster_operation_info.target_cluster_info.number_of_broker_nodes #=> Integer
683
727
  # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
684
728
  # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
685
- # resp.cluster_operation_info.target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
729
+ # resp.cluster_operation_info.target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
686
730
  # resp.cluster_operation_info.target_cluster_info.kafka_version #=> String
687
731
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
688
732
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -781,6 +825,42 @@ module Aws::Kafka
781
825
  req.send_request(options)
782
826
  end
783
827
 
828
+ # Disassociates one or more Scram Secrets from an Amazon MSK cluster.
829
+ #
830
+ # @option params [required, String] :cluster_arn
831
+ #
832
+ # @option params [required, Array<String>] :secret_arn_list
833
+ # List of AWS Secrets Manager secret ARNs.
834
+ #
835
+ # @return [Types::BatchDisassociateScramSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
836
+ #
837
+ # * {Types::BatchDisassociateScramSecretResponse#cluster_arn #cluster_arn} => String
838
+ # * {Types::BatchDisassociateScramSecretResponse#unprocessed_scram_secrets #unprocessed_scram_secrets} => Array&lt;Types::UnprocessedScramSecret&gt;
839
+ #
840
+ # @example Request syntax with placeholder values
841
+ #
842
+ # resp = client.batch_disassociate_scram_secret({
843
+ # cluster_arn: "__string", # required
844
+ # secret_arn_list: ["__string"], # required
845
+ # })
846
+ #
847
+ # @example Response structure
848
+ #
849
+ # resp.cluster_arn #=> String
850
+ # resp.unprocessed_scram_secrets #=> Array
851
+ # resp.unprocessed_scram_secrets[0].error_code #=> String
852
+ # resp.unprocessed_scram_secrets[0].error_message #=> String
853
+ # resp.unprocessed_scram_secrets[0].secret_arn #=> String
854
+ #
855
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecret AWS API Documentation
856
+ #
857
+ # @overload batch_disassociate_scram_secret(params = {})
858
+ # @param [Hash] params ({})
859
+ def batch_disassociate_scram_secret(params = {}, options = {})
860
+ req = build_request(:batch_disassociate_scram_secret, params)
861
+ req.send_request(options)
862
+ end
863
+
784
864
  # A list of brokers that a client application can use to bootstrap.
785
865
  #
786
866
  # @option params [required, String] :cluster_arn
@@ -789,6 +869,7 @@ module Aws::Kafka
789
869
  #
790
870
  # * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string #bootstrap_broker_string} => String
791
871
  # * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_tls #bootstrap_broker_string_tls} => String
872
+ # * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_scram #bootstrap_broker_string_sasl_scram} => String
792
873
  #
793
874
  # @example Request syntax with placeholder values
794
875
  #
@@ -800,6 +881,7 @@ module Aws::Kafka
800
881
  #
801
882
  # resp.bootstrap_broker_string #=> String
802
883
  # resp.bootstrap_broker_string_tls #=> String
884
+ # resp.bootstrap_broker_string_sasl_scram #=> String
803
885
  #
804
886
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokers AWS API Documentation
805
887
  #
@@ -888,7 +970,7 @@ module Aws::Kafka
888
970
  # resp.cluster_operation_info_list[0].source_cluster_info.number_of_broker_nodes #=> Integer
889
971
  # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
890
972
  # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
891
- # resp.cluster_operation_info_list[0].source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
973
+ # resp.cluster_operation_info_list[0].source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
892
974
  # resp.cluster_operation_info_list[0].source_cluster_info.kafka_version #=> String
893
975
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
894
976
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -905,7 +987,7 @@ module Aws::Kafka
905
987
  # resp.cluster_operation_info_list[0].target_cluster_info.number_of_broker_nodes #=> Integer
906
988
  # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
907
989
  # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
908
- # resp.cluster_operation_info_list[0].target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
990
+ # resp.cluster_operation_info_list[0].target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
909
991
  # resp.cluster_operation_info_list[0].target_cluster_info.kafka_version #=> String
910
992
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
911
993
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -959,6 +1041,7 @@ module Aws::Kafka
959
1041
  # resp.cluster_info_list[0].broker_node_group_info.security_groups #=> Array
960
1042
  # resp.cluster_info_list[0].broker_node_group_info.security_groups[0] #=> String
961
1043
  # resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
1044
+ # resp.cluster_info_list[0].client_authentication.sasl.scram.enabled #=> Boolean
962
1045
  # resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
963
1046
  # resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list[0] #=> String
964
1047
  # resp.cluster_info_list[0].cluster_arn #=> String
@@ -978,14 +1061,15 @@ module Aws::Kafka
978
1061
  # resp.cluster_info_list[0].encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
979
1062
  # resp.cluster_info_list[0].encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
980
1063
  # resp.cluster_info_list[0].encryption_info.encryption_in_transit.in_cluster #=> Boolean
981
- # resp.cluster_info_list[0].enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
1064
+ # resp.cluster_info_list[0].enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
982
1065
  # resp.cluster_info_list[0].number_of_broker_nodes #=> Integer
983
1066
  # resp.cluster_info_list[0].open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
984
1067
  # resp.cluster_info_list[0].open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
985
- # resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
1068
+ # resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
986
1069
  # resp.cluster_info_list[0].tags #=> Hash
987
1070
  # resp.cluster_info_list[0].tags["__string"] #=> String
988
1071
  # resp.cluster_info_list[0].zookeeper_connect_string #=> String
1072
+ # resp.cluster_info_list[0].zookeeper_connect_string_tls #=> String
989
1073
  # resp.next_token #=> String
990
1074
  #
991
1075
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusters AWS API Documentation
@@ -1173,6 +1257,45 @@ module Aws::Kafka
1173
1257
  req.send_request(options)
1174
1258
  end
1175
1259
 
1260
+ # Returns a list of the Scram Secrets associated with an Amazon MSK
1261
+ # cluster.
1262
+ #
1263
+ # @option params [required, String] :cluster_arn
1264
+ #
1265
+ # @option params [Integer] :max_results
1266
+ #
1267
+ # @option params [String] :next_token
1268
+ #
1269
+ # @return [Types::ListScramSecretsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1270
+ #
1271
+ # * {Types::ListScramSecretsResponse#next_token #next_token} => String
1272
+ # * {Types::ListScramSecretsResponse#secret_arn_list #secret_arn_list} => Array&lt;String&gt;
1273
+ #
1274
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1275
+ #
1276
+ # @example Request syntax with placeholder values
1277
+ #
1278
+ # resp = client.list_scram_secrets({
1279
+ # cluster_arn: "__string", # required
1280
+ # max_results: 1,
1281
+ # next_token: "__string",
1282
+ # })
1283
+ #
1284
+ # @example Response structure
1285
+ #
1286
+ # resp.next_token #=> String
1287
+ # resp.secret_arn_list #=> Array
1288
+ # resp.secret_arn_list[0] #=> String
1289
+ #
1290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecrets AWS API Documentation
1291
+ #
1292
+ # @overload list_scram_secrets(params = {})
1293
+ # @param [Hash] params ({})
1294
+ def list_scram_secrets(params = {}, options = {})
1295
+ req = build_request(:list_scram_secrets, params)
1296
+ req.send_request(options)
1297
+ end
1298
+
1176
1299
  # Returns a list of the tags associated with the specified resource.
1177
1300
  #
1178
1301
  # @option params [required, String] :resource_arn
@@ -1532,7 +1655,7 @@ module Aws::Kafka
1532
1655
  # resp = client.update_monitoring({
1533
1656
  # cluster_arn: "__string", # required
1534
1657
  # current_version: "__string", # required
1535
- # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
1658
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
1536
1659
  # open_monitoring: {
1537
1660
  # prometheus: { # required
1538
1661
  # jmx_exporter: {
@@ -1589,7 +1712,7 @@ module Aws::Kafka
1589
1712
  params: params,
1590
1713
  config: config)
1591
1714
  context[:gem_name] = 'aws-sdk-kafka'
1592
- context[:gem_version] = '1.26.0'
1715
+ context[:gem_version] = '1.31.0'
1593
1716
  Seahorse::Client::Request.new(handlers, context)
1594
1717
  end
1595
1718
 
@@ -14,6 +14,10 @@ module Aws::Kafka
14
14
  include Seahorse::Model
15
15
 
16
16
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
17
+ BatchAssociateScramSecretRequest = Shapes::StructureShape.new(name: 'BatchAssociateScramSecretRequest')
18
+ BatchAssociateScramSecretResponse = Shapes::StructureShape.new(name: 'BatchAssociateScramSecretResponse')
19
+ BatchDisassociateScramSecretRequest = Shapes::StructureShape.new(name: 'BatchDisassociateScramSecretRequest')
20
+ BatchDisassociateScramSecretResponse = Shapes::StructureShape.new(name: 'BatchDisassociateScramSecretResponse')
17
21
  BrokerAZDistribution = Shapes::StringShape.new(name: 'BrokerAZDistribution')
18
22
  BrokerEBSVolumeInfo = Shapes::StructureShape.new(name: 'BrokerEBSVolumeInfo')
19
23
  BrokerLogs = Shapes::StructureShape.new(name: 'BrokerLogs')
@@ -80,6 +84,8 @@ module Aws::Kafka
80
84
  ListKafkaVersionsResponse = Shapes::StructureShape.new(name: 'ListKafkaVersionsResponse')
81
85
  ListNodesRequest = Shapes::StructureShape.new(name: 'ListNodesRequest')
82
86
  ListNodesResponse = Shapes::StructureShape.new(name: 'ListNodesResponse')
87
+ ListScramSecretsRequest = Shapes::StructureShape.new(name: 'ListScramSecretsRequest')
88
+ ListScramSecretsResponse = Shapes::StructureShape.new(name: 'ListScramSecretsResponse')
83
89
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
84
90
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
85
91
  LoggingInfo = Shapes::StructureShape.new(name: 'LoggingInfo')
@@ -97,6 +103,8 @@ module Aws::Kafka
97
103
  RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
98
104
  RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
99
105
  S3 = Shapes::StructureShape.new(name: 'S3')
106
+ Sasl = Shapes::StructureShape.new(name: 'Sasl')
107
+ Scram = Shapes::StructureShape.new(name: 'Scram')
100
108
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
101
109
  StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
102
110
  StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
@@ -104,6 +112,7 @@ module Aws::Kafka
104
112
  Tls = Shapes::StructureShape.new(name: 'Tls')
105
113
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
106
114
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
115
+ UnprocessedScramSecret = Shapes::StructureShape.new(name: 'UnprocessedScramSecret')
107
116
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
108
117
  UpdateBrokerCountRequest = Shapes::StructureShape.new(name: 'UpdateBrokerCountRequest')
109
118
  UpdateBrokerCountResponse = Shapes::StructureShape.new(name: 'UpdateBrokerCountResponse')
@@ -133,6 +142,7 @@ module Aws::Kafka
133
142
  __listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
134
143
  __listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
135
144
  __listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
145
+ __listOfUnprocessedScramSecret = Shapes::ListShape.new(name: '__listOfUnprocessedScramSecret')
136
146
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
137
147
  __long = Shapes::IntegerShape.new(name: '__long')
138
148
  __mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
@@ -146,6 +156,22 @@ module Aws::Kafka
146
156
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
147
157
  BadRequestException.struct_class = Types::BadRequestException
148
158
 
159
+ BatchAssociateScramSecretRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
160
+ BatchAssociateScramSecretRequest.add_member(:secret_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "secretArnList"))
161
+ BatchAssociateScramSecretRequest.struct_class = Types::BatchAssociateScramSecretRequest
162
+
163
+ BatchAssociateScramSecretResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
164
+ BatchAssociateScramSecretResponse.add_member(:unprocessed_scram_secrets, Shapes::ShapeRef.new(shape: __listOfUnprocessedScramSecret, location_name: "unprocessedScramSecrets"))
165
+ BatchAssociateScramSecretResponse.struct_class = Types::BatchAssociateScramSecretResponse
166
+
167
+ BatchDisassociateScramSecretRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
168
+ BatchDisassociateScramSecretRequest.add_member(:secret_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "secretArnList"))
169
+ BatchDisassociateScramSecretRequest.struct_class = Types::BatchDisassociateScramSecretRequest
170
+
171
+ BatchDisassociateScramSecretResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
172
+ BatchDisassociateScramSecretResponse.add_member(:unprocessed_scram_secrets, Shapes::ShapeRef.new(shape: __listOfUnprocessedScramSecret, location_name: "unprocessedScramSecrets"))
173
+ BatchDisassociateScramSecretResponse.struct_class = Types::BatchDisassociateScramSecretResponse
174
+
149
175
  BrokerEBSVolumeInfo.add_member(:kafka_broker_node_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "kafkaBrokerNodeId"))
150
176
  BrokerEBSVolumeInfo.add_member(:volume_size_gb, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "volumeSizeGB"))
151
177
  BrokerEBSVolumeInfo.struct_class = Types::BrokerEBSVolumeInfo
@@ -175,6 +201,7 @@ module Aws::Kafka
175
201
  BrokerSoftwareInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
176
202
  BrokerSoftwareInfo.struct_class = Types::BrokerSoftwareInfo
177
203
 
204
+ ClientAuthentication.add_member(:sasl, Shapes::ShapeRef.new(shape: Sasl, location_name: "sasl"))
178
205
  ClientAuthentication.add_member(:tls, Shapes::ShapeRef.new(shape: Tls, location_name: "tls"))
179
206
  ClientAuthentication.struct_class = Types::ClientAuthentication
180
207
 
@@ -198,6 +225,7 @@ module Aws::Kafka
198
225
  ClusterInfo.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
199
226
  ClusterInfo.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
200
227
  ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
228
+ ClusterInfo.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
201
229
  ClusterInfo.struct_class = Types::ClusterInfo
202
230
 
203
231
  ClusterOperationInfo.add_member(:client_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "clientRequestId"))
@@ -362,6 +390,7 @@ module Aws::Kafka
362
390
 
363
391
  GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerString"))
364
392
  GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringTls"))
393
+ GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_sasl_scram, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringSaslScram"))
365
394
  GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
366
395
 
367
396
  GetCompatibleKafkaVersionsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterArn"))
@@ -436,6 +465,15 @@ module Aws::Kafka
436
465
  ListNodesResponse.add_member(:node_info_list, Shapes::ShapeRef.new(shape: __listOfNodeInfo, location_name: "nodeInfoList"))
437
466
  ListNodesResponse.struct_class = Types::ListNodesResponse
438
467
 
468
+ ListScramSecretsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
469
+ ListScramSecretsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
470
+ ListScramSecretsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
471
+ ListScramSecretsRequest.struct_class = Types::ListScramSecretsRequest
472
+
473
+ ListScramSecretsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
474
+ ListScramSecretsResponse.add_member(:secret_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "secretArnList"))
475
+ ListScramSecretsResponse.struct_class = Types::ListScramSecretsResponse
476
+
439
477
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
440
478
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
441
479
 
@@ -499,6 +537,12 @@ module Aws::Kafka
499
537
  S3.add_member(:prefix, Shapes::ShapeRef.new(shape: __string, location_name: "prefix"))
500
538
  S3.struct_class = Types::S3
501
539
 
540
+ Sasl.add_member(:scram, Shapes::ShapeRef.new(shape: Scram, location_name: "scram"))
541
+ Sasl.struct_class = Types::Sasl
542
+
543
+ Scram.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
544
+ Scram.struct_class = Types::Scram
545
+
502
546
  ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
503
547
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
504
548
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
@@ -525,6 +569,11 @@ module Aws::Kafka
525
569
  UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
526
570
  UnauthorizedException.struct_class = Types::UnauthorizedException
527
571
 
572
+ UnprocessedScramSecret.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
573
+ UnprocessedScramSecret.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
574
+ UnprocessedScramSecret.add_member(:secret_arn, Shapes::ShapeRef.new(shape: __string, location_name: "secretArn"))
575
+ UnprocessedScramSecret.struct_class = Types::UnprocessedScramSecret
576
+
528
577
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
529
578
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
530
579
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -611,6 +660,8 @@ module Aws::Kafka
611
660
 
612
661
  __listOfNodeInfo.member = Shapes::ShapeRef.new(shape: NodeInfo)
613
662
 
663
+ __listOfUnprocessedScramSecret.member = Shapes::ShapeRef.new(shape: UnprocessedScramSecret)
664
+
614
665
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
615
666
 
616
667
  __mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
@@ -635,6 +686,21 @@ module Aws::Kafka
635
686
  "uid" => "kafka-2018-11-14",
636
687
  }
637
688
 
689
+ api.add_operation(:batch_associate_scram_secret, Seahorse::Model::Operation.new.tap do |o|
690
+ o.name = "BatchAssociateScramSecret"
691
+ o.http_method = "POST"
692
+ o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
693
+ o.input = Shapes::ShapeRef.new(shape: BatchAssociateScramSecretRequest)
694
+ o.output = Shapes::ShapeRef.new(shape: BatchAssociateScramSecretResponse)
695
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
696
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
697
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
698
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
699
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
700
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
701
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
702
+ end)
703
+
638
704
  api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
639
705
  o.name = "CreateCluster"
640
706
  o.http_method = "POST"
@@ -743,6 +809,21 @@ module Aws::Kafka
743
809
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
744
810
  end)
745
811
 
812
+ api.add_operation(:batch_disassociate_scram_secret, Seahorse::Model::Operation.new.tap do |o|
813
+ o.name = "BatchDisassociateScramSecret"
814
+ o.http_method = "PATCH"
815
+ o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
816
+ o.input = Shapes::ShapeRef.new(shape: BatchDisassociateScramSecretRequest)
817
+ o.output = Shapes::ShapeRef.new(shape: BatchDisassociateScramSecretResponse)
818
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
819
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
820
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
821
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
822
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
823
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
824
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
825
+ end)
826
+
746
827
  api.add_operation(:get_bootstrap_brokers, Seahorse::Model::Operation.new.tap do |o|
747
828
  o.name = "GetBootstrapBrokers"
748
829
  o.http_method = "GET"
@@ -882,6 +963,27 @@ module Aws::Kafka
882
963
  )
883
964
  end)
884
965
 
966
+ api.add_operation(:list_scram_secrets, Seahorse::Model::Operation.new.tap do |o|
967
+ o.name = "ListScramSecrets"
968
+ o.http_method = "GET"
969
+ o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
970
+ o.input = Shapes::ShapeRef.new(shape: ListScramSecretsRequest)
971
+ o.output = Shapes::ShapeRef.new(shape: ListScramSecretsResponse)
972
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
973
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
974
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
975
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
976
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
977
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
978
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
979
+ o[:pager] = Aws::Pager.new(
980
+ limit_key: "max_results",
981
+ tokens: {
982
+ "next_token" => "next_token"
983
+ }
984
+ )
985
+ end)
986
+
885
987
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
886
988
  o.name = "ListTagsForResource"
887
989
  o.http_method = "GET"
@@ -10,6 +10,51 @@
10
10
  module Aws::Kafka
11
11
  module Types
12
12
 
13
+ # Request body for BatchAssociateScramSecret.
14
+ #
15
+ # @note When making an API call, you may pass BatchAssociateScramSecretRequest
16
+ # data as a hash:
17
+ #
18
+ # {
19
+ # cluster_arn: "__string", # required
20
+ # secret_arn_list: ["__string"], # required
21
+ # }
22
+ #
23
+ # @!attribute [rw] cluster_arn
24
+ # @return [String]
25
+ #
26
+ # @!attribute [rw] secret_arn_list
27
+ # List of AWS Secrets Manager secret ARNs.
28
+ # @return [Array<String>]
29
+ #
30
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchAssociateScramSecretRequest AWS API Documentation
31
+ #
32
+ class BatchAssociateScramSecretRequest < Struct.new(
33
+ :cluster_arn,
34
+ :secret_arn_list)
35
+ SENSITIVE = []
36
+ include Aws::Structure
37
+ end
38
+
39
+ # Response body for BatchAssociateScramSecret.
40
+ #
41
+ # @!attribute [rw] cluster_arn
42
+ # The Amazon Resource Name (ARN) of the cluster.
43
+ # @return [String]
44
+ #
45
+ # @!attribute [rw] unprocessed_scram_secrets
46
+ # List of errors when associating secrets to cluster.
47
+ # @return [Array<Types::UnprocessedScramSecret>]
48
+ #
49
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchAssociateScramSecretResponse AWS API Documentation
50
+ #
51
+ class BatchAssociateScramSecretResponse < Struct.new(
52
+ :cluster_arn,
53
+ :unprocessed_scram_secrets)
54
+ SENSITIVE = []
55
+ include Aws::Structure
56
+ end
57
+
13
58
  # Returns information about an error.
14
59
  #
15
60
  # @!attribute [rw] invalid_parameter
@@ -235,11 +280,19 @@ module Aws::Kafka
235
280
  # data as a hash:
236
281
  #
237
282
  # {
283
+ # sasl: {
284
+ # scram: {
285
+ # enabled: false,
286
+ # },
287
+ # },
238
288
  # tls: {
239
289
  # certificate_authority_arn_list: ["__string"],
240
290
  # },
241
291
  # }
242
292
  #
293
+ # @!attribute [rw] sasl
294
+ # @return [Types::Sasl]
295
+ #
243
296
  # @!attribute [rw] tls
244
297
  # Details for ClientAuthentication using TLS.
245
298
  # @return [Types::Tls]
@@ -247,6 +300,7 @@ module Aws::Kafka
247
300
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClientAuthentication AWS API Documentation
248
301
  #
249
302
  class ClientAuthentication < Struct.new(
303
+ :sasl,
250
304
  :tls)
251
305
  SENSITIVE = []
252
306
  include Aws::Structure
@@ -329,9 +383,10 @@ module Aws::Kafka
329
383
  #
330
384
  # @!attribute [rw] enhanced_monitoring
331
385
  # Specifies which metrics are gathered for the MSK cluster. This
332
- # property has three possible values: DEFAULT, PER\_BROKER, and
333
- # PER\_TOPIC\_PER\_BROKER. For a list of the metrics associated with
334
- # each of these three levels of monitoring, see [Monitoring][1].
386
+ # property has the following possible values: DEFAULT, PER\_BROKER,
387
+ # PER\_TOPIC\_PER\_BROKER, and PER\_TOPIC\_PER\_PARTITION. For a list
388
+ # of the metrics associated with each of these levels of monitoring,
389
+ # see [Monitoring][1].
335
390
  #
336
391
  #
337
392
  #
@@ -347,8 +402,8 @@ module Aws::Kafka
347
402
  # @return [Types::OpenMonitoring]
348
403
  #
349
404
  # @!attribute [rw] state
350
- # The state of the cluster. The possible states are CREATING, ACTIVE,
351
- # and FAILED.
405
+ # The state of the cluster. The possible states are ACTIVE, CREATING,
406
+ # DELETING, FAILED, MAINTENANCE, REBOOTING\_BROKER, and UPDATING.
352
407
  # @return [String]
353
408
  #
354
409
  # @!attribute [rw] tags
@@ -360,6 +415,11 @@ module Aws::Kafka
360
415
  # cluster.
361
416
  # @return [String]
362
417
  #
418
+ # @!attribute [rw] zookeeper_connect_string_tls
419
+ # The connection string to use to connect to zookeeper cluster on Tls
420
+ # port.
421
+ # @return [String]
422
+ #
363
423
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterInfo AWS API Documentation
364
424
  #
365
425
  class ClusterInfo < Struct.new(
@@ -378,7 +438,8 @@ module Aws::Kafka
378
438
  :open_monitoring,
379
439
  :state,
380
440
  :tags,
381
- :zookeeper_connect_string)
441
+ :zookeeper_connect_string,
442
+ :zookeeper_connect_string_tls)
382
443
  SENSITIVE = []
383
444
  include Aws::Structure
384
445
  end
@@ -630,6 +691,11 @@ module Aws::Kafka
630
691
  # },
631
692
  # },
632
693
  # client_authentication: {
694
+ # sasl: {
695
+ # scram: {
696
+ # enabled: false,
697
+ # },
698
+ # },
633
699
  # tls: {
634
700
  # certificate_authority_arn_list: ["__string"],
635
701
  # },
@@ -648,7 +714,7 @@ module Aws::Kafka
648
714
  # in_cluster: false,
649
715
  # },
650
716
  # },
651
- # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
717
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
652
718
  # kafka_version: "__stringMin1Max128", # required
653
719
  # logging_info: {
654
720
  # broker_logs: { # required
@@ -706,7 +772,8 @@ module Aws::Kafka
706
772
  #
707
773
  # @!attribute [rw] enhanced_monitoring
708
774
  # Specifies the level of monitoring for the MSK cluster. The possible
709
- # values are DEFAULT, PER\_BROKER, and PER\_TOPIC\_PER\_BROKER.
775
+ # values are DEFAULT, PER\_BROKER, PER\_TOPIC\_PER\_BROKER, and
776
+ # PER\_TOPIC\_PER\_PARTITION.
710
777
  # @return [String]
711
778
  #
712
779
  # @!attribute [rw] kafka_version
@@ -758,8 +825,8 @@ module Aws::Kafka
758
825
  # @return [String]
759
826
  #
760
827
  # @!attribute [rw] state
761
- # The state of the cluster. The possible states are CREATING, ACTIVE,
762
- # and FAILED.
828
+ # The state of the cluster. The possible states are ACTIVE, CREATING,
829
+ # DELETING, FAILED, MAINTENANCE, REBOOTING\_BROKER, and UPDATING.
763
830
  # @return [String]
764
831
  #
765
832
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterResponse AWS API Documentation
@@ -878,8 +945,8 @@ module Aws::Kafka
878
945
  # @return [String]
879
946
  #
880
947
  # @!attribute [rw] state
881
- # The state of the cluster. The possible states are CREATING, ACTIVE,
882
- # and FAILED.
948
+ # The state of the cluster. The possible states are ACTIVE, CREATING,
949
+ # DELETING, FAILED, MAINTENANCE, REBOOTING\_BROKER, and UPDATING.
883
950
  # @return [String]
884
951
  #
885
952
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteClusterResponse AWS API Documentation
@@ -1117,6 +1184,51 @@ module Aws::Kafka
1117
1184
  include Aws::Structure
1118
1185
  end
1119
1186
 
1187
+ # Request body for BatchDisassociateScramSecret.
1188
+ #
1189
+ # @note When making an API call, you may pass BatchDisassociateScramSecretRequest
1190
+ # data as a hash:
1191
+ #
1192
+ # {
1193
+ # cluster_arn: "__string", # required
1194
+ # secret_arn_list: ["__string"], # required
1195
+ # }
1196
+ #
1197
+ # @!attribute [rw] cluster_arn
1198
+ # @return [String]
1199
+ #
1200
+ # @!attribute [rw] secret_arn_list
1201
+ # List of AWS Secrets Manager secret ARNs.
1202
+ # @return [Array<String>]
1203
+ #
1204
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecretRequest AWS API Documentation
1205
+ #
1206
+ class BatchDisassociateScramSecretRequest < Struct.new(
1207
+ :cluster_arn,
1208
+ :secret_arn_list)
1209
+ SENSITIVE = []
1210
+ include Aws::Structure
1211
+ end
1212
+
1213
+ # Response body for BatchDisassociateScramSecret.
1214
+ #
1215
+ # @!attribute [rw] cluster_arn
1216
+ # The Amazon Resource Name (ARN) of the cluster.
1217
+ # @return [String]
1218
+ #
1219
+ # @!attribute [rw] unprocessed_scram_secrets
1220
+ # List of errors when disassociating secrets to cluster.
1221
+ # @return [Array<Types::UnprocessedScramSecret>]
1222
+ #
1223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecretResponse AWS API Documentation
1224
+ #
1225
+ class BatchDisassociateScramSecretResponse < Struct.new(
1226
+ :cluster_arn,
1227
+ :unprocessed_scram_secrets)
1228
+ SENSITIVE = []
1229
+ include Aws::Structure
1230
+ end
1231
+
1120
1232
  # Contains information about the EBS storage volumes attached to Kafka
1121
1233
  # broker nodes.
1122
1234
  #
@@ -1353,11 +1465,19 @@ module Aws::Kafka
1353
1465
  # <programlisting>\{ "BootstrapBrokerStringTls": "b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094,b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094" \}</programlisting>
1354
1466
  # @return [String]
1355
1467
  #
1468
+ # @!attribute [rw] bootstrap_broker_string_sasl_scram
1469
+ # A string containing one or more DNS names (or IP) and SASL SCRAM
1470
+ # port pairs. The following is an example.
1471
+ #
1472
+ # <programlisting>\{ "BootstrapBrokerStringSaslScram": "b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096,b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096" \}</programlisting>
1473
+ # @return [String]
1474
+ #
1356
1475
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokersResponse AWS API Documentation
1357
1476
  #
1358
1477
  class GetBootstrapBrokersResponse < Struct.new(
1359
1478
  :bootstrap_broker_string,
1360
- :bootstrap_broker_string_tls)
1479
+ :bootstrap_broker_string_tls,
1480
+ :bootstrap_broker_string_sasl_scram)
1361
1481
  SENSITIVE = []
1362
1482
  include Aws::Structure
1363
1483
  end
@@ -1716,6 +1836,53 @@ module Aws::Kafka
1716
1836
  include Aws::Structure
1717
1837
  end
1718
1838
 
1839
+ # @note When making an API call, you may pass ListScramSecretsRequest
1840
+ # data as a hash:
1841
+ #
1842
+ # {
1843
+ # cluster_arn: "__string", # required
1844
+ # max_results: 1,
1845
+ # next_token: "__string",
1846
+ # }
1847
+ #
1848
+ # @!attribute [rw] cluster_arn
1849
+ # @return [String]
1850
+ #
1851
+ # @!attribute [rw] max_results
1852
+ # @return [Integer]
1853
+ #
1854
+ # @!attribute [rw] next_token
1855
+ # @return [String]
1856
+ #
1857
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecretsRequest AWS API Documentation
1858
+ #
1859
+ class ListScramSecretsRequest < Struct.new(
1860
+ :cluster_arn,
1861
+ :max_results,
1862
+ :next_token)
1863
+ SENSITIVE = []
1864
+ include Aws::Structure
1865
+ end
1866
+
1867
+ # Information about scram secrets associated to the cluster.
1868
+ #
1869
+ # @!attribute [rw] next_token
1870
+ # Paginated results marker.
1871
+ # @return [String]
1872
+ #
1873
+ # @!attribute [rw] secret_arn_list
1874
+ # The list of scram secrets associated with the cluster.
1875
+ # @return [Array<String>]
1876
+ #
1877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecretsResponse AWS API Documentation
1878
+ #
1879
+ class ListScramSecretsResponse < Struct.new(
1880
+ :next_token,
1881
+ :secret_arn_list)
1882
+ SENSITIVE = []
1883
+ include Aws::Structure
1884
+ end
1885
+
1719
1886
  # @note When making an API call, you may pass ListTagsForResourceRequest
1720
1887
  # data as a hash:
1721
1888
  #
@@ -1889,6 +2056,44 @@ module Aws::Kafka
1889
2056
  include Aws::Structure
1890
2057
  end
1891
2058
 
2059
+ # @note When making an API call, you may pass Sasl
2060
+ # data as a hash:
2061
+ #
2062
+ # {
2063
+ # scram: {
2064
+ # enabled: false,
2065
+ # },
2066
+ # }
2067
+ #
2068
+ # @!attribute [rw] scram
2069
+ # @return [Types::Scram]
2070
+ #
2071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Sasl AWS API Documentation
2072
+ #
2073
+ class Sasl < Struct.new(
2074
+ :scram)
2075
+ SENSITIVE = []
2076
+ include Aws::Structure
2077
+ end
2078
+
2079
+ # @note When making an API call, you may pass Scram
2080
+ # data as a hash:
2081
+ #
2082
+ # {
2083
+ # enabled: false,
2084
+ # }
2085
+ #
2086
+ # @!attribute [rw] enabled
2087
+ # @return [Boolean]
2088
+ #
2089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Scram AWS API Documentation
2090
+ #
2091
+ class Scram < Struct.new(
2092
+ :enabled)
2093
+ SENSITIVE = []
2094
+ include Aws::Structure
2095
+ end
2096
+
1892
2097
  # Returns information about an error.
1893
2098
  #
1894
2099
  # @!attribute [rw] invalid_parameter
@@ -2034,6 +2239,25 @@ module Aws::Kafka
2034
2239
  include Aws::Structure
2035
2240
  end
2036
2241
 
2242
+ # @!attribute [rw] error_code
2243
+ # @return [String]
2244
+ #
2245
+ # @!attribute [rw] error_message
2246
+ # @return [String]
2247
+ #
2248
+ # @!attribute [rw] secret_arn
2249
+ # @return [String]
2250
+ #
2251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UnprocessedScramSecret AWS API Documentation
2252
+ #
2253
+ class UnprocessedScramSecret < Struct.new(
2254
+ :error_code,
2255
+ :error_message,
2256
+ :secret_arn)
2257
+ SENSITIVE = []
2258
+ include Aws::Structure
2259
+ end
2260
+
2037
2261
  # @note When making an API call, you may pass UntagResourceRequest
2038
2262
  # data as a hash:
2039
2263
  #
@@ -2347,7 +2571,7 @@ module Aws::Kafka
2347
2571
  # {
2348
2572
  # cluster_arn: "__string", # required
2349
2573
  # current_version: "__string", # required
2350
- # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
2574
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
2351
2575
  # open_monitoring: {
2352
2576
  # prometheus: { # required
2353
2577
  # jmx_exporter: {
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.26.0
4
+ version: 1.31.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: 2020-08-25 00:00:00.000000000 Z
11
+ date: 2020-11-23 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.99.0
22
+ version: 3.109.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.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement