aws-sdk-kafka 1.24.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kafka.rb +4 -3
- data/lib/aws-sdk-kafka/client.rb +231 -17
- data/lib/aws-sdk-kafka/client_api.rb +151 -0
- data/lib/aws-sdk-kafka/types.rb +344 -11
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54835bf9598f283e4d65ee92264e6046ceaa4aad17eae8ae0cb29303469d0fff
|
4
|
+
data.tar.gz: 6a571e087071a3b9a47238b884e1f4431cc6bf1a325b814ad98b9445a8422fee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e38ae9a8b0807cd682f50776018ba9c430c348892a6a5878b814625c3e30ef8ac85bb63cf933ff8f8c44fbd9d7dd6f2d4257cb0da8fae411f4ec8e00f1c3e93
|
7
|
+
data.tar.gz: 3b7231070b343ca8d898e263f860f614a991668f286d24bd37ece9a188d0e9bfa9b734508fe9a1a1725da3cacbd7d0566ce6261ead77b34966e733a1c529edad
|
data/lib/aws-sdk-kafka.rb
CHANGED
@@ -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.
|
31
|
+
# resp = kafka.batch_associate_scram_secret(params)
|
31
32
|
#
|
32
33
|
# See {Client} for more information.
|
33
34
|
#
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-kafka/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::Kafka
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.30.0'
|
51
52
|
|
52
53
|
end
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::Kafka
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Kafka
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -312,6 +327,42 @@ module Aws::Kafka
|
|
312
327
|
|
313
328
|
# @!group API Operations
|
314
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<Types::UnprocessedScramSecret>
|
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
|
+
|
315
366
|
# Creates a new MSK cluster.
|
316
367
|
#
|
317
368
|
# @option params [required, Types::BrokerNodeGroupInfo] :broker_node_group_info
|
@@ -331,7 +382,8 @@ module Aws::Kafka
|
|
331
382
|
#
|
332
383
|
# @option params [String] :enhanced_monitoring
|
333
384
|
# Specifies the level of monitoring for the MSK cluster. The possible
|
334
|
-
# values are DEFAULT, PER\_BROKER,
|
385
|
+
# values are DEFAULT, PER\_BROKER, PER\_TOPIC\_PER\_BROKER, and
|
386
|
+
# PER\_TOPIC\_PER\_PARTITION.
|
335
387
|
#
|
336
388
|
# @option params [required, String] :kafka_version
|
337
389
|
# The version of Apache Kafka.
|
@@ -369,6 +421,11 @@ module Aws::Kafka
|
|
369
421
|
# },
|
370
422
|
# },
|
371
423
|
# client_authentication: {
|
424
|
+
# sasl: {
|
425
|
+
# scram: {
|
426
|
+
# enabled: false,
|
427
|
+
# },
|
428
|
+
# },
|
372
429
|
# tls: {
|
373
430
|
# certificate_authority_arn_list: ["__string"],
|
374
431
|
# },
|
@@ -387,7 +444,7 @@ module Aws::Kafka
|
|
387
444
|
# in_cluster: false,
|
388
445
|
# },
|
389
446
|
# },
|
390
|
-
# 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
|
391
448
|
# kafka_version: "__stringMin1Max128", # required
|
392
449
|
# logging_info: {
|
393
450
|
# broker_logs: { # required
|
@@ -458,6 +515,7 @@ module Aws::Kafka
|
|
458
515
|
# * {Types::CreateConfigurationResponse#creation_time #creation_time} => Time
|
459
516
|
# * {Types::CreateConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
460
517
|
# * {Types::CreateConfigurationResponse#name #name} => String
|
518
|
+
# * {Types::CreateConfigurationResponse#state #state} => String
|
461
519
|
#
|
462
520
|
# @example Request syntax with placeholder values
|
463
521
|
#
|
@@ -476,6 +534,7 @@ module Aws::Kafka
|
|
476
534
|
# resp.latest_revision.description #=> String
|
477
535
|
# resp.latest_revision.revision #=> Integer
|
478
536
|
# resp.name #=> String
|
537
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
479
538
|
#
|
480
539
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfiguration AWS API Documentation
|
481
540
|
#
|
@@ -519,6 +578,37 @@ module Aws::Kafka
|
|
519
578
|
req.send_request(options)
|
520
579
|
end
|
521
580
|
|
581
|
+
# Deletes the specified MSK configuration. The configuration must be in
|
582
|
+
# the ACTIVE or DELETE\_FAILED state.
|
583
|
+
#
|
584
|
+
# @option params [required, String] :arn
|
585
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
586
|
+
#
|
587
|
+
# @return [Types::DeleteConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
588
|
+
#
|
589
|
+
# * {Types::DeleteConfigurationResponse#arn #arn} => String
|
590
|
+
# * {Types::DeleteConfigurationResponse#state #state} => String
|
591
|
+
#
|
592
|
+
# @example Request syntax with placeholder values
|
593
|
+
#
|
594
|
+
# resp = client.delete_configuration({
|
595
|
+
# arn: "__string", # required
|
596
|
+
# })
|
597
|
+
#
|
598
|
+
# @example Response structure
|
599
|
+
#
|
600
|
+
# resp.arn #=> String
|
601
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
602
|
+
#
|
603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfiguration AWS API Documentation
|
604
|
+
#
|
605
|
+
# @overload delete_configuration(params = {})
|
606
|
+
# @param [Hash] params ({})
|
607
|
+
def delete_configuration(params = {}, options = {})
|
608
|
+
req = build_request(:delete_configuration, params)
|
609
|
+
req.send_request(options)
|
610
|
+
end
|
611
|
+
|
522
612
|
# Returns a description of the MSK cluster whose Amazon Resource Name
|
523
613
|
# (ARN) is specified in the request.
|
524
614
|
#
|
@@ -544,6 +634,7 @@ module Aws::Kafka
|
|
544
634
|
# resp.cluster_info.broker_node_group_info.security_groups #=> Array
|
545
635
|
# resp.cluster_info.broker_node_group_info.security_groups[0] #=> String
|
546
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
|
547
638
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
548
639
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
549
640
|
# resp.cluster_info.cluster_arn #=> String
|
@@ -563,7 +654,7 @@ module Aws::Kafka
|
|
563
654
|
# resp.cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
564
655
|
# resp.cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
565
656
|
# resp.cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
566
|
-
# 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"
|
567
658
|
# resp.cluster_info.number_of_broker_nodes #=> Integer
|
568
659
|
# resp.cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
569
660
|
# resp.cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
@@ -571,6 +662,7 @@ module Aws::Kafka
|
|
571
662
|
# resp.cluster_info.tags #=> Hash
|
572
663
|
# resp.cluster_info.tags["__string"] #=> String
|
573
664
|
# resp.cluster_info.zookeeper_connect_string #=> String
|
665
|
+
# resp.cluster_info.zookeeper_connect_string_tls #=> String
|
574
666
|
#
|
575
667
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeCluster AWS API Documentation
|
576
668
|
#
|
@@ -617,7 +709,7 @@ module Aws::Kafka
|
|
617
709
|
# resp.cluster_operation_info.source_cluster_info.number_of_broker_nodes #=> Integer
|
618
710
|
# resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
619
711
|
# resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
620
|
-
# 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"
|
621
713
|
# resp.cluster_operation_info.source_cluster_info.kafka_version #=> String
|
622
714
|
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
623
715
|
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
@@ -634,7 +726,7 @@ module Aws::Kafka
|
|
634
726
|
# resp.cluster_operation_info.target_cluster_info.number_of_broker_nodes #=> Integer
|
635
727
|
# resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
636
728
|
# resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
637
|
-
# 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"
|
638
730
|
# resp.cluster_operation_info.target_cluster_info.kafka_version #=> String
|
639
731
|
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
640
732
|
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
@@ -665,6 +757,7 @@ module Aws::Kafka
|
|
665
757
|
# * {Types::DescribeConfigurationResponse#kafka_versions #kafka_versions} => Array<String>
|
666
758
|
# * {Types::DescribeConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
667
759
|
# * {Types::DescribeConfigurationResponse#name #name} => String
|
760
|
+
# * {Types::DescribeConfigurationResponse#state #state} => String
|
668
761
|
#
|
669
762
|
# @example Request syntax with placeholder values
|
670
763
|
#
|
@@ -683,6 +776,7 @@ module Aws::Kafka
|
|
683
776
|
# resp.latest_revision.description #=> String
|
684
777
|
# resp.latest_revision.revision #=> Integer
|
685
778
|
# resp.name #=> String
|
779
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
686
780
|
#
|
687
781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfiguration AWS API Documentation
|
688
782
|
#
|
@@ -731,6 +825,42 @@ module Aws::Kafka
|
|
731
825
|
req.send_request(options)
|
732
826
|
end
|
733
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<Types::UnprocessedScramSecret>
|
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
|
+
|
734
864
|
# A list of brokers that a client application can use to bootstrap.
|
735
865
|
#
|
736
866
|
# @option params [required, String] :cluster_arn
|
@@ -739,6 +869,7 @@ module Aws::Kafka
|
|
739
869
|
#
|
740
870
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string #bootstrap_broker_string} => String
|
741
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
|
742
873
|
#
|
743
874
|
# @example Request syntax with placeholder values
|
744
875
|
#
|
@@ -750,6 +881,7 @@ module Aws::Kafka
|
|
750
881
|
#
|
751
882
|
# resp.bootstrap_broker_string #=> String
|
752
883
|
# resp.bootstrap_broker_string_tls #=> String
|
884
|
+
# resp.bootstrap_broker_string_sasl_scram #=> String
|
753
885
|
#
|
754
886
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokers AWS API Documentation
|
755
887
|
#
|
@@ -838,7 +970,7 @@ module Aws::Kafka
|
|
838
970
|
# resp.cluster_operation_info_list[0].source_cluster_info.number_of_broker_nodes #=> Integer
|
839
971
|
# resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
840
972
|
# resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
841
|
-
# 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"
|
842
974
|
# resp.cluster_operation_info_list[0].source_cluster_info.kafka_version #=> String
|
843
975
|
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
844
976
|
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
@@ -855,7 +987,7 @@ module Aws::Kafka
|
|
855
987
|
# resp.cluster_operation_info_list[0].target_cluster_info.number_of_broker_nodes #=> Integer
|
856
988
|
# resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
857
989
|
# resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
858
|
-
# 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"
|
859
991
|
# resp.cluster_operation_info_list[0].target_cluster_info.kafka_version #=> String
|
860
992
|
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
861
993
|
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
@@ -909,6 +1041,7 @@ module Aws::Kafka
|
|
909
1041
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups #=> Array
|
910
1042
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups[0] #=> String
|
911
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
|
912
1045
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
|
913
1046
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
914
1047
|
# resp.cluster_info_list[0].cluster_arn #=> String
|
@@ -928,7 +1061,7 @@ module Aws::Kafka
|
|
928
1061
|
# resp.cluster_info_list[0].encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
929
1062
|
# resp.cluster_info_list[0].encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
930
1063
|
# resp.cluster_info_list[0].encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
931
|
-
# 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"
|
932
1065
|
# resp.cluster_info_list[0].number_of_broker_nodes #=> Integer
|
933
1066
|
# resp.cluster_info_list[0].open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
934
1067
|
# resp.cluster_info_list[0].open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
@@ -936,6 +1069,7 @@ module Aws::Kafka
|
|
936
1069
|
# resp.cluster_info_list[0].tags #=> Hash
|
937
1070
|
# resp.cluster_info_list[0].tags["__string"] #=> String
|
938
1071
|
# resp.cluster_info_list[0].zookeeper_connect_string #=> String
|
1072
|
+
# resp.cluster_info_list[0].zookeeper_connect_string_tls #=> String
|
939
1073
|
# resp.next_token #=> String
|
940
1074
|
#
|
941
1075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusters AWS API Documentation
|
@@ -1019,6 +1153,7 @@ module Aws::Kafka
|
|
1019
1153
|
# resp.configurations[0].latest_revision.description #=> String
|
1020
1154
|
# resp.configurations[0].latest_revision.revision #=> Integer
|
1021
1155
|
# resp.configurations[0].name #=> String
|
1156
|
+
# resp.configurations[0].state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
1022
1157
|
# resp.next_token #=> String
|
1023
1158
|
#
|
1024
1159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurations AWS API Documentation
|
@@ -1122,6 +1257,45 @@ module Aws::Kafka
|
|
1122
1257
|
req.send_request(options)
|
1123
1258
|
end
|
1124
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<String>
|
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
|
+
|
1125
1299
|
# Returns a list of the tags associated with the specified resource.
|
1126
1300
|
#
|
1127
1301
|
# @option params [required, String] :resource_arn
|
@@ -1325,6 +1499,46 @@ module Aws::Kafka
|
|
1325
1499
|
req.send_request(options)
|
1326
1500
|
end
|
1327
1501
|
|
1502
|
+
# Updates an existing MSK configuration. The configuration must be in
|
1503
|
+
# the Active state.
|
1504
|
+
#
|
1505
|
+
# @option params [required, String] :arn
|
1506
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
1507
|
+
#
|
1508
|
+
# @option params [String] :description
|
1509
|
+
# The description of the configuration.
|
1510
|
+
#
|
1511
|
+
# @option params [required, String, StringIO, File] :server_properties
|
1512
|
+
#
|
1513
|
+
# @return [Types::UpdateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1514
|
+
#
|
1515
|
+
# * {Types::UpdateConfigurationResponse#arn #arn} => String
|
1516
|
+
# * {Types::UpdateConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
1517
|
+
#
|
1518
|
+
# @example Request syntax with placeholder values
|
1519
|
+
#
|
1520
|
+
# resp = client.update_configuration({
|
1521
|
+
# arn: "__string", # required
|
1522
|
+
# description: "__string",
|
1523
|
+
# server_properties: "data", # required
|
1524
|
+
# })
|
1525
|
+
#
|
1526
|
+
# @example Response structure
|
1527
|
+
#
|
1528
|
+
# resp.arn #=> String
|
1529
|
+
# resp.latest_revision.creation_time #=> Time
|
1530
|
+
# resp.latest_revision.description #=> String
|
1531
|
+
# resp.latest_revision.revision #=> Integer
|
1532
|
+
#
|
1533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfiguration AWS API Documentation
|
1534
|
+
#
|
1535
|
+
# @overload update_configuration(params = {})
|
1536
|
+
# @param [Hash] params ({})
|
1537
|
+
def update_configuration(params = {}, options = {})
|
1538
|
+
req = build_request(:update_configuration, params)
|
1539
|
+
req.send_request(options)
|
1540
|
+
end
|
1541
|
+
|
1328
1542
|
# Updates the cluster with the configuration that is specified in the
|
1329
1543
|
# request body.
|
1330
1544
|
#
|
@@ -1441,7 +1655,7 @@ module Aws::Kafka
|
|
1441
1655
|
# resp = client.update_monitoring({
|
1442
1656
|
# cluster_arn: "__string", # required
|
1443
1657
|
# current_version: "__string", # required
|
1444
|
-
# 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
|
1445
1659
|
# open_monitoring: {
|
1446
1660
|
# prometheus: { # required
|
1447
1661
|
# jmx_exporter: {
|
@@ -1498,7 +1712,7 @@ module Aws::Kafka
|
|
1498
1712
|
params: params,
|
1499
1713
|
config: config)
|
1500
1714
|
context[:gem_name] = 'aws-sdk-kafka'
|
1501
|
-
context[:gem_version] = '1.
|
1715
|
+
context[:gem_version] = '1.30.0'
|
1502
1716
|
Seahorse::Client::Request.new(handlers, context)
|
1503
1717
|
end
|
1504
1718
|
|