aws-sdk-kafka 1.20.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f17b94096da877f66b4a3021024f36d28c44cfdb0696b1d714af9124b67800e
4
- data.tar.gz: c597c65ca6f404db8364fc6a86702e53d316d8ae34362313126da45e5d16ac9a
3
+ metadata.gz: 12ca287eb8f5ee50f8048be8ced27a353f2ba7659133fbdad83b2a1720c294df
4
+ data.tar.gz: b702de3f699ec4fdfd10f270c8385a4224fd8ec95d48f6280d597ccaf6af3746
5
5
  SHA512:
6
- metadata.gz: b04507b7e2a8c754938a062ebcfbc15b732cf3c3b8a9276c52f8b60e083c85da8ef70a38998b4e4f65b5038beacb9a9b608384546e582cc395d75376d5d45b84
7
- data.tar.gz: c87947501d8a2c6ef62381ed792098ad188e1d1c642266ad0324a52270b210481b82e0edc6057c6f0d7b5fa27605b8d484cd50a3dbde2337045e3a68a41bfcd1
6
+ metadata.gz: 746b04115a7d618ac9c92157e5d1e917c4d1671da2052726f2b07fdcd339ef74e6866ed017fd0687d96d9128b6f4bf86f4bd98bcf7e24e7c87170097a85ab341
7
+ data.tar.gz: c9da49ecb05b68176054f21c8a4b8779f2d1ad08f4f1f85e30e9822cf1261e7f5bb13b22a8432f432b8151b0cecc4672180d66f2047b1bff022966489d2427e6
@@ -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:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-kafka/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::Kafka
47
49
 
48
- GEM_VERSION = '1.20.0'
50
+ GEM_VERSION = '1.26.0'
49
51
 
50
52
  end
@@ -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::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
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 are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
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
@@ -176,7 +195,7 @@ module Aws::Kafka
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -438,7 +457,7 @@ module Aws::Kafka
438
457
  # @option params [String] :description
439
458
  # The description of the configuration.
440
459
  #
441
- # @option params [required, Array<String>] :kafka_versions
460
+ # @option params [Array<String>] :kafka_versions
442
461
  # The versions of Apache Kafka with which you can use this MSK
443
462
  # configuration.
444
463
  #
@@ -446,7 +465,7 @@ module Aws::Kafka
446
465
  # The name of the configuration. Configuration names are strings that
447
466
  # match the regex "^\[0-9A-Za-z-\]+$".
448
467
  #
449
- # @option params [required, String, IO] :server_properties
468
+ # @option params [required, String, StringIO, File] :server_properties
450
469
  #
451
470
  # @return [Types::CreateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
452
471
  #
@@ -454,12 +473,13 @@ module Aws::Kafka
454
473
  # * {Types::CreateConfigurationResponse#creation_time #creation_time} => Time
455
474
  # * {Types::CreateConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
456
475
  # * {Types::CreateConfigurationResponse#name #name} => String
476
+ # * {Types::CreateConfigurationResponse#state #state} => String
457
477
  #
458
478
  # @example Request syntax with placeholder values
459
479
  #
460
480
  # resp = client.create_configuration({
461
481
  # description: "__string",
462
- # kafka_versions: ["__string"], # required
482
+ # kafka_versions: ["__string"],
463
483
  # name: "__string", # required
464
484
  # server_properties: "data", # required
465
485
  # })
@@ -472,6 +492,7 @@ module Aws::Kafka
472
492
  # resp.latest_revision.description #=> String
473
493
  # resp.latest_revision.revision #=> Integer
474
494
  # resp.name #=> String
495
+ # resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
475
496
  #
476
497
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfiguration AWS API Documentation
477
498
  #
@@ -515,6 +536,37 @@ module Aws::Kafka
515
536
  req.send_request(options)
516
537
  end
517
538
 
