aws-sdk-kafka 1.20.0 → 1.21.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: b90b1f87c629c19c9cb61a2136d7ded455cbd37e6d7fd9bbcfb1a2055dd24501
4
+ data.tar.gz: 1ad31cafdcb9782852b571460e0a3c7d6ac52667a09614ad08f7548f08fa60d8
5
5
  SHA512:
6
- metadata.gz: b04507b7e2a8c754938a062ebcfbc15b732cf3c3b8a9276c52f8b60e083c85da8ef70a38998b4e4f65b5038beacb9a9b608384546e582cc395d75376d5d45b84
7
- data.tar.gz: c87947501d8a2c6ef62381ed792098ad188e1d1c642266ad0324a52270b210481b82e0edc6057c6f0d7b5fa27605b8d484cd50a3dbde2337045e3a68a41bfcd1
6
+ metadata.gz: fca435a85574def0085561c96e340c56e7538e39570541564c7a0600d9699937e079869e1d2ae7e2ec73c12126af2abb09c6575ee11dddcac8f6b3d019a3f10e
7
+ data.tar.gz: ccd66241d9b9308a5ca06c0f3ecac12de157fb6599ff48438e3bd2a8558667984fef32e01eabd7123f79f4ab508ceb3b51889b46254a432c5a4eecedf9682565
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-kafka/customizations'
45
45
  # @service
46
46
  module Aws::Kafka
47
47
 
48
- GEM_VERSION = '1.20.0'
48
+ GEM_VERSION = '1.21.0'
49
49
 
50
50
  end
@@ -176,7 +176,7 @@ module Aws::Kafka
176
176
  # requests fetching endpoints information. Defaults to 60 sec.
177
177
  #
178
178
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
180
  #
181
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
182
  # The log formatter.
@@ -438,7 +438,7 @@ module Aws::Kafka
438
438
  # @option params [String] :description
439
439
  # The description of the configuration.
440
440
  #
441
- # @option params [required, Array<String>] :kafka_versions
441
+ # @option params [Array<String>] :kafka_versions
442
442
  # The versions of Apache Kafka with which you can use this MSK
443
443
  # configuration.
444
444
  #
@@ -459,7 +459,7 @@ module Aws::Kafka
459
459
  #
460
460
  # resp = client.create_configuration({
461
461
  # description: "__string",
462
- # kafka_versions: ["__string"], # required
462
+ # kafka_versions: ["__string"],
463
463
  # name: "__string", # required
464
464
  # server_properties: "data", # required
465
465
  # })
@@ -599,6 +599,9 @@ module Aws::Kafka
599
599
  # resp.cluster_operation_info.end_time #=> Time
600
600
  # resp.cluster_operation_info.error_info.error_code #=> String
601
601
  # resp.cluster_operation_info.error_info.error_string #=> String
602
+ # resp.cluster_operation_info.operation_steps #=> Array
603
+ # resp.cluster_operation_info.operation_steps[0].step_info.step_status #=> String
604
+ # resp.cluster_operation_info.operation_steps[0].step_name #=> String
602
605
  # resp.cluster_operation_info.operation_arn #=> String
603
606
  # resp.cluster_operation_info.operation_state #=> String
604
607
  # resp.cluster_operation_info.operation_type #=> String
@@ -611,6 +614,7 @@ module Aws::Kafka
611
614
  # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
612
615
  # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
613
616
  # resp.cluster_operation_info.source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
617
+ # resp.cluster_operation_info.source_cluster_info.kafka_version #=> String
614
618
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
615
619
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
616
620
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
@@ -627,6 +631,7 @@ module Aws::Kafka
627
631
  # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
628
632
  # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
629
633
  # resp.cluster_operation_info.target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
634
+ # resp.cluster_operation_info.target_cluster_info.kafka_version #=> String
630
635
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
631
636
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
632
637
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
@@ -751,6 +756,37 @@ module Aws::Kafka
751
756
  req.send_request(options)
752
757
  end
753
758
 
