aws-sdk-kafka 1.29.0 → 1.34.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: 7a5611814c943c4e6e5b92964deea7b3172351ec9711f9c375b74a7f658e03b9
4
- data.tar.gz: 16e3f829485f7d16031c3f10530ec41b48eab9a779c431a2fa12b1fd4793f71e
3
+ metadata.gz: 496f1e0e1ca0b9052f77e9718c43aeddb7941c4e1da233b8d857462a23baacd3
4
+ data.tar.gz: 66736159fae3d2308718de89189308cbf4a5ab2e65cb6884ac00b68e04ad839f
5
5
  SHA512:
6
- metadata.gz: 8090c00dd81335e19b299a55f6872ff1591923278b5d24a67d3eb3a369c0a3ed2e0643206071d25bf4a665ff6bb09a70b5910c013adcad7b3826d49e17e54bdf
7
- data.tar.gz: 51e0c6eb80594cc3ee16ceb0fd1927656433afe791fb8f4e1ca5cef873002b205049cc6d81d5e646fd94c84bb2c32518c594c2651dbd6d27a72fcf6a4d81b98f
6
+ metadata.gz: 8c40016ef623236d753eccf4f0e958cc38288e5118b1a35959022ea1be1e365b67fb0dc10555ff430e1e030358b3f7d48068dea9444779dda7c62c6bfe7528c3
7
+ data.tar.gz: 037a927957ce0ef07806e876f3551e44a73514262d77421f611e63862baf5ac68c633d4ec9fcbe03e4c779544577c914ed37da42780b96048edb490b96411b40
data/lib/aws-sdk-kafka.rb CHANGED
@@ -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.29.0'
51
+ GEM_VERSION = '1.34.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.
@@ -382,7 +382,8 @@ module Aws::Kafka
382
382
  #
383
383
  # @option params [String] :enhanced_monitoring
384
384
  # Specifies the level of monitoring for the MSK cluster. The possible
385
- # values are DEFAULT, PER\_BROKER, and PER\_TOPIC\_PER\_BROKER.
385
+ # values are DEFAULT, PER\_BROKER, PER\_TOPIC\_PER\_BROKER, and
386
+ # PER\_TOPIC\_PER\_PARTITION.
386
387
  #
387
388
  # @option params [required, String] :kafka_version
388
389
  # The version of Apache Kafka.
@@ -443,7 +444,7 @@ module Aws::Kafka
443
444
  # in_cluster: false,
444
445
  # },
445
446
  # },
446
- # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
447
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
447
448
  # kafka_version: "__stringMin1Max128", # required
448
449
  # logging_info: {
449
450
  # broker_logs: { # required
@@ -482,7 +483,7 @@ module Aws::Kafka
482
483
  #
483
484
  # resp.cluster_arn #=> String
484
485
  # resp.cluster_name #=> String
485
- # resp.state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
486
+ # resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
486
487
  #
487
488
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateCluster AWS API Documentation
488
489
  #
@@ -566,7 +567,7 @@ module Aws::Kafka
566
567
  # @example Response structure
567
568
  #
568
569
  # resp.cluster_arn #=> String
569
- # resp.state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
570
+ # resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
570
571
  #
571
572
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteCluster AWS API Documentation
572
573
  #
@@ -653,11 +654,11 @@ module Aws::Kafka
653
654
  # resp.cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
654
655
  # resp.cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
655
656
  # resp.cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
656
- # resp.cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
657
+ # resp.cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
657
658
  # resp.cluster_info.number_of_broker_nodes #=> Integer
658
659
  # resp.cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
659
660
  # resp.cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
660
- # resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
661
+ # resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
661
662
  # resp.cluster_info.tags #=> Hash
662
663
  # resp.cluster_info.tags["__string"] #=> String
663
664
  # resp.cluster_info.zookeeper_connect_string #=> String
@@ -708,7 +709,7 @@ module Aws::Kafka
708
709
  # resp.cluster_operation_info.source_cluster_info.number_of_broker_nodes #=> Integer
709
710
  # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
710
711
  # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
711
- # resp.cluster_operation_info.source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
712
+ # resp.cluster_operation_info.source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
712
713
  # resp.cluster_operation_info.source_cluster_info.kafka_version #=> String
713
714
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
714
715
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -717,6 +718,7 @@ module Aws::Kafka
717
718
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.bucket #=> String
718
719
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
719
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
720
722
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
721
723
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
722
724
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
@@ -725,7 +727,7 @@ module Aws::Kafka
725
727
  # resp.cluster_operation_info.target_cluster_info.number_of_broker_nodes #=> Integer