539
+ # Deletes the specified MSK configuration. The configuration must be in
540
+ # the ACTIVE or DELETE\_FAILED state.
541
+ #
542
+ # @option params [required, String] :arn
543
+ # The Amazon Resource Name (ARN) of the configuration.
544
+ #
545
+ # @return [Types::DeleteConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
546
+ #
547
+ # * {Types::DeleteConfigurationResponse#arn #arn} => String
548
+ # * {Types::DeleteConfigurationResponse#state #state} => String
549
+ #
550
+ # @example Request syntax with placeholder values
551
+ #
552
+ # resp = client.delete_configuration({
553
+ # arn: "__string", # required
554
+ # })
555
+ #
556
+ # @example Response structure
557
+ #
558
+ # resp.arn #=> String
559
+ # resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
560
+ #
561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfiguration AWS API Documentation
562
+ #
563
+ # @overload delete_configuration(params = {})
564
+ # @param [Hash] params ({})
565
+ def delete_configuration(params = {}, options = {})
566
+ req = build_request(:delete_configuration, params)
567
+ req.send_request(options)
568
+ end
569
+
518
570
  # Returns a description of the MSK cluster whose Amazon Resource Name
519
571
  # (ARN) is specified in the request.
520
572
  #
@@ -599,6 +651,9 @@ module Aws::Kafka
599
651
  # resp.cluster_operation_info.end_time #=> Time
600
652
  # resp.cluster_operation_info.error_info.error_code #=> String
601
653
  # resp.cluster_operation_info.error_info.error_string #=> String
654
+ # resp.cluster_operation_info.operation_steps #=> Array
655
+ # resp.cluster_operation_info.operation_steps[0].step_info.step_status #=> String
656
+ # resp.cluster_operation_info.operation_steps[0].step_name #=> String
602
657
  # resp.cluster_operation_info.operation_arn #=> String
603
658
  # resp.cluster_operation_info.operation_state #=> String
604
659
  # resp.cluster_operation_info.operation_type #=> String
@@ -611,6 +666,7 @@ module Aws::Kafka
611
666
  # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
612
667
  # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
613
668
  # resp.cluster_operation_info.source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
669
+ # resp.cluster_operation_info.source_cluster_info.kafka_version #=> String
614
670
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
615
671
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
616
672
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
@@ -627,6 +683,7 @@ module Aws::Kafka
627
683
  # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
628
684
  # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
629
685
  # resp.cluster_operation_info.target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
686
+ # resp.cluster_operation_info.target_cluster_info.kafka_version #=> String
630
687
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
631
688
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
632
689
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
@@ -656,6 +713,7 @@ module Aws::Kafka
656
713
  # * {Types::DescribeConfigurationResponse#kafka_versions #kafka_versions} => Array&lt;String&gt;
657
714
  # * {Types::DescribeConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
658
715
  # * {Types::DescribeConfigurationResponse#name #name} => String
716
+ # * {Types::DescribeConfigurationResponse#state #state} => String
659
717
  #
660
718
  # @example Request syntax with placeholder values
661
719
  #
@@ -674,6 +732,7 @@ module Aws::Kafka
674
732
  # resp.latest_revision.description #=> String
675
733
  # resp.latest_revision.revision #=> Integer
676
734
  # resp.name #=> String
735
+ # resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
677
736
  #
678
737
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfiguration AWS API Documentation
679
738
  #
@@ -751,6 +810,37 @@ module Aws::Kafka
751
810
  req.send_request(options)
752
811
  end
753
812
 
813
+ # Gets the Apache Kafka versions to which you can update the MSK
814
+ # cluster.
815
+ #
816
+ # @option params [String] :cluster_arn
817
+ #
818
+ # @return [Types::GetCompatibleKafkaVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
819
+ #
820
+ # * {Types::GetCompatibleKafkaVersionsResponse#compatible_kafka_versions #compatible_kafka_versions} => Array&lt;Types::CompatibleKafkaVersion&gt;
821
+ #
822
+ # @example Request syntax with placeholder values
823
+ #
824
+ # resp = client.get_compatible_kafka_versions({
825
+ # cluster_arn: "__string",
826
+ # })
827
+ #
828
+ # @example Response structure
829
+ #
830
+ # resp.compatible_kafka_versions #=> Array
831
+ # resp.compatible_kafka_versions[0].source_version #=> String
832
+ # resp.compatible_kafka_versions[0].target_versions #=> Array
833
+ # resp.compatible_kafka_versions[0].target_versions[0] #=> String
834
+ #
835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetCompatibleKafkaVersions AWS API Documentation
836
+ #
837
+ # @overload get_compatible_kafka_versions(params = {})
838
+ # @param [Hash] params ({})
839
+ def get_compatible_kafka_versions(params = {}, options = {})
840
+ req = build_request(:get_compatible_kafka_versions, params)
841
+ req.send_request(options)
842
+ end
843
+
754
844
  # Returns a list of all the operations that have been performed on the