759
+ # Gets the Apache Kafka versions to which you can update the MSK
760
+ # cluster.
761
+ #
762
+ # @option params [String] :cluster_arn
763
+ #
764
+ # @return [Types::GetCompatibleKafkaVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
765
+ #
766
+ # * {Types::GetCompatibleKafkaVersionsResponse#compatible_kafka_versions #compatible_kafka_versions} => Array&lt;Types::CompatibleKafkaVersion&gt;
767
+ #
768
+ # @example Request syntax with placeholder values
769
+ #
770
+ # resp = client.get_compatible_kafka_versions({
771
+ # cluster_arn: "__string",
772
+ # })
773
+ #
774
+ # @example Response structure
775
+ #
776
+ # resp.compatible_kafka_versions #=> Array
777
+ # resp.compatible_kafka_versions[0].source_version #=> String
778
+ # resp.compatible_kafka_versions[0].target_versions #=> Array
779
+ # resp.compatible_kafka_versions[0].target_versions[0] #=> String
780
+ #
781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetCompatibleKafkaVersions AWS API Documentation
782
+ #
783
+ # @overload get_compatible_kafka_versions(params = {})
784
+ # @param [Hash] params ({})
785
+ def get_compatible_kafka_versions(params = {}, options = {})
786
+ req = build_request(:get_compatible_kafka_versions, params)
787
+ req.send_request(options)
788
+ end
789
+
754
790
  # Returns a list of all the operations that have been performed on the
755
791
  # specified MSK cluster.
756
792
  #
@@ -784,6 +820,9 @@ module Aws::Kafka
784
820
  # resp.cluster_operation_info_list[0].end_time #=> Time
785
821
  # resp.cluster_operation_info_list[0].error_info.error_code #=> String
786
822
  # resp.cluster_operation_info_list[0].error_info.error_string #=> String
823
+ # resp.cluster_operation_info_list[0].operation_steps #=> Array
824
+ # resp.cluster_operation_info_list[0].operation_steps[0].step_info.step_status #=> String
825
+ # resp.cluster_operation_info_list[0].operation_steps[0].step_name #=> String
787
826
  # resp.cluster_operation_info_list[0].operation_arn #=> String
788
827
  # resp.cluster_operation_info_list[0].operation_state #=> String
789
828
  # resp.cluster_operation_info_list[0].operation_type #=> String
@@ -796,6 +835,7 @@ module Aws::Kafka
796
835
  # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
797
836
  # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
798
837
  # resp.cluster_operation_info_list[0].source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
838
+ # resp.cluster_operation_info_list[0].source_cluster_info.kafka_version #=> String
799
839
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
800
840
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
801
841
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
@@ -812,6 +852,7 @@ module Aws::Kafka
812
852
  # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
813
853
  # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
814
854
  # resp.cluster_operation_info_list[0].target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
855
+ # resp.cluster_operation_info_list[0].target_cluster_info.kafka_version #=> String
815
856
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
816
857
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
817
858
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
@@ -1288,6 +1329,50 @@ module Aws::Kafka
1288
1329
  req.send_request(options)
1289
1330
  end
1290
1331
 
