aws-sdk-kafka 1.22.1 → 1.28.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 +255 -9
- 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: 4f35e67a7f51a0820c0e353907046b98d380876b866c60d6def9064d0ea91403
|
4
|
+
data.tar.gz: 7684fafecdb8bc938da74428505fee18b97f4ec33e4b3d8394564995c201d3ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81322da364008ef2cc4aba90f92fd889355416de37317046e340bdc70f59130adb83dcb3653626941d7e2d3e69c42ea8d99501bdbc837637ca5917700bedf7be
|
7
|
+
data.tar.gz: da8b5bc6b0c145b101a7e3d8b2b1ce071d8f263ead5335ea8d875f3a76aabaa1afd9ca107507036450f8e283dfe51e204334421186c8861860bfa54abd16cfce
|
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.28.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:
|
@@ -83,13 +85,28 @@ module Aws::Kafka
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
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
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::Kafka
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# 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.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -310,6 +327,42 @@ module Aws::Kafka
|
|
310
327
|
|
311
328
|
# @!group API Operations
|
312
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
|
+
|
313
366
|
# Creates a new MSK cluster.
|
314
367
|
#
|
315
368
|
# @option params [required, Types::BrokerNodeGroupInfo] :broker_node_group_info
|
@@ -367,6 +420,11 @@ module Aws::Kafka
|
|
367
420
|
# },
|
368
421
|
# },
|
369
422
|
# client_authentication: {
|
423
|
+
# sasl: {
|
424
|
+
# scram: {
|
425
|
+
# enabled: false,
|
426
|
+
# },
|
427
|
+
# },
|
370
428
|
# tls: {
|
371
429
|
# certificate_authority_arn_list: ["__string"],
|
372
430
|
# },
|
@@ -448,7 +506,7 @@ module Aws::Kafka
|
|
448
506
|
# The name of the configuration. Configuration names are strings that
|
449
507
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
450
508
|
#
|
451
|
-
# @option params [required, String,
|
509
|
+
# @option params [required, String, StringIO, File] :server_properties
|
452
510
|
#
|
453
511
|
# @return [Types::CreateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
454
512
|
#
|
@@ -456,6 +514,7 @@ module Aws::Kafka
|
|
456
514
|
# * {Types::CreateConfigurationResponse#creation_time #creation_time} => Time
|
457
515
|
# * {Types::CreateConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
458
516
|
# * {Types::CreateConfigurationResponse#name #name} => String
|
517
|
+
# * {Types::CreateConfigurationResponse#state #state} => String
|
459
518
|
#
|
460
519
|
# @example Request syntax with placeholder values
|
461
520
|
#
|
@@ -474,6 +533,7 @@ module Aws::Kafka
|
|
474
533
|
# resp.latest_revision.description #=> String
|
475
534
|
# resp.latest_revision.revision #=> Integer
|
476
535
|
# resp.name #=> String
|
536
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
477
537
|
#
|
478
538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfiguration AWS API Documentation
|
479
539
|
#
|
@@ -517,6 +577,37 @@ module Aws::Kafka
|
|
517
577
|
req.send_request(options)
|
518
578
|
end
|
519
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
|
+
|
520
611
|
# Returns a description of the MSK cluster whose Amazon Resource Name
|
521
612
|
# (ARN) is specified in the request.
|
522
613
|
#
|
@@ -542,6 +633,7 @@ module Aws::Kafka
|
|
542
633
|
# resp.cluster_info.broker_node_group_info.security_groups #=> Array
|
543
634
|
# resp.cluster_info.broker_node_group_info.security_groups[0] #=> String
|
544
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
|
545
637
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
546
638
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
547
639
|
# resp.cluster_info.cluster_arn #=> String
|
@@ -663,6 +755,7 @@ module Aws::Kafka
|
|
663
755
|
# * {Types::DescribeConfigurationResponse#kafka_versions #kafka_versions} => Array<String>
|
664
756
|
# * {Types::DescribeConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
665
757
|
# * {Types::DescribeConfigurationResponse#name #name} => String
|
758
|
+
# * {Types::DescribeConfigurationResponse#state #state} => String
|
666
759
|
#
|
667
760
|
# @example Request syntax with placeholder values
|
668
761
|
#
|
@@ -681,6 +774,7 @@ module Aws::Kafka
|
|
681
774
|
# resp.latest_revision.description #=> String
|
682
775
|
# resp.latest_revision.revision #=> Integer
|
683
776
|
# resp.name #=> String
|
777
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
684
778
|
#
|
685
779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfiguration AWS API Documentation
|
686
780
|
#
|
@@ -729,6 +823,42 @@ module Aws::Kafka
|
|
729
823
|
req.send_request(options)
|
730
824
|
end
|
731
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
|
+
|
732
862
|
# A list of brokers that a client application can use to bootstrap.
|
733
863
|
#
|
734
864
|
# @option params [required, String] :cluster_arn
|
@@ -737,6 +867,7 @@ module Aws::Kafka
|
|
737
867
|
#
|
738
868
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string #bootstrap_broker_string} => String
|
739
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
|
740
871
|
#
|
741
872
|
# @example Request syntax with placeholder values
|
742
873
|
#
|
@@ -748,6 +879,7 @@ module Aws::Kafka
|
|
748
879
|
#
|
749
880
|
# resp.bootstrap_broker_string #=> String
|
750
881
|
# resp.bootstrap_broker_string_tls #=> String
|
882
|
+
# resp.bootstrap_broker_string_sasl_scram #=> String
|
751
883
|
#
|
752
884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokers AWS API Documentation
|
753
885
|
#
|
@@ -907,6 +1039,7 @@ module Aws::Kafka
|
|
907
1039
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups #=> Array
|
908
1040
|
# resp.cluster_info_list[0].broker_node_group_info.security_groups[0] #=> String
|
909
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
|
910
1043
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
|
911
1044
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list[0] #=> String
|
912
1045
|
# resp.cluster_info_list[0].cluster_arn #=> String
|
@@ -1017,6 +1150,7 @@ module Aws::Kafka
|
|
1017
1150
|
# resp.configurations[0].latest_revision.description #=> String
|
1018
1151
|
# resp.configurations[0].latest_revision.revision #=> Integer
|
1019
1152
|
# resp.configurations[0].name #=> String
|
1153
|
+
# resp.configurations[0].state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
1020
1154
|
# resp.next_token #=> String
|
1021
1155
|
#
|
1022
1156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurations AWS API Documentation
|
@@ -1120,6 +1254,45 @@ module Aws::Kafka
|
|
1120
1254
|
req.send_request(options)
|
1121
1255
|
end
|
1122
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
|
+
|
1123
1296
|
# Returns a list of the tags associated with the specified resource.
|
1124
1297
|
#
|
1125
1298
|
# @option params [required, String] :resource_arn
|
@@ -1148,6 +1321,39 @@ module Aws::Kafka
|
|
1148
1321
|
req.send_request(options)
|
1149
1322
|
end
|
1150
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
|
+
|
1151
1357
|
# Adds tags to the specified MSK resource.
|
1152
1358
|
#
|
1153
1359
|
# @option params [required, String] :resource_arn
|
@@ -1290,6 +1496,46 @@ module Aws::Kafka
|
|
1290
1496
|
req.send_request(options)
|
1291
1497
|
end
|
1292
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
|
+
|
1293
1539
|
# Updates the cluster with the configuration that is specified in the
|
1294
1540
|
# request body.
|
1295
1541
|
#
|
@@ -1463,7 +1709,7 @@ module Aws::Kafka
|
|
1463
1709
|
params: params,
|
1464
1710
|
config: config)
|
1465
1711
|
context[:gem_name] = 'aws-sdk-kafka'
|
1466
|
-
context[:gem_version] = '1.
|
1712
|
+
context[:gem_version] = '1.28.0'
|
1467
1713
|
Seahorse::Client::Request.new(handlers, context)
|
1468
1714
|
end
|
1469
1715
|
|
@@ -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:
|
@@ -12,6 +14,10 @@ module Aws::Kafka
|
|
12
14
|
include Seahorse::Model
|
13
15
|
|
14
16
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
17
|
+
BatchAssociateScramSecretRequest = Shapes::StructureShape.new(name: 'BatchAssociateScramSecretRequest')
|
18
|
+
BatchAssociateScramSecretResponse = Shapes::StructureShape.new(name: 'BatchAssociateScramSecretResponse')
|
19
|
+
BatchDisassociateScramSecretRequest = Shapes::StructureShape.new(name: 'BatchDisassociateScramSecretRequest')
|
20
|
+
BatchDisassociateScramSecretResponse = Shapes::StructureShape.new(name: 'BatchDisassociateScramSecretResponse')
|
15
21
|
BrokerAZDistribution = Shapes::StringShape.new(name: 'BrokerAZDistribution')
|
16
22
|
BrokerEBSVolumeInfo = Shapes::StructureShape.new(name: 'BrokerEBSVolumeInfo')
|
17
23
|
BrokerLogs = Shapes::StructureShape.new(name: 'BrokerLogs')
|
@@ -30,6 +36,7 @@ module Aws::Kafka
|
|
30
36
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
31
37
|
ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
|
32
38
|
ConfigurationRevision = Shapes::StructureShape.new(name: 'ConfigurationRevision')
|
39
|
+
ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
|
33
40
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
34
41
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
35
42
|
CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
|
@@ -37,6 +44,8 @@ module Aws::Kafka
|
|
37
44
|
CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
|
38
45
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
39
46
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
47
|
+
DeleteConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationRequest')
|
48
|
+
DeleteConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationResponse')
|
40
49
|
DescribeClusterOperationRequest = Shapes::StructureShape.new(name: 'DescribeClusterOperationRequest')
|
41
50
|
DescribeClusterOperationResponse = Shapes::StructureShape.new(name: 'DescribeClusterOperationResponse')
|
42
51
|
DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
|
@@ -75,6 +84,8 @@ module Aws::Kafka
|
|
75
84
|
ListKafkaVersionsResponse = Shapes::StructureShape.new(name: 'ListKafkaVersionsResponse')
|
76
85
|
ListNodesRequest = Shapes::StructureShape.new(name: 'ListNodesRequest')
|
77
86
|
ListNodesResponse = Shapes::StructureShape.new(name: 'ListNodesResponse')
|
87
|
+
ListScramSecretsRequest = Shapes::StructureShape.new(name: 'ListScramSecretsRequest')
|
88
|
+
ListScramSecretsResponse = Shapes::StructureShape.new(name: 'ListScramSecretsResponse')
|
78
89
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
79
90
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
80
91
|
LoggingInfo = Shapes::StructureShape.new(name: 'LoggingInfo')
|
@@ -89,7 +100,11 @@ module Aws::Kafka
|
|
89
100
|
OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
|
90
101
|
Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
|
91
102
|
PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
|
103
|
+
RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
|
104
|
+
RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
|
92
105
|
S3 = Shapes::StructureShape.new(name: 'S3')
|
106
|
+
Sasl = Shapes::StructureShape.new(name: 'Sasl')
|
107
|
+
Scram = Shapes::StructureShape.new(name: 'Scram')
|
93
108
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
94
109
|
StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
|
95
110
|
StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
|
@@ -97,6 +112,7 @@ module Aws::Kafka
|
|
97
112
|
Tls = Shapes::StructureShape.new(name: 'Tls')
|
98
113
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
99
114
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
115
|
+
UnprocessedScramSecret = Shapes::StructureShape.new(name: 'UnprocessedScramSecret')
|
100
116
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
101
117
|
UpdateBrokerCountRequest = Shapes::StructureShape.new(name: 'UpdateBrokerCountRequest')
|
102
118
|
UpdateBrokerCountResponse = Shapes::StructureShape.new(name: 'UpdateBrokerCountResponse')
|
@@ -106,6 +122,8 @@ module Aws::Kafka
|
|
106
122
|
UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
|
107
123
|
UpdateClusterKafkaVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionRequest')
|
108
124
|
UpdateClusterKafkaVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionResponse')
|
125
|
+
UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
|
126
|
+
UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
|
109
127
|
UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
|
110
128
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
111
129
|
ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
|
@@ -124,6 +142,7 @@ module Aws::Kafka
|
|
124
142
|
__listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
|
125
143
|
__listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
|
126
144
|
__listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
|
145
|
+
__listOfUnprocessedScramSecret = Shapes::ListShape.new(name: '__listOfUnprocessedScramSecret')
|
127
146
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
128
147
|
__long = Shapes::IntegerShape.new(name: '__long')
|
129
148
|
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
@@ -137,6 +156,22 @@ module Aws::Kafka
|
|
137
156
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
138
157
|
BadRequestException.struct_class = Types::BadRequestException
|
139
158
|
|
159
|
+
BatchAssociateScramSecretRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
160
|
+
BatchAssociateScramSecretRequest.add_member(:secret_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "secretArnList"))
|
161
|
+
BatchAssociateScramSecretRequest.struct_class = Types::BatchAssociateScramSecretRequest
|
162
|
+
|
163
|
+
BatchAssociateScramSecretResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
164
|
+
BatchAssociateScramSecretResponse.add_member(:unprocessed_scram_secrets, Shapes::ShapeRef.new(shape: __listOfUnprocessedScramSecret, location_name: "unprocessedScramSecrets"))
|
165
|
+
BatchAssociateScramSecretResponse.struct_class = Types::BatchAssociateScramSecretResponse
|
166
|
+
|
167
|
+
BatchDisassociateScramSecretRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
168
|
+
BatchDisassociateScramSecretRequest.add_member(:secret_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "secretArnList"))
|
169
|
+
BatchDisassociateScramSecretRequest.struct_class = Types::BatchDisassociateScramSecretRequest
|
170
|
+
|
171
|
+
BatchDisassociateScramSecretResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
172
|
+
BatchDisassociateScramSecretResponse.add_member(:unprocessed_scram_secrets, Shapes::ShapeRef.new(shape: __listOfUnprocessedScramSecret, location_name: "unprocessedScramSecrets"))
|
173
|
+
BatchDisassociateScramSecretResponse.struct_class = Types::BatchDisassociateScramSecretResponse
|
174
|
+
|
140
175
|
BrokerEBSVolumeInfo.add_member(:kafka_broker_node_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "kafkaBrokerNodeId"))
|
141
176
|
BrokerEBSVolumeInfo.add_member(:volume_size_gb, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "volumeSizeGB"))
|
142
177
|
BrokerEBSVolumeInfo.struct_class = Types::BrokerEBSVolumeInfo
|
@@ -166,6 +201,7 @@ module Aws::Kafka
|
|
166
201
|
BrokerSoftwareInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
|
167
202
|
BrokerSoftwareInfo.struct_class = Types::BrokerSoftwareInfo
|
168
203
|
|
204
|
+
ClientAuthentication.add_member(:sasl, Shapes::ShapeRef.new(shape: Sasl, location_name: "sasl"))
|
169
205
|
ClientAuthentication.add_member(:tls, Shapes::ShapeRef.new(shape: Tls, location_name: "tls"))
|
170
206
|
ClientAuthentication.struct_class = Types::ClientAuthentication
|
171
207
|
|
@@ -221,6 +257,7 @@ module Aws::Kafka
|
|
221
257
|
Configuration.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "kafkaVersions"))
|
222
258
|
Configuration.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, required: true, location_name: "latestRevision"))
|
223
259
|
Configuration.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
260
|
+
Configuration.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, required: true, location_name: "state"))
|
224
261
|
Configuration.struct_class = Types::Configuration
|
225
262
|
|
226
263
|
ConfigurationInfo.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
|
@@ -264,6 +301,7 @@ module Aws::Kafka
|
|
264
301
|
CreateConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
265
302
|
CreateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
266
303
|
CreateConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
304
|
+
CreateConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
267
305
|
CreateConfigurationResponse.struct_class = Types::CreateConfigurationResponse
|
268
306
|
|
269
307
|
DeleteClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
@@ -274,6 +312,13 @@ module Aws::Kafka
|
|
274
312
|
DeleteClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
275
313
|
DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
|
276
314
|
|
315
|
+
DeleteConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
316
|
+
DeleteConfigurationRequest.struct_class = Types::DeleteConfigurationRequest
|
317
|
+
|
318
|
+
DeleteConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
319
|
+
DeleteConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
320
|
+
DeleteConfigurationResponse.struct_class = Types::DeleteConfigurationResponse
|
321
|
+
|
277
322
|
DescribeClusterOperationRequest.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterOperationArn"))
|
278
323
|
DescribeClusterOperationRequest.struct_class = Types::DescribeClusterOperationRequest
|
279
324
|
|
@@ -295,6 +340,7 @@ module Aws::Kafka
|
|
295
340
|
DescribeConfigurationResponse.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
|
296
341
|
DescribeConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
297
342
|
DescribeConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
343
|
+
DescribeConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
298
344
|
DescribeConfigurationResponse.struct_class = Types::DescribeConfigurationResponse
|
299
345
|
|
300
346
|
DescribeConfigurationRevisionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
@@ -343,6 +389,7 @@ module Aws::Kafka
|
|
343
389
|
|
344
390
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerString"))
|
345
391
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringTls"))
|
392
|
+
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_sasl_scram, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringSaslScram"))
|
346
393
|
GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
|
347
394
|
|
348
395
|
GetCompatibleKafkaVersionsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterArn"))
|
@@ -417,6 +464,15 @@ module Aws::Kafka
|
|
417
464
|
ListNodesResponse.add_member(:node_info_list, Shapes::ShapeRef.new(shape: __listOfNodeInfo, location_name: "nodeInfoList"))
|
418
465
|
ListNodesResponse.struct_class = Types::ListNodesResponse
|
419
466
|
|
467
|
+
ListScramSecretsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
468
|
+
ListScramSecretsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
469
|
+
ListScramSecretsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
470
|
+
ListScramSecretsRequest.struct_class = Types::ListScramSecretsRequest
|
471
|
+
|
472
|
+
ListScramSecretsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
473
|
+
ListScramSecretsResponse.add_member(:secret_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "secretArnList"))
|
474
|
+
ListScramSecretsResponse.struct_class = Types::ListScramSecretsResponse
|
475
|
+
|
420
476
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
|
421
477
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
422
478
|
|
@@ -467,11 +523,25 @@ module Aws::Kafka
|
|
467
523
|
PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
|
468
524
|
PrometheusInfo.struct_class = Types::PrometheusInfo
|
469
525
|
|
526
|
+
RebootBrokerRequest.add_member(:broker_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "brokerIds"))
|
527
|
+
RebootBrokerRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
528
|
+
RebootBrokerRequest.struct_class = Types::RebootBrokerRequest
|
529
|
+
|
530
|
+
RebootBrokerResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
531
|
+
RebootBrokerResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
532
|
+
RebootBrokerResponse.struct_class = Types::RebootBrokerResponse
|
533
|
+
|
470
534
|
S3.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, location_name: "bucket"))
|
471
535
|
S3.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
472
536
|
S3.add_member(:prefix, Shapes::ShapeRef.new(shape: __string, location_name: "prefix"))
|
473
537
|
S3.struct_class = Types::S3
|
474
538
|
|
539
|
+
Sasl.add_member(:scram, Shapes::ShapeRef.new(shape: Scram, location_name: "scram"))
|
540
|
+
Sasl.struct_class = Types::Sasl
|
541
|
+
|
542
|
+
Scram.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
543
|
+
Scram.struct_class = Types::Scram
|
544
|
+
|
475
545
|
ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
476
546
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
477
547
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
@@ -498,6 +568,11 @@ module Aws::Kafka
|
|
498
568
|
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
499
569
|
UnauthorizedException.struct_class = Types::UnauthorizedException
|
500
570
|
|
571
|
+
UnprocessedScramSecret.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
572
|
+
UnprocessedScramSecret.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
|
573
|
+
UnprocessedScramSecret.add_member(:secret_arn, Shapes::ShapeRef.new(shape: __string, location_name: "secretArn"))
|
574
|
+
UnprocessedScramSecret.struct_class = Types::UnprocessedScramSecret
|
575
|
+
|
501
576
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
|
502
577
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
|
503
578
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -539,6 +614,15 @@ module Aws::Kafka
|
|
539
614
|
UpdateClusterKafkaVersionResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
540
615
|
UpdateClusterKafkaVersionResponse.struct_class = Types::UpdateClusterKafkaVersionResponse
|
541
616
|
|
617
|
+
UpdateConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
618
|
+
UpdateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
619
|
+
UpdateConfigurationRequest.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, required: true, location_name: "serverProperties"))
|
620
|
+
UpdateConfigurationRequest.struct_class = Types::UpdateConfigurationRequest
|
621
|
+
|
622
|
+
UpdateConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
623
|
+
UpdateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
624
|
+
UpdateConfigurationResponse.struct_class = Types::UpdateConfigurationResponse
|
625
|
+
|
542
626
|
UpdateMonitoringRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
543
627
|
UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
544
628
|
UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
@@ -575,6 +659,8 @@ module Aws::Kafka
|
|
575
659
|
|
576
660
|
__listOfNodeInfo.member = Shapes::ShapeRef.new(shape: NodeInfo)
|
577
661
|
|
662
|
+
__listOfUnprocessedScramSecret.member = Shapes::ShapeRef.new(shape: UnprocessedScramSecret)
|
663
|
+
|
578
664
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
579
665
|
|
580
666
|
__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
@@ -599,6 +685,21 @@ module Aws::Kafka
|
|
599
685
|
"uid" => "kafka-2018-11-14",
|
600
686
|
}
|
601
687
|
|
688
|
+
api.add_operation(:batch_associate_scram_secret, Seahorse::Model::Operation.new.tap do |o|
|
689
|
+
o.name = "BatchAssociateScramSecret"
|
690
|
+
o.http_method = "POST"
|
691
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
|
692
|
+
o.input = Shapes::ShapeRef.new(shape: BatchAssociateScramSecretRequest)
|
693
|
+
o.output = Shapes::ShapeRef.new(shape: BatchAssociateScramSecretResponse)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
699
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
700
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
701
|
+
end)
|
702
|
+
|
602
703
|
api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
|
603
704
|
o.name = "CreateCluster"
|
604
705
|
o.http_method = "POST"
|
@@ -641,6 +742,18 @@ module Aws::Kafka
|
|
641
742
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
642
743
|
end)
|
643
744
|
|
745
|
+
api.add_operation(:delete_configuration, Seahorse::Model::Operation.new.tap do |o|
|
746
|
+
o.name = "DeleteConfiguration"
|
747
|
+
o.http_method = "DELETE"
|
748
|
+
o.http_request_uri = "/v1/configurations/{arn}"
|
749
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConfigurationRequest)
|
750
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteConfigurationResponse)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
755
|
+
end)
|
756
|
+
|
644
757
|
api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
|
645
758
|
o.name = "DescribeCluster"
|
646
759
|
o.http_method = "GET"
|
@@ -695,6 +808,21 @@ module Aws::Kafka
|
|
695
808
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
696
809
|
end)
|
697
810
|
|
811
|
+
api.add_operation(:batch_disassociate_scram_secret, Seahorse::Model::Operation.new.tap do |o|
|
812
|
+
o.name = "BatchDisassociateScramSecret"
|
813
|
+
o.http_method = "PATCH"
|
814
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
|
815
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDisassociateScramSecretRequest)
|
816
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDisassociateScramSecretResponse)
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
819
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
820
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
824
|
+
end)
|
825
|
+
|
698
826
|
api.add_operation(:get_bootstrap_brokers, Seahorse::Model::Operation.new.tap do |o|
|
699
827
|
o.name = "GetBootstrapBrokers"
|
700
828
|
o.http_method = "GET"
|
@@ -834,6 +962,27 @@ module Aws::Kafka
|
|
834
962
|
)
|
835
963
|
end)
|
836
964
|
|
965
|
+
api.add_operation(:list_scram_secrets, Seahorse::Model::Operation.new.tap do |o|
|
966
|
+
o.name = "ListScramSecrets"
|
967
|
+
o.http_method = "GET"
|
968
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
|
969
|
+
o.input = Shapes::ShapeRef.new(shape: ListScramSecretsRequest)
|
970
|
+
o.output = Shapes::ShapeRef.new(shape: ListScramSecretsResponse)
|
971
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
972
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
973
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
974
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
975
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
976
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
977
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
978
|
+
o[:pager] = Aws::Pager.new(
|
979
|
+
limit_key: "max_results",
|
980
|
+
tokens: {
|
981
|
+
"next_token" => "next_token"
|
982
|
+
}
|
983
|
+
)
|
984
|
+
end)
|
985
|
+
|
837
986
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
838
987
|
o.name = "ListTagsForResource"
|
839
988
|
o.http_method = "GET"
|
@@ -845,6 +994,21 @@ module Aws::Kafka
|
|
845
994
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
846
995
|
end)
|
847
996
|
|
997
|
+
api.add_operation(:reboot_broker, Seahorse::Model::Operation.new.tap do |o|
|
998
|
+
o.name = "RebootBroker"
|
999
|
+
o.http_method = "PUT"
|
1000
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/reboot-broker"
|
1001
|
+
o.input = Shapes::ShapeRef.new(shape: RebootBrokerRequest)
|
1002
|
+
o.output = Shapes::ShapeRef.new(shape: RebootBrokerResponse)
|
1003
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1004
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1005
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1006
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1007
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1008
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1009
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1010
|
+
end)
|
1011
|
+
|
848
1012
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
849
1013
|
o.name = "TagResource"
|
850
1014
|
o.http_method = "POST"
|
@@ -893,6 +1057,19 @@ module Aws::Kafka
|
|
893
1057
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
894
1058
|
end)
|
895
1059
|
|
1060
|
+
api.add_operation(:update_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1061
|
+
o.name = "UpdateConfiguration"
|
1062
|
+
o.http_method = "PUT"
|
1063
|
+
o.http_request_uri = "/v1/configurations/{arn}"
|
1064
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationRequest)
|
1065
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateConfigurationResponse)
|
1066
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1067
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1068
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1069
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1070
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1071
|
+
end)
|
1072
|
+
|
896
1073
|
api.add_operation(:update_cluster_configuration, Seahorse::Model::Operation.new.tap do |o|
|
897
1074
|
o.name = "UpdateClusterConfiguration"
|
898
1075
|
o.http_method = "PUT"
|