755
845
  # specified MSK cluster.
756
846
  #
@@ -784,6 +874,9 @@ module Aws::Kafka
784
874
  # resp.cluster_operation_info_list[0].end_time #=> Time
785
875
  # resp.cluster_operation_info_list[0].error_info.error_code #=> String
786
876
  # resp.cluster_operation_info_list[0].error_info.error_string #=> String
877
+ # resp.cluster_operation_info_list[0].operation_steps #=> Array
878
+ # resp.cluster_operation_info_list[0].operation_steps[0].step_info.step_status #=> String
879
+ # resp.cluster_operation_info_list[0].operation_steps[0].step_name #=> String
787
880
  # resp.cluster_operation_info_list[0].operation_arn #=> String
788
881
  # resp.cluster_operation_info_list[0].operation_state #=> String
789
882
  # resp.cluster_operation_info_list[0].operation_type #=> String
@@ -796,6 +889,7 @@ module Aws::Kafka
796
889
  # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
797
890
  # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
798
891
  # resp.cluster_operation_info_list[0].source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
892
+ # resp.cluster_operation_info_list[0].source_cluster_info.kafka_version #=> String
799
893
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
800
894
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
801
895
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
@@ -812,6 +906,7 @@ module Aws::Kafka
812
906
  # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
813
907
  # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
814
908
  # resp.cluster_operation_info_list[0].target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
909
+ # resp.cluster_operation_info_list[0].target_cluster_info.kafka_version #=> String
815
910
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
816
911
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
817
912
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
@@ -974,6 +1069,7 @@ module Aws::Kafka
974
1069
  # resp.configurations[0].latest_revision.description #=> String
975
1070
  # resp.configurations[0].latest_revision.revision #=> Integer
976
1071
  # resp.configurations[0].name #=> String
1072
+ # resp.configurations[0].state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
977
1073
  # resp.next_token #=> String
978
1074
  #
979
1075
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurations AWS API Documentation
@@ -1105,6 +1201,39 @@ module Aws::Kafka
1105
1201
  req.send_request(options)
1106
1202
  end
1107
1203
 
1204
+ # Executes a reboot on a broker.
1205
+ #
1206
+ # @option params [required, Array<String>] :broker_ids
1207
+ # The list of broker ids to be rebooted.
1208
+ #
1209
+ # @option params [required, String] :cluster_arn
1210
+ #
1211
+ # @return [Types::RebootBrokerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1212
+ #
1213
+ # * {Types::RebootBrokerResponse#cluster_arn #cluster_arn} => String
1214
+ # * {Types::RebootBrokerResponse#cluster_operation_arn #cluster_operation_arn} => String
1215
+ #
1216
+ # @example Request syntax with placeholder values
1217
+ #
1218
+ # resp = client.reboot_broker({
1219
+ # broker_ids: ["__string"], # required
1220
+ # cluster_arn: "__string", # required
1221
+ # })
1222
+ #
1223
+ # @example Response structure
1224
+ #
1225
+ # resp.cluster_arn #=> String
1226
+ # resp.cluster_operation_arn #=> String
1227
+ #
1228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBroker AWS API Documentation
1229
+ #
1230
+ # @overload reboot_broker(params = {})
1231
+ # @param [Hash] params ({})
1232
+ def reboot_broker(params = {}, options = {})
1233
+ req = build_request(:reboot_broker, params)
1234
+ req.send_request(options)
1235
+ end
1236
+
1108
1237
  # Adds tags to the specified MSK resource.
1109
1238
  #
1110
1239
  # @option params [required, String] :resource_arn
@@ -1247,6 +1376,46 @@ module Aws::Kafka
1247
1376
  req.send_request(options)
1248
1377
  end
1249
1378
 