1332
+ # Updates the Apache Kafka version for the cluster.
1333
+ #
1334
+ # @option params [required, String] :cluster_arn
1335
+ #
1336
+ # @option params [Types::ConfigurationInfo] :configuration_info
1337
+ # Specifies the configuration to use for the brokers.
1338
+ #
1339
+ # @option params [required, String] :current_version
1340
+ # Current cluster version.
1341
+ #
1342
+ # @option params [required, String] :target_kafka_version
1343
+ # Target Kafka version.
1344
+ #
1345
+ # @return [Types::UpdateClusterKafkaVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1346
+ #
1347
+ # * {Types::UpdateClusterKafkaVersionResponse#cluster_arn #cluster_arn} => String
1348
+ # * {Types::UpdateClusterKafkaVersionResponse#cluster_operation_arn #cluster_operation_arn} => String
1349
+ #
1350
+ # @example Request syntax with placeholder values
1351
+ #
1352
+ # resp = client.update_cluster_kafka_version({
1353
+ # cluster_arn: "__string", # required
1354
+ # configuration_info: {
1355
+ # arn: "__string", # required
1356
+ # revision: 1, # required
1357
+ # },
1358
+ # current_version: "__string", # required
1359
+ # target_kafka_version: "__string", # required
1360
+ # })
1361
+ #
1362
+ # @example Response structure
1363
+ #
1364
+ # resp.cluster_arn #=> String
1365
+ # resp.cluster_operation_arn #=> String
1366
+ #
1367
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersion AWS API Documentation
1368
+ #
1369
+ # @overload update_cluster_kafka_version(params = {})
1370
+ # @param [Hash] params ({})
1371
+ def update_cluster_kafka_version(params = {}, options = {})
1372
+ req = build_request(:update_cluster_kafka_version, params)
1373
+ req.send_request(options)
1374
+ end
1375
+
1291
1376
  # Updates the monitoring settings for the cluster. You can use this
1292
1377
  # operation to specify which Apache Kafka metrics you want Amazon MSK to
1293
1378
  # send to Amazon CloudWatch. You can also specify settings for open
@@ -1376,7 +1461,7 @@ module Aws::Kafka
1376
1461
  params: params,
1377
1462
  config: config)
1378
1463
  context[:gem_name] = 'aws-sdk-kafka'
1379
- context[:gem_version] = '1.20.0'
1464
+ context[:gem_version] = '1.21.0'
1380
1465
  Seahorse::Client::Request.new(handlers, context)
1381
1466
  end
1382
1467
 
@@ -23,7 +23,10 @@ module Aws::Kafka
23
23
  CloudWatchLogs = Shapes::StructureShape.new(name: 'CloudWatchLogs')
24
24
  ClusterInfo = Shapes::StructureShape.new(name: 'ClusterInfo')
25
25
  ClusterOperationInfo = Shapes::StructureShape.new(name: 'ClusterOperationInfo')
26
+ ClusterOperationStep = Shapes::StructureShape.new(name: 'ClusterOperationStep')
27
+ ClusterOperationStepInfo = Shapes::StructureShape.new(name: 'ClusterOperationStepInfo')
26
28
  ClusterState = Shapes::StringShape.new(name: 'ClusterState')
29
+ CompatibleKafkaVersion = Shapes::StructureShape.new(name: 'CompatibleKafkaVersion')
27
30
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
28
31
  ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
29
32
  ConfigurationRevision = Shapes::StructureShape.new(name: 'ConfigurationRevision')
@@ -53,6 +56,8 @@ module Aws::Kafka
53
56
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
54
57
  GetBootstrapBrokersRequest = Shapes::StructureShape.new(name: 'GetBootstrapBrokersRequest')
55
58
  GetBootstrapBrokersResponse = Shapes::StructureShape.new(name: 'GetBootstrapBrokersResponse')
59
+ GetCompatibleKafkaVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleKafkaVersionsRequest')
60
+ GetCompatibleKafkaVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleKafkaVersionsResponse')
56
61
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
57
62
  JmxExporter = Shapes::StructureShape.new(name: 'JmxExporter')
58
63
  JmxExporterInfo = Shapes::StructureShape.new(name: 'JmxExporterInfo')
@@ -99,6 +104,8 @@ module Aws::Kafka
99
104
  UpdateBrokerStorageResponse = Shapes::StructureShape.new(name: 'UpdateBrokerStorageResponse')
100
105
  UpdateClusterConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationRequest')
101
106
  UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
107
+ UpdateClusterKafkaVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionRequest')
108
+ UpdateClusterKafkaVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionResponse')
102
109
  UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
103
110
  UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
104
111
  ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
@@ -111,6 +118,8 @@ module Aws::Kafka
111
118
  __listOfBrokerEBSVolumeInfo = Shapes::ListShape.new(name: '__listOfBrokerEBSVolumeInfo')
