aws-sdk-kafka 1.43.0 → 1.47.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 +421 -7
- data/lib/aws-sdk-kafka/client_api.rb +196 -1
- data/lib/aws-sdk-kafka/types.rb +1040 -147
- 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: 7db07fc88d38c99020e5a860e7c0c164c01087ff6b372f3672ca167b9f449675
|
4
|
+
data.tar.gz: e30f2be63c3a318c5de52ca751eb52fd8bf15d973cf634e8b5b41f7044cdd97d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd160bd118dcd4fa272d3ef2bd17dcb0d4aa476f82063218680d12e441584bde3f0045f8e20fdf7cfa8928c012848f8338136505083ab65fcaaea14c2d13fba0
|
7
|
+
data.tar.gz: a61918e0c07cfd99ebb4c969a7db3f32bec23b17aa5b467854eb1cfc3e6412f4b796681ec79c6e66902195f3f5f1c0c07a393037c9af8624a51894e8e9431764
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2022-01-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon MSK has updated the CreateCluster and UpdateBrokerStorage API that allows you to specify volume throughput during cluster creation and broker volume updates.
|
8
|
+
|
9
|
+
1.46.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.45.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
19
|
+
1.44.0 (2021-11-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Amazon MSK has added a new API that allows you to update the connectivity settings for an existing cluster to enable public accessibility.
|
23
|
+
|
4
24
|
1.43.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -27,6 +27,7 @@ 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'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::Kafka
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::Kafka
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::Kafka
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -295,7 +303,7 @@ module Aws::Kafka
|
|
295
303
|
# seconds to wait when opening a HTTP session before raising a
|
296
304
|
# `Timeout::Error`.
|
297
305
|
#
|
298
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
307
|
# number of seconds to wait for response data. This value can
|
300
308
|
# safely be set per-request on the session.
|
301
309
|
#
|
@@ -311,6 +319,9 @@ module Aws::Kafka
|
|
311
319
|
# disables this behaviour. This value can safely be set per
|
312
320
|
# request on the session.
|
313
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
314
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
326
|
# HTTP debug output will be sent to the `:logger`.
|
316
327
|
#
|
@@ -401,7 +412,7 @@ module Aws::Kafka
|
|
401
412
|
# LoggingInfo details.
|
402
413
|
#
|
403
414
|
# @option params [required, Integer] :number_of_broker_nodes
|
404
|
-
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
415
|
+
# The number of Apache Kafka broker nodes in the Amazon MSK cluster.
|
405
416
|
#
|
406
417
|
# @option params [Types::OpenMonitoringInfo] :open_monitoring
|
407
418
|
# The settings for open monitoring.
|
@@ -425,9 +436,18 @@ module Aws::Kafka
|
|
425
436
|
# security_groups: ["__string"],
|
426
437
|
# storage_info: {
|
427
438
|
# ebs_storage_info: {
|
439
|
+
# provisioned_throughput: {
|
440
|
+
# enabled: false,
|
441
|
+
# volume_throughput: 1,
|
442
|
+
# },
|
428
443
|
# volume_size: 1,
|
429
444
|
# },
|
430
445
|
# },
|
446
|
+
# connectivity_info: {
|
447
|
+
# public_access: {
|
448
|
+
# type: "__string",
|
449
|
+
# },
|
450
|
+
# },
|
431
451
|
# },
|
432
452
|
# client_authentication: {
|
433
453
|
# sasl: {
|
@@ -510,6 +530,150 @@ module Aws::Kafka
|
|
510
530
|
req.send_request(options)
|
511
531
|
end
|
512
532
|
|
533
|
+
# Creates a new Amazon MSK cluster of either the provisioned or the
|
534
|
+
# serverless type.
|
535
|
+
#
|
536
|
+
# @option params [required, String] :cluster_name
|
537
|
+
# The name of the cluster.
|
538
|
+
#
|
539
|
+
# @option params [Hash<String,String>] :tags
|
540
|
+
# A map of tags that you want the cluster to have.
|
541
|
+
#
|
542
|
+
# @option params [Types::ProvisionedRequest] :provisioned
|
543
|
+
# Creates a provisioned cluster.
|
544
|
+
#
|
545
|
+
# @option params [Types::ServerlessRequest] :serverless
|
546
|
+
# Creates a serverless cluster.
|
547
|
+
#
|
548
|
+
# @return [Types::CreateClusterV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
549
|
+
#
|
550
|
+
# * {Types::CreateClusterV2Response#cluster_arn #cluster_arn} => String
|
551
|
+
# * {Types::CreateClusterV2Response#cluster_name #cluster_name} => String
|
552
|
+
# * {Types::CreateClusterV2Response#state #state} => String
|
553
|
+
# * {Types::CreateClusterV2Response#cluster_type #cluster_type} => String
|
554
|
+
#
|
555
|
+
# @example Request syntax with placeholder values
|
556
|
+
#
|
557
|
+
# resp = client.create_cluster_v2({
|
558
|
+
# cluster_name: "__stringMin1Max64", # required
|
559
|
+
# tags: {
|
560
|
+
# "__string" => "__string",
|
561
|
+
# },
|
562
|
+
# provisioned: {
|
563
|
+
# broker_node_group_info: { # required
|
564
|
+
# broker_az_distribution: "DEFAULT", # accepts DEFAULT
|
565
|
+
# client_subnets: ["__string"], # required
|
566
|
+
# instance_type: "__stringMin5Max32", # required
|
567
|
+
# security_groups: ["__string"],
|
568
|
+
# storage_info: {
|
569
|
+
# ebs_storage_info: {
|
570
|
+
# provisioned_throughput: {
|
571
|
+
# enabled: false,
|
572
|
+
# volume_throughput: 1,
|
573
|
+
# },
|
574
|
+
# volume_size: 1,
|
575
|
+
# },
|
576
|
+
# },
|
577
|
+
# connectivity_info: {
|
578
|
+
# public_access: {
|
579
|
+
# type: "__string",
|
580
|
+
# },
|
581
|
+
# },
|
582
|
+
# },
|
583
|
+
# client_authentication: {
|
584
|
+
# sasl: {
|
585
|
+
# scram: {
|
586
|
+
# enabled: false,
|
587
|
+
# },
|
588
|
+
# iam: {
|
589
|
+
# enabled: false,
|
590
|
+
# },
|
591
|
+
# },
|
592
|
+
# tls: {
|
593
|
+
# certificate_authority_arn_list: ["__string"],
|
594
|
+
# enabled: false,
|
595
|
+
# },
|
596
|
+
# unauthenticated: {
|
597
|
+
# enabled: false,
|
598
|
+
# },
|
599
|
+
# },
|
600
|
+
# configuration_info: {
|
601
|
+
# arn: "__string", # required
|
602
|
+
# revision: 1, # required
|
603
|
+
# },
|
604
|
+
# encryption_info: {
|
605
|
+
# encryption_at_rest: {
|
606
|
+
# data_volume_kms_key_id: "__string", # required
|
607
|
+
# },
|
608
|
+
# encryption_in_transit: {
|
609
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
610
|
+
# in_cluster: false,
|
611
|
+
# },
|
612
|
+
# },
|
613
|
+
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
|
614
|
+
# open_monitoring: {
|
615
|
+
# prometheus: { # required
|
616
|
+
# jmx_exporter: {
|
617
|
+
# enabled_in_broker: false, # required
|
618
|
+
# },
|
619
|
+
# node_exporter: {
|
620
|
+
# enabled_in_broker: false, # required
|
621
|
+
# },
|
622
|
+
# },
|
623
|
+
# },
|
624
|
+
# kafka_version: "__stringMin1Max128", # required
|
625
|
+
# logging_info: {
|
626
|
+
# broker_logs: { # required
|
627
|
+
# cloud_watch_logs: {
|
628
|
+
# enabled: false, # required
|
629
|
+
# log_group: "__string",
|
630
|
+
# },
|
631
|
+
# firehose: {
|
632
|
+
# delivery_stream: "__string",
|
633
|
+
# enabled: false, # required
|
634
|
+
# },
|
635
|
+
# s3: {
|
636
|
+
# bucket: "__string",
|
637
|
+
# enabled: false, # required
|
638
|
+
# prefix: "__string",
|
639
|
+
# },
|
640
|
+
# },
|
641
|
+
# },
|
642
|
+
# number_of_broker_nodes: 1, # required
|
643
|
+
# },
|
644
|
+
# serverless: {
|
645
|
+
# vpc_configs: [ # required
|
646
|
+
# {
|
647
|
+
# subnet_ids: ["__string"], # required
|
648
|
+
# security_group_ids: ["__string"],
|
649
|
+
# },
|
650
|
+
# ],
|
651
|
+
# client_authentication: {
|
652
|
+
# sasl: {
|
653
|
+
# iam: {
|
654
|
+
# enabled: false,
|
655
|
+
# },
|
656
|
+
# },
|
657
|
+
# },
|
658
|
+
# },
|
659
|
+
# })
|
660
|
+
#
|
661
|
+
# @example Response structure
|
662
|
+
#
|
663
|
+
# resp.cluster_arn #=> String
|
664
|
+
# resp.cluster_name #=> String
|
665
|
+
# resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
666
|
+
# resp.cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
667
|
+
#
|
668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2 AWS API Documentation
|
669
|
+
#
|
670
|
+
# @overload create_cluster_v2(params = {})
|
671
|
+
# @param [Hash] params ({})
|
672
|
+
def create_cluster_v2(params = {}, options = {})
|
673
|
+
req = build_request(:create_cluster_v2, params)
|
674
|
+
req.send_request(options)
|
675
|
+
end
|
676
|
+
|
513
677
|
# Creates a new MSK configuration.
|
514
678
|
#
|
515
679
|
# @option params [String] :description
|
@@ -649,7 +813,10 @@ module Aws::Kafka
|
|
649
813
|
# resp.cluster_info.broker_node_group_info.instance_type #=> String
|
650
814
|
# resp.cluster_info.broker_node_group_info.security_groups #=> Array
|
651
815
|
# resp.cluster_info.broker_node_group_info.security_groups[0] #=> String
|
816
|
+
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.enabled #=> Boolean
|
817
|
+
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
652
818
|
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
819
|
+
# resp.cluster_info.broker_node_group_info.connectivity_info.public_access.type #=> String
|
653
820
|
# resp.cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
654
821
|
# resp.cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
|
655
822
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
@@ -694,6 +861,87 @@ module Aws::Kafka
|
|
694
861
|
req.send_request(options)
|
695
862
|
end
|
696
863
|
|
864
|
+
# Returns a description of the MSK cluster of either the provisioned or
|
865
|
+
# the serverless type whose Amazon Resource Name (ARN) is specified in
|
866
|
+
# the request.
|
867
|
+
#
|
868
|
+
# @option params [required, String] :cluster_arn
|
869
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
870
|
+
#
|
871
|
+
# @return [Types::DescribeClusterV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
872
|
+
#
|
873
|
+
# * {Types::DescribeClusterV2Response#cluster_info #cluster_info} => Types::Cluster
|
874
|
+
#
|
875
|
+
# @example Request syntax with placeholder values
|
876
|
+
#
|
877
|
+
# resp = client.describe_cluster_v2({
|
878
|
+
# cluster_arn: "__string", # required
|
879
|
+
# })
|
880
|
+
#
|
881
|
+
# @example Response structure
|
882
|
+
#
|
883
|
+
# resp.cluster_info.active_operation_arn #=> String
|
884
|
+
# resp.cluster_info.cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
885
|
+
# resp.cluster_info.cluster_arn #=> String
|
886
|
+
# resp.cluster_info.cluster_name #=> String
|
887
|
+
# resp.cluster_info.creation_time #=> Time
|
888
|
+
# resp.cluster_info.current_version #=> String
|
889
|
+
# resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
890
|
+
# resp.cluster_info.state_info.code #=> String
|
891
|
+
# resp.cluster_info.state_info.message #=> String
|
892
|
+
# resp.cluster_info.tags #=> Hash
|
893
|
+
# resp.cluster_info.tags["__string"] #=> String
|
894
|
+
# resp.cluster_info.provisioned.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
|
895
|
+
# resp.cluster_info.provisioned.broker_node_group_info.client_subnets #=> Array
|
896
|
+
# resp.cluster_info.provisioned.broker_node_group_info.client_subnets[0] #=> String
|
897
|
+
# resp.cluster_info.provisioned.broker_node_group_info.instance_type #=> String
|
898
|
+
# resp.cluster_info.provisioned.broker_node_group_info.security_groups #=> Array
|
899
|
+
# resp.cluster_info.provisioned.broker_node_group_info.security_groups[0] #=> String
|
900
|
+
# resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.enabled #=> Boolean
|
901
|
+
# resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
902
|
+
# resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
903
|
+
# resp.cluster_info.provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
|
904
|
+
# resp.cluster_info.provisioned.current_broker_software_info.configuration_arn #=> String
|
905
|
+
# resp.cluster_info.provisioned.current_broker_software_info.configuration_revision #=> Integer
|
906
|
+
# resp.cluster_info.provisioned.current_broker_software_info.kafka_version #=> String
|
907
|
+
# resp.cluster_info.provisioned.client_authentication.sasl.scram.enabled #=> Boolean
|
908
|
+
# resp.cluster_info.provisioned.client_authentication.sasl.iam.enabled #=> Boolean
|
909
|
+
# resp.cluster_info.provisioned.client_authentication.tls.certificate_authority_arn_list #=> Array
|
910
|
+
# resp.cluster_info.provisioned.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
911
|
+
# resp.cluster_info.provisioned.client_authentication.tls.enabled #=> Boolean
|
912
|
+
# resp.cluster_info.provisioned.client_authentication.unauthenticated.enabled #=> Boolean
|
913
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
914
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
915
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
916
|
+
# resp.cluster_info.provisioned.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
|
917
|
+
# resp.cluster_info.provisioned.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
918
|
+
# resp.cluster_info.provisioned.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
919
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
920
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
921
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.firehose.delivery_stream #=> String
|
922
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.firehose.enabled #=> Boolean
|
923
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.bucket #=> String
|
924
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.enabled #=> Boolean
|
925
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.prefix #=> String
|
926
|
+
# resp.cluster_info.provisioned.number_of_broker_nodes #=> Integer
|
927
|
+
# resp.cluster_info.provisioned.zookeeper_connect_string #=> String
|
928
|
+
# resp.cluster_info.provisioned.zookeeper_connect_string_tls #=> String
|
929
|
+
# resp.cluster_info.serverless.vpc_configs #=> Array
|
930
|
+
# resp.cluster_info.serverless.vpc_configs[0].subnet_ids #=> Array
|
931
|
+
# resp.cluster_info.serverless.vpc_configs[0].subnet_ids[0] #=> String
|
932
|
+
# resp.cluster_info.serverless.vpc_configs[0].security_group_ids #=> Array
|
933
|
+
# resp.cluster_info.serverless.vpc_configs[0].security_group_ids[0] #=> String
|
934
|
+
# resp.cluster_info.serverless.client_authentication.sasl.iam.enabled #=> Boolean
|
935
|
+
#
|
936
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2 AWS API Documentation
|
937
|
+
#
|
938
|
+
# @overload describe_cluster_v2(params = {})
|
939
|
+
# @param [Hash] params ({})
|
940
|
+
def describe_cluster_v2(params = {}, options = {})
|
941
|
+
req = build_request(:describe_cluster_v2, params)
|
942
|
+
req.send_request(options)
|
943
|
+
end
|
944
|
+
|
697
945
|
# Returns a description of the cluster operation specified by the ARN.
|
698
946
|
#
|
699
947
|
# @option params [required, String] :cluster_operation_arn
|
@@ -724,6 +972,8 @@ module Aws::Kafka
|
|
724
972
|
# resp.cluster_operation_info.operation_type #=> String
|
725
973
|
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info #=> Array
|
726
974
|
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
975
|
+
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
976
|
+
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.volume_throughput #=> Integer
|
727
977
|
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
728
978
|
# resp.cluster_operation_info.source_cluster_info.configuration_info.arn #=> String
|
729
979
|
# resp.cluster_operation_info.source_cluster_info.configuration_info.revision #=> Integer
|
@@ -749,8 +999,11 @@ module Aws::Kafka
|
|
749
999
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
750
1000
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
751
1001
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1002
|
+
# resp.cluster_operation_info.source_cluster_info.connectivity_info.public_access.type #=> String
|
752
1003
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
|
753
1004
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1005
|
+
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
1006
|
+
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.volume_throughput #=> Integer
|
754
1007
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
755
1008
|
# resp.cluster_operation_info.target_cluster_info.configuration_info.arn #=> String
|
756
1009
|
# resp.cluster_operation_info.target_cluster_info.configuration_info.revision #=> Integer
|
@@ -776,6 +1029,7 @@ module Aws::Kafka
|
|
776
1029
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
777
1030
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
778
1031
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1032
|
+
# resp.cluster_operation_info.target_cluster_info.connectivity_info.public_access.type #=> String
|
779
1033
|
#
|
780
1034
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
|
781
1035
|
#
|
@@ -909,6 +1163,9 @@ module Aws::Kafka
|
|
909
1163
|
# @return [Types::GetBootstrapBrokersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
910
1164
|
#
|
911
1165
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string #bootstrap_broker_string} => String
|
1166
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_sasl_iam #bootstrap_broker_string_public_sasl_iam} => String
|
1167
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_sasl_scram #bootstrap_broker_string_public_sasl_scram} => String
|
1168
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_tls #bootstrap_broker_string_public_tls} => String
|
912
1169
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_tls #bootstrap_broker_string_tls} => String
|
913
1170
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_scram #bootstrap_broker_string_sasl_scram} => String
|
914
1171
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_iam #bootstrap_broker_string_sasl_iam} => String
|
@@ -922,6 +1179,9 @@ module Aws::Kafka
|
|
922
1179
|
# @example Response structure
|
923
1180
|
#
|
924
1181
|
# resp.bootstrap_broker_string #=> String
|
1182
|
+
# resp.bootstrap_broker_string_public_sasl_iam #=> String
|
1183
|
+
# resp.bootstrap_broker_string_public_sasl_scram #=> String
|
1184
|
+
# resp.bootstrap_broker_string_public_tls #=> String
|
925
1185
|
# resp.bootstrap_broker_string_tls #=> String
|
926
1186
|
# resp.bootstrap_broker_string_sasl_scram #=> String
|
927
1187
|
# resp.bootstrap_broker_string_sasl_iam #=> String
|
@@ -1007,6 +1267,8 @@ module Aws::Kafka
|
|
1007
1267
|
# resp.cluster_operation_info_list[0].operation_type #=> String
|
1008
1268
|
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info #=> Array
|
1009
1269
|
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1270
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
1271
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.volume_throughput #=> Integer
|
1010
1272
|
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
1011
1273
|
# resp.cluster_operation_info_list[0].source_cluster_info.configuration_info.arn #=> String
|
1012
1274
|
# resp.cluster_operation_info_list[0].source_cluster_info.configuration_info.revision #=> Integer
|
@@ -1032,8 +1294,11 @@ module Aws::Kafka
|
|
1032
1294
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1033
1295
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1034
1296
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1297
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.connectivity_info.public_access.type #=> String
|
1035
1298
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
1036
1299
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1300
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
1301
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.volume_throughput #=> Integer
|
1037
1302
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
1038
1303
|
# resp.cluster_operation_info_list[0].target_cluster_info.configuration_info.arn #=> String
|
1039
1304
|
# resp.cluster_operation_info_list[0].target_cluster_info.configuration_info.revision #=> Integer
|
@@ -1059,6 +1324,7 @@ module Aws::Kafka
|
|
1059
1324
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1060
1325
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1061
1326
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1327
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.connectivity_info.public_access.type #=> String
|
1062
1328
|
# resp.next_token #=> String
|
1063
1329
|
#
|
1064
1330
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
|
@@ -1103,7 +1369,10 @@ module Aws::Kafka
|
|
1103
1369
|
# resp.cluster_info_list[0].broker_node_group_info.instance_type #=> String
|
1104
1370
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups #=> Array
|
1105
1371
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups[0] #=> String
|
1372
|
+
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.enabled #=> Boolean
|
1373
|
+
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
1106
1374
|
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1375
|
+
# resp.cluster_info_list[0].broker_node_group_info.connectivity_info.public_access.type #=> String
|
1107
1376
|
# resp.cluster_info_list[0].client_authentication.sasl.scram.enabled #=> Boolean
|
1108
1377
|
# resp.cluster_info_list[0].client_authentication.sasl.iam.enabled #=> Boolean
|
1109
1378
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
|
@@ -1149,6 +1418,106 @@ module Aws::Kafka
|
|
1149
1418
|
req.send_request(options)
|
1150
1419
|
end
|
1151
1420
|
|
1421
|
+
# Returns a list of all the MSK clusters in the current Region.
|
1422
|
+
#
|
1423
|
+
# @option params [String] :cluster_name_filter
|
1424
|
+
# Specify a prefix of the names of the clusters that you want to list.
|
1425
|
+
# The service lists all the clusters whose names start with this prefix.
|
1426
|
+
#
|
1427
|
+
# @option params [String] :cluster_type_filter
|
1428
|
+
# Specify either PROVISIONED or SERVERLESS.
|
1429
|
+
#
|
1430
|
+
# @option params [Integer] :max_results
|
1431
|
+
# The maximum number of results to return in the response. If there are
|
1432
|
+
# more results, the response includes a NextToken parameter.
|
1433
|
+
#
|
1434
|
+
# @option params [String] :next_token
|
1435
|
+
# The paginated results marker. When the result of the operation is
|
1436
|
+
# truncated, the call returns NextToken in the response. To get the next
|
1437
|
+
# batch, provide this token in your next request.
|
1438
|
+
#
|
1439
|
+
# @return [Types::ListClustersV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1440
|
+
#
|
1441
|
+
# * {Types::ListClustersV2Response#cluster_info_list #cluster_info_list} => Array<Types::Cluster>
|
1442
|
+
# * {Types::ListClustersV2Response#next_token #next_token} => String
|
1443
|
+
#
|
1444
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1445
|
+
#
|
1446
|
+
# @example Request syntax with placeholder values
|
1447
|
+
#
|
1448
|
+
# resp = client.list_clusters_v2({
|
1449
|
+
# cluster_name_filter: "__string",
|
1450
|
+
# cluster_type_filter: "__string",
|
1451
|
+
# max_results: 1,
|
1452
|
+
# next_token: "__string",
|
1453
|
+
# })
|
1454
|
+
#
|
1455
|
+
# @example Response structure
|
1456
|
+
#
|
1457
|
+
# resp.cluster_info_list #=> Array
|
1458
|
+
# resp.cluster_info_list[0].active_operation_arn #=> String
|
1459
|
+
# resp.cluster_info_list[0].cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
1460
|
+
# resp.cluster_info_list[0].cluster_arn #=> String
|
1461
|
+
# resp.cluster_info_list[0].cluster_name #=> String
|
1462
|
+
# resp.cluster_info_list[0].creation_time #=> Time
|
1463
|
+
# resp.cluster_info_list[0].current_version #=> String
|
1464
|
+
# resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
1465
|
+
# resp.cluster_info_list[0].state_info.code #=> String
|
1466
|
+
# resp.cluster_info_list[0].state_info.message #=> String
|
1467
|
+
# resp.cluster_info_list[0].tags #=> Hash
|
1468
|
+
# resp.cluster_info_list[0].tags["__string"] #=> String
|
1469
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
|
1470
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.client_subnets #=> Array
|
1471
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.client_subnets[0] #=> String
|
1472
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.instance_type #=> String
|
1473
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.security_groups #=> Array
|
1474
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.security_groups[0] #=> String
|
1475
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.enabled #=> Boolean
|
1476
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
1477
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1478
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
|
1479
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_arn #=> String
|
1480
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_revision #=> Integer
|
1481
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.kafka_version #=> String
|
1482
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.sasl.scram.enabled #=> Boolean
|
1483
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.sasl.iam.enabled #=> Boolean
|
1484
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.certificate_authority_arn_list #=> Array
|
1485
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
1486
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.enabled #=> Boolean
|
1487
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.unauthenticated.enabled #=> Boolean
|
1488
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1489
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1490
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1491
|
+
# resp.cluster_info_list[0].provisioned.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
|
1492
|
+
# resp.cluster_info_list[0].provisioned.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
1493
|
+
# resp.cluster_info_list[0].provisioned.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
1494
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
1495
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
1496
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.firehose.delivery_stream #=> String
|
1497
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.firehose.enabled #=> Boolean
|
1498
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.bucket #=> String
|
1499
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.enabled #=> Boolean
|
1500
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.prefix #=> String
|
1501
|
+
# resp.cluster_info_list[0].provisioned.number_of_broker_nodes #=> Integer
|
1502
|
+
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string #=> String
|
1503
|
+
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string_tls #=> String
|
1504
|
+
# resp.cluster_info_list[0].serverless.vpc_configs #=> Array
|
1505
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids #=> Array
|
1506
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids[0] #=> String
|
1507
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].security_group_ids #=> Array
|
1508
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].security_group_ids[0] #=> String
|
1509
|
+
# resp.cluster_info_list[0].serverless.client_authentication.sasl.iam.enabled #=> Boolean
|
1510
|
+
# resp.next_token #=> String
|
1511
|
+
#
|
1512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2 AWS API Documentation
|
1513
|
+
#
|
1514
|
+
# @overload list_clusters_v2(params = {})
|
1515
|
+
# @param [Hash] params ({})
|
1516
|
+
def list_clusters_v2(params = {}, options = {})
|
1517
|
+
req = build_request(:list_clusters_v2, params)
|
1518
|
+
req.send_request(options)
|
1519
|
+
end
|
1520
|
+
|
1152
1521
|
# Returns a list of all the revisions of an MSK configuration.
|
1153
1522
|
#
|
1154
1523
|
# @option params [required, String] :arn
|
@@ -1233,7 +1602,7 @@ module Aws::Kafka
|
|
1233
1602
|
req.send_request(options)
|
1234
1603
|
end
|
1235
1604
|
|
1236
|
-
# Returns a list of Kafka versions.
|
1605
|
+
# Returns a list of Apache Kafka versions.
|
1237
1606
|
#
|
1238
1607
|
# @option params [Integer] :max_results
|
1239
1608
|
#
|
@@ -1586,7 +1955,11 @@ module Aws::Kafka
|
|
1586
1955
|
# target_broker_ebs_volume_info: [ # required
|
1587
1956
|
# {
|
1588
1957
|
# kafka_broker_node_id: "__string", # required
|
1589
|
-
#
|
1958
|
+
# provisioned_throughput: {
|
1959
|
+
# enabled: false,
|
1960
|
+
# volume_throughput: 1,
|
1961
|
+
# },
|
1962
|
+
# volume_size_gb: 1,
|
1590
1963
|
# },
|
1591
1964
|
# ],
|
1592
1965
|
# })
|
@@ -1697,7 +2070,7 @@ module Aws::Kafka
|
|
1697
2070
|
# Current cluster version.
|
1698
2071
|
#
|
1699
2072
|
# @option params [required, String] :target_kafka_version
|
1700
|
-
# Target Kafka version.
|
2073
|
+
# Target Apache Kafka version.
|
1701
2074
|
#
|
1702
2075
|
# @return [Types::UpdateClusterKafkaVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1703
2076
|
#
|
@@ -1730,6 +2103,47 @@ module Aws::Kafka
|
|
1730
2103
|
req.send_request(options)
|
1731
2104
|
end
|
1732
2105
|
|
2106
|
+
# Updates the connectivity configuration for the cluster.
|
2107
|
+
#
|
2108
|
+
# @option params [required, String] :cluster_arn
|
2109
|
+
#
|
2110
|
+
# @option params [required, Types::ConnectivityInfo] :connectivity_info
|
2111
|
+
# Information about the broker access configuration.
|
2112
|
+
#
|
2113
|
+
# @option params [required, String] :current_version
|
2114
|
+
# The current version of the cluster.
|
2115
|
+
#
|
2116
|
+
# @return [Types::UpdateConnectivityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2117
|
+
#
|
2118
|
+
# * {Types::UpdateConnectivityResponse#cluster_arn #cluster_arn} => String
|
2119
|
+
# * {Types::UpdateConnectivityResponse#cluster_operation_arn #cluster_operation_arn} => String
|
2120
|
+
#
|
2121
|
+
# @example Request syntax with placeholder values
|
2122
|
+
#
|
2123
|
+
# resp = client.update_connectivity({
|
2124
|
+
# cluster_arn: "__string", # required
|
2125
|
+
# connectivity_info: { # required
|
2126
|
+
# public_access: {
|
2127
|
+
# type: "__string",
|
2128
|
+
# },
|
2129
|
+
# },
|
2130
|
+
# current_version: "__string", # required
|
2131
|
+
# })
|
2132
|
+
#
|
2133
|
+
# @example Response structure
|
2134
|
+
#
|
2135
|
+
# resp.cluster_arn #=> String
|
2136
|
+
# resp.cluster_operation_arn #=> String
|
2137
|
+
#
|
2138
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivity AWS API Documentation
|
2139
|
+
#
|
2140
|
+
# @overload update_connectivity(params = {})
|
2141
|
+
# @param [Hash] params ({})
|
2142
|
+
def update_connectivity(params = {}, options = {})
|
2143
|
+
req = build_request(:update_connectivity, params)
|
2144
|
+
req.send_request(options)
|
2145
|
+
end
|
2146
|
+
|
1733
2147
|
# Updates the monitoring settings for the cluster. You can use this
|
1734
2148
|
# operation to specify which Apache Kafka metrics you want Amazon MSK to
|
1735
2149
|
# send to Amazon CloudWatch. You can also specify settings for open
|
@@ -1886,7 +2300,7 @@ module Aws::Kafka
|
|
1886
2300
|
params: params,
|
1887
2301
|
config: config)
|
1888
2302
|
context[:gem_name] = 'aws-sdk-kafka'
|
1889
|
-
context[:gem_version] = '1.
|
2303
|
+
context[:gem_version] = '1.47.0'
|
1890
2304
|
Seahorse::Client::Request.new(handlers, context)
|
1891
2305
|
end
|
1892
2306
|
|