1379
+ # Updates an existing MSK configuration. The configuration must be in
1380
+ # the Active state.
1381
+ #
1382
+ # @option params [required, String] :arn
1383
+ # The Amazon Resource Name (ARN) of the configuration.
1384
+ #
1385
+ # @option params [String] :description
1386
+ # The description of the configuration.
1387
+ #
1388
+ # @option params [required, String, StringIO, File] :server_properties
1389
+ #
1390
+ # @return [Types::UpdateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1391
+ #
1392
+ # * {Types::UpdateConfigurationResponse#arn #arn} => String
1393
+ # * {Types::UpdateConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
1394
+ #
1395
+ # @example Request syntax with placeholder values
1396
+ #
1397
+ # resp = client.update_configuration({
1398
+ # arn: "__string", # required
1399
+ # description: "__string",
1400
+ # server_properties: "data", # required
1401
+ # })
1402
+ #
1403
+ # @example Response structure
1404
+ #
1405
+ # resp.arn #=> String
1406
+ # resp.latest_revision.creation_time #=> Time
1407
+ # resp.latest_revision.description #=> String
1408
+ # resp.latest_revision.revision #=> Integer
1409
+ #
1410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfiguration AWS API Documentation
1411
+ #
1412
+ # @overload update_configuration(params = {})
1413
+ # @param [Hash] params ({})
1414
+ def update_configuration(params = {}, options = {})
1415
+ req = build_request(:update_configuration, params)
1416
+ req.send_request(options)
1417
+ end
1418
+
1250
1419
  # Updates the cluster with the configuration that is specified in the
1251
1420
  # request body.
1252
1421
  #
@@ -1288,6 +1457,50 @@ module Aws::Kafka
1288
1457
  req.send_request(options)
1289
1458
  end
1290
1459
 
1460
+ # Updates the Apache Kafka version for the cluster.
1461
+ #
1462
+ # @option params [required, String] :cluster_arn
1463
+ #
1464
+ # @option params [Types::ConfigurationInfo] :configuration_info
1465
+ # Specifies the configuration to use for the brokers.
1466
+ #
1467
+ # @option params [required, String] :current_version
1468
+ # Current cluster version.
1469
+ #
1470
+ # @option params [required, String] :target_kafka_version
1471
+ # Target Kafka version.
1472
+ #
1473
+ # @return [Types::UpdateClusterKafkaVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1474
+ #
1475
+ # * {Types::UpdateClusterKafkaVersionResponse#cluster_arn #cluster_arn} => String
1476
+ # * {Types::UpdateClusterKafkaVersionResponse#cluster_operation_arn #cluster_operation_arn} => String
1477
+ #
1478
+ # @example Request syntax with placeholder values
1479
+ #
1480
+ # resp = client.update_cluster_kafka_version({
1481
+ # cluster_arn: "__string", # required
1482
+ # configuration_info: {
1483
+ # arn: "__string", # required
1484
+ # revision: 1, # required
1485
+ # },
1486
+ # current_version: "__string", # required
1487
+ # target_kafka_version: "__string", # required
1488
+ # })
1489
+ #
1490
+ # @example Response structure
1491
+ #
1492
+ # resp.cluster_arn #=> String
1493
+ # resp.cluster_operation_arn #=> String
1494
+ #
1495
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersion AWS API Documentation
1496
+ #
1497
+ # @overload update_cluster_kafka_version(params = {})
1498
+ # @param [Hash] params ({})
1499
+ def update_cluster_kafka_version(params = {}, options = {})
1500
+ req = build_request(:update_cluster_kafka_version, params)
1501
+ req.send_request(options)
1502
+ end
1503
+
1291
1504
  # Updates the monitoring settings for the cluster. You can use this
1292
1505
  # operation to specify which Apache Kafka metrics you want Amazon MSK to
1293
1506
  # send to Amazon CloudWatch. You can also specify settings for open
@@ -1376,7 +1589,7 @@ module Aws::Kafka
1376
1589
  params: params,
1377
1590
  config: config)
1378
1591
  context[:gem_name] = 'aws-sdk-kafka'
1379
- context[:gem_version] = '1.20.0'
1592
+ context[:gem_version] = '1.26.0'
1380
1593
  Seahorse::Client::Request.new(handlers, context)