112
119
  __listOfClusterInfo = Shapes::ListShape.new(name: '__listOfClusterInfo')
113
120
  __listOfClusterOperationInfo = Shapes::ListShape.new(name: '__listOfClusterOperationInfo')
121
+ __listOfClusterOperationStep = Shapes::ListShape.new(name: '__listOfClusterOperationStep')
122
+ __listOfCompatibleKafkaVersion = Shapes::ListShape.new(name: '__listOfCompatibleKafkaVersion')
114
123
  __listOfConfiguration = Shapes::ListShape.new(name: '__listOfConfiguration')
115
124
  __listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
116
125
  __listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
@@ -187,6 +196,7 @@ module Aws::Kafka
187
196
  ClusterOperationInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
188
197
  ClusterOperationInfo.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "endTime"))
189
198
  ClusterOperationInfo.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfo, location_name: "errorInfo"))
199
+ ClusterOperationInfo.add_member(:operation_steps, Shapes::ShapeRef.new(shape: __listOfClusterOperationStep, location_name: "operationSteps"))
190
200
  ClusterOperationInfo.add_member(:operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "operationArn"))
191
201
  ClusterOperationInfo.add_member(:operation_state, Shapes::ShapeRef.new(shape: __string, location_name: "operationState"))
192
202
  ClusterOperationInfo.add_member(:operation_type, Shapes::ShapeRef.new(shape: __string, location_name: "operationType"))
@@ -194,6 +204,17 @@ module Aws::Kafka
194
204
  ClusterOperationInfo.add_member(:target_cluster_info, Shapes::ShapeRef.new(shape: MutableClusterInfo, location_name: "targetClusterInfo"))
195
205
  ClusterOperationInfo.struct_class = Types::ClusterOperationInfo
196
206
 
207
+ ClusterOperationStep.add_member(:step_info, Shapes::ShapeRef.new(shape: ClusterOperationStepInfo, location_name: "stepInfo"))
208
+ ClusterOperationStep.add_member(:step_name, Shapes::ShapeRef.new(shape: __string, location_name: "stepName"))
209
+ ClusterOperationStep.struct_class = Types::ClusterOperationStep
210
+
211
+ ClusterOperationStepInfo.add_member(:step_status, Shapes::ShapeRef.new(shape: __string, location_name: "stepStatus"))
212
+ ClusterOperationStepInfo.struct_class = Types::ClusterOperationStepInfo
213
+
214
+ CompatibleKafkaVersion.add_member(:source_version, Shapes::ShapeRef.new(shape: __string, location_name: "sourceVersion"))
215
+ CompatibleKafkaVersion.add_member(:target_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "targetVersions"))
216
+ CompatibleKafkaVersion.struct_class = Types::CompatibleKafkaVersion
217
+
197
218
  Configuration.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
198
219
  Configuration.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "creationTime"))
199
220
  Configuration.add_member(:description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "description"))
@@ -234,7 +255,7 @@ module Aws::Kafka
234
255
  CreateClusterResponse.struct_class = Types::CreateClusterResponse
235
256
 
236
257
  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"))
258
+ CreateConfigurationRequest.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
238
259
  CreateConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
239
260
  CreateConfigurationRequest.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, required: true, location_name: "serverProperties"))
240
261
  CreateConfigurationRequest.struct_class = Types::CreateConfigurationRequest
@@ -324,6 +345,12 @@ module Aws::Kafka
324
345
  GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringTls"))
325
346
  GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
326
347
 
348
+ GetCompatibleKafkaVersionsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterArn"))
349
+ GetCompatibleKafkaVersionsRequest.struct_class = Types::GetCompatibleKafkaVersionsRequest
350
+
351
+ GetCompatibleKafkaVersionsResponse.add_member(:compatible_kafka_versions, Shapes::ShapeRef.new(shape: __listOfCompatibleKafkaVersion, location_name: "compatibleKafkaVersions"))
352
+ GetCompatibleKafkaVersionsResponse.struct_class = Types::GetCompatibleKafkaVersionsResponse
353
+
327
354
  InternalServerErrorException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
