aws-sdk-kafka 1.21.0 → 1.27.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 +6 -3
- data/lib/aws-sdk-kafka/client.rb +258 -10
- data/lib/aws-sdk-kafka/client_api.rb +177 -0
- data/lib/aws-sdk-kafka/errors.rb +2 -0
- data/lib/aws-sdk-kafka/resource.rb +2 -0
- data/lib/aws-sdk-kafka/types.rb +467 -4
- 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: d0d78b424cb6b2e9a58baa82a7cc170f6e36ba9ff75e3efa1f7ba99d1795637f
|
4
|
+
data.tar.gz: b4bf6e91abdc92e87e602bee7b51cc0ef77c19dcaff83359b6cb7ba9f7e0439c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4a1091e3d8c2ad04af99aa6e371ac55efc569c5e55fca9306736d14c52d2292959ff804b76a6d4d21ef5eca00f02c792fa06d19a08a7b229ed9fd82290866af
|
7
|
+
data.tar.gz: 1f5eb9d7c83dace507f33f9294ff639afef75227d89cfae0115df28a2aae25ffdfb77dec8e51e64b2bf7e831bf3e47845e7bacab91b59d3c1a626e701f66238d
|
data/lib/aws-sdk-kafka.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -25,7 +28,7 @@ require_relative 'aws-sdk-kafka/customizations'
|
|
25
28
|
# structure.
|
26
29
|
#
|
27
30
|
# kafka = Aws::Kafka::Client.new
|
28
|
-
# resp = kafka.
|
31
|
+
# resp = kafka.batch_associate_scram_secret(params)
|
29
32
|
#
|
30
33
|
# See {Client} for more information.
|
31
34
|
#
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-kafka/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::Kafka
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.27.0'
|
49
52
|
|
50
53
|
end
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::Kafka
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::Kafka
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::Kafka
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::Kafka
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -308,6 +327,42 @@ module Aws::Kafka
|
|
308
327
|
|
309
328
|
# @!group API Operations
|
310
329
|
|
330
|
+
# Associates one or more Scram Secrets with an Amazon MSK cluster.
|
331
|
+
#
|
332
|
+
# @option params [required, String] :cluster_arn
|
333
|
+
#
|
334
|
+
# @option params [required, Array<String>] :secret_arn_list
|
335
|
+
# List of AWS Secrets Manager secret ARNs.
|
336
|
+
#
|
337
|
+
# @return [Types::BatchAssociateScramSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
338
|
+
#
|
339
|
+
# * {Types::BatchAssociateScramSecretResponse#cluster_arn #cluster_arn} => String
|
340
|
+
# * {Types::BatchAssociateScramSecretResponse#unprocessed_scram_secrets #unprocessed_scram_secrets} => Array<Types::UnprocessedScramSecret>
|
341
|
+
#
|
342
|
+
# @example Request syntax with placeholder values
|
343
|
+
#
|
344
|
+
# resp = client.batch_associate_scram_secret({
|
345
|
+
# cluster_arn: "__string", # required
|
346
|
+
# secret_arn_list: ["__string"], # required
|
347
|
+
# })
|
348
|
+
#
|
349
|
+
# @example Response structure
|
350
|
+
#
|
351
|
+
# resp.cluster_arn #=> String
|
352
|
+
# resp.unprocessed_scram_secrets #=> Array
|
353
|
+
# resp.unprocessed_scram_secrets[0].error_code #=> String
|
354
|
+
# resp.unprocessed_scram_secrets[0].error_message #=> String
|
355
|
+
# resp.unprocessed_scram_secrets[0].secret_arn #=> String
|
356
|
+
#
|
357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchAssociateScramSecret AWS API Documentation
|
358
|
+
#
|
359
|
+
# @overload batch_associate_scram_secret(params = {})
|
360
|
+
# @param [Hash] params ({})
|
361
|
+
def batch_associate_scram_secret(params = {}, options = {})
|
362
|
+
req = build_request(:batch_associate_scram_secret, params)
|
363
|
+
req.send_request(options)
|
364
|
+
end
|
365
|
+
|
311
366
|
# Creates a new MSK cluster.
|
312
367
|
#
|
313
368
|
# @option params [required, Types::BrokerNodeGroupInfo] :broker_node_group_info
|
@@ -365,6 +420,11 @@ module Aws::Kafka
|
|
365
420
|
# },
|
366
421
|
# },
|
367
422
|
# client_authentication: {
|
423
|
+
# sasl: {
|
424
|
+
# scram: {
|
425
|
+
# enabled: false,
|
426
|
+
# },
|
427
|
+
# },
|
368
428
|
# tls: {
|
369
429
|
# certificate_authority_arn_list: ["__string"],
|
370
430
|
# },
|
@@ -446,7 +506,7 @@ module Aws::Kafka
|
|
446
506
|
# The name of the configuration. Configuration names are strings that
|
447
507
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
448
508
|
#
|
449
|
-
# @option params [required, String,
|
509
|
+
# @option params [required, String, StringIO, File] :server_properties
|
450
510
|
#
|
451
511
|
# @return [Types::CreateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
452
512
|
#
|
@@ -454,6 +514,7 @@ module Aws::Kafka
|
|
454
514
|
# * {Types::CreateConfigurationResponse#creation_time #creation_time} => Time
|
455
515
|
# * {Types::CreateConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
456
516
|
# * {Types::CreateConfigurationResponse#name #name} => String
|
517
|
+
# * {Types::CreateConfigurationResponse#state #state} => String
|
457
518
|
#
|
458
519
|
# @example Request syntax with placeholder values
|
459
520
|
#
|
@@ -472,6 +533,7 @@ module Aws::Kafka
|
|
472
533
|
# resp.latest_revision.description #=> String
|
473
534
|
# resp.latest_revision.revision #=> Integer
|
474
535
|
# resp.name #=> String
|
536
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
475
537
|
#
|
476
538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfiguration AWS API Documentation
|
477
539
|
#
|
@@ -515,6 +577,37 @@ module Aws::Kafka
|
|
515
577
|
req.send_request(options)
|
516
578
|
end
|
517
579
|
|
580
|
+
# Deletes the specified MSK configuration. The configuration must be in
|
581
|
+
# the ACTIVE or DELETE\_FAILED state.
|
582
|
+
#
|
583
|
+
# @option params [required, String] :arn
|
584
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
585
|
+
#
|
586
|
+
# @return [Types::DeleteConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
587
|
+
#
|
588
|
+
# * {Types::DeleteConfigurationResponse#arn #arn} => String
|
589
|
+
# * {Types::DeleteConfigurationResponse#state #state} => String
|
590
|
+
#
|
591
|
+
# @example Request syntax with placeholder values
|
592
|
+
#
|
593
|
+
# resp = client.delete_configuration({
|
594
|
+
# arn: "__string", # required
|
595
|
+
# })
|
596
|
+
#
|
597
|
+
# @example Response structure
|
598
|
+
#
|
599
|
+
# resp.arn #=> String
|
600
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
601
|
+
#
|
602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfiguration AWS API Documentation
|
603
|
+
#
|
604
|
+
# @overload delete_configuration(params = {})
|
605
|
+
# @param [Hash] params ({})
|
606
|
+
def delete_configuration(params = {}, options = {})
|
607
|
+
req = build_request(:delete_configuration, params)
|
608
|
+
req.send_request(options)
|
609
|
+
end
|
610
|
+
|
518
611
|
# Returns a description of the MSK cluster whose Amazon Resource Name
|
519
612
|
# (ARN) is specified in the request.
|
520
613
|
#
|
@@ -540,6 +633,7 @@ module Aws::Kafka
|
|
540
633
|
# resp.cluster_info.broker_node_group_info.security_groups #=> Array
|
541
634
|
# resp.cluster_info.broker_node_group_info.security_groups[0] #=> String
|
542
635
|
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
636
|
+
# resp.cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
543
637
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
544
638
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
545
639
|
# resp.cluster_info.cluster_arn #=> String
|
@@ -661,6 +755,7 @@ module Aws::Kafka
|
|
661
755
|
# * {Types::DescribeConfigurationResponse#kafka_versions #kafka_versions} => Array<String>
|
662
756
|
# * {Types::DescribeConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
663
757
|
# * {Types::DescribeConfigurationResponse#name #name} => String
|
758
|
+
# * {Types::DescribeConfigurationResponse#state #state} => String
|
664
759
|
#
|
665
760
|
# @example Request syntax with placeholder values
|
666
761
|
#
|
@@ -679,6 +774,7 @@ module Aws::Kafka
|
|
679
774
|
# resp.latest_revision.description #=> String
|
680
775
|
# resp.latest_revision.revision #=> Integer
|
681
776
|
# resp.name #=> String
|
777
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
682
778
|
#
|
683
779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfiguration AWS API Documentation
|
684
780
|
#
|
@@ -727,6 +823,42 @@ module Aws::Kafka
|
|
727
823
|
req.send_request(options)
|
728
824
|
end
|
729
825
|
|
826
|
+
# Disassociates one or more Scram Secrets from an Amazon MSK cluster.
|
827
|
+
#
|
828
|
+
# @option params [required, String] :cluster_arn
|
829
|
+
#
|
830
|
+
# @option params [required, Array<String>] :secret_arn_list
|
831
|
+
# List of AWS Secrets Manager secret ARNs.
|
832
|
+
#
|
833
|
+
# @return [Types::BatchDisassociateScramSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
834
|
+
#
|
835
|
+
# * {Types::BatchDisassociateScramSecretResponse#cluster_arn #cluster_arn} => String
|
836
|
+
# * {Types::BatchDisassociateScramSecretResponse#unprocessed_scram_secrets #unprocessed_scram_secrets} => Array<Types::UnprocessedScramSecret>
|
837
|
+
#
|
838
|
+
# @example Request syntax with placeholder values
|
839
|
+
#
|
840
|
+
# resp = client.batch_disassociate_scram_secret({
|
841
|
+
# cluster_arn: "__string", # required
|
842
|
+
# secret_arn_list: ["__string"], # required
|
843
|
+
# })
|
844
|
+
#
|
845
|
+
# @example Response structure
|
846
|
+
#
|
847
|
+
# resp.cluster_arn #=> String
|
848
|
+
# resp.unprocessed_scram_secrets #=> Array
|
849
|
+
# resp.unprocessed_scram_secrets[0].error_code #=> String
|
850
|
+
# resp.unprocessed_scram_secrets[0].error_message #=> String
|
851
|
+
# resp.unprocessed_scram_secrets[0].secret_arn #=> String
|
852
|
+
#
|
853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecret AWS API Documentation
|
854
|
+
#
|
855
|
+
# @overload batch_disassociate_scram_secret(params = {})
|
856
|
+
# @param [Hash] params ({})
|
857
|
+
def batch_disassociate_scram_secret(params = {}, options = {})
|
858
|
+
req = build_request(:batch_disassociate_scram_secret, params)
|
859
|
+
req.send_request(options)
|
860
|
+
end
|
861
|
+
|
730
862
|
# A list of brokers that a client application can use to bootstrap.
|
731
863
|
#
|
732
864
|
# @option params [required, String] :cluster_arn
|
@@ -735,6 +867,7 @@ module Aws::Kafka
|
|
735
867
|
#
|
736
868
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string #bootstrap_broker_string} => String
|
737
869
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_tls #bootstrap_broker_string_tls} => String
|
870
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_scram #bootstrap_broker_string_sasl_scram} => String
|
738
871
|
#
|
739
872
|
# @example Request syntax with placeholder values
|
740
873
|
#
|
@@ -746,6 +879,7 @@ module Aws::Kafka
|
|
746
879
|
#
|
747
880
|
# resp.bootstrap_broker_string #=> String
|
748
881
|
# resp.bootstrap_broker_string_tls #=> String
|
882
|
+
# resp.bootstrap_broker_string_sasl_scram #=> String
|
749
883
|
#
|
750
884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokers AWS API Documentation
|
751
885
|
#
|
@@ -905,6 +1039,7 @@ module Aws::Kafka
|
|
905
1039
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups #=> Array
|
906
1040
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups[0] #=> String
|
907
1041
|
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1042
|
+
# resp.cluster_info_list[0].client_authentication.sasl.scram.enabled #=> Boolean
|
908
1043
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
|
909
1044
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
910
1045
|
# resp.cluster_info_list[0].cluster_arn #=> String
|
@@ -1015,6 +1150,7 @@ module Aws::Kafka
|
|
1015
1150
|
# resp.configurations[0].latest_revision.description #=> String
|
1016
1151
|
# resp.configurations[0].latest_revision.revision #=> Integer
|
1017
1152
|
# resp.configurations[0].name #=> String
|
1153
|
+
# resp.configurations[0].state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
1018
1154
|
# resp.next_token #=> String
|
1019
1155
|
#
|
1020
1156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurations AWS API Documentation
|
@@ -1118,6 +1254,45 @@ module Aws::Kafka
|
|
1118
1254
|
req.send_request(options)
|
1119
1255
|
end
|
1120
1256
|
|
1257
|
+
# Returns a list of the Scram Secrets associated with an Amazon MSK
|
1258
|
+
# cluster.
|
1259
|
+
#
|
1260
|
+
# @option params [required, String] :cluster_arn
|
1261
|
+
#
|
1262
|
+
# @option params [Integer] :max_results
|
1263
|
+
#
|
1264
|
+
# @option params [String] :next_token
|
1265
|
+
#
|
1266
|
+
# @return [Types::ListScramSecretsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1267
|
+
#
|
1268
|
+
# * {Types::ListScramSecretsResponse#next_token #next_token} => String
|
1269
|
+
# * {Types::ListScramSecretsResponse#secret_arn_list #secret_arn_list} => Array<String>
|
1270
|
+
#
|
1271
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1272
|
+
#
|
1273
|
+
# @example Request syntax with placeholder values
|
1274
|
+
#
|
1275
|
+
# resp = client.list_scram_secrets({
|
1276
|
+
# cluster_arn: "__string", # required
|
1277
|
+
# max_results: 1,
|
1278
|
+
# next_token: "__string",
|
1279
|
+
# })
|
1280
|
+
#
|
1281
|
+
# @example Response structure
|
1282
|
+
#
|
1283
|
+
# resp.next_token #=> String
|
1284
|
+
# resp.secret_arn_list #=> Array
|
1285
|
+
# resp.secret_arn_list[0] #=> String
|
1286
|
+
#
|
1287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecrets AWS API Documentation
|
1288
|
+
#
|
1289
|
+
# @overload list_scram_secrets(params = {})
|
1290
|
+
# @param [Hash] params ({})
|
1291
|
+
def list_scram_secrets(params = {}, options = {})
|
1292
|
+
req = build_request(:list_scram_secrets, params)
|
1293
|
+
req.send_request(options)
|
1294
|
+
end
|
1295
|
+
|
1121
1296
|
# Returns a list of the tags associated with the specified resource.
|
1122
1297
|
#
|
1123
1298
|
# @option params [required, String] :resource_arn
|
@@ -1146,6 +1321,39 @@ module Aws::Kafka
|
|
1146
1321
|
req.send_request(options)
|
1147
1322
|
end
|
1148
1323
|
|
1324
|
+
# Executes a reboot on a broker.
|
1325
|
+
#
|
1326
|
+
# @option params [required, Array<String>] :broker_ids
|
1327
|
+
# The list of broker ids to be rebooted.
|
1328
|
+
#
|
1329
|
+
# @option params [required, String] :cluster_arn
|
1330
|
+
#
|
1331
|
+
# @return [Types::RebootBrokerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1332
|
+
#
|
1333
|
+
# * {Types::RebootBrokerResponse#cluster_arn #cluster_arn} => String
|
1334
|
+
# * {Types::RebootBrokerResponse#cluster_operation_arn #cluster_operation_arn} => String
|
1335
|
+
#
|
1336
|
+
# @example Request syntax with placeholder values
|
1337
|
+
#
|
1338
|
+
# resp = client.reboot_broker({
|
1339
|
+
# broker_ids: ["__string"], # required
|
1340
|
+
# cluster_arn: "__string", # required
|
1341
|
+
# })
|
1342
|
+
#
|
1343
|
+
# @example Response structure
|
1344
|
+
#
|
1345
|
+
# resp.cluster_arn #=> String
|
1346
|
+
# resp.cluster_operation_arn #=> String
|
1347
|
+
#
|
1348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBroker AWS API Documentation
|
1349
|
+
#
|
1350
|
+
# @overload reboot_broker(params = {})
|
1351
|
+
# @param [Hash] params ({})
|
1352
|
+
def reboot_broker(params = {}, options = {})
|
1353
|
+
req = build_request(:reboot_broker, params)
|
1354
|
+
req.send_request(options)
|
1355
|
+
end
|
1356
|
+
|
1149
1357
|
# Adds tags to the specified MSK resource.
|
1150
1358
|
#
|
1151
1359
|
# @option params [required, String] :resource_arn
|
@@ -1288,6 +1496,46 @@ module Aws::Kafka
|
|
1288
1496
|
req.send_request(options)
|
1289
1497
|
end
|
1290
1498
|
|
1499
|
+
# Updates an existing MSK configuration. The configuration must be in
|
1500
|
+
# the Active state.
|
1501
|
+
#
|
1502
|
+
# @option params [required, String] :arn
|
1503
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
1504
|
+
#
|
1505
|
+
# @option params [String] :description
|
1506
|
+
# The description of the configuration.
|
1507
|
+
#
|
1508
|
+
# @option params [required, String, StringIO, File] :server_properties
|
1509
|
+
#
|
1510
|
+
# @return [Types::UpdateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1511
|
+
#
|
1512
|
+
# * {Types::UpdateConfigurationResponse#arn #arn} => String
|
1513
|
+
# * {Types::UpdateConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
1514
|
+
#
|
1515
|
+
# @example Request syntax with placeholder values
|
1516
|
+
#
|
1517
|
+
# resp = client.update_configuration({
|
1518
|
+
# arn: "__string", # required
|
1519
|
+
# description: "__string",
|
1520
|
+
# server_properties: "data", # required
|
1521
|
+
# })
|
1522
|
+
#
|
1523
|
+
# @example Response structure
|
1524
|
+
#
|
1525
|
+
# resp.arn #=> String
|
1526
|
+
# resp.latest_revision.creation_time #=> Time
|
1527
|
+
# resp.latest_revision.description #=> String
|
1528
|
+
# resp.latest_revision.revision #=> Integer
|
1529
|
+
#
|
1530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfiguration AWS API Documentation
|
1531
|
+
#
|
1532
|
+
# @overload update_configuration(params = {})
|
1533
|
+
# @param [Hash] params ({})
|
1534
|
+
def update_configuration(params = {}, options = {})
|
1535
|
+
req = build_request(:update_configuration, params)
|
1536
|
+
req.send_request(options)
|
1537
|
+
end
|
1538
|
+
|
1291
1539
|
# Updates the cluster with the configuration that is specified in the
|
1292
1540
|
# request body.
|
1293
1541
|
#
|
@@ -1461,7 +1709,7 @@ module Aws::Kafka
|
|
1461
1709
|
params: params,
|
1462
1710
|
config: config)
|
1463
1711
|
context[:gem_name] = 'aws-sdk-kafka'
|
1464
|
-
context[:gem_version] = '1.
|
1712
|
+
context[:gem_version] = '1.27.0'
|
1465
1713
|
Seahorse::Client::Request.new(handlers, context)
|
1466
1714
|
end
|
1467
1715
|
|