1381
1594
  end
1382
1595
 
@@ -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:
@@ -23,10 +25,14 @@ module Aws::Kafka
23
25
  CloudWatchLogs = Shapes::StructureShape.new(name: 'CloudWatchLogs')
24
26
  ClusterInfo = Shapes::StructureShape.new(name: 'ClusterInfo')
25
27
  ClusterOperationInfo = Shapes::StructureShape.new(name: 'ClusterOperationInfo')
28
+ ClusterOperationStep = Shapes::StructureShape.new(name: 'ClusterOperationStep')
29
+ ClusterOperationStepInfo = Shapes::StructureShape.new(name: 'ClusterOperationStepInfo')
26
30
  ClusterState = Shapes::StringShape.new(name: 'ClusterState')
31
+ CompatibleKafkaVersion = Shapes::StructureShape.new(name: 'CompatibleKafkaVersion')
27
32
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
28
33
  ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
29
34
  ConfigurationRevision = Shapes::StructureShape.new(name: 'ConfigurationRevision')
35
+ ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
30
36
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
31
37
  CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
32
38
  CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
@@ -34,6 +40,8 @@ module Aws::Kafka
34
40
  CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
35
41
  DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
36
42
  DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
43
+ DeleteConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationRequest')
44
+ DeleteConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationResponse')
37
45
  DescribeClusterOperationRequest = Shapes::StructureShape.new(name: 'DescribeClusterOperationRequest')
38
46
  DescribeClusterOperationResponse = Shapes::StructureShape.new(name: 'DescribeClusterOperationResponse')
39
47
  DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
@@ -53,6 +61,8 @@ module Aws::Kafka
53
61
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
54
62
  GetBootstrapBrokersRequest = Shapes::StructureShape.new(name: 'GetBootstrapBrokersRequest')
55
63
  GetBootstrapBrokersResponse = Shapes::StructureShape.new(name: 'GetBootstrapBrokersResponse')
64
+ GetCompatibleKafkaVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleKafkaVersionsRequest')
65
+ GetCompatibleKafkaVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleKafkaVersionsResponse')
56
66
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
57
67
  JmxExporter = Shapes::StructureShape.new(name: 'JmxExporter')
58
68
  JmxExporterInfo = Shapes::StructureShape.new(name: 'JmxExporterInfo')
@@ -84,6 +94,8 @@ module Aws::Kafka
84
94
  OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
85
95
  Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
86
96
  PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
97
+ RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
98
+ RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
87
99
  S3 = Shapes::StructureShape.new(name: 'S3')
88
100
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
89
101
  StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
@@ -99,6 +111,10 @@ module Aws::Kafka
99
111
  UpdateBrokerStorageResponse = Shapes::StructureShape.new(name: 'UpdateBrokerStorageResponse')
100
112
  UpdateClusterConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationRequest')
101
113
  UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
114
+ UpdateClusterKafkaVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionRequest')
115
+ UpdateClusterKafkaVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionResponse')
116
+ UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
117
+ UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
102
118
  UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
103
119
  UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
104
120
  ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
@@ -111,6 +127,8 @@ module Aws::Kafka
111
127
  __listOfBrokerEBSVolumeInfo = Shapes::ListShape.new(name: '__listOfBrokerEBSVolumeInfo')
112
128
  __listOfClusterInfo = Shapes::ListShape.new(name: '__listOfClusterInfo')
113
129
  __listOfClusterOperationInfo = Shapes::ListShape.new(name: '__listOfClusterOperationInfo')
130
+ __listOfClusterOperationStep = Shapes::ListShape.new(name: '__listOfClusterOperationStep')
131
+ __listOfCompatibleKafkaVersion = Shapes::ListShape.new(name: '__listOfCompatibleKafkaVersion')
114
132
  __listOfConfiguration = Shapes::ListShape.new(name: '__listOfConfiguration')
115
133
  __listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
116
134
  __listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
@@ -187,6 +205,7 @@ module Aws::Kafka
187
205
  ClusterOperationInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
188
206
  ClusterOperationInfo.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "endTime"))
189
207
  ClusterOperationInfo.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfo, location_name: "errorInfo"))