328
355
  InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
329
356
  InternalServerErrorException.struct_class = Types::InternalServerErrorException
@@ -404,6 +431,7 @@ module Aws::Kafka
404
431
  MutableClusterInfo.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integer, location_name: "numberOfBrokerNodes"))
405
432
  MutableClusterInfo.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoring, location_name: "openMonitoring"))
406
433
  MutableClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
434
+ MutableClusterInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
407
435
  MutableClusterInfo.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
408
436
  MutableClusterInfo.struct_class = Types::MutableClusterInfo
409
437
 
@@ -501,6 +529,16 @@ module Aws::Kafka
501
529
  UpdateClusterConfigurationResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
502
530
  UpdateClusterConfigurationResponse.struct_class = Types::UpdateClusterConfigurationResponse
503
531
 
532
+ UpdateClusterKafkaVersionRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
533
+ UpdateClusterKafkaVersionRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
534
+ UpdateClusterKafkaVersionRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
535
+ UpdateClusterKafkaVersionRequest.add_member(:target_kafka_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "targetKafkaVersion"))
536
+ UpdateClusterKafkaVersionRequest.struct_class = Types::UpdateClusterKafkaVersionRequest
537
+
538
+ UpdateClusterKafkaVersionResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
539
+ UpdateClusterKafkaVersionResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
540
+ UpdateClusterKafkaVersionResponse.struct_class = Types::UpdateClusterKafkaVersionResponse
541
+
504
542
  UpdateMonitoringRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
505
543
  UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
506
544
  UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
@@ -525,6 +563,10 @@ module Aws::Kafka
525
563
 
526
564
  __listOfClusterOperationInfo.member = Shapes::ShapeRef.new(shape: ClusterOperationInfo)
527
565
 
566
+ __listOfClusterOperationStep.member = Shapes::ShapeRef.new(shape: ClusterOperationStep)
567
+
568
+ __listOfCompatibleKafkaVersion.member = Shapes::ShapeRef.new(shape: CompatibleKafkaVersion)
569
+
528
570
  __listOfConfiguration.member = Shapes::ShapeRef.new(shape: Configuration)
529
571
 
530
572
  __listOfConfigurationRevision.member = Shapes::ShapeRef.new(shape: ConfigurationRevision)
@@ -666,6 +708,21 @@ module Aws::Kafka
666
708
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
667
709
  end)
668
710
 
711
+ api.add_operation(:get_compatible_kafka_versions, Seahorse::Model::Operation.new.tap do |o|
712
+ o.name = "GetCompatibleKafkaVersions"
713
+ o.http_method = "GET"
714
+ o.http_request_uri = "/v1/compatible-kafka-versions"
715
+ o.input = Shapes::ShapeRef.new(shape: GetCompatibleKafkaVersionsRequest)
716
+ o.output = Shapes::ShapeRef.new(shape: GetCompatibleKafkaVersionsResponse)
717
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
718
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
719
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
721
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
722
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
723
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
724
+ end)
725
+
669
726
  api.add_operation(:list_cluster_operations, Seahorse::Model::Operation.new.tap do |o|
670
727
  o.name = "ListClusterOperations"
671
728
  o.http_method = "GET"
@@ -850,6 +907,21 @@ module Aws::Kafka
850
907
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
851
908
  end)
852
909
 