726
728
  # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
727
729
  # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
728
- # resp.cluster_operation_info.target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
730
+ # resp.cluster_operation_info.target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
729
731
  # resp.cluster_operation_info.target_cluster_info.kafka_version #=> String
730
732
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
731
733
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -734,6 +736,7 @@ module Aws::Kafka
734
736
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.bucket #=> String
735
737
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
736
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
737
740
  #
738
741
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
739
742
  #
@@ -969,7 +972,7 @@ module Aws::Kafka
969
972
  # resp.cluster_operation_info_list[0].source_cluster_info.number_of_broker_nodes #=> Integer
970
973
  # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
971
974
  # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
972
- # resp.cluster_operation_info_list[0].source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
975
+ # resp.cluster_operation_info_list[0].source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
973
976
  # resp.cluster_operation_info_list[0].source_cluster_info.kafka_version #=> String
974
977
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
975
978
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -978,6 +981,7 @@ module Aws::Kafka
978
981
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.bucket #=> String
979
982
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
980
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
981
985
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
982
986
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
983
987
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
@@ -986,7 +990,7 @@ module Aws::Kafka
986
990
  # resp.cluster_operation_info_list[0].target_cluster_info.number_of_broker_nodes #=> Integer
987
991
  # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
988
992
  # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
989
- # resp.cluster_operation_info_list[0].target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
993
+ # resp.cluster_operation_info_list[0].target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
990
994
  # resp.cluster_operation_info_list[0].target_cluster_info.kafka_version #=> String
991
995
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
992
996
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -995,6 +999,7 @@ module Aws::Kafka
995
999
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.bucket #=> String
996
1000
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
997
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
998
1003
  # resp.next_token #=> String
999
1004
  #
1000
1005
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
@@ -1060,11 +1065,11 @@ module Aws::Kafka
1060
1065
  # resp.cluster_info_list[0].encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
1061
1066
  # resp.cluster_info_list[0].encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
1062
1067
  # resp.cluster_info_list[0].encryption_info.encryption_in_transit.in_cluster #=> Boolean
1063
- # resp.cluster_info_list[0].enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
1068
+ # resp.cluster_info_list[0].enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
1064
1069
  # resp.cluster_info_list[0].number_of_broker_nodes #=> Integer
1065
1070
  # resp.cluster_info_list[0].open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
1066
1071
  # resp.cluster_info_list[0].open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
1067
- # resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
1072
+ # resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
1068
1073
  # resp.cluster_info_list[0].tags #=> Hash
1069
1074
  # resp.cluster_info_list[0].tags["__string"] #=> String
1070
1075
  # resp.cluster_info_list[0].zookeeper_connect_string #=> String
@@ -1448,6 +1453,44 @@ module Aws::Kafka
1448
1453
  req.send_request(options)
1449
1454
  end
1450
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
+
1451
1494
  # Updates the EBS storage associated with MSK brokers.
1452
1495
  #
1453
1496
  # @option params [required, String] :cluster_arn
@@ -1654,7 +1697,7 @@ module Aws::Kafka
1654
1697
  # resp = client.update_monitoring({
1655
1698
  # cluster_arn: "__string", # required
1656
1699
  # current_version: "__string", # required
1657
- # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
1700
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
1658
1701
  # open_monitoring: {
1659
1702
  # prometheus: { # required
1660
1703
  # jmx_exporter: {
@@ -1711,7 +1754,7 @@ module Aws::Kafka
1711
1754
  params: params,
1712
1755
  config: config)
1713
1756
  context[:gem_name] = 'aws-sdk-kafka'
1714
- context[:gem_version] = '1.29.0'
1757
+ context[:gem_version] = '1.34.0'
1715
1758
  Seahorse::Client::Request.new(handlers, context)
1716
1759
  end
1717
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
@@ -383,9 +380,10 @@ module Aws::Kafka
383
380
  #
384
381
  # @!attribute [rw] enhanced_monitoring
385
382
  # Specifies which metrics are gathered for the MSK cluster. This
386
- # property has three possible values: DEFAULT, PER\_BROKER, and
387
- # PER\_TOPIC\_PER\_BROKER. For a list of the metrics associated with
388
- # each of these three levels of monitoring, see [Monitoring][1].
383
+ # property has the following possible values: DEFAULT, PER\_BROKER,
384
+ # PER\_TOPIC\_PER\_BROKER, and PER\_TOPIC\_PER\_PARTITION. For a list
385
+ # of the metrics associated with each of these levels of monitoring,
386
+ # see [Monitoring][1].
389
387
  #
