aws-sdk-kafka 1.41.0 → 1.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafka/client.rb +391 -5
- data/lib/aws-sdk-kafka/client_api.rb +188 -0
- data/lib/aws-sdk-kafka/types.rb +975 -153
- data/lib/aws-sdk-kafka.rb +1 -1
- 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: 979dc9b53e23cb9f94ec4d473c8197b0add63868ae62eca3e9acfc5f76ce48d5
|
4
|
+
data.tar.gz: 58f196f5fe3b5e094be3184fd3c1ca27a6b2bf5a9054681919edec7b0687ee39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d97046c1220aeb5dfcf08f5dbba062e77fd2eafc9b8504fa3f16272a1a2da031e0f83b0e9506cdbdd807e75c0e90e2e4897304d7678c844e3037b0243c6c551
|
7
|
+
data.tar.gz: bcd5c261a92494e466fb6bc14885eed1fd92eade2802786180135f5ba149ec9d9f1d08f8548632f422bb4c3f5e6de3632c1b957d5a80431750f75edf5ddc2143
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.45.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds three new V2 APIs. CreateClusterV2 for creating both provisioned and serverless clusters. DescribeClusterV2 for getting information about provisioned and serverless clusters and ListClustersV2 for listing all clusters (both provisioned and serverless) in your account.
|
8
|
+
|
9
|
+
1.44.0 (2021-11-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon MSK has added a new API that allows you to update the connectivity settings for an existing cluster to enable public accessibility.
|
13
|
+
|
14
|
+
1.43.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.42.0 (2021-10-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.41.0 (2021-09-21)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.0
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -119,7 +119,9 @@ module Aws::Kafka
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -275,6 +277,15 @@ module Aws::Kafka
|
|
275
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
278
|
# requests are made, and retries are disabled.
|
277
279
|
#
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
|
+
# will be used if available.
|
283
|
+
#
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
287
|
+
# is set to `true`.
|
288
|
+
#
|
278
289
|
# @option options [Boolean] :validate_params (true)
|
279
290
|
# When `true`, request parameters are validated before
|
280
291
|
# sending the request.
|
@@ -392,7 +403,7 @@ module Aws::Kafka
|
|
392
403
|
# LoggingInfo details.
|
393
404
|
#
|
394
405
|
# @option params [required, Integer] :number_of_broker_nodes
|
395
|
-
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
406
|
+
# The number of Apache Kafka broker nodes in the Amazon MSK cluster.
|
396
407
|
#
|
397
408
|
# @option params [Types::OpenMonitoringInfo] :open_monitoring
|
398
409
|
# The settings for open monitoring.
|
@@ -419,6 +430,11 @@ module Aws::Kafka
|
|
419
430
|
# volume_size: 1,
|
420
431
|
# },
|
421
432
|
# },
|
433
|
+
# connectivity_info: {
|
434
|
+
# public_access: {
|
435
|
+
# type: "__string",
|
436
|
+
# },
|
437
|
+
# },
|
422
438
|
# },
|
423
439
|
# client_authentication: {
|
424
440
|
# sasl: {
|
@@ -501,6 +517,146 @@ module Aws::Kafka
|
|
501
517
|
req.send_request(options)
|
502
518
|
end
|
503
519
|
|
520
|
+
# Creates a new Amazon MSK cluster of either the provisioned or the
|
521
|
+
# serverless type.
|
522
|
+
#
|
523
|
+
# @option params [required, String] :cluster_name
|
524
|
+
# The name of the cluster.
|
525
|
+
#
|
526
|
+
# @option params [Hash<String,String>] :tags
|
527
|
+
# A map of tags that you want the cluster to have.
|
528
|
+
#
|
529
|
+
# @option params [Types::ProvisionedRequest] :provisioned
|
530
|
+
# Creates a provisioned cluster.
|
531
|
+
#
|
532
|
+
# @option params [Types::ServerlessRequest] :serverless
|
533
|
+
# Creates a serverless cluster.
|
534
|
+
#
|
535
|
+
# @return [Types::CreateClusterV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
536
|
+
#
|
537
|
+
# * {Types::CreateClusterV2Response#cluster_arn #cluster_arn} => String
|
538
|
+
# * {Types::CreateClusterV2Response#cluster_name #cluster_name} => String
|
539
|
+
# * {Types::CreateClusterV2Response#state #state} => String
|
540
|
+
# * {Types::CreateClusterV2Response#cluster_type #cluster_type} => String
|
541
|
+
#
|
542
|
+
# @example Request syntax with placeholder values
|
543
|
+
#
|
544
|
+
# resp = client.create_cluster_v2({
|
545
|
+
# cluster_name: "__stringMin1Max64", # required
|
546
|
+
# tags: {
|
547
|
+
# "__string" => "__string",
|
548
|
+
# },
|
549
|
+
# provisioned: {
|
550
|
+
# broker_node_group_info: { # required
|
551
|
+
# broker_az_distribution: "DEFAULT", # accepts DEFAULT
|
552
|
+
# client_subnets: ["__string"], # required
|
553
|
+
# instance_type: "__stringMin5Max32", # required
|
554
|
+
# security_groups: ["__string"],
|
555
|
+
# storage_info: {
|
556
|
+
# ebs_storage_info: {
|
557
|
+
# volume_size: 1,
|
558
|
+
# },
|
559
|
+
# },
|
560
|
+
# connectivity_info: {
|
561
|
+
# public_access: {
|
562
|
+
# type: "__string",
|
563
|
+
# },
|
564
|
+
# },
|
565
|
+
# },
|
566
|
+
# client_authentication: {
|
567
|
+
# sasl: {
|
568
|
+
# scram: {
|
569
|
+
# enabled: false,
|
570
|
+
# },
|
571
|
+
# iam: {
|
572
|
+
# enabled: false,
|
573
|
+
# },
|
574
|
+
# },
|
575
|
+
# tls: {
|
576
|
+
# certificate_authority_arn_list: ["__string"],
|
577
|
+
# enabled: false,
|
578
|
+
# },
|
579
|
+
# unauthenticated: {
|
580
|
+
# enabled: false,
|
581
|
+
# },
|
582
|
+
# },
|
583
|
+
# configuration_info: {
|
584
|
+
# arn: "__string", # required
|
585
|
+
# revision: 1, # required
|
586
|
+
# },
|
587
|
+
# encryption_info: {
|
588
|
+
# encryption_at_rest: {
|
589
|
+
# data_volume_kms_key_id: "__string", # required
|
590
|
+
# },
|
591
|
+
# encryption_in_transit: {
|
592
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
593
|
+
# in_cluster: false,
|
594
|
+
# },
|
595
|
+
# },
|
596
|
+
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
|
597
|
+
# open_monitoring: {
|
598
|
+
# prometheus: { # required
|
599
|
+
# jmx_exporter: {
|
600
|
+
# enabled_in_broker: false, # required
|
601
|
+
# },
|
602
|
+
# node_exporter: {
|
603
|
+
# enabled_in_broker: false, # required
|
604
|
+
# },
|
605
|
+
# },
|
606
|
+
# },
|
607
|
+
# kafka_version: "__stringMin1Max128", # required
|
608
|
+
# logging_info: {
|
609
|
+
# broker_logs: { # required
|
610
|
+
# cloud_watch_logs: {
|
611
|
+
# enabled: false, # required
|
612
|
+
# log_group: "__string",
|
613
|
+
# },
|
614
|
+
# firehose: {
|
615
|
+
# delivery_stream: "__string",
|
616
|
+
# enabled: false, # required
|
617
|
+
# },
|
618
|
+
# s3: {
|
619
|
+
# bucket: "__string",
|
620
|
+
# enabled: false, # required
|
621
|
+
# prefix: "__string",
|
622
|
+
# },
|
623
|
+
# },
|
624
|
+
# },
|
625
|
+
# number_of_broker_nodes: 1, # required
|
626
|
+
# },
|
627
|
+
# serverless: {
|
628
|
+
# vpc_configs: [ # required
|
629
|
+
# {
|
630
|
+
# subnet_ids: ["__string"], # required
|
631
|
+
# security_group_ids: ["__string"],
|
632
|
+
# },
|
633
|
+
# ],
|
634
|
+
# client_authentication: {
|
635
|
+
# sasl: {
|
636
|
+
# iam: {
|
637
|
+
# enabled: false,
|
638
|
+
# },
|
639
|
+
# },
|
640
|
+
# },
|
641
|
+
# },
|
642
|
+
# })
|
643
|
+
#
|
644
|
+
# @example Response structure
|
645
|
+
#
|
646
|
+
# resp.cluster_arn #=> String
|
647
|
+
# resp.cluster_name #=> String
|
648
|
+
# resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
649
|
+
# resp.cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
650
|
+
#
|
651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2 AWS API Documentation
|
652
|
+
#
|
653
|
+
# @overload create_cluster_v2(params = {})
|
654
|
+
# @param [Hash] params ({})
|
655
|
+
def create_cluster_v2(params = {}, options = {})
|
656
|
+
req = build_request(:create_cluster_v2, params)
|
657
|
+
req.send_request(options)
|
658
|
+
end
|
659
|
+
|
504
660
|
# Creates a new MSK configuration.
|
505
661
|
#
|
506
662
|
# @option params [String] :description
|
@@ -641,6 +797,7 @@ module Aws::Kafka
|
|
641
797
|
# resp.cluster_info.broker_node_group_info.security_groups #=> Array
|
642
798
|
# resp.cluster_info.broker_node_group_info.security_groups[0] #=> String
|
643
799
|
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
800
|
+
# resp.cluster_info.broker_node_group_info.connectivity_info.public_access.type #=> String
|
644
801
|
# resp.cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
645
802
|
# resp.cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
|
646
803
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
@@ -685,6 +842,85 @@ module Aws::Kafka
|
|
685
842
|
req.send_request(options)
|
686
843
|
end
|
687
844
|
|
845
|
+
# Returns a description of the MSK cluster of either the provisioned or
|
846
|
+
# the serverless type whose Amazon Resource Name (ARN) is specified in
|
847
|
+
# the request.
|
848
|
+
#
|
849
|
+
# @option params [required, String] :cluster_arn
|
850
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
851
|
+
#
|
852
|
+
# @return [Types::DescribeClusterV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
853
|
+
#
|
854
|
+
# * {Types::DescribeClusterV2Response#cluster_info #cluster_info} => Types::Cluster
|
855
|
+
#
|
856
|
+
# @example Request syntax with placeholder values
|
857
|
+
#
|
858
|
+
# resp = client.describe_cluster_v2({
|
859
|
+
# cluster_arn: "__string", # required
|
860
|
+
# })
|
861
|
+
#
|
862
|
+
# @example Response structure
|
863
|
+
#
|
864
|
+
# resp.cluster_info.active_operation_arn #=> String
|
865
|
+
# resp.cluster_info.cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
866
|
+
# resp.cluster_info.cluster_arn #=> String
|
867
|
+
# resp.cluster_info.cluster_name #=> String
|
868
|
+
# resp.cluster_info.creation_time #=> Time
|
869
|
+
# resp.cluster_info.current_version #=> String
|
870
|
+
# resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
871
|
+
# resp.cluster_info.state_info.code #=> String
|
872
|
+
# resp.cluster_info.state_info.message #=> String
|
873
|
+
# resp.cluster_info.tags #=> Hash
|
874
|
+
# resp.cluster_info.tags["__string"] #=> String
|
875
|
+
# resp.cluster_info.provisioned.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
|
876
|
+
# resp.cluster_info.provisioned.broker_node_group_info.client_subnets #=> Array
|
877
|
+
# resp.cluster_info.provisioned.broker_node_group_info.client_subnets[0] #=> String
|
878
|
+
# resp.cluster_info.provisioned.broker_node_group_info.instance_type #=> String
|
879
|
+
# resp.cluster_info.provisioned.broker_node_group_info.security_groups #=> Array
|
880
|
+
# resp.cluster_info.provisioned.broker_node_group_info.security_groups[0] #=> String
|
881
|
+
# resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
882
|
+
# resp.cluster_info.provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
|
883
|
+
# resp.cluster_info.provisioned.current_broker_software_info.configuration_arn #=> String
|
884
|
+
# resp.cluster_info.provisioned.current_broker_software_info.configuration_revision #=> Integer
|
885
|
+
# resp.cluster_info.provisioned.current_broker_software_info.kafka_version #=> String
|
886
|
+
# resp.cluster_info.provisioned.client_authentication.sasl.scram.enabled #=> Boolean
|
887
|
+
# resp.cluster_info.provisioned.client_authentication.sasl.iam.enabled #=> Boolean
|
888
|
+
# resp.cluster_info.provisioned.client_authentication.tls.certificate_authority_arn_list #=> Array
|
889
|
+
# resp.cluster_info.provisioned.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
890
|
+
# resp.cluster_info.provisioned.client_authentication.tls.enabled #=> Boolean
|
891
|
+
# resp.cluster_info.provisioned.client_authentication.unauthenticated.enabled #=> Boolean
|
892
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
893
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
894
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
895
|
+
# resp.cluster_info.provisioned.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
|
896
|
+
# resp.cluster_info.provisioned.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
897
|
+
# resp.cluster_info.provisioned.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
898
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
899
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
900
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.firehose.delivery_stream #=> String
|
901
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.firehose.enabled #=> Boolean
|
902
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.bucket #=> String
|
903
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.enabled #=> Boolean
|
904
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.prefix #=> String
|
905
|
+
# resp.cluster_info.provisioned.number_of_broker_nodes #=> Integer
|
906
|
+
# resp.cluster_info.provisioned.zookeeper_connect_string #=> String
|
907
|
+
# resp.cluster_info.provisioned.zookeeper_connect_string_tls #=> String
|
908
|
+
# resp.cluster_info.serverless.vpc_configs #=> Array
|
909
|
+
# resp.cluster_info.serverless.vpc_configs[0].subnet_ids #=> Array
|
910
|
+
# resp.cluster_info.serverless.vpc_configs[0].subnet_ids[0] #=> String
|
911
|
+
# resp.cluster_info.serverless.vpc_configs[0].security_group_ids #=> Array
|
912
|
+
# resp.cluster_info.serverless.vpc_configs[0].security_group_ids[0] #=> String
|
913
|
+
# resp.cluster_info.serverless.client_authentication.sasl.iam.enabled #=> Boolean
|
914
|
+
#
|
915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2 AWS API Documentation
|
916
|
+
#
|
917
|
+
# @overload describe_cluster_v2(params = {})
|
918
|
+
# @param [Hash] params ({})
|
919
|
+
def describe_cluster_v2(params = {}, options = {})
|
920
|
+
req = build_request(:describe_cluster_v2, params)
|
921
|
+
req.send_request(options)
|
922
|
+
end
|
923
|
+
|
688
924
|
# Returns a description of the cluster operation specified by the ARN.
|
689
925
|
#
|
690
926
|
# @option params [required, String] :cluster_operation_arn
|
@@ -740,6 +976,7 @@ module Aws::Kafka
|
|
740
976
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
741
977
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
742
978
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
979
|
+
# resp.cluster_operation_info.source_cluster_info.connectivity_info.public_access.type #=> String
|
743
980
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
|
744
981
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
745
982
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
@@ -767,6 +1004,7 @@ module Aws::Kafka
|
|
767
1004
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
768
1005
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
769
1006
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1007
|
+
# resp.cluster_operation_info.target_cluster_info.connectivity_info.public_access.type #=> String
|
770
1008
|
#
|
771
1009
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
|
772
1010
|
#
|
@@ -900,6 +1138,9 @@ module Aws::Kafka
|
|
900
1138
|
# @return [Types::GetBootstrapBrokersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
901
1139
|
#
|
902
1140
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string #bootstrap_broker_string} => String
|
1141
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_sasl_iam #bootstrap_broker_string_public_sasl_iam} => String
|
1142
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_sasl_scram #bootstrap_broker_string_public_sasl_scram} => String
|
1143
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_tls #bootstrap_broker_string_public_tls} => String
|
903
1144
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_tls #bootstrap_broker_string_tls} => String
|
904
1145
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_scram #bootstrap_broker_string_sasl_scram} => String
|
905
1146
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_iam #bootstrap_broker_string_sasl_iam} => String
|
@@ -913,6 +1154,9 @@ module Aws::Kafka
|
|
913
1154
|
# @example Response structure
|
914
1155
|
#
|
915
1156
|
# resp.bootstrap_broker_string #=> String
|
1157
|
+
# resp.bootstrap_broker_string_public_sasl_iam #=> String
|
1158
|
+
# resp.bootstrap_broker_string_public_sasl_scram #=> String
|
1159
|
+
# resp.bootstrap_broker_string_public_tls #=> String
|
916
1160
|
# resp.bootstrap_broker_string_tls #=> String
|
917
1161
|
# resp.bootstrap_broker_string_sasl_scram #=> String
|
918
1162
|
# resp.bootstrap_broker_string_sasl_iam #=> String
|
@@ -1023,6 +1267,7 @@ module Aws::Kafka
|
|
1023
1267
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1024
1268
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1025
1269
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1270
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.connectivity_info.public_access.type #=> String
|
1026
1271
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
1027
1272
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1028
1273
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
@@ -1050,6 +1295,7 @@ module Aws::Kafka
|
|
1050
1295
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1051
1296
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1052
1297
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1298
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.connectivity_info.public_access.type #=> String
|
1053
1299
|
# resp.next_token #=> String
|
1054
1300
|
#
|
1055
1301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
|
@@ -1095,6 +1341,7 @@ module Aws::Kafka
|
|
1095
1341
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups #=> Array
|
1096
1342
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups[0] #=> String
|
1097
1343
|
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1344
|
+
# resp.cluster_info_list[0].broker_node_group_info.connectivity_info.public_access.type #=> String
|
1098
1345
|
# resp.cluster_info_list[0].client_authentication.sasl.scram.enabled #=> Boolean
|
1099
1346
|
# resp.cluster_info_list[0].client_authentication.sasl.iam.enabled #=> Boolean
|
1100
1347
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
|
@@ -1140,6 +1387,104 @@ module Aws::Kafka
|
|
1140
1387
|
req.send_request(options)
|
1141
1388
|
end
|
1142
1389
|
|
1390
|
+
# Returns a list of all the MSK clusters in the current Region.
|
1391
|
+
#
|
1392
|
+
# @option params [String] :cluster_name_filter
|
1393
|
+
# Specify a prefix of the names of the clusters that you want to list.
|
1394
|
+
# The service lists all the clusters whose names start with this prefix.
|
1395
|
+
#
|
1396
|
+
# @option params [String] :cluster_type_filter
|
1397
|
+
# Specify either PROVISIONED or SERVERLESS.
|
1398
|
+
#
|
1399
|
+
# @option params [Integer] :max_results
|
1400
|
+
# The maximum number of results to return in the response. If there are
|
1401
|
+
# more results, the response includes a NextToken parameter.
|
1402
|
+
#
|
1403
|
+
# @option params [String] :next_token
|
1404
|
+
# The paginated results marker. When the result of the operation is
|
1405
|
+
# truncated, the call returns NextToken in the response. To get the next
|
1406
|
+
# batch, provide this token in your next request.
|
1407
|
+
#
|
1408
|
+
# @return [Types::ListClustersV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1409
|
+
#
|
1410
|
+
# * {Types::ListClustersV2Response#cluster_info_list #cluster_info_list} => Array<Types::Cluster>
|
1411
|
+
# * {Types::ListClustersV2Response#next_token #next_token} => String
|
1412
|
+
#
|
1413
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1414
|
+
#
|
1415
|
+
# @example Request syntax with placeholder values
|
1416
|
+
#
|
1417
|
+
# resp = client.list_clusters_v2({
|
1418
|
+
# cluster_name_filter: "__string",
|
1419
|
+
# cluster_type_filter: "__string",
|
1420
|
+
# max_results: 1,
|
1421
|
+
# next_token: "__string",
|
1422
|
+
# })
|
1423
|
+
#
|
1424
|
+
# @example Response structure
|
1425
|
+
#
|
1426
|
+
# resp.cluster_info_list #=> Array
|
1427
|
+
# resp.cluster_info_list[0].active_operation_arn #=> String
|
1428
|
+
# resp.cluster_info_list[0].cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
1429
|
+
# resp.cluster_info_list[0].cluster_arn #=> String
|
1430
|
+
# resp.cluster_info_list[0].cluster_name #=> String
|
1431
|
+
# resp.cluster_info_list[0].creation_time #=> Time
|
1432
|
+
# resp.cluster_info_list[0].current_version #=> String
|
1433
|
+
# resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
1434
|
+
# resp.cluster_info_list[0].state_info.code #=> String
|
1435
|
+
# resp.cluster_info_list[0].state_info.message #=> String
|
1436
|
+
# resp.cluster_info_list[0].tags #=> Hash
|
1437
|
+
# resp.cluster_info_list[0].tags["__string"] #=> String
|
1438
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
|
1439
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.client_subnets #=> Array
|
1440
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.client_subnets[0] #=> String
|
1441
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.instance_type #=> String
|
1442
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.security_groups #=> Array
|
1443
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.security_groups[0] #=> String
|
1444
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1445
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
|
1446
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_arn #=> String
|
1447
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_revision #=> Integer
|
1448
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.kafka_version #=> String
|
1449
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.sasl.scram.enabled #=> Boolean
|
1450
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.sasl.iam.enabled #=> Boolean
|
1451
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.certificate_authority_arn_list #=> Array
|
1452
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
1453
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.enabled #=> Boolean
|
1454
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.unauthenticated.enabled #=> Boolean
|
1455
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1456
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1457
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1458
|
+
# resp.cluster_info_list[0].provisioned.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
|
1459
|
+
# resp.cluster_info_list[0].provisioned.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
1460
|
+
# resp.cluster_info_list[0].provisioned.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
1461
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
1462
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
1463
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.firehose.delivery_stream #=> String
|
1464
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.firehose.enabled #=> Boolean
|
1465
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.bucket #=> String
|
1466
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.enabled #=> Boolean
|
1467
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.prefix #=> String
|
1468
|
+
# resp.cluster_info_list[0].provisioned.number_of_broker_nodes #=> Integer
|
1469
|
+
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string #=> String
|
1470
|
+
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string_tls #=> String
|
1471
|
+
# resp.cluster_info_list[0].serverless.vpc_configs #=> Array
|
1472
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids #=> Array
|
1473
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids[0] #=> String
|
1474
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].security_group_ids #=> Array
|
1475
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].security_group_ids[0] #=> String
|
1476
|
+
# resp.cluster_info_list[0].serverless.client_authentication.sasl.iam.enabled #=> Boolean
|
1477
|
+
# resp.next_token #=> String
|
1478
|
+
#
|
1479
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2 AWS API Documentation
|
1480
|
+
#
|
1481
|
+
# @overload list_clusters_v2(params = {})
|
1482
|
+
# @param [Hash] params ({})
|
1483
|
+
def list_clusters_v2(params = {}, options = {})
|
1484
|
+
req = build_request(:list_clusters_v2, params)
|
1485
|
+
req.send_request(options)
|
1486
|
+
end
|
1487
|
+
|
1143
1488
|
# Returns a list of all the revisions of an MSK configuration.
|
1144
1489
|
#
|
1145
1490
|
# @option params [required, String] :arn
|
@@ -1224,7 +1569,7 @@ module Aws::Kafka
|
|
1224
1569
|
req.send_request(options)
|
1225
1570
|
end
|
1226
1571
|
|
1227
|
-
# Returns a list of Kafka versions.
|
1572
|
+
# Returns a list of Apache Kafka versions.
|
1228
1573
|
#
|
1229
1574
|
# @option params [Integer] :max_results
|
1230
1575
|
#
|
@@ -1688,7 +2033,7 @@ module Aws::Kafka
|
|
1688
2033
|
# Current cluster version.
|
1689
2034
|
#
|
1690
2035
|
# @option params [required, String] :target_kafka_version
|
1691
|
-
# Target Kafka version.
|
2036
|
+
# Target Apache Kafka version.
|
1692
2037
|
#
|
1693
2038
|
# @return [Types::UpdateClusterKafkaVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1694
2039
|
#
|
@@ -1721,6 +2066,47 @@ module Aws::Kafka
|
|
1721
2066
|
req.send_request(options)
|
1722
2067
|
end
|
1723
2068
|
|
2069
|
+
# Updates the connectivity configuration for the cluster.
|
2070
|
+
#
|
2071
|
+
# @option params [required, String] :cluster_arn
|
2072
|
+
#
|
2073
|
+
# @option params [required, Types::ConnectivityInfo] :connectivity_info
|
2074
|
+
# Information about the broker access configuration.
|
2075
|
+
#
|
2076
|
+
# @option params [required, String] :current_version
|
2077
|
+
# The current version of the cluster.
|
2078
|
+
#
|
2079
|
+
# @return [Types::UpdateConnectivityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2080
|
+
#
|
2081
|
+
# * {Types::UpdateConnectivityResponse#cluster_arn #cluster_arn} => String
|
2082
|
+
# * {Types::UpdateConnectivityResponse#cluster_operation_arn #cluster_operation_arn} => String
|
2083
|
+
#
|
2084
|
+
# @example Request syntax with placeholder values
|
2085
|
+
#
|
2086
|
+
# resp = client.update_connectivity({
|
2087
|
+
# cluster_arn: "__string", # required
|
2088
|
+
# connectivity_info: { # required
|
2089
|
+
# public_access: {
|
2090
|
+
# type: "__string",
|
2091
|
+
# },
|
2092
|
+
# },
|
2093
|
+
# current_version: "__string", # required
|
2094
|
+
# })
|
2095
|
+
#
|
2096
|
+
# @example Response structure
|
2097
|
+
#
|
2098
|
+
# resp.cluster_arn #=> String
|
2099
|
+
# resp.cluster_operation_arn #=> String
|
2100
|
+
#
|
2101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivity AWS API Documentation
|
2102
|
+
#
|
2103
|
+
# @overload update_connectivity(params = {})
|
2104
|
+
# @param [Hash] params ({})
|
2105
|
+
def update_connectivity(params = {}, options = {})
|
2106
|
+
req = build_request(:update_connectivity, params)
|
2107
|
+
req.send_request(options)
|
2108
|
+
end
|
2109
|
+
|
1724
2110
|
# Updates the monitoring settings for the cluster. You can use this
|
1725
2111
|
# operation to specify which Apache Kafka metrics you want Amazon MSK to
|
1726
2112
|
# send to Amazon CloudWatch. You can also specify settings for open
|
@@ -1877,7 +2263,7 @@ module Aws::Kafka
|
|
1877
2263
|
params: params,
|
1878
2264
|
config: config)
|
1879
2265
|
context[:gem_name] = 'aws-sdk-kafka'
|
1880
|
-
context[:gem_version] = '1.
|
2266
|
+
context[:gem_version] = '1.45.0'
|
1881
2267
|
Seahorse::Client::Request.new(handlers, context)
|
1882
2268
|
end
|
1883
2269
|
|