aws-sdk-kafka 1.32.0 → 1.33.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: 6a01b0720dceee4d48543477cf65de48ae9e764b41487e82c9938aa08aa88e44
4
- data.tar.gz: 2a432ef9bec1dc69f2d264b98d1f646fbdfdb31110bfff41286867819f25625e
3
+ metadata.gz: 957d9f0790628542f805defd5a56da37a542cb47a9e3ace3ddcd24afef3d9d02
4
+ data.tar.gz: a0a129fb34b59f7b496442a8d8970479d89e16c7c31bc6932f0790b1e02182ef
5
5
  SHA512:
6
- metadata.gz: 57c77ef01aa9bbff5f76dc9f158a89f46a7435f0af8134783b3c82060529419c9609198e654cc56c631342631ac2f353a0e4c7d4b095e1f87b5b6eb00114e4b3
7
- data.tar.gz: be81f61f1b72e448483ba93c7cf14727979e38404771b27a6b296d11aab7fa34af6f841699b3e62888140b62de0c15ca97f9bedf6062a2e15067a3bfebd7f93a
6
+ metadata.gz: 968d8708cf1f3ea110cdda6ff1fa73251b5e2226b0e6b51848c5a2e06a6c6647233f03baf4755eeb7b4e3df789195cf1e529c29c662af93fa1c9a6a13469ce25
7
+ data.tar.gz: 2cd4c045744921a359dd3b7d38e4ccdbcf8f14cba11d09d719dbad0c03c3ee29f5b5f63b0cde5e9791829cea5988616577bcddd4ffc720898cdebb908cccda7c
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-kafka/customizations'
48
48
  # @!group service
49
49
  module Aws::Kafka
50
50
 
51
- GEM_VERSION = '1.32.0'
51
+ GEM_VERSION = '1.33.0'
52
52
 
53
53
  end
@@ -366,7 +366,7 @@ module Aws::Kafka
366
366
  # Creates a new MSK cluster.
367
367
  #
368
368
  # @option params [required, Types::BrokerNodeGroupInfo] :broker_node_group_info
369
- # Information about the broker nodes in the cluster.
369
+ # Information about the brokers.
370
370
  #
371
371
  # @option params [Types::ClientAuthentication] :client_authentication
372
372
  # Includes all client authentication related information.
@@ -718,6 +718,7 @@ module Aws::Kafka
718
718
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.bucket #=> String
719
719
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
720
720
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.prefix #=> String
721
+ # resp.cluster_operation_info.source_cluster_info.instance_type #=> String
721
722
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
722
723
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
723
724
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
@@ -735,6 +736,7 @@ module Aws::Kafka
735
736
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.bucket #=> String
736
737
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
737
738
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.prefix #=> String
739
+ # resp.cluster_operation_info.target_cluster_info.instance_type #=> String
738
740
  #
739
741
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
740
742
  #
@@ -979,6 +981,7 @@ module Aws::Kafka
979
981
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.bucket #=> String
980
982
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
981
983
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.prefix #=> String
984
+ # resp.cluster_operation_info_list[0].source_cluster_info.instance_type #=> String
982
985
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
983
986
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
984
987
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
@@ -996,6 +999,7 @@ module Aws::Kafka
996
999
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.bucket #=> String
997
1000
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
998
1001
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.prefix #=> String
1002
+ # resp.cluster_operation_info_list[0].target_cluster_info.instance_type #=> String
999
1003
  # resp.next_token #=> String
1000
1004
  #
1001
1005
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
@@ -1449,6 +1453,44 @@ module Aws::Kafka
1449
1453
  req.send_request(options)
1450
1454
  end
1451
1455
 
1456
+ # Updates all the brokers in the cluster to the specified type.
1457
+ #
1458
+ # @option params [required, String] :cluster_arn
1459
+ #
1460
+ # @option params [required, String] :current_version
1461
+ # The current version of the cluster.
1462
+ #
1463
+ # @option params [required, String] :target_instance_type
1464
+ # The Amazon MSK broker type that you want all of the brokers in this
1465
+ # cluster to be.
1466
+ #
1467
+ # @return [Types::UpdateBrokerTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1468
+ #
1469
+ # * {Types::UpdateBrokerTypeResponse#cluster_arn #cluster_arn} => String
1470
+ # * {Types::UpdateBrokerTypeResponse#cluster_operation_arn #cluster_operation_arn} => String
1471
+ #
1472
+ # @example Request syntax with placeholder values
1473
+ #
1474
+ # resp = client.update_broker_type({
1475
+ # cluster_arn: "__string", # required
1476
+ # current_version: "__string", # required
1477
+ # target_instance_type: "__string", # required
1478
+ # })
1479
+ #
1480
+ # @example Response structure
1481
+ #
1482
+ # resp.cluster_arn #=> String
1483
+ # resp.cluster_operation_arn #=> String
1484
+ #
1485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerType AWS API Documentation
1486
+ #
1487
+ # @overload update_broker_type(params = {})
1488
+ # @param [Hash] params ({})
1489
+ def update_broker_type(params = {}, options = {})
1490
+ req = build_request(:update_broker_type, params)
1491
+ req.send_request(options)
1492
+ end
1493
+
1452
1494
  # Updates the EBS storage associated with MSK brokers.