910
+ api.add_operation(:update_cluster_kafka_version, Seahorse::Model::Operation.new.tap do |o|
911
+ o.name = "UpdateClusterKafkaVersion"
912
+ o.http_method = "PUT"
913
+ o.http_request_uri = "/v1/clusters/{clusterArn}/version"
914
+ o.input = Shapes::ShapeRef.new(shape: UpdateClusterKafkaVersionRequest)
915
+ o.output = Shapes::ShapeRef.new(shape: UpdateClusterKafkaVersionResponse)
916
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
917
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
918
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
919
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
920
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
921
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
922
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
923
+ end)
924
+
853
925
  api.add_operation(:update_monitoring, Seahorse::Model::Operation.new.tap do |o|
854
926
  o.name = "UpdateMonitoring"
855
927
  o.http_method = "PUT"
@@ -394,6 +394,10 @@ module Aws::Kafka
394
394
  # Describes the error if the operation fails.
395
395
  # @return [Types::ErrorInfo]
396
396
  #
397
+ # @!attribute [rw] operation_steps
398
+ # Steps completed during the operation.
399
+ # @return [Array<Types::ClusterOperationStep>]
400
+ #
397
401
  # @!attribute [rw] operation_arn
398
402
  # ARN of the cluster operation.
399
403
  # @return [String]
@@ -422,6 +426,7 @@ module Aws::Kafka
422
426
  :creation_time,
423
427
  :end_time,
424
428
  :error_info,
429
+ :operation_steps,
425
430
  :operation_arn,
426
431
  :operation_state,
427
432
  :operation_type,
@@ -430,6 +435,53 @@ module Aws::Kafka
430
435
  include Aws::Structure
431
436
  end
432
437
 
438
+ # Step taken during a cluster operation.
439
+ #
440
+ # @!attribute [rw] step_info
441
+ # Information about the step and its status.
442
+ # @return [Types::ClusterOperationStepInfo]
443
+ #
444
+ # @!attribute [rw] step_name
445
+ # The name of the step.
446
+ # @return [String]
447
+ #
448
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterOperationStep AWS API Documentation
449
+ #
450
+ class ClusterOperationStep < Struct.new(
451
+ :step_info,
452
+ :step_name)
453
+ include Aws::Structure
454
+ end
455
+
456
+ # State information about the operation step.
457
+ #
458
+ # @!attribute [rw] step_status
459
+ # The steps current status.
460
+ # @return [String]
461
+ #
462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterOperationStepInfo AWS API Documentation
463
+ #
464
+ class ClusterOperationStepInfo < Struct.new(
465
+ :step_status)
466
+ include Aws::Structure
467
+ end
468
+
469
+ # Contains source Kafka versions and compatible target Kafka versions.
470
+ #
471
+ # @!attribute [rw] source_version
472
+ # @return [String]
473
+ #
474
+ # @!attribute [rw] target_versions
475
+ # @return [Array<String>]
476
+ #
477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CompatibleKafkaVersion AWS API Documentation
478
+ #
479
+ class CompatibleKafkaVersion < Struct.new(
480
+ :source_version,
481
+ :target_versions)
482
+ include Aws::Structure
483
+ end
484
+
433
485
  # Represents an MSK Configuration.
434
486
  #
435
487
  # @!attribute [rw] arn
@@ -701,7 +753,7 @@ module Aws::Kafka
701
753
  #
702
754
  # {
703
755
  # description: "__string",
704
- # kafka_versions: ["__string"], # required
756
+ # kafka_versions: ["__string"],
705
757
  # name: "__string", # required
706
758
  # server_properties: "data", # required
707
759
  # }
@@ -1209,6 +1261,36 @@ module Aws::Kafka
1209
1261
  include Aws::Structure
1210
1262
  end
1211
1263
 
1264
+ # @note When making an API call, you may pass GetCompatibleKafkaVersionsRequest
1265
+ # data as a hash:
1266
+ #
1267
+ # {
1268
+ # cluster_arn: "__string",
1269
+ # }
1270
+ #
1271
+ # @!attribute [rw] cluster_arn
1272
+ # @return [String]
1273
+ #
1274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetCompatibleKafkaVersionsRequest AWS API Documentation
1275
+ #
1276
+ class GetCompatibleKafkaVersionsRequest < Struct.new(
1277
+ :cluster_arn)
1278
+ include Aws::Structure
1279
+ end
1280
+
1281
+ # Response body for GetCompatibleKafkaVersions.
1282
+ #
1283
+ # @!attribute [rw] compatible_kafka_versions
1284
+ # A list of CompatibleKafkaVersion objects.
1285
+ # @return [Array<Types::CompatibleKafkaVersion>]
1286
+ #
1287
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetCompatibleKafkaVersionsResponse AWS API Documentation
1288
+ #
1289
+ class GetCompatibleKafkaVersionsResponse < Struct.new(
1290
+ :compatible_kafka_versions)
1291
+ include Aws::Structure
1292
+ end
1293
+
1212
1294
  # Returns information about an error.
1213
1295
  #
1214
1296
  # @!attribute [rw] invalid_parameter
@@ -1610,6 +1692,9 @@ module Aws::Kafka
1610
1692
  # Amazon CloudWatch for this cluster.
1611
1693
  # @return [String]
1612
1694
  #
1695
+ # @!attribute [rw] kafka_version
1696
+ # @return [String]
1697
+ #
1613
1698
  # @!attribute [rw] logging_info
1614
1699
  # LoggingInfo details.
1615
1700
  # @return [Types::LoggingInfo]
@@ -1622,6 +1707,7 @@ module Aws::Kafka
1622
1707
  :number_of_broker_nodes,
1623
1708
  :open_monitoring,
1624
1709
  :enhanced_monitoring,
1710
+ :kafka_version,
1625
1711
  :logging_info)