208
+ ClusterOperationInfo.add_member(:operation_steps, Shapes::ShapeRef.new(shape: __listOfClusterOperationStep, location_name: "operationSteps"))
190
209
  ClusterOperationInfo.add_member(:operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "operationArn"))
191
210
  ClusterOperationInfo.add_member(:operation_state, Shapes::ShapeRef.new(shape: __string, location_name: "operationState"))
192
211
  ClusterOperationInfo.add_member(:operation_type, Shapes::ShapeRef.new(shape: __string, location_name: "operationType"))
@@ -194,12 +213,24 @@ module Aws::Kafka
194
213
  ClusterOperationInfo.add_member(:target_cluster_info, Shapes::ShapeRef.new(shape: MutableClusterInfo, location_name: "targetClusterInfo"))
195
214
  ClusterOperationInfo.struct_class = Types::ClusterOperationInfo
196
215
 
216
+ ClusterOperationStep.add_member(:step_info, Shapes::ShapeRef.new(shape: ClusterOperationStepInfo, location_name: "stepInfo"))
217
+ ClusterOperationStep.add_member(:step_name, Shapes::ShapeRef.new(shape: __string, location_name: "stepName"))
218
+ ClusterOperationStep.struct_class = Types::ClusterOperationStep
219
+
220
+ ClusterOperationStepInfo.add_member(:step_status, Shapes::ShapeRef.new(shape: __string, location_name: "stepStatus"))
221
+ ClusterOperationStepInfo.struct_class = Types::ClusterOperationStepInfo
222
+
223
+ CompatibleKafkaVersion.add_member(:source_version, Shapes::ShapeRef.new(shape: __string, location_name: "sourceVersion"))
224
+ CompatibleKafkaVersion.add_member(:target_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "targetVersions"))
225
+ CompatibleKafkaVersion.struct_class = Types::CompatibleKafkaVersion
226
+
197
227
  Configuration.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
198
228
  Configuration.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "creationTime"))
199
229
  Configuration.add_member(:description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "description"))
200
230
  Configuration.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "kafkaVersions"))
201
231
  Configuration.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, required: true, location_name: "latestRevision"))
202
232
  Configuration.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
233
+ Configuration.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, required: true, location_name: "state"))
203
234
  Configuration.struct_class = Types::Configuration
204
235
 
205
236
  ConfigurationInfo.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
@@ -234,7 +265,7 @@ module Aws::Kafka
234
265
  CreateClusterResponse.struct_class = Types::CreateClusterResponse
235
266
 
236
267
  CreateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
237
- CreateConfigurationRequest.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "kafkaVersions"))
268
+ CreateConfigurationRequest.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
238
269
  CreateConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
239
270
  CreateConfigurationRequest.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, required: true, location_name: "serverProperties"))
240
271
  CreateConfigurationRequest.struct_class = Types::CreateConfigurationRequest
@@ -243,6 +274,7 @@ module Aws::Kafka
243
274
  CreateConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
244
275
  CreateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
245
276
  CreateConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
277
+ CreateConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
246
278
  CreateConfigurationResponse.struct_class = Types::CreateConfigurationResponse
247
279
 
248
280
  DeleteClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
@@ -253,6 +285,13 @@ module Aws::Kafka
253
285
  DeleteClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
254
286
  DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
255
287
 
288
+ DeleteConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
289
+ DeleteConfigurationRequest.struct_class = Types::DeleteConfigurationRequest
290
+
291
+ DeleteConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
292
+ DeleteConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
293
+ DeleteConfigurationResponse.struct_class = Types::DeleteConfigurationResponse
294
+
256
295
  DescribeClusterOperationRequest.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterOperationArn"))
257
296
  DescribeClusterOperationRequest.struct_class = Types::DescribeClusterOperationRequest
258
297
 
@@ -274,6 +313,7 @@ module Aws::Kafka
274
313
  DescribeConfigurationResponse.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
275
314
  DescribeConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
276
315
  DescribeConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
316
+ DescribeConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
277
317
  DescribeConfigurationResponse.struct_class = Types::DescribeConfigurationResponse
278
318
 
279
319
  DescribeConfigurationRevisionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
