aws-sdk-kafka 1.42.0 → 1.46.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 +401 -6
- 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: a8cea37d4f4fa220ee8b23da96c84b89195d8c224fe5e8be812b5e513dc20d92
|
4
|
+
data.tar.gz: a7e5c98096cbb15efa2e3aa05ab4c2e1b04452458f2c0b7b38270c29b966a392
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 437abff91db7cd96acb990b7c715447cf664e468821a375a5596f9c9db170684cb0da6c70f79d6e473053328d8a63ab94ac58784b04e942ac2b8966d30fc0850
|
7
|
+
data.tar.gz: bc221b8658d6e6019a02395c7b1e9e6df97778e7287108c894cd3e64e89e355a269cbcd2f8e5cf0e6b86a3a3f2439cc8076129894f71b79b7647bf1e7d298544
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.46.0 (2021-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.45.0 (2021-11-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
14
|
+
1.44.0 (2021-11-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Amazon MSK has added a new API that allows you to update the connectivity settings for an existing cluster to enable public accessibility.
|
18
|
+
|
19
|
+
1.43.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.42.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.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.
|
@@ -275,6 +283,15 @@ module Aws::Kafka
|
|
275
283
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
284
|
# requests are made, and retries are disabled.
|
277
285
|
#
|
286
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
287
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
288
|
+
# will be used if available.
|
289
|
+
#
|
290
|
+
# @option options [Boolean] :use_fips_endpoint
|
291
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
292
|
+
# When a `fips` region is used, the region is normalized and this config
|
293
|
+
# is set to `true`.
|
294
|
+
#
|
278
295
|
# @option options [Boolean] :validate_params (true)
|
279
296
|
# When `true`, request parameters are validated before
|
280
297
|
# sending the request.
|
@@ -286,7 +303,7 @@ module Aws::Kafka
|
|
286
303
|
# seconds to wait when opening a HTTP session before raising a
|
287
304
|
# `Timeout::Error`.
|
288
305
|
#
|
289
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
290
307
|
# number of seconds to wait for response data. This value can
|
291
308
|
# safely be set per-request on the session.
|
292
309
|
#
|
@@ -302,6 +319,9 @@ module Aws::Kafka
|
|
302
319
|
# disables this behaviour. This value can safely be set per
|
303
320
|
# request on the session.
|
304
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
305
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
306
326
|
# HTTP debug output will be sent to the `:logger`.
|
307
327
|
#
|
@@ -392,7 +412,7 @@ module Aws::Kafka
|
|
392
412
|
# LoggingInfo details.
|
393
413
|
#
|
394
414
|
# @option params [required, Integer] :number_of_broker_nodes
|
395
|
-
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
415
|
+
# The number of Apache Kafka broker nodes in the Amazon MSK cluster.
|
396
416
|
#
|
397
417
|
# @option params [Types::OpenMonitoringInfo] :open_monitoring
|
398
418
|
# The settings for open monitoring.
|
@@ -419,6 +439,11 @@ module Aws::Kafka
|
|
419
439
|
# volume_size: 1,
|
420
440
|
# },
|
421
441
|
# },
|
442
|
+
# connectivity_info: {
|
443
|
+
# public_access: {
|
444
|
+
# type: "__string",
|
445
|
+
# },
|
446
|
+
# },
|
422
447
|
# },
|
423
448
|
# client_authentication: {
|
424
449
|
# sasl: {
|
@@ -501,6 +526,146 @@ module Aws::Kafka
|
|
501
526
|
req.send_request(options)
|
502
527
|
end
|
503
528
|
|
529
|
+
# Creates a new Amazon MSK cluster of either the provisioned or the
|
530
|
+
# serverless type.
|
531
|
+
#
|
532
|
+
# @option params [required, String] :cluster_name
|
533
|
+
# The name of the cluster.
|
534
|
+
#
|
535
|
+
# @option params [Hash<String,String>] :tags
|
536
|
+
# A map of tags that you want the cluster to have.
|
537
|
+
#
|
538
|
+
# @option params [Types::ProvisionedRequest] :provisioned
|
539
|
+
# Creates a provisioned cluster.
|
540
|
+
#
|
541
|
+
# @option params [Types::ServerlessRequest] :serverless
|
542
|
+
# Creates a serverless cluster.
|
543
|
+
#
|
544
|
+
# @return [Types::CreateClusterV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
545
|
+
#
|
546
|
+
# * {Types::CreateClusterV2Response#cluster_arn #cluster_arn} => String
|
547
|
+
# * {Types::CreateClusterV2Response#cluster_name #cluster_name} => String
|
548
|
+
# * {Types::CreateClusterV2Response#state #state} => String
|
549
|
+
# * {Types::CreateClusterV2Response#cluster_type #cluster_type} => String
|
550
|
+
#
|
551
|
+
# @example Request syntax with placeholder values
|
552
|
+
#
|
553
|
+
# resp = client.create_cluster_v2({
|
554
|
+
# cluster_name: "__stringMin1Max64", # required
|
555
|
+
# tags: {
|
556
|
+
# "__string" => "__string",
|
557
|
+
# },
|
558
|
+
# provisioned: {
|
559
|
+
# broker_node_group_info: { # required
|
560
|
+
# broker_az_distribution: "DEFAULT", # accepts DEFAULT
|
561
|
+
# client_subnets: ["__string"], # required
|
562
|
+
# instance_type: "__stringMin5Max32", # required
|
563
|
+
# security_groups: ["__string"],
|
564
|
+
# storage_info: {
|
565
|
+
# ebs_storage_info: {
|
566
|
+
# volume_size: 1,
|
567
|
+
# },
|
568
|
+
# },
|
569
|
+
# connectivity_info: {
|
570
|
+
# public_access: {
|
571
|
+
# type: "__string",
|
572
|
+
# },
|
573
|
+
# },
|
574
|
+
# },
|
575
|
+
# client_authentication: {
|
576
|
+
# sasl: {
|
577
|
+
# scram: {
|
578
|
+
# enabled: false,
|
579
|
+
# },
|
580
|
+
# iam: {
|
581
|
+
# enabled: false,
|
582
|
+
# },
|
583
|
+
# },
|
584
|
+
# tls: {
|
585
|
+
# certificate_authority_arn_list: ["__string"],
|
586
|
+
# enabled: false,
|
587
|
+
# },
|
588
|
+
# unauthenticated: {
|
589
|
+
# enabled: false,
|
590
|
+
# },
|
591
|
+
# },
|
592
|
+
# configuration_info: {
|
593
|
+
# arn: "__string", # required
|
594
|
+
# revision: 1, # required
|
595
|
+
# },
|
596
|
+
# encryption_info: {
|
597
|
+
# encryption_at_rest: {
|
598
|
+
# data_volume_kms_key_id: "__string", # required
|
599
|
+
# },
|
600
|
+
# encryption_in_transit: {
|
601
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
602
|
+
# in_cluster: false,
|
603
|
+
# },
|
604
|
+
# },
|
605
|
+
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
|
606
|
+
# open_monitoring: {
|
607
|
+
# prometheus: { # required
|
608
|
+
# jmx_exporter: {
|
609
|
+
# enabled_in_broker: false, # required
|
610
|
+
# },
|
611
|
+
# node_exporter: {
|
612
|
+
# enabled_in_broker: false, # required
|
613
|
+
# },
|
614
|
+
# },
|
615
|
+
# },
|
616
|
+
# kafka_version: "__stringMin1Max128", # required
|
617
|
+
# logging_info: {
|
618
|
+
# broker_logs: { # required
|
619
|
+
# cloud_watch_logs: {
|
620
|
+
# enabled: false, # required
|
621
|
+
# log_group: "__string",
|
622
|
+
# },
|
623
|
+
# firehose: {
|
624
|
+
# delivery_stream: "__string",
|
625
|
+
# enabled: false, # required
|
626
|
+
# },
|
627
|
+
# s3: {
|
628
|
+
# bucket: "__string",
|
629
|
+
# enabled: false, # required
|
630
|
+
# prefix: "__string",
|
631
|
+
# },
|
632
|
+
# },
|
633
|
+
# },
|
634
|
+
# number_of_broker_nodes: 1, # required
|
635
|
+
# },
|
636
|
+
# serverless: {
|
637
|
+
# vpc_configs: [ # required
|
638
|
+
# {
|
639
|
+
# subnet_ids: ["__string"], # required
|
640
|
+
# security_group_ids: ["__string"],
|
641
|
+
# },
|
642
|
+
# ],
|
643
|
+
# client_authentication: {
|
644
|
+
# sasl: {
|
645
|
+
# iam: {
|
646
|
+
# enabled: false,
|
647
|
+
# },
|
648
|
+
# },
|
649
|
+
# },
|
650
|
+
# },
|
651
|
+
# })
|
652
|
+
#
|
653
|
+
# @example Response structure
|
654
|
+
#
|
655
|
+
# resp.cluster_arn #=> String
|
656
|
+
# resp.cluster_name #=> String
|
657
|
+
# resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
658
|
+
# resp.cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
659
|
+
#
|
660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2 AWS API Documentation
|
661
|
+
#
|
662
|
+
# @overload create_cluster_v2(params = {})
|
663
|
+
# @param [Hash] params ({})
|
664
|
+
def create_cluster_v2(params = {}, options = {})
|
665
|
+
req = build_request(:create_cluster_v2, params)
|
666
|
+
req.send_request(options)
|
667
|
+
end
|
668
|
+
|
504
669
|
# Creates a new MSK configuration.
|
505
670
|
#
|
506
671
|
# @option params [String] :description
|
@@ -641,6 +806,7 @@ module Aws::Kafka
|
|
641
806
|
# resp.cluster_info.broker_node_group_info.security_groups #=> Array
|
642
807
|
# resp.cluster_info.broker_node_group_info.security_groups[0] #=> String
|
643
808
|
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
809
|
+
# resp.cluster_info.broker_node_group_info.connectivity_info.public_access.type #=> String
|
644
810
|
# resp.cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
645
811
|
# resp.cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
|
646
812
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
@@ -685,6 +851,85 @@ module Aws::Kafka
|
|
685
851
|
req.send_request(options)
|
686
852
|
end
|
687
853
|
|
854
|
+
# Returns a description of the MSK cluster of either the provisioned or
|
855
|
+
# the serverless type whose Amazon Resource Name (ARN) is specified in
|
856
|
+
# the request.
|
857
|
+
#
|
858
|
+
# @option params [required, String] :cluster_arn
|
859
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
860
|
+
#
|
861
|
+
# @return [Types::DescribeClusterV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
862
|
+
#
|
863
|
+
# * {Types::DescribeClusterV2Response#cluster_info #cluster_info} => Types::Cluster
|
864
|
+
#
|
865
|
+
# @example Request syntax with placeholder values
|
866
|
+
#
|
867
|
+
# resp = client.describe_cluster_v2({
|
868
|
+
# cluster_arn: "__string", # required
|
869
|
+
# })
|
870
|
+
#
|
871
|
+
# @example Response structure
|
872
|
+
#
|
873
|
+
# resp.cluster_info.active_operation_arn #=> String
|
874
|
+
# resp.cluster_info.cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
875
|
+
# resp.cluster_info.cluster_arn #=> String
|
876
|
+
# resp.cluster_info.cluster_name #=> String
|
877
|
+
# resp.cluster_info.creation_time #=> Time
|
878
|
+
# resp.cluster_info.current_version #=> String
|
879
|
+
# resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
880
|
+
# resp.cluster_info.state_info.code #=> String
|
881
|
+
# resp.cluster_info.state_info.message #=> String
|
882
|
+
# resp.cluster_info.tags #=> Hash
|
883
|
+
# resp.cluster_info.tags["__string"] #=> String
|
884
|
+
# resp.cluster_info.provisioned.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
|
885
|
+
# resp.cluster_info.provisioned.broker_node_group_info.client_subnets #=> Array
|
886
|
+
# resp.cluster_info.provisioned.broker_node_group_info.client_subnets[0] #=> String
|
887
|
+
# resp.cluster_info.provisioned.broker_node_group_info.instance_type #=> String
|
888
|
+
# resp.cluster_info.provisioned.broker_node_group_info.security_groups #=> Array
|
889
|
+
# resp.cluster_info.provisioned.broker_node_group_info.security_groups[0] #=> String
|
890
|
+
# resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
891
|
+
# resp.cluster_info.provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
|
892
|
+
# resp.cluster_info.provisioned.current_broker_software_info.configuration_arn #=> String
|
893
|
+
# resp.cluster_info.provisioned.current_broker_software_info.configuration_revision #=> Integer
|
894
|
+
# resp.cluster_info.provisioned.current_broker_software_info.kafka_version #=> String
|
895
|
+
# resp.cluster_info.provisioned.client_authentication.sasl.scram.enabled #=> Boolean
|
896
|
+
# resp.cluster_info.provisioned.client_authentication.sasl.iam.enabled #=> Boolean
|
897
|
+
# resp.cluster_info.provisioned.client_authentication.tls.certificate_authority_arn_list #=> Array
|
898
|
+
# resp.cluster_info.provisioned.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
899
|
+
# resp.cluster_info.provisioned.client_authentication.tls.enabled #=> Boolean
|
900
|
+
# resp.cluster_info.provisioned.client_authentication.unauthenticated.enabled #=> Boolean
|
901
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
902
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
903
|
+
# resp.cluster_info.provisioned.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
904
|
+
# resp.cluster_info.provisioned.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
|
905
|
+
# resp.cluster_info.provisioned.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
906
|
+
# resp.cluster_info.provisioned.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
907
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
908
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
909
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.firehose.delivery_stream #=> String
|
910
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.firehose.enabled #=> Boolean
|
911
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.bucket #=> String
|
912
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.enabled #=> Boolean
|
913
|
+
# resp.cluster_info.provisioned.logging_info.broker_logs.s3.prefix #=> String
|
914
|
+
# resp.cluster_info.provisioned.number_of_broker_nodes #=> Integer
|
915
|
+
# resp.cluster_info.provisioned.zookeeper_connect_string #=> String
|
916
|
+
# resp.cluster_info.provisioned.zookeeper_connect_string_tls #=> String
|
917
|
+
# resp.cluster_info.serverless.vpc_configs #=> Array
|
918
|
+
# resp.cluster_info.serverless.vpc_configs[0].subnet_ids #=> Array
|
919
|
+
# resp.cluster_info.serverless.vpc_configs[0].subnet_ids[0] #=> String
|
920
|
+
# resp.cluster_info.serverless.vpc_configs[0].security_group_ids #=> Array
|
921
|
+
# resp.cluster_info.serverless.vpc_configs[0].security_group_ids[0] #=> String
|
922
|
+
# resp.cluster_info.serverless.client_authentication.sasl.iam.enabled #=> Boolean
|
923
|
+
#
|
924
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2 AWS API Documentation
|
925
|
+
#
|
926
|
+
# @overload describe_cluster_v2(params = {})
|
927
|
+
# @param [Hash] params ({})
|
928
|
+
def describe_cluster_v2(params = {}, options = {})
|
929
|
+
req = build_request(:describe_cluster_v2, params)
|
930
|
+
req.send_request(options)
|
931
|
+
end
|
932
|
+
|
688
933
|
# Returns a description of the cluster operation specified by the ARN.
|
689
934
|
#
|
690
935
|
# @option params [required, String] :cluster_operation_arn
|
@@ -740,6 +985,7 @@ module Aws::Kafka
|
|
740
985
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
741
986
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
742
987
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
988
|
+
# resp.cluster_operation_info.source_cluster_info.connectivity_info.public_access.type #=> String
|
743
989
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
|
744
990
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
745
991
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
@@ -767,6 +1013,7 @@ module Aws::Kafka
|
|
767
1013
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
768
1014
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
769
1015
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1016
|
+
# resp.cluster_operation_info.target_cluster_info.connectivity_info.public_access.type #=> String
|
770
1017
|
#
|
771
1018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
|
772
1019
|
#
|
@@ -900,6 +1147,9 @@ module Aws::Kafka
|
|
900
1147
|
# @return [Types::GetBootstrapBrokersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
901
1148
|
#
|
902
1149
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string #bootstrap_broker_string} => String
|
1150
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_sasl_iam #bootstrap_broker_string_public_sasl_iam} => String
|
1151
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_sasl_scram #bootstrap_broker_string_public_sasl_scram} => String
|
1152
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_public_tls #bootstrap_broker_string_public_tls} => String
|
903
1153
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_tls #bootstrap_broker_string_tls} => String
|
904
1154
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_scram #bootstrap_broker_string_sasl_scram} => String
|
905
1155
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_iam #bootstrap_broker_string_sasl_iam} => String
|
@@ -913,6 +1163,9 @@ module Aws::Kafka
|
|
913
1163
|
# @example Response structure
|
914
1164
|
#
|
915
1165
|
# resp.bootstrap_broker_string #=> String
|
1166
|
+
# resp.bootstrap_broker_string_public_sasl_iam #=> String
|
1167
|
+
# resp.bootstrap_broker_string_public_sasl_scram #=> String
|
1168
|
+
# resp.bootstrap_broker_string_public_tls #=> String
|
916
1169
|
# resp.bootstrap_broker_string_tls #=> String
|
917
1170
|
# resp.bootstrap_broker_string_sasl_scram #=> String
|
918
1171
|
# resp.bootstrap_broker_string_sasl_iam #=> String
|
@@ -1023,6 +1276,7 @@ module Aws::Kafka
|
|
1023
1276
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1024
1277
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1025
1278
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1279
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.connectivity_info.public_access.type #=> String
|
1026
1280
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
1027
1281
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1028
1282
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
@@ -1050,6 +1304,7 @@ module Aws::Kafka
|
|
1050
1304
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1051
1305
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1052
1306
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1307
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.connectivity_info.public_access.type #=> String
|
1053
1308
|
# resp.next_token #=> String
|
1054
1309
|
#
|
1055
1310
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
|
@@ -1095,6 +1350,7 @@ module Aws::Kafka
|
|
1095
1350
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups #=> Array
|
1096
1351
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups[0] #=> String
|
1097
1352
|
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1353
|
+
# resp.cluster_info_list[0].broker_node_group_info.connectivity_info.public_access.type #=> String
|
1098
1354
|
# resp.cluster_info_list[0].client_authentication.sasl.scram.enabled #=> Boolean
|
1099
1355
|
# resp.cluster_info_list[0].client_authentication.sasl.iam.enabled #=> Boolean
|
1100
1356
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
|
@@ -1140,6 +1396,104 @@ module Aws::Kafka
|
|
1140
1396
|
req.send_request(options)
|
1141
1397
|
end
|
1142
1398
|
|
1399
|
+
# Returns a list of all the MSK clusters in the current Region.
|
1400
|
+
#
|
1401
|
+
# @option params [String] :cluster_name_filter
|
1402
|
+
# Specify a prefix of the names of the clusters that you want to list.
|
1403
|
+
# The service lists all the clusters whose names start with this prefix.
|
1404
|
+
#
|
1405
|
+
# @option params [String] :cluster_type_filter
|
1406
|
+
# Specify either PROVISIONED or SERVERLESS.
|
1407
|
+
#
|
1408
|
+
# @option params [Integer] :max_results
|
1409
|
+
# The maximum number of results to return in the response. If there are
|
1410
|
+
# more results, the response includes a NextToken parameter.
|
1411
|
+
#
|
1412
|
+
# @option params [String] :next_token
|
1413
|
+
# The paginated results marker. When the result of the operation is
|
1414
|
+
# truncated, the call returns NextToken in the response. To get the next
|
1415
|
+
# batch, provide this token in your next request.
|
1416
|
+
#
|
1417
|
+
# @return [Types::ListClustersV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1418
|
+
#
|
1419
|
+
# * {Types::ListClustersV2Response#cluster_info_list #cluster_info_list} => Array<Types::Cluster>
|
1420
|
+
# * {Types::ListClustersV2Response#next_token #next_token} => String
|
1421
|
+
#
|
1422
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1423
|
+
#
|
1424
|
+
# @example Request syntax with placeholder values
|
1425
|
+
#
|
1426
|
+
# resp = client.list_clusters_v2({
|
1427
|
+
# cluster_name_filter: "__string",
|
1428
|
+
# cluster_type_filter: "__string",
|
1429
|
+
# max_results: 1,
|
1430
|
+
# next_token: "__string",
|
1431
|
+
# })
|
1432
|
+
#
|
1433
|
+
# @example Response structure
|
1434
|
+
#
|
1435
|
+
# resp.cluster_info_list #=> Array
|
1436
|
+
# resp.cluster_info_list[0].active_operation_arn #=> String
|
1437
|
+
# resp.cluster_info_list[0].cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
|
1438
|
+
# resp.cluster_info_list[0].cluster_arn #=> String
|
1439
|
+
# resp.cluster_info_list[0].cluster_name #=> String
|
1440
|
+
# resp.cluster_info_list[0].creation_time #=> Time
|
1441
|
+
# resp.cluster_info_list[0].current_version #=> String
|
1442
|
+
# resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
|
1443
|
+
# resp.cluster_info_list[0].state_info.code #=> String
|
1444
|
+
# resp.cluster_info_list[0].state_info.message #=> String
|
1445
|
+
# resp.cluster_info_list[0].tags #=> Hash
|
1446
|
+
# resp.cluster_info_list[0].tags["__string"] #=> String
|
1447
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
|
1448
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.client_subnets #=> Array
|
1449
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.client_subnets[0] #=> String
|
1450
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.instance_type #=> String
|
1451
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.security_groups #=> Array
|
1452
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.security_groups[0] #=> String
|
1453
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1454
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
|
1455
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_arn #=> String
|
1456
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_revision #=> Integer
|
1457
|
+
# resp.cluster_info_list[0].provisioned.current_broker_software_info.kafka_version #=> String
|
1458
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.sasl.scram.enabled #=> Boolean
|
1459
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.sasl.iam.enabled #=> Boolean
|
1460
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.certificate_authority_arn_list #=> Array
|
1461
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
1462
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.tls.enabled #=> Boolean
|
1463
|
+
# resp.cluster_info_list[0].provisioned.client_authentication.unauthenticated.enabled #=> Boolean
|
1464
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
1465
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1466
|
+
# resp.cluster_info_list[0].provisioned.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1467
|
+
# resp.cluster_info_list[0].provisioned.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
|
1468
|
+
# resp.cluster_info_list[0].provisioned.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
1469
|
+
# resp.cluster_info_list[0].provisioned.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
1470
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
1471
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
1472
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.firehose.delivery_stream #=> String
|
1473
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.firehose.enabled #=> Boolean
|
1474
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.bucket #=> String
|
1475
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.enabled #=> Boolean
|
1476
|
+
# resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.prefix #=> String
|
1477
|
+
# resp.cluster_info_list[0].provisioned.number_of_broker_nodes #=> Integer
|
1478
|
+
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string #=> String
|
1479
|
+
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string_tls #=> String
|
1480
|
+
# resp.cluster_info_list[0].serverless.vpc_configs #=> Array
|
1481
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids #=> Array
|
1482
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids[0] #=> String
|
1483
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].security_group_ids #=> Array
|
1484
|
+
# resp.cluster_info_list[0].serverless.vpc_configs[0].security_group_ids[0] #=> String
|
1485
|
+
# resp.cluster_info_list[0].serverless.client_authentication.sasl.iam.enabled #=> Boolean
|
1486
|
+
# resp.next_token #=> String
|
1487
|
+
#
|
1488
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2 AWS API Documentation
|
1489
|
+
#
|
1490
|
+
# @overload list_clusters_v2(params = {})
|
1491
|
+
# @param [Hash] params ({})
|
1492
|
+
def list_clusters_v2(params = {}, options = {})
|
1493
|
+
req = build_request(:list_clusters_v2, params)
|
1494
|
+
req.send_request(options)
|
1495
|
+
end
|
1496
|
+
|
1143
1497
|
# Returns a list of all the revisions of an MSK configuration.
|
1144
1498
|
#
|
1145
1499
|
# @option params [required, String] :arn
|
@@ -1224,7 +1578,7 @@ module Aws::Kafka
|
|
1224
1578
|
req.send_request(options)
|
1225
1579
|
end
|
1226
1580
|
|
1227
|
-
# Returns a list of Kafka versions.
|
1581
|
+
# Returns a list of Apache Kafka versions.
|
1228
1582
|
#
|
1229
1583
|
# @option params [Integer] :max_results
|
1230
1584
|
#
|
@@ -1688,7 +2042,7 @@ module Aws::Kafka
|
|
1688
2042
|
# Current cluster version.
|
1689
2043
|
#
|
1690
2044
|
# @option params [required, String] :target_kafka_version
|
1691
|
-
# Target Kafka version.
|
2045
|
+
# Target Apache Kafka version.
|
1692
2046
|
#
|
1693
2047
|
# @return [Types::UpdateClusterKafkaVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1694
2048
|
#
|
@@ -1721,6 +2075,47 @@ module Aws::Kafka
|
|
1721
2075
|
req.send_request(options)
|
1722
2076
|
end
|
1723
2077
|
|
2078
|
+
# Updates the connectivity configuration for the cluster.
|
2079
|
+
#
|
2080
|
+
# @option params [required, String] :cluster_arn
|
2081
|
+
#
|
2082
|
+
# @option params [required, Types::ConnectivityInfo] :connectivity_info
|
2083
|
+
# Information about the broker access configuration.
|
2084
|
+
#
|
2085
|
+
# @option params [required, String] :current_version
|
2086
|
+
# The current version of the cluster.
|
2087
|
+
#
|
2088
|
+
# @return [Types::UpdateConnectivityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2089
|
+
#
|
2090
|
+
# * {Types::UpdateConnectivityResponse#cluster_arn #cluster_arn} => String
|
2091
|
+
# * {Types::UpdateConnectivityResponse#cluster_operation_arn #cluster_operation_arn} => String
|
2092
|
+
#
|
2093
|
+
# @example Request syntax with placeholder values
|
2094
|
+
#
|
2095
|
+
# resp = client.update_connectivity({
|
2096
|
+
# cluster_arn: "__string", # required
|
2097
|
+
# connectivity_info: { # required
|
2098
|
+
# public_access: {
|
2099
|
+
# type: "__string",
|
2100
|
+
# },
|
2101
|
+
# },
|
2102
|
+
# current_version: "__string", # required
|
2103
|
+
# })
|
2104
|
+
#
|
2105
|
+
# @example Response structure
|
2106
|
+
#
|
2107
|
+
# resp.cluster_arn #=> String
|
2108
|
+
# resp.cluster_operation_arn #=> String
|
2109
|
+
#
|
2110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivity AWS API Documentation
|
2111
|
+
#
|
2112
|
+
# @overload update_connectivity(params = {})
|
2113
|
+
# @param [Hash] params ({})
|
2114
|
+
def update_connectivity(params = {}, options = {})
|
2115
|
+
req = build_request(:update_connectivity, params)
|
2116
|
+
req.send_request(options)
|
2117
|
+
end
|
2118
|
+
|
1724
2119
|
# Updates the monitoring settings for the cluster. You can use this
|
1725
2120
|
# operation to specify which Apache Kafka metrics you want Amazon MSK to
|
1726
2121
|
# send to Amazon CloudWatch. You can also specify settings for open
|
@@ -1877,7 +2272,7 @@ module Aws::Kafka
|
|
1877
2272
|
params: params,
|
1878
2273
|
config: config)
|
1879
2274
|
context[:gem_name] = 'aws-sdk-kafka'
|
1880
|
-
context[:gem_version] = '1.
|
2275
|
+
context[:gem_version] = '1.46.0'
|
1881
2276
|
Seahorse::Client::Request.new(handlers, context)
|
1882
2277
|
end
|
1883
2278
|
|