1626
1712
  include Aws::Structure
1627
1713
  end
@@ -2005,6 +2091,64 @@ module Aws::Kafka
2005
2091
  include Aws::Structure
2006
2092
  end
2007
2093
 
2094
+ # Request body for UpdateClusterKafkaVersion.
2095
+ #
2096
+ # @note When making an API call, you may pass UpdateClusterKafkaVersionRequest
2097
+ # data as a hash:
2098
+ #
2099
+ # {
2100
+ # cluster_arn: "__string", # required
2101
+ # configuration_info: {
2102
+ # arn: "__string", # required
2103
+ # revision: 1, # required
2104
+ # },
2105
+ # current_version: "__string", # required
2106
+ # target_kafka_version: "__string", # required
2107
+ # }
2108
+ #
2109
+ # @!attribute [rw] cluster_arn
2110
+ # @return [String]
2111
+ #
2112
+ # @!attribute [rw] configuration_info
2113
+ # Specifies the configuration to use for the brokers.
2114
+ # @return [Types::ConfigurationInfo]
2115
+ #
2116
+ # @!attribute [rw] current_version
2117
+ # Current cluster version.
2118
+ # @return [String]
2119
+ #
2120
+ # @!attribute [rw] target_kafka_version
2121
+ # Target Kafka version.
2122
+ # @return [String]
2123
+ #
2124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersionRequest AWS API Documentation
2125
+ #
2126
+ class UpdateClusterKafkaVersionRequest < Struct.new(
2127
+ :cluster_arn,
2128
+ :configuration_info,
2129
+ :current_version,
2130
+ :target_kafka_version)
2131
+ include Aws::Structure
2132
+ end
2133
+
2134
+ # Response body for UpdateClusterKafkaVersion.
2135
+ #
2136
+ # @!attribute [rw] cluster_arn
2137
+ # The Amazon Resource Name (ARN) of the cluster.
2138
+ # @return [String]
2139
+ #
2140
+ # @!attribute [rw] cluster_operation_arn
2141
+ # The Amazon Resource Name (ARN) of the cluster operation.
2142
+ # @return [String]
2143
+ #
2144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersionResponse AWS API Documentation
2145
+ #
2146
+ class UpdateClusterKafkaVersionResponse < Struct.new(
2147
+ :cluster_arn,
2148
+ :cluster_operation_arn)
2149
+ include Aws::Structure
2150
+ end
2151
+
2008
2152
  # Request body for UpdateMonitoring.
2009
2153
  #
2010
2154
  # @note When making an API call, you may pass UpdateMonitoringRequest
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-07 00:00:00.000000000 Z
11
+ date: 2020-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core