390
388
  #
391
389
  #
@@ -401,8 +399,9 @@ module Aws::Kafka
401
399
  # @return [Types::OpenMonitoring]
402
400
  #
403
401
  # @!attribute [rw] state
404
- # The state of the cluster. The possible states are CREATING, ACTIVE,
405
- # and FAILED.
402
+ # The state of the cluster. The possible states are ACTIVE, CREATING,
403
+ # DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING\_BROKER, and
404
+ # UPDATING.
406
405
  # @return [String]
407
406
  #
408
407
  # @!attribute [rw] tags
@@ -713,7 +712,7 @@ module Aws::Kafka
713
712
  # in_cluster: false,
714
713
  # },
715
714
  # },
716
- # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
715
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
717
716
  # kafka_version: "__stringMin1Max128", # required
718
717
  # logging_info: {
719
718
  # broker_logs: { # required
@@ -749,7 +748,7 @@ module Aws::Kafka
749
748
  # }
750
749
  #
751
750
  # @!attribute [rw] broker_node_group_info
752
- # Information about the broker nodes in the cluster.
751
+ # Information about the brokers.
753
752
  # @return [Types::BrokerNodeGroupInfo]
754
753
  #
755
754
  # @!attribute [rw] client_authentication
@@ -771,7 +770,8 @@ module Aws::Kafka
771
770
  #
772
771
  # @!attribute [rw] enhanced_monitoring
773
772
  # Specifies the level of monitoring for the MSK cluster. The possible
774
- # values are DEFAULT, PER\_BROKER, and PER\_TOPIC\_PER\_BROKER.
773
+ # values are DEFAULT, PER\_BROKER, PER\_TOPIC\_PER\_BROKER, and
774
+ # PER\_TOPIC\_PER\_PARTITION.
775
775
  # @return [String]
776
776
  #
777
777
  # @!attribute [rw] kafka_version
@@ -823,8 +823,9 @@ module Aws::Kafka
823
823
  # @return [String]
824
824
  #
825
825
  # @!attribute [rw] state
826
- # The state of the cluster. The possible states are CREATING, ACTIVE,
827
- # and FAILED.
826
+ # The state of the cluster. The possible states are ACTIVE, CREATING,
827
+ # DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING\_BROKER, and
828
+ # UPDATING.
828
829
  # @return [String]
829
830
  #
830
831
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterResponse AWS API Documentation
@@ -943,8 +944,9 @@ module Aws::Kafka
943
944
  # @return [String]
944
945
  #
945
946
  # @!attribute [rw] state
946
- # The state of the cluster. The possible states are CREATING, ACTIVE,
947
- # and FAILED.
947
+ # The state of the cluster. The possible states are ACTIVE, CREATING,
948
+ # DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING\_BROKER, and
949
+ # UPDATING.
948
950
  # @return [String]
949
951
  #
950
952
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteClusterResponse AWS API Documentation
@@ -1984,6 +1986,11 @@ module Aws::Kafka
1984
1986
  # LoggingInfo details.
1985
1987
  # @return [Types::LoggingInfo]
1986
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
+ #
1987
1994
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
1988
1995
  #
1989
1996
  class MutableClusterInfo < Struct.new(
@@ -1993,7 +2000,8 @@ module Aws::Kafka
1993
2000
  :open_monitoring,
1994
2001
  :enhanced_monitoring,
1995
2002
  :kafka_version,
1996
- :logging_info)
2003
+ :logging_info,
2004
+ :instance_type)
1997
2005
  SENSITIVE = []
1998
2006
  include Aws::Structure
1999
2007
  end
@@ -2279,6 +2287,58 @@ module Aws::Kafka
2279
2287
  include Aws::Structure
2280
2288
  end
2281
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
+
2282
2342
  # Request body for UpdateBrokerCount.
2283
2343
  #
2284
2344
  # @note When making an API call, you may pass UpdateBrokerCountRequest
@@ -2569,7 +2629,7 @@ module Aws::Kafka
2569
2629
  # {
2570
2630
  # cluster_arn: "__string", # required
2571
2631
  # current_version: "__string", # required
2572
- # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
2632
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
2573
2633
  # open_monitoring: {
2574
2634
  # prometheus: { # required
2575
2635
  # jmx_exporter: {
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.29.0
4
+ version: 1.34.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-10-01 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.109.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.109.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement