aws-sdk-kafka 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kafka.rb +1 -1
- data/lib/aws-sdk-kafka/client.rb +282 -20
- data/lib/aws-sdk-kafka/client_api.rb +192 -1
- data/lib/aws-sdk-kafka/types.rb +544 -31
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cd85c0289f8984fe3f36479f1f684b2cfb19716
|
4
|
+
data.tar.gz: 4d8b0e2caaee29e3808bd6f6b15e89aed1477597
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e1cc60b25d8840b1ad325ffa4c08f14c48d87278a90f796e0ad021c029535cfec912df683b31b399794fe94938a015e7148ab3d2e33b2af9d587fb01f75cfad
|
7
|
+
data.tar.gz: 66a9afc393dd133c16fc1f4fc4b6e69019af71e218fc0f9b37cb75a124306014f7bb727f9168ba8aa24362ff5ecdc66e880c88695d6a7db2a8f5584dcac9b196
|
data/lib/aws-sdk-kafka.rb
CHANGED
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -255,12 +255,15 @@ module Aws::Kafka
|
|
255
255
|
# @option params [required, Types::BrokerNodeGroupInfo] :broker_node_group_info
|
256
256
|
# Information about the broker nodes in the cluster.
|
257
257
|
#
|
258
|
+
# @option params [Types::ClientAuthentication] :client_authentication
|
259
|
+
# Includes all client authentication related information.
|
260
|
+
#
|
258
261
|
# @option params [required, String] :cluster_name
|
259
262
|
# The name of the cluster.
|
260
263
|
#
|
261
264
|
# @option params [Types::ConfigurationInfo] :configuration_info
|
262
|
-
#
|
263
|
-
# cluster.
|
265
|
+
# Represents the configuration that you want MSK to use for the brokers
|
266
|
+
# in a cluster.
|
264
267
|
#
|
265
268
|
# @option params [Types::EncryptionInfo] :encryption_info
|
266
269
|
# Includes all encryption-related information.
|
@@ -275,6 +278,9 @@ module Aws::Kafka
|
|
275
278
|
# @option params [required, Integer] :number_of_broker_nodes
|
276
279
|
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
277
280
|
#
|
281
|
+
# @option params [Hash<String,String>] :tags
|
282
|
+
# Create tags when creating the cluster.
|
283
|
+
#
|
278
284
|
# @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
279
285
|
#
|
280
286
|
# * {Types::CreateClusterResponse#cluster_arn #cluster_arn} => String
|
@@ -295,6 +301,11 @@ module Aws::Kafka
|
|
295
301
|
# },
|
296
302
|
# },
|
297
303
|
# },
|
304
|
+
# client_authentication: {
|
305
|
+
# tls: {
|
306
|
+
# certificate_authority_arn_list: ["__string"],
|
307
|
+
# },
|
308
|
+
# },
|
298
309
|
# cluster_name: "__stringMin1Max64", # required
|
299
310
|
# configuration_info: {
|
300
311
|
# arn: "__string", # required
|
@@ -304,17 +315,24 @@ module Aws::Kafka
|
|
304
315
|
# encryption_at_rest: {
|
305
316
|
# data_volume_kms_key_id: "__string", # required
|
306
317
|
# },
|
318
|
+
# encryption_in_transit: {
|
319
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
320
|
+
# in_cluster: false,
|
321
|
+
# },
|
307
322
|
# },
|
308
323
|
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
|
309
324
|
# kafka_version: "__stringMin1Max128", # required
|
310
325
|
# number_of_broker_nodes: 1, # required
|
326
|
+
# tags: {
|
327
|
+
# "__string" => "__string",
|
328
|
+
# },
|
311
329
|
# })
|
312
330
|
#
|
313
331
|
# @example Response structure
|
314
332
|
#
|
315
333
|
# resp.cluster_arn #=> String
|
316
334
|
# resp.cluster_name #=> String
|
317
|
-
# resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED"
|
335
|
+
# resp.state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
|
318
336
|
#
|
319
337
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateCluster AWS API Documentation
|
320
338
|
#
|
@@ -338,10 +356,6 @@ module Aws::Kafka
|
|
338
356
|
# The name of the configuration.
|
339
357
|
#
|
340
358
|
# @option params [required, String, IO] :server_properties
|
341
|
-
# Contents of the server.properties file. When using the API, you must
|
342
|
-
# ensure that the contents of the file are base64 encoded. When using
|
343
|
-
# the AWS Management Console, the SDK, or the AWS CLI, the contents of
|
344
|
-
# server.properties can be in plaintext.
|
345
359
|
#
|
346
360
|
# @return [Types::CreateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
347
361
|
#
|
@@ -399,7 +413,7 @@ module Aws::Kafka
|
|
399
413
|
# @example Response structure
|
400
414
|
#
|
401
415
|
# resp.cluster_arn #=> String
|
402
|
-
# resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED"
|
416
|
+
# resp.state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
|
403
417
|
#
|
404
418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteCluster AWS API Documentation
|
405
419
|
#
|
@@ -427,6 +441,7 @@ module Aws::Kafka
|
|
427
441
|
#
|
428
442
|
# @example Response structure
|
429
443
|
#
|
444
|
+
# resp.cluster_info.active_operation_arn #=> String
|
430
445
|
# resp.cluster_info.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
|
431
446
|
# resp.cluster_info.broker_node_group_info.client_subnets #=> Array
|
432
447
|
# resp.cluster_info.broker_node_group_info.client_subnets[0] #=> String
|
@@ -434,6 +449,8 @@ module Aws::Kafka
|
|
434
449
|
# resp.cluster_info.broker_node_group_info.security_groups #=> Array
|
435
450
|
# resp.cluster_info.broker_node_group_info.security_groups[0] #=> String
|
436
451
|
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
452
|
+
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
453
|
+
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
437
454
|
# resp.cluster_info.cluster_arn #=> String
|
438
455
|
# resp.cluster_info.cluster_name #=> String
|
439
456
|
# resp.cluster_info.creation_time #=> Time
|
@@ -442,9 +459,13 @@ module Aws::Kafka
|
|
442
459
|
# resp.cluster_info.current_broker_software_info.kafka_version #=> String
|
443
460
|
# resp.cluster_info.current_version #=> String
|
444
461
|
# resp.cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
462
|
+
# resp.cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
463
|
+
# resp.cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
445
464
|
# resp.cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
|
446
465
|
# resp.cluster_info.number_of_broker_nodes #=> Integer
|
447
|
-
# resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED"
|
466
|
+
# resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
|
467
|
+
# resp.cluster_info.tags #=> Hash
|
468
|
+
# resp.cluster_info.tags["__string"] #=> String
|
448
469
|
# resp.cluster_info.zookeeper_connect_string #=> String
|
449
470
|
#
|
450
471
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeCluster AWS API Documentation
|
@@ -456,6 +477,53 @@ module Aws::Kafka
|
|
456
477
|
req.send_request(options)
|
457
478
|
end
|
458
479
|
|
480
|
+
# Returns a description of the cluster operation specified by the ARN.
|
481
|
+
#
|
482
|
+
# @option params [required, String] :cluster_operation_arn
|
483
|
+
#
|
484
|
+
# @return [Types::DescribeClusterOperationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
485
|
+
#
|
486
|
+
# * {Types::DescribeClusterOperationResponse#cluster_operation_info #cluster_operation_info} => Types::ClusterOperationInfo
|
487
|
+
#
|
488
|
+
# @example Request syntax with placeholder values
|
489
|
+
#
|
490
|
+
# resp = client.describe_cluster_operation({
|
491
|
+
# cluster_operation_arn: "__string", # required
|
492
|
+
# })
|
493
|
+
#
|
494
|
+
# @example Response structure
|
495
|
+
#
|
496
|
+
# resp.cluster_operation_info.client_request_id #=> String
|
497
|
+
# resp.cluster_operation_info.cluster_arn #=> String
|
498
|
+
# resp.cluster_operation_info.creation_time #=> Time
|
499
|
+
# resp.cluster_operation_info.end_time #=> Time
|
500
|
+
# resp.cluster_operation_info.error_info.error_code #=> String
|
501
|
+
# resp.cluster_operation_info.error_info.error_string #=> String
|
502
|
+
# resp.cluster_operation_info.operation_arn #=> String
|
503
|
+
# resp.cluster_operation_info.operation_state #=> String
|
504
|
+
# resp.cluster_operation_info.operation_type #=> String
|
505
|
+
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info #=> Array
|
506
|
+
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
507
|
+
# resp.cluster_operation_info.source_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
508
|
+
# resp.cluster_operation_info.source_cluster_info.configuration_info.arn #=> String
|
509
|
+
# resp.cluster_operation_info.source_cluster_info.configuration_info.revision #=> Integer
|
510
|
+
# resp.cluster_operation_info.source_cluster_info.number_of_broker_nodes #=> Integer
|
511
|
+
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
|
512
|
+
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
513
|
+
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
514
|
+
# resp.cluster_operation_info.target_cluster_info.configuration_info.arn #=> String
|
515
|
+
# resp.cluster_operation_info.target_cluster_info.configuration_info.revision #=> Integer
|
516
|
+
# resp.cluster_operation_info.target_cluster_info.number_of_broker_nodes #=> Integer
|
517
|
+
#
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
|
519
|
+
#
|
520
|
+
# @overload describe_cluster_operation(params = {})
|
521
|
+
# @param [Hash] params ({})
|
522
|
+
def describe_cluster_operation(params = {}, options = {})
|
523
|
+
req = build_request(:describe_cluster_operation, params)
|
524
|
+
req.send_request(options)
|
525
|
+
end
|
526
|
+
|
459
527
|
# Returns a description of this MSK configuration.
|
460
528
|
#
|
461
529
|
# @option params [required, String] :arn
|
@@ -541,6 +609,7 @@ module Aws::Kafka
|
|
541
609
|
# @return [Types::GetBootstrapBrokersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
542
610
|
#
|
543
611
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string #bootstrap_broker_string} => String
|
612
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_tls #bootstrap_broker_string_tls} => String
|
544
613
|
#
|
545
614
|
# @example Request syntax with placeholder values
|
546
615
|
#
|
@@ -551,6 +620,7 @@ module Aws::Kafka
|
|
551
620
|
# @example Response structure
|
552
621
|
#
|
553
622
|
# resp.bootstrap_broker_string #=> String
|
623
|
+
# resp.bootstrap_broker_string_tls #=> String
|
554
624
|
#
|
555
625
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokers AWS API Documentation
|
556
626
|
#
|
@@ -561,7 +631,64 @@ module Aws::Kafka
|
|
561
631
|
req.send_request(options)
|
562
632
|
end
|
563
633
|
|
564
|
-
# Returns a list of
|
634
|
+
# Returns a list of all the operations that have been performed on the
|
635
|
+
# specified MSK cluster.
|
636
|
+
#
|
637
|
+
# @option params [required, String] :cluster_arn
|
638
|
+
#
|
639
|
+
# @option params [Integer] :max_results
|
640
|
+
#
|
641
|
+
# @option params [String] :next_token
|
642
|
+
#
|
643
|
+
# @return [Types::ListClusterOperationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
644
|
+
#
|
645
|
+
# * {Types::ListClusterOperationsResponse#cluster_operation_info_list #cluster_operation_info_list} => Array<Types::ClusterOperationInfo>
|
646
|
+
# * {Types::ListClusterOperationsResponse#next_token #next_token} => String
|
647
|
+
#
|
648
|
+
# @example Request syntax with placeholder values
|
649
|
+
#
|
650
|
+
# resp = client.list_cluster_operations({
|
651
|
+
# cluster_arn: "__string", # required
|
652
|
+
# max_results: 1,
|
653
|
+
# next_token: "__string",
|
654
|
+
# })
|
655
|
+
#
|
656
|
+
# @example Response structure
|
657
|
+
#
|
658
|
+
# resp.cluster_operation_info_list #=> Array
|
659
|
+
# resp.cluster_operation_info_list[0].client_request_id #=> String
|
660
|
+
# resp.cluster_operation_info_list[0].cluster_arn #=> String
|
661
|
+
# resp.cluster_operation_info_list[0].creation_time #=> Time
|
662
|
+
# resp.cluster_operation_info_list[0].end_time #=> Time
|
663
|
+
# resp.cluster_operation_info_list[0].error_info.error_code #=> String
|
664
|
+
# resp.cluster_operation_info_list[0].error_info.error_string #=> String
|
665
|
+
# resp.cluster_operation_info_list[0].operation_arn #=> String
|
666
|
+
# resp.cluster_operation_info_list[0].operation_state #=> String
|
667
|
+
# resp.cluster_operation_info_list[0].operation_type #=> String
|
668
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info #=> Array
|
669
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
670
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
671
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.configuration_info.arn #=> String
|
672
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.configuration_info.revision #=> Integer
|
673
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.number_of_broker_nodes #=> Integer
|
674
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
675
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
676
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
677
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.configuration_info.arn #=> String
|
678
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.configuration_info.revision #=> Integer
|
679
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.number_of_broker_nodes #=> Integer
|
680
|
+
# resp.next_token #=> String
|
681
|
+
#
|
682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
|
683
|
+
#
|
684
|
+
# @overload list_cluster_operations(params = {})
|
685
|
+
# @param [Hash] params ({})
|
686
|
+
def list_cluster_operations(params = {}, options = {})
|
687
|
+
req = build_request(:list_cluster_operations, params)
|
688
|
+
req.send_request(options)
|
689
|
+
end
|
690
|
+
|
691
|
+
# Returns a list of all the MSK clusters in the current Region.
|
565
692
|
#
|
566
693
|
# @option params [String] :cluster_name_filter
|
567
694
|
#
|
@@ -585,6 +712,7 @@ module Aws::Kafka
|
|
585
712
|
# @example Response structure
|
586
713
|
#
|
587
714
|
# resp.cluster_info_list #=> Array
|
715
|
+
# resp.cluster_info_list[0].active_operation_arn #=> String
|
588
716
|
# resp.cluster_info_list[0].broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
|
589
717
|
# resp.cluster_info_list[0].broker_node_group_info.client_subnets #=> Array
|
590
718
|
# resp.cluster_info_list[0].broker_node_group_info.client_subnets[0] #=> String
|
@@ -592,6 +720,8 @@ module Aws::Kafka
|
|
592
720
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups #=> Array
|
593
721
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups[0] #=> String
|
594
722
|
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
723
|
+
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
|
724
|
+
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
595
725
|
# resp.cluster_info_list[0].cluster_arn #=> String
|
596
726
|
# resp.cluster_info_list[0].cluster_name #=> String
|
597
727
|
# resp.cluster_info_list[0].creation_time #=> Time
|
@@ -600,9 +730,13 @@ module Aws::Kafka
|
|
600
730
|
# resp.cluster_info_list[0].current_broker_software_info.kafka_version #=> String
|
601
731
|
# resp.cluster_info_list[0].current_version #=> String
|
602
732
|
# resp.cluster_info_list[0].encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
733
|
+
# resp.cluster_info_list[0].encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
734
|
+
# resp.cluster_info_list[0].encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
603
735
|
# resp.cluster_info_list[0].enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
|
604
736
|
# resp.cluster_info_list[0].number_of_broker_nodes #=> Integer
|
605
|
-
# resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED"
|
737
|
+
# resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
|
738
|
+
# resp.cluster_info_list[0].tags #=> Hash
|
739
|
+
# resp.cluster_info_list[0].tags["__string"] #=> String
|
606
740
|
# resp.cluster_info_list[0].zookeeper_connect_string #=> String
|
607
741
|
# resp.next_token #=> String
|
608
742
|
#
|
@@ -615,10 +749,47 @@ module Aws::Kafka
|
|
615
749
|
req.send_request(options)
|
616
750
|
end
|
617
751
|
|
618
|
-
# Returns a list of all the MSK configurations in this Region
|
619
|
-
#
|
752
|
+
# Returns a list of all the MSK configurations in this Region.
|
753
|
+
#
|
754
|
+
# @option params [required, String] :arn
|
620
755
|
#
|
621
|
-
# @option params [
|
756
|
+
# @option params [Integer] :max_results
|
757
|
+
#
|
758
|
+
# @option params [String] :next_token
|
759
|
+
#
|
760
|
+
# @return [Types::ListConfigurationRevisionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
761
|
+
#
|
762
|
+
# * {Types::ListConfigurationRevisionsResponse#next_token #next_token} => String
|
763
|
+
# * {Types::ListConfigurationRevisionsResponse#revisions #revisions} => Array<Types::ConfigurationRevision>
|
764
|
+
#
|
765
|
+
# @example Request syntax with placeholder values
|
766
|
+
#
|
767
|
+
# resp = client.list_configuration_revisions({
|
768
|
+
# arn: "__string", # required
|
769
|
+
# max_results: 1,
|
770
|
+
# next_token: "__string",
|
771
|
+
# })
|
772
|
+
#
|
773
|
+
# @example Response structure
|
774
|
+
#
|
775
|
+
# resp.next_token #=> String
|
776
|
+
# resp.revisions #=> Array
|
777
|
+
# resp.revisions[0].creation_time #=> Time
|
778
|
+
# resp.revisions[0].description #=> String
|
779
|
+
# resp.revisions[0].revision #=> Integer
|
780
|
+
#
|
781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationRevisions AWS API Documentation
|
782
|
+
#
|
783
|
+
# @overload list_configuration_revisions(params = {})
|
784
|
+
# @param [Hash] params ({})
|
785
|
+
def list_configuration_revisions(params = {}, options = {})
|
786
|
+
req = build_request(:list_configuration_revisions, params)
|
787
|
+
req.send_request(options)
|
788
|
+
end
|
789
|
+
|
790
|
+
# Returns a list of all the MSK configurations in this Region.
|
791
|
+
#
|
792
|
+
# @option params [Integer] :max_results
|
622
793
|
#
|
623
794
|
# @option params [String] :next_token
|
624
795
|
#
|
@@ -630,7 +801,7 @@ module Aws::Kafka
|
|
630
801
|
# @example Request syntax with placeholder values
|
631
802
|
#
|
632
803
|
# resp = client.list_configurations({
|
633
|
-
# max_results:
|
804
|
+
# max_results: 1,
|
634
805
|
# next_token: "__string",
|
635
806
|
# })
|
636
807
|
#
|
@@ -690,11 +861,15 @@ module Aws::Kafka
|
|
690
861
|
# resp.node_info_list[0].broker_node_info.current_broker_software_info.configuration_arn #=> String
|
691
862
|
# resp.node_info_list[0].broker_node_info.current_broker_software_info.configuration_revision #=> Integer
|
692
863
|
# resp.node_info_list[0].broker_node_info.current_broker_software_info.kafka_version #=> String
|
864
|
+
# resp.node_info_list[0].broker_node_info.endpoints #=> Array
|
865
|
+
# resp.node_info_list[0].broker_node_info.endpoints[0] #=> String
|
693
866
|
# resp.node_info_list[0].instance_type #=> String
|
694
867
|
# resp.node_info_list[0].node_arn #=> String
|
695
868
|
# resp.node_info_list[0].node_type #=> String, one of "BROKER"
|
696
869
|
# resp.node_info_list[0].zookeeper_node_info.attached_eni_id #=> String
|
697
870
|
# resp.node_info_list[0].zookeeper_node_info.client_vpc_ip_address #=> String
|
871
|
+
# resp.node_info_list[0].zookeeper_node_info.endpoints #=> Array
|
872
|
+
# resp.node_info_list[0].zookeeper_node_info.endpoints[0] #=> String
|
698
873
|
# resp.node_info_list[0].zookeeper_node_info.zookeeper_id #=> Float
|
699
874
|
# resp.node_info_list[0].zookeeper_node_info.zookeeper_version #=> String
|
700
875
|
#
|
@@ -707,7 +882,7 @@ module Aws::Kafka
|
|
707
882
|
req.send_request(options)
|
708
883
|
end
|
709
884
|
|
710
|
-
#
|
885
|
+
# Returns a list of the tags associated with the specified resource.
|
711
886
|
#
|
712
887
|
# @option params [required, String] :resource_arn
|
713
888
|
#
|
@@ -735,12 +910,12 @@ module Aws::Kafka
|
|
735
910
|
req.send_request(options)
|
736
911
|
end
|
737
912
|
|
738
|
-
#
|
913
|
+
# Adds tags to the specified MSK resource.
|
739
914
|
#
|
740
915
|
# @option params [required, String] :resource_arn
|
741
916
|
#
|
742
917
|
# @option params [required, Hash<String,String>] :tags
|
743
|
-
# The
|
918
|
+
# The key-value pair for the resource tag.
|
744
919
|
#
|
745
920
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
746
921
|
#
|
@@ -762,7 +937,8 @@ module Aws::Kafka
|
|
762
937
|
req.send_request(options)
|
763
938
|
end
|
764
939
|
|
765
|
-
#
|
940
|
+
# Removes the tags associated with the keys that are provided in the
|
941
|
+
# query.
|
766
942
|
#
|
767
943
|
# @option params [required, String] :resource_arn
|
768
944
|
#
|
@@ -786,6 +962,92 @@ module Aws::Kafka
|
|
786
962
|
req.send_request(options)
|
787
963
|
end
|
788
964
|
|
965
|
+
# Updates the EBS storage associated with MSK brokers.
|
966
|
+
#
|
967
|
+
# @option params [required, String] :cluster_arn
|
968
|
+
#
|
969
|
+
# @option params [required, String] :current_version
|
970
|
+
# The version of cluster to update from. A successful operation will
|
971
|
+
# then generate a new version.
|
972
|
+
#
|
973
|
+
# @option params [required, Array<Types::BrokerEBSVolumeInfo>] :target_broker_ebs_volume_info
|
974
|
+
# Describes the target volume size and the ID of the broker to apply the
|
975
|
+
# update to.
|
976
|
+
#
|
977
|
+
# @return [Types::UpdateBrokerStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
978
|
+
#
|
979
|
+
# * {Types::UpdateBrokerStorageResponse#cluster_arn #cluster_arn} => String
|
980
|
+
# * {Types::UpdateBrokerStorageResponse#cluster_operation_arn #cluster_operation_arn} => String
|
981
|
+
#
|
982
|
+
# @example Request syntax with placeholder values
|
983
|
+
#
|
984
|
+
# resp = client.update_broker_storage({
|
985
|
+
# cluster_arn: "__string", # required
|
986
|
+
# current_version: "__string", # required
|
987
|
+
# target_broker_ebs_volume_info: [ # required
|
988
|
+
# {
|
989
|
+
# kafka_broker_node_id: "__string", # required
|
990
|
+
# volume_size_gb: 1, # required
|
991
|
+
# },
|
992
|
+
# ],
|
993
|
+
# })
|
994
|
+
#
|
995
|
+
# @example Response structure
|
996
|
+
#
|
997
|
+
# resp.cluster_arn #=> String
|
998
|
+
# resp.cluster_operation_arn #=> String
|
999
|
+
#
|
1000
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerStorage AWS API Documentation
|
1001
|
+
#
|
1002
|
+
# @overload update_broker_storage(params = {})
|
1003
|
+
# @param [Hash] params ({})
|
1004
|
+
def update_broker_storage(params = {}, options = {})
|
1005
|
+
req = build_request(:update_broker_storage, params)
|
1006
|
+
req.send_request(options)
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# Updates the cluster with the configuration that is specified in the
|
1010
|
+
# request body.
|
1011
|
+
#
|
1012
|
+
# @option params [required, String] :cluster_arn
|
1013
|
+
#
|
1014
|
+
# @option params [required, Types::ConfigurationInfo] :configuration_info
|
1015
|
+
# Represents the configuration that you want MSK to use for the brokers
|
1016
|
+
# in a cluster.
|
1017
|
+
#
|
1018
|
+
# @option params [required, String] :current_version
|
1019
|
+
# The version of the cluster that needs to be updated.
|
1020
|
+
#
|
1021
|
+
# @return [Types::UpdateClusterConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1022
|
+
#
|
1023
|
+
# * {Types::UpdateClusterConfigurationResponse#cluster_arn #cluster_arn} => String
|
1024
|
+
# * {Types::UpdateClusterConfigurationResponse#cluster_operation_arn #cluster_operation_arn} => String
|
1025
|
+
#
|
1026
|
+
# @example Request syntax with placeholder values
|
1027
|
+
#
|
1028
|
+
# resp = client.update_cluster_configuration({
|
1029
|
+
# cluster_arn: "__string", # required
|
1030
|
+
# configuration_info: { # required
|
1031
|
+
# arn: "__string", # required
|
1032
|
+
# revision: 1, # required
|
1033
|
+
# },
|
1034
|
+
# current_version: "__string", # required
|
1035
|
+
# })
|
1036
|
+
#
|
1037
|
+
# @example Response structure
|
1038
|
+
#
|
1039
|
+
# resp.cluster_arn #=> String
|
1040
|
+
# resp.cluster_operation_arn #=> String
|
1041
|
+
#
|
1042
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterConfiguration AWS API Documentation
|
1043
|
+
#
|
1044
|
+
# @overload update_cluster_configuration(params = {})
|
1045
|
+
# @param [Hash] params ({})
|
1046
|
+
def update_cluster_configuration(params = {}, options = {})
|
1047
|
+
req = build_request(:update_cluster_configuration, params)
|
1048
|
+
req.send_request(options)
|
1049
|
+
end
|
1050
|
+
|
789
1051
|
# @!endgroup
|
790
1052
|
|
791
1053
|
# @param params ({})
|
@@ -799,7 +1061,7 @@ module Aws::Kafka
|
|
799
1061
|
params: params,
|
800
1062
|
config: config)
|
801
1063
|
context[:gem_name] = 'aws-sdk-kafka'
|
802
|
-
context[:gem_version] = '1.
|
1064
|
+
context[:gem_version] = '1.9.0'
|
803
1065
|
Seahorse::Client::Request.new(handlers, context)
|
804
1066
|
end
|
805
1067
|
|