1453
1495
  #
1454
1496
  # @option params [required, String] :cluster_arn
@@ -1712,7 +1754,7 @@ module Aws::Kafka
1712
1754
  params: params,
1713
1755
  config: config)
1714
1756
  context[:gem_name] = 'aws-sdk-kafka'
1715
- context[:gem_version] = '1.32.0'
1757
+ context[:gem_version] = '1.33.0'
1716
1758
  Seahorse::Client::Request.new(handlers, context)
1717
1759
  end
1718
1760
 
@@ -118,6 +118,8 @@ module Aws::Kafka
118
118
  UpdateBrokerCountResponse = Shapes::StructureShape.new(name: 'UpdateBrokerCountResponse')
119
119
  UpdateBrokerStorageRequest = Shapes::StructureShape.new(name: 'UpdateBrokerStorageRequest')
120
120
  UpdateBrokerStorageResponse = Shapes::StructureShape.new(name: 'UpdateBrokerStorageResponse')
121
+ UpdateBrokerTypeRequest = Shapes::StructureShape.new(name: 'UpdateBrokerTypeRequest')
122
+ UpdateBrokerTypeResponse = Shapes::StructureShape.new(name: 'UpdateBrokerTypeResponse')
121
123
  UpdateClusterConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationRequest')
122
124
  UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
123
125
  UpdateClusterKafkaVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionRequest')
@@ -490,6 +492,7 @@ module Aws::Kafka
490
492
  MutableClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
491
493
  MutableClusterInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
492
494
  MutableClusterInfo.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
495
+ MutableClusterInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __stringMin5Max32, location_name: "instanceType"))
493
496
  MutableClusterInfo.struct_class = Types::MutableClusterInfo
494
497
 
495
498
  NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
@@ -596,6 +599,15 @@ module Aws::Kafka
596
599
  UpdateBrokerStorageResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
597
600
  UpdateBrokerStorageResponse.struct_class = Types::UpdateBrokerStorageResponse
598
601
 
602
+ UpdateBrokerTypeRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
603
+ UpdateBrokerTypeRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
604
+ UpdateBrokerTypeRequest.add_member(:target_instance_type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "targetInstanceType"))
605
+ UpdateBrokerTypeRequest.struct_class = Types::UpdateBrokerTypeRequest
606
+
607
+ UpdateBrokerTypeResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
608
+ UpdateBrokerTypeResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
609
+ UpdateBrokerTypeResponse.struct_class = Types::UpdateBrokerTypeResponse
610
+
599
611
  UpdateClusterConfigurationRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
600
612
  UpdateClusterConfigurationRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, required: true, location_name: "configurationInfo"))
601
613
  UpdateClusterConfigurationRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
@@ -1045,6 +1057,21 @@ module Aws::Kafka
1045
1057
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1046
1058
  end)
1047
1059
 
