aws-sdk-kafka 1.44.0 → 1.48.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 +362 -4
- data/lib/aws-sdk-kafka/client_api.rb +157 -1
- data/lib/aws-sdk-kafka/types.rb +749 -2
- 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: d9114a1d94b4092194e07e460a1de133cb1f2001d7407c2c7d8cedeeb5515e51
|
4
|
+
data.tar.gz: da1aad00e1f4c286211d4c6a8be1d43f446f611c1e6ef32a880eec808799fe60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a6d6b2c20985bb350278e69348eaf6249bd5f7c7e7c6319d8f9fcdbce2b65d961c64dad6faf69d5424ca56e8db928d2c08568545a621a3730c1ecd823954da7
|
7
|
+
data.tar.gz: 696716dcb7667386a37c10a7f860981411d63f711ccd3991ea13a65e307f76251b8361387066a3dcd28925fefad9631e6282d11096932501f8bbf4de7adee9e4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.47.0 (2022-01-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon MSK has updated the CreateCluster and UpdateBrokerStorage API that allows you to specify volume throughput during cluster creation and broker volume updates.
|
13
|
+
|
14
|
+
1.46.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.45.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* 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.
|
23
|
+
|
4
24
|
1.44.0 (2021-11-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::Kafka
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::Kafka
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::Kafka
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -295,7 +305,7 @@ module Aws::Kafka
|
|
295
305
|
# seconds to wait when opening a HTTP session before raising a
|
296
306
|
# `Timeout::Error`.
|
297
307
|
#
|
298
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
309
|
# number of seconds to wait for response data. This value can
|
300
310
|
# safely be set per-request on the session.
|
301
311
|
#
|
@@ -311,6 +321,9 @@ module Aws::Kafka
|
|
311
321
|
# disables this behaviour. This value can safely be set per
|
312
322
|
# request on the session.
|
313
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
314
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
328
|
# HTTP debug output will be sent to the `:logger`.
|
316
329
|
#
|
@@ -425,6 +438,10 @@ module Aws::Kafka
|
|
425
438
|
# security_groups: ["__string"],
|
426
439
|
# storage_info: {
|
427
440
|
# ebs_storage_info: {
|
441
|
+
# provisioned_throughput: {
|
442
|
+
# enabled: false,
|
443
|
+
# volume_throughput: 1,
|
444
|
+
# },
|
428
445
|
# volume_size: 1,
|
429
446
|
# },
|
430
447
|
# },
|
@@ -515,6 +532,150 @@ module Aws::Kafka
|
|
515
532
|
req.send_request(options)
|
516
533
|
end
|
517
534
|
|
535
|
+
# Creates a new Amazon MSK cluster of either the provisioned or the
|
536
|
+
# serverless type.
|
537
|
+
#
|
538
|
+
# @option params [required, String] :cluster_name
|
539
|
+
# The name of the cluster.
|
540
|
+
#
|
541
|
+
# @option params [Hash<String,String>] :tags
|
542
|
+
# A map of tags that you want the cluster to have.
|
543
|
+
#
|
544
|
+
# @option params [Types::ProvisionedRequest] :provisioned
|
545
|
+
# Creates a provisioned cluster.
|
546
|
+
#
|
547
|
+
# @option params [Types::ServerlessRequest] :serverless
|
548
|
+
# Creates a serverless cluster.
|
549
|
+
#
|
550
|
+
# @return [Types::CreateClusterV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
551
|
+
#
|
552
|
+
# * {Types::CreateClusterV2Response#cluster_arn #cluster_arn} => String
|
553
|
+
# * {Types::CreateClusterV2Response#cluster_name #cluster_name} => String
|
554
|
+
# * {Types::CreateClusterV2Response#state #state} => String
|
555
|
+
# * {Types::CreateClusterV2Response#cluster_type #cluster_type} => String
|
556
|
+
#
|
557
|
+
# @example Request syntax with placeholder values
|
558
|
+
#
|
559
|
+
# resp = client.create_cluster_v2({
|
560
|
+
# cluster_name: "__stringMin1Max64", # required
|
561
|
+
# tags: {
|
562
|
+
# "__string" => "__string",
|
563
|
+
# },
|
564
|
+
# provisioned: {
|
565
|
+
# broker_node_group_info: { # required
|
566
|
+
# broker_az_distribution: "DEFAULT", # accepts DEFAULT
|
567
|
+
# client_subnets: ["__string"], # required
|
568
|
+
# instance_type: "__stringMin5Max32", # required
|
569
|
+
# security_groups: ["__string"],
|
570
|
+
# storage_info: {
|
571
|
+
# ebs_storage_info: {
|
572
|
+
# provisioned_throughput: {
|
573
|
+
# enabled: false,
|
574
|
+
# volume_throughput: 1,
|
575
|
+
# },
|
576
|
+
# volume_size: 1,
|
577
|
+
# },
|
578
|
+
# },
|
579
|
+
# connectivity_info: {
|
580
|
+
# public_access: {
|
581
|
+
# type: "__string",
|
582
|
+
# },
|
583
|
+
# },
|
584
|
+
# },
|
585
|
+
# client_authentication: {
|
586
|
+
# sasl: {
|
587
|
+
# scram: {
|
588
|
+
# enabled: false,
|
589
|
+
# },
|
590
|
+
# iam: {
|
591
|
+
# enabled: false,
|
592
|
+
# },
|
593
|
+
# },
|
594
|
+
# tls: {
|
595
|
+
# certificate_authority_arn_list: ["__string"],
|
596
|
+
# enabled: false,
|
597
|
+
# },
|
598
|
+
# unauthenticated: {
|
599
|
+
# enabled: false,
|
600
|
+
# },
|
601
|
+
# },
|
602
|
+
# configuration_info: {
|
603
|
+
# arn: "__string", # required
|
604
|
+
# revision: 1, # required
|
605
|
+
# },
|
606
|
+
# encryption_info: {
|
607
|
+
# encryption_at_rest: {
|
608
|
+
# data_volume_kms_key_id: "__string", # required
|
609
|
+
# },
|
610
|
+
# encryption_in_transit: {
|
611
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
612
|
+
# in_cluster: false,
|
613
|
+
# },
|
614
|
+
# },
|
615
|
+
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
|
616
|
+
# open_monitoring: {
|
617
|
+
# prometheus: { # required
|
618
|
+
# jmx_exporter: {
|
619
|
+
# enabled_in_broker: false, # required
|
620
|
+
# },
|
621
|
+
# node_exporter: {
|
622
|
+
# enabled_in_broker: false, # required
|
623
|
+
# },
|
624
|
+
# },
|
625
|
+
# },
|
626
|
+
# kafka_version: "__stringMin1Max128", # required
|
627
|
+
# logging_info: {
|
628
|
+
# broker_logs: { # required
|
629
|
+
# cloud_watch_logs: {
|
630
|
+
# enabled: false, # required
|
631
|
+
# log_group: "__string",
|
632
|
+
# },
|
633
|
+
# firehose: {
|
634
|
+
# delivery_stream: "__string",
|
635
|
+
# enabled: false, # required
|
636
|
+
# },
|
637
|
+
# s3: {
|
638
|
+
# bucket: "__string",
|
639
|
+
# enabled: false, # required
|
640
|
+
# prefix: "__string",
|
641
|
+
# },
|
642
|
+
# },
|
643
|
+
# },
|
644
|
+
# number_of_broker_nodes: 1, # required
|
645
|
+
# },
|
646
|
+
# serverless: {
|
647
|
+
# vpc_configs: [ # required
|
648
|
+
# {
|
649
|
+
# subnet_ids: ["__string"], # required
|
650
|
+
# security_group_ids: ["__string"],
|
651
|
+
# },
|
652
|
+
# ],
|
653
|
+
# client_authentication: {
|
654
|
+
# sasl: {
|
655
|
+
# iam: {
|
656
|
+
# enabled: false,
|
657
|
+
# },
|
658
|
+
# },
|
659
|
+
# },
|
660
|
+
# },
|
661
|
+
# })
|
662
|
+
#
|
663
|
+
# @example Response structure
|
664
|
+
#
|
665
|
+
# resp.cluster_arn #=> String
|
666
|
+
# resp.cluster_name #=> String
|
667
|
+
# resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
668
|
+
# resp.cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
669
|
+
#
|
670
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2 AWS API Documentation
|
671
|
+
#
|
672
|
+
# @overload create_cluster_v2(params = {})
|
673
|
+
# @param [Hash] params ({})
|
674
|
+
def create_cluster_v2(params = {}, options = {})
|
675
|
+
req = build_request(:create_cluster_v2, params)
|
676
|
+
req.send_request(options)
|
677
|
+
end
|
678
|
+
|
518
679
|
# Creates a new MSK configuration.
|
519
680
|
#
|
520
681
|
# @option params [String] :description
|
@@ -654,6 +815,8 @@ module Aws::Kafka
|
|
654
815
|
# resp.cluster_info.broker_node_group_info.instance_type #=> String
|
655
816
|
# resp.cluster_info.broker_node_group_info.security_groups #=> Array
|
656
817
|
# resp.cluster_info.broker_node_group_info.security_groups[0] #=> String
|
818
|
+
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.enabled #=> Boolean
|
819
|
+
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
657
820
|
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
658
821
|
# resp.cluster_info.broker_node_group_info.connectivity_info.public_access.type #=> String
|
659
822
|
# resp.cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
@@ -700,6 +863,87 @@ module Aws::Kafka
|
|
700
863
|
req.send_request(options)
|
701
864
|
end
|
702
865
|
|
866
|
+
# Returns a description of the MSK cluster of either the provisioned or
|
867
|
+
# the serverless type whose Amazon Resource Name (ARN) is specified in
|
868
|
+
# the request.
|
869
|
+
#
|
870
|
+
# @option params [required, String] :cluster_arn
|
871
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
872
|
+
#
|
873
|
+
# @return [Types::DescribeClusterV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
874
|
+
#
|
875
|
+
# * {Types::DescribeClusterV2Response#cluster_info #cluster_info} => Types::Cluster
|
876
|
+
#
|
877
|
+
# @example Request syntax with placeholder values
|
878
|
+
#
|
879
|
+
# resp = client.describe_cluster_v2({
|
880
|
+
# cluster_arn: "__string", # required
|
881
|
+
# })
|
882
|
+
#
|
883
|
+
# @example Response structure
|
884
|
+
#
|
885
|
+
# resp.cluster_info.active_operation_arn #=> String
|
886
|
+
# resp.cluster_info.cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
887
|
+
# resp.cluster_info.cluster_arn #=> String
|
888
|
+
# resp.cluster_info.cluster_name #=> String
|
889
|
+
# resp.cluster_info.creation_time #=> Time
|
890
|
+
# resp.cluster_info.current_version #=> String
|
891
|
+
# resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
892
|
+
# resp.cluster_info.state_info.code #=> String
|
893
|
+
# resp.cluster_info.state_info.message #=> String
|
894
|
+
# resp.cluster_info.tags #=> Hash
|
895
|
+
# resp.cluster_info.tags["__string"] #=> String
|
896
|
+
# resp.cluster_info.provisioned.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
|
897
|
+
# resp.cluster_info.provisioned.broker_node_group_info.client_subnets #=> Array
|
898
|
+
# resp.cluster_info.provisioned.broker_node_group_info.client_subnets[0] #=> String
|
899
|
+
# resp.cluster_info.provisioned.broker_node_group_info.instance_type #=> String
|
900
|
+
# resp.cluster_info.provisioned.broker_node_group_info.security_groups #=> Array
|
901
|
+
# resp.cluster_info.provisioned.broker_node_group_info.security_groups[0] #=> String
|
902
|
+
# resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.enabled #=> Boolean
|
903
|
+
# resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
904
|
+
# resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
905
|
+
# resp.cluster_info.provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
|
906
|
+
# resp.cluster_info.provisioned.current_broker_software_info.configuration_arn #=> String
|
907
|
+
# resp.cluster_info.provisioned.current_broker_software_info.configuration_revision #=> Integer
|
908
|
+
# resp.cluster_info.provisioned.current_broker_software_info.kafka_version #=> String
|
909
|
+
# resp.cluster_info.provisioned.client_authentication.sasl.scram.enabled #=> Boolean
|
910
|
+
# resp.cluster_info.provisioned.client_authentication.sasl.iam.enabled #=> Boolean
|
911
|
+
# resp.cluster_info.provisioned.client_authentication.tls.certificate_authority_arn_list #=> Array
|
912
|
+
# resp.cluster_info.provisioned.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
913
|
+
# resp.cluster_info.provisioned.client_authentication.tls.enabled #=> Boolean
|
914
|
+
# resp.cluster_info.provisioned.client_authentication.unauthenticated.enabled #=> Boolean
|
915
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
916
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
917
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
918
|
+
# resp.cluster_info.provisioned.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
|
919
|
+
# resp.cluster_info.provisioned.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
920
|
+
# resp.cluster_info.provisioned.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
921
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
922
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
923
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.firehose.delivery_stream #=> String
|
924
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.firehose.enabled #=> Boolean
|
925
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.bucket #=> String
|
926
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.enabled #=> Boolean
|
927
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.prefix #=> String
|
928
|
+
# resp.cluster_info.provisioned.number_of_broker_nodes #=> Integer
|
929
|
+
# resp.cluster_info.provisioned.zookeeper_connect_string #=> String
|
930
|
+
# resp.cluster_info.provisioned.zookeeper_connect_string_tls #=> String
|
931
|
+
# resp.cluster_info.serverless.vpc_configs #=> Array
|
932
|
+
# resp.cluster_info.serverless.vpc_configs[0].subnet_ids #=> Array
|
933
|
+
# resp.cluster_info.serverless.vpc_configs[0].subnet_ids[0] #=> String
|
934
|
+
# resp.cluster_info.serverless.vpc_configs[0].security_group_ids #=> Array
|
935
|
+
# resp.cluster_info.serverless.vpc_configs[0].security_group_ids[0] #=> String
|
936
|
+
# resp.cluster_info.serverless.client_authentication.sasl.iam.enabled #=> Boolean
|
937
|
+
#
|
938
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2 AWS API Documentation
|
939
|
+
#
|
940
|
+
# @overload describe_cluster_v2(params = {})
|
941
|
+
# @param [Hash] params ({})
|
942
|
+
def describe_cluster_v2(params = {}, options = {})
|
943
|
+
req = build_request(:describe_cluster_v2, params)
|
944
|
+
req.send_request(options)
|
945
|
+
end
|
946
|
+
|
703
947
|
# Returns a description of the cluster operation specified by the ARN.
|
704
948
|
#
|
705
949
|
# @option params [required, String] :cluster_operation_arn
|
@@ -730,6 +974,8 @@ module Aws::Kafka
|
|
730
974
|
# resp.cluster_operation_info.operation_type #=> String
|
731
975
|
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info #=> Array
|
732
976
|
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
977
|
+
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
978
|
+
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.volume_throughput #=> Integer
|
733
979
|
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
734
980
|
# resp.cluster_operation_info.source_cluster_info.configuration_info.arn #=> String
|
735
981
|
# resp.cluster_operation_info.source_cluster_info.configuration_info.revision #=> Integer
|
@@ -758,6 +1004,8 @@ module Aws::Kafka
|
|
758
1004
|
# resp.cluster_operation_info.source_cluster_info.connectivity_info.public_access.type #=> String
|
759
1005
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
|
760
1006
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1007
|
+
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
1008
|
+
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.volume_throughput #=> Integer
|
761
1009
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
762
1010
|
# resp.cluster_operation_info.target_cluster_info.configuration_info.arn #=> String
|
763
1011
|
# resp.cluster_operation_info.target_cluster_info.configuration_info.revision #=> Integer
|
@@ -1021,6 +1269,8 @@ module Aws::Kafka
|
|
1021
1269
|
# resp.cluster_operation_info_list[0].operation_type #=> String
|
1022
1270
|
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info #=> Array
|
1023
1271
|
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1272
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
1273
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.volume_throughput #=> Integer
|
1024
1274
|
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
1025
1275
|
# resp.cluster_operation_info_list[0].source_cluster_info.configuration_info.arn #=> String
|
1026
1276
|
# resp.cluster_operation_info_list[0].source_cluster_info.configuration_info.revision #=> Integer
|
@@ -1049,6 +1299,8 @@ module Aws::Kafka
|
|
1049
1299
|
# resp.cluster_operation_info_list[0].source_cluster_info.connectivity_info.public_access.type #=> String
|
1050
1300
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
1051
1301
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1302
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
1303
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.volume_throughput #=> Integer
|
1052
1304
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
1053
1305
|
# resp.cluster_operation_info_list[0].target_cluster_info.configuration_info.arn #=> String
|
1054
1306
|
# resp.cluster_operation_info_list[0].target_cluster_info.configuration_info.revision #=> Integer
|
@@ -1119,6 +1371,8 @@ module Aws::Kafka
|
|
1119
1371
|
# resp.cluster_info_list[0].broker_node_group_info.instance_type #=> String
|
1120
1372
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups #=> Array
|
1121
1373
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups[0] #=> String
|
1374
|
+
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.enabled #=> Boolean
|
1375
|
+
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
1122
1376
|
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1123
1377
|
# resp.cluster_info_list[0].broker_node_group_info.connectivity_info.public_access.type #=> String
|
1124
1378
|
# resp.cluster_info_list[0].client_authentication.sasl.scram.enabled #=> Boolean
|
@@ -1166,6 +1420,106 @@ module Aws::Kafka
|
|
1166
1420
|
req.send_request(options)
|
1167
1421
|
end
|
1168
1422
|
|
1423
|
+
# Returns a list of all the MSK clusters in the current Region.
|
1424
|
+
#
|
1425
|
+
# @option params [String] :cluster_name_filter
|
1426
|
+
# Specify a prefix of the names of the clusters that you want to list.
|
1427
|
+
# The service lists all the clusters whose names start with this prefix.
|
1428
|
+
#
|
1429
|
+
# @option params [String] :cluster_type_filter
|
1430
|
+
# Specify either PROVISIONED or SERVERLESS.
|
1431
|
+
#
|
1432
|
+
# @option params [Integer] :max_results
|
1433
|
+
# The maximum number of results to return in the response. If there are
|
1434
|
+
# more results, the response includes a NextToken parameter.
|
1435
|
+
#
|
1436
|
+
# @option params [String] :next_token
|
1437
|
+
# The paginated results marker. When the result of the operation is
|
1438
|
+
# truncated, the call returns NextToken in the response. To get the next
|
1439
|
+
# batch, provide this token in your next request.
|
1440
|
+
#
|
1441
|
+
# @return [Types::ListClustersV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1442
|
+
#
|
1443
|
+
# * {Types::ListClustersV2Response#cluster_info_list #cluster_info_list} => Array<Types::Cluster>
|
1444
|
+
# * {Types::ListClustersV2Response#next_token #next_token} => String
|
1445
|
+
#
|
1446
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1447
|
+
#
|
1448
|
+
# @example Request syntax with placeholder values
|
1449
|
+
#
|
1450
|
+
# resp = client.list_clusters_v2({
|
1451
|
+
# cluster_name_filter: "__string",
|
1452
|
+
# cluster_type_filter: "__string",
|
1453
|
+
# max_results: 1,
|
1454
|
+
# next_token: "__string",
|
1455
|
+
# })
|
1456
|
+
#
|
1457
|
+
# @example Response structure
|
1458
|
+
#
|
1459
|
+
# resp.cluster_info_list #=> Array
|
1460
|
+
# resp.cluster_info_list[0].active_operation_arn #=> String
|
1461
|
+
# resp.cluster_info_list[0].cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
1462
|
+
# resp.cluster_info_list[0].cluster_arn #=> String
|
1463
|
+
# resp.cluster_info_list[0].cluster_name #=> String
|
1464
|
+
# resp.cluster_info_list[0].creation_time #=> Time
|
1465
|
+
# resp.cluster_info_list[0].current_version #=> String
|
1466
|
+
# resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
1467
|
+
# resp.cluster_info_list[0].state_info.code #=> String
|
1468
|
+
# resp.cluster_info_list[0].state_info.message #=> String
|
1469
|
+
# resp.cluster_info_list[0].tags #=> Hash
|
1470
|
+
# resp.cluster_info_list[0].tags["__string"] #=> String
|
1471
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
|
1472
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.client_subnets #=> Array
|
1473
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.client_subnets[0] #=> String
|
1474
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.instance_type #=> String
|
1475
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.security_groups #=> Array
|
1476
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.security_groups[0] #=> String
|
1477
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.enabled #=> Boolean
|
1478
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
1479
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1480
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
|
1481
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_arn #=> String
|
1482
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_revision #=> Integer
|
1483
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.kafka_version #=> String
|
1484
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.sasl.scram.enabled #=> Boolean
|
1485
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.sasl.iam.enabled #=> Boolean
|
1486
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.certificate_authority_arn_list #=> Array
|
1487
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
1488
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.enabled #=> Boolean
|
1489
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.unauthenticated.enabled #=> Boolean
|
1490
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1491
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1492
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1493
|
+
# resp.cluster_info_list[0].provisioned.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
|
1494
|
+
# resp.cluster_info_list[0].provisioned.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
1495
|
+
# resp.cluster_info_list[0].provisioned.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
1496
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
1497
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
1498
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.firehose.delivery_stream #=> String
|
1499
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.firehose.enabled #=> Boolean
|
1500
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.bucket #=> String
|
1501
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.enabled #=> Boolean
|
1502
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.prefix #=> String
|
1503
|
+
# resp.cluster_info_list[0].provisioned.number_of_broker_nodes #=> Integer
|
1504
|
+
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string #=> String
|
1505
|
+
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string_tls #=> String
|
1506
|
+
# resp.cluster_info_list[0].serverless.vpc_configs #=> Array
|
1507
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids #=> Array
|
1508
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids[0] #=> String
|
1509
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].security_group_ids #=> Array
|
1510
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].security_group_ids[0] #=> String
|
1511
|
+
# resp.cluster_info_list[0].serverless.client_authentication.sasl.iam.enabled #=> Boolean
|
1512
|
+
# resp.next_token #=> String
|
1513
|
+
#
|
1514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2 AWS API Documentation
|
1515
|
+
#
|
1516
|
+
# @overload list_clusters_v2(params = {})
|
1517
|
+
# @param [Hash] params ({})
|
1518
|
+
def list_clusters_v2(params = {}, options = {})
|
1519
|
+
req = build_request(:list_clusters_v2, params)
|
1520
|
+
req.send_request(options)
|
1521
|
+
end
|
1522
|
+
|
1169
1523
|
# Returns a list of all the revisions of an MSK configuration.
|
1170
1524
|
#
|
1171
1525
|
# @option params [required, String] :arn
|
@@ -1603,7 +1957,11 @@ module Aws::Kafka
|
|
1603
1957
|
# target_broker_ebs_volume_info: [ # required
|
1604
1958
|
# {
|
1605
1959
|
# kafka_broker_node_id: "__string", # required
|
1606
|
-
#
|
1960
|
+
# provisioned_throughput: {
|
1961
|
+
# enabled: false,
|
1962
|
+
# volume_throughput: 1,
|
1963
|
+
# },
|
1964
|
+
# volume_size_gb: 1,
|
1607
1965
|
# },
|
1608
1966
|
# ],
|
1609
1967
|
# })
|
@@ -1944,7 +2302,7 @@ module Aws::Kafka
|
|
1944
2302
|
params: params,
|
1945
2303
|
config: config)
|
1946
2304
|
context[:gem_name] = 'aws-sdk-kafka'
|
1947
|
-
context[:gem_version] = '1.
|
2305
|
+
context[:gem_version] = '1.48.0'
|
1948
2306
|
Seahorse::Client::Request.new(handlers, context)
|
1949
2307
|
end
|
1950
2308
|
|