@@ -324,6 +364,12 @@ module Aws::Kafka
324
364
  GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringTls"))
325
365
  GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
326
366
 
367
+ GetCompatibleKafkaVersionsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterArn"))
368
+ GetCompatibleKafkaVersionsRequest.struct_class = Types::GetCompatibleKafkaVersionsRequest
369
+
370
+ GetCompatibleKafkaVersionsResponse.add_member(:compatible_kafka_versions, Shapes::ShapeRef.new(shape: __listOfCompatibleKafkaVersion, location_name: "compatibleKafkaVersions"))
371
+ GetCompatibleKafkaVersionsResponse.struct_class = Types::GetCompatibleKafkaVersionsResponse
372
+
327
373
  InternalServerErrorException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
328
374
  InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
329
375
  InternalServerErrorException.struct_class = Types::InternalServerErrorException
@@ -404,6 +450,7 @@ module Aws::Kafka
404
450
  MutableClusterInfo.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integer, location_name: "numberOfBrokerNodes"))
405
451
  MutableClusterInfo.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoring, location_name: "openMonitoring"))
406
452
  MutableClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
453
+ MutableClusterInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
407
454
  MutableClusterInfo.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
408
455
  MutableClusterInfo.struct_class = Types::MutableClusterInfo
409
456
 
@@ -439,6 +486,14 @@ module Aws::Kafka
439
486
  PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
440
487
  PrometheusInfo.struct_class = Types::PrometheusInfo
441
488
 
489
+ RebootBrokerRequest.add_member(:broker_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "brokerIds"))
490
+ RebootBrokerRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
491
+ RebootBrokerRequest.struct_class = Types::RebootBrokerRequest
492
+
493
+ RebootBrokerResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
494
+ RebootBrokerResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
495
+ RebootBrokerResponse.struct_class = Types::RebootBrokerResponse
496
+
442
497
  S3.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, location_name: "bucket"))
443
498
  S3.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
444
499
  S3.add_member(:prefix, Shapes::ShapeRef.new(shape: __string, location_name: "prefix"))
@@ -501,6 +556,25 @@ module Aws::Kafka
501
556
  UpdateClusterConfigurationResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
502
557
  UpdateClusterConfigurationResponse.struct_class = Types::UpdateClusterConfigurationResponse
503
558
 
559
+ UpdateClusterKafkaVersionRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
560
+ UpdateClusterKafkaVersionRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
561
+ UpdateClusterKafkaVersionRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
562
+ UpdateClusterKafkaVersionRequest.add_member(:target_kafka_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "targetKafkaVersion"))
563
+ UpdateClusterKafkaVersionRequest.struct_class = Types::UpdateClusterKafkaVersionRequest
564
+
565
+ UpdateClusterKafkaVersionResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
566
+ UpdateClusterKafkaVersionResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
567
+ UpdateClusterKafkaVersionResponse.struct_class = Types::UpdateClusterKafkaVersionResponse
568
+
569
+ UpdateConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
570
+ UpdateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
571
+ UpdateConfigurationRequest.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, required: true, location_name: "serverProperties"))
572
+ UpdateConfigurationRequest.struct_class = Types::UpdateConfigurationRequest
573
+
574
+ UpdateConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
575
+ UpdateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
576
+ UpdateConfigurationResponse.struct_class = Types::UpdateConfigurationResponse
577
+
504
578
  UpdateMonitoringRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
505
579
  UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
506
580
  UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
@@ -525,6 +599,10 @@ module Aws::Kafka
525
599
 
526
600
  __listOfClusterOperationInfo.member = Shapes::ShapeRef.new(shape: ClusterOperationInfo)
527
601
 
602
+ __listOfClusterOperationStep.member = Shapes::ShapeRef.new(shape: ClusterOperationStep)
603
+
604
+ __listOfCompatibleKafkaVersion.member = Shapes::ShapeRef.new(shape: CompatibleKafkaVersion)
605
+
528
606
  __listOfConfiguration.member = Shapes::ShapeRef.new(shape: Configuration)
529
607
 
530
608
  __listOfConfigurationRevision.member = Shapes::ShapeRef.new(shape: ConfigurationRevision)