1060
+ api.add_operation(:update_broker_type, Seahorse::Model::Operation.new.tap do |o|
1061
+ o.name = "UpdateBrokerType"
1062
+ o.http_method = "PUT"
1063
+ o.http_request_uri = "/v1/clusters/{clusterArn}/nodes/type"
1064
+ o.input = Shapes::ShapeRef.new(shape: UpdateBrokerTypeRequest)
1065
+ o.output = Shapes::ShapeRef.new(shape: UpdateBrokerTypeResponse)
1066
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1067
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1068
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1069
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1070
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1071
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1072
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1073
+ end)
1074
+
1048
1075
  api.add_operation(:update_broker_storage, Seahorse::Model::Operation.new.tap do |o|
1049
1076
  o.name = "UpdateBrokerStorage"
1050
1077
  o.http_method = "PUT"
@@ -175,10 +175,7 @@ module Aws::Kafka
175
175
  # @return [Array<String>]
176
176
  #
177
177
  # @!attribute [rw] instance_type
178
- # The type of Amazon EC2 instances to use for Kafka brokers. The
179
- # following instance types are allowed: kafka.m5.large,
180
- # kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge,
181
- # kafka.m5.12xlarge, and kafka.m5.24xlarge.
178
+ # The type of broker used in the Amazon MSK cluster.
182
179
  # @return [String]
183
180
  #
184
181
  # @!attribute [rw] security_groups
@@ -341,7 +338,7 @@ module Aws::Kafka
341
338
  # @return [String]
342
339
  #
343
340
  # @!attribute [rw] broker_node_group_info
344
- # Information about the broker nodes.
341
+ # Information about the brokers.
345
342
  # @return [Types::BrokerNodeGroupInfo]
346
343
  #
347
344
  # @!attribute [rw] client_authentication
@@ -751,7 +748,7 @@ module Aws::Kafka
751
748
  # }
752
749
  #
753
750
  # @!attribute [rw] broker_node_group_info
754
- # Information about the broker nodes in the cluster.
751
+ # Information about the brokers.
755
752
  # @return [Types::BrokerNodeGroupInfo]
756
753
  #
757
754
  # @!attribute [rw] client_authentication
@@ -1989,6 +1986,11 @@ module Aws::Kafka
1989
1986
  # LoggingInfo details.
1990
1987
  # @return [Types::LoggingInfo]
1991
1988
  #
1989
+ # @!attribute [rw] instance_type
1990
+ # The Amazon MSK broker type that you want all of the brokers in this
1991
+ # cluster to be.
1992
+ # @return [String]
1993
+ #
1992
1994
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
1993
1995
  #
1994
1996
  class MutableClusterInfo < Struct.new(
@@ -1998,7 +2000,8 @@ module Aws::Kafka
1998
2000
  :open_monitoring,
1999
2001
  :enhanced_monitoring,
2000
2002
  :kafka_version,
2001
- :logging_info)
2003
+ :logging_info,
2004
+ :instance_type)
2002
2005
  SENSITIVE = []
2003
2006
  include Aws::Structure
2004
2007
  end
@@ -2284,6 +2287,58 @@ module Aws::Kafka
2284
2287
  include Aws::Structure
2285
2288
  end
2286
2289
 
2290
+ # Request body for UpdateBrokerType.
2291
+ #
2292
+ # @note When making an API call, you may pass UpdateBrokerTypeRequest
2293
+ # data as a hash:
2294
+ #
2295
+ # {
2296
+ # cluster_arn: "__string", # required
2297
+ # current_version: "__string", # required
2298
+ # target_instance_type: "__string", # required
2299
+ # }
2300
+ #
2301
+ # @!attribute [rw] cluster_arn
2302
+ # @return [String]
2303
+ #
2304
+ # @!attribute [rw] current_version
2305
+ # The current version of the cluster.
2306
+ # @return [String]
2307
+ #
2308
+ # @!attribute [rw] target_instance_type
2309
+ # The Amazon MSK broker type that you want all of the brokers in this
2310
+ # cluster to be.
2311
+ # @return [String]
2312
+ #
2313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerTypeRequest AWS API Documentation
2314
+ #
2315
+ class UpdateBrokerTypeRequest < Struct.new(
2316
+ :cluster_arn,
2317
+ :current_version,
2318
+ :target_instance_type)
2319
+ SENSITIVE = []
2320
+ include Aws::Structure
2321
+ end
2322
+
2323
+ # Response body for UpdateBrokerType.
2324
+ #
2325
+ # @!attribute [rw] cluster_arn
2326
+ # The Amazon Resource Name (ARN) of the cluster.
2327
+ # @return [String]
2328
+ #
2329
+ # @!attribute [rw] cluster_operation_arn
2330
+ # The Amazon Resource Name (ARN) of the cluster operation.
2331
+ # @return [String]
2332
+ #
2333
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerTypeResponse AWS API Documentation
2334
+ #
2335
+ class UpdateBrokerTypeResponse < Struct.new(
2336
+ :cluster_arn,
2337
+ :cluster_operation_arn)
2338
+ SENSITIVE = []
2339
+ include Aws::Structure
2340
+ end
2341
+
2287
2342
  # Request body for UpdateBrokerCount.
2288
2343
  #
2289
2344
  # @note When making an API call, you may pass UpdateBrokerCountRequest
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.32.0
4
+ version: 1.33.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-12-04 00:00:00.000000000 Z
11
+ date: 2021-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core