@@ -599,6 +677,18 @@ module Aws::Kafka
599
677
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
600
678
  end)
601
679
 
680
+ api.add_operation(:delete_configuration, Seahorse::Model::Operation.new.tap do |o|
681
+ o.name = "DeleteConfiguration"
682
+ o.http_method = "DELETE"
683
+ o.http_request_uri = "/v1/configurations/{arn}"
684
+ o.input = Shapes::ShapeRef.new(shape: DeleteConfigurationRequest)
685
+ o.output = Shapes::ShapeRef.new(shape: DeleteConfigurationResponse)
686
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
687
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
688
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
689
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
690
+ end)
691
+
602
692
  api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
603
693
  o.name = "DescribeCluster"
604
694
  o.http_method = "GET"
@@ -666,6 +756,21 @@ module Aws::Kafka
666
756
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
667
757
  end)
668
758
 
759
+ api.add_operation(:get_compatible_kafka_versions, Seahorse::Model::Operation.new.tap do |o|
760
+ o.name = "GetCompatibleKafkaVersions"
761
+ o.http_method = "GET"
762
+ o.http_request_uri = "/v1/compatible-kafka-versions"
763
+ o.input = Shapes::ShapeRef.new(shape: GetCompatibleKafkaVersionsRequest)
764
+ o.output = Shapes::ShapeRef.new(shape: GetCompatibleKafkaVersionsResponse)
765
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
766
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
767
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
768
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
769
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
770
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
771
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
772
+ end)
773
+
669
774
  api.add_operation(:list_cluster_operations, Seahorse::Model::Operation.new.tap do |o|
670
775
  o.name = "ListClusterOperations"
671
776
  o.http_method = "GET"
@@ -788,6 +893,21 @@ module Aws::Kafka
788
893
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
789
894
  end)
790
895
 
896
+ api.add_operation(:reboot_broker, Seahorse::Model::Operation.new.tap do |o|
897
+ o.name = "RebootBroker"
898
+ o.http_method = "PUT"
899
+ o.http_request_uri = "/v1/clusters/{clusterArn}/reboot-broker"
900
+ o.input = Shapes::ShapeRef.new(shape: RebootBrokerRequest)
901
+ o.output = Shapes::ShapeRef.new(shape: RebootBrokerResponse)
902
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
903
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
904
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
905
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
906
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
907
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
908
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
909
+ end)
910
+
791
911
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
792
912
  o.name = "TagResource"
793
913
  o.http_method = "POST"
@@ -836,6 +956,19 @@ module Aws::Kafka
836
956
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
837
957
  end)
838
958
 
959
+ api.add_operation(:update_configuration, Seahorse::Model::Operation.new.tap do |o|
960
+ o.name = "UpdateConfiguration"
961
+ o.http_method = "PUT"
962
+ o.http_request_uri = "/v1/configurations/{arn}"
963
+ o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationRequest)
964
+ o.output = Shapes::ShapeRef.new(shape: UpdateConfigurationResponse)
965
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
966
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
967
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
968
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
969
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
970
+ end)
971
+
839
972
  api.add_operation(:update_cluster_configuration, Seahorse::Model::Operation.new.tap do |o|
840
973
  o.name = "UpdateClusterConfiguration"
841
974
  o.http_method = "PUT"
@@ -850,6 +983,21 @@ module Aws::Kafka
850
983
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
851
984
  end)
852
985
 
986
+ api.add_operation(:update_cluster_kafka_version, Seahorse::Model::Operation.new.tap do |o|
987
+ o.name = "UpdateClusterKafkaVersion"
988
+ o.http_method = "PUT"
989
+ o.http_request_uri = "/v1/clusters/{clusterArn}/version"
990
+ o.input = Shapes::ShapeRef.new(shape: UpdateClusterKafkaVersionRequest)
991
+ o.output = Shapes::ShapeRef.new(shape: UpdateClusterKafkaVersionResponse)
992
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
993
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
994
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
995
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
996
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
997
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
998
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
999
+ end)
1000
+
853
1001
  api.add_operation(:update_monitoring, Seahorse::Model::Operation.new.tap do |o|
854
1002
  o.name = "UpdateMonitoring"
855
1003
  o.http_method = "PUT"