aws-sdk-kafka 1.28.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: 4f35e67a7f51a0820c0e353907046b98d380876b866c60d6def9064d0ea91403
4
- data.tar.gz: 7684fafecdb8bc938da74428505fee18b97f4ec33e4b3d8394564995c201d3ad
3
+ metadata.gz: 957d9f0790628542f805defd5a56da37a542cb47a9e3ace3ddcd24afef3d9d02
4
+ data.tar.gz: a0a129fb34b59f7b496442a8d8970479d89e16c7c31bc6932f0790b1e02182ef
5
5
  SHA512:
6
- metadata.gz: 81322da364008ef2cc4aba90f92fd889355416de37317046e340bdc70f59130adb83dcb3653626941d7e2d3e69c42ea8d99501bdbc837637ca5917700bedf7be
7
- data.tar.gz: da8b5bc6b0c145b101a7e3d8b2b1ce071d8f263ead5335ea8d875f3a76aabaa1afd9ca107507036450f8e283dfe51e204334421186c8861860bfa54abd16cfce
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.28.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.
@@ -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,14 +654,15 @@ 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
665
+ # resp.cluster_info.zookeeper_connect_string_tls #=> String
664
666
  #
665
667
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeCluster AWS API Documentation
666
668
  #
@@ -707,7 +709,7 @@ module Aws::Kafka
707
709
  # resp.cluster_operation_info.source_cluster_info.number_of_broker_nodes #=> Integer
708
710
  # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
709
711
  # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
710
- # 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"
711
713
  # resp.cluster_operation_info.source_cluster_info.kafka_version #=> String
712
714
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
713
715
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -716,6 +718,7 @@ module Aws::Kafka
716
718
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.bucket #=> String
717
719
  # resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
718
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
719
722
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
720
723
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
721
724
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
@@ -724,7 +727,7 @@ module Aws::Kafka
724
727
  # resp.cluster_operation_info.target_cluster_info.number_of_broker_nodes #=> Integer
725
728
  # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
726
729
  # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
727
- # 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"
728
731
  # resp.cluster_operation_info.target_cluster_info.kafka_version #=> String
729
732
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
730
733
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -733,6 +736,7 @@ module Aws::Kafka
733
736
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.bucket #=> String
734
737
  # resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
735
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
736
740
  #
737
741
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
738
742
  #
@@ -968,7 +972,7 @@ module Aws::Kafka
968
972
  # resp.cluster_operation_info_list[0].source_cluster_info.number_of_broker_nodes #=> Integer
969
973
  # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
970
974
  # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
971
- # 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"
972
976
  # resp.cluster_operation_info_list[0].source_cluster_info.kafka_version #=> String
973
977
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
974
978
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -977,6 +981,7 @@ module Aws::Kafka
977
981
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.bucket #=> String
978
982
  # resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
979
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
980
985
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
981
986
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
982
987
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
@@ -985,7 +990,7 @@ module Aws::Kafka
985
990
  # resp.cluster_operation_info_list[0].target_cluster_info.number_of_broker_nodes #=> Integer
986
991
  # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
987
992
  # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
988
- # 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"
989
994
  # resp.cluster_operation_info_list[0].target_cluster_info.kafka_version #=> String
990
995
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
991
996
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
@@ -994,6 +999,7 @@ module Aws::Kafka
994
999
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.bucket #=> String
995
1000
  # resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
996
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
997
1003
  # resp.next_token #=> String
998
1004
  #
999
1005
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
@@ -1059,14 +1065,15 @@ module Aws::Kafka
1059
1065
  # resp.cluster_info_list[0].encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
1060
1066
  # resp.cluster_info_list[0].encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
1061
1067
  # resp.cluster_info_list[0].encryption_info.encryption_in_transit.in_cluster #=> Boolean
1062
- # 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"
1063
1069
  # resp.cluster_info_list[0].number_of_broker_nodes #=> Integer
1064
1070
  # resp.cluster_info_list[0].open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
1065
1071
  # resp.cluster_info_list[0].open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
1066
- # 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"
1067
1073
  # resp.cluster_info_list[0].tags #=> Hash
1068
1074
  # resp.cluster_info_list[0].tags["__string"] #=> String
1069
1075
  # resp.cluster_info_list[0].zookeeper_connect_string #=> String
1076
+ # resp.cluster_info_list[0].zookeeper_connect_string_tls #=> String
1070
1077
  # resp.next_token #=> String
1071
1078
  #
1072
1079
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusters AWS API Documentation
@@ -1446,6 +1453,44 @@ module Aws::Kafka
1446
1453
  req.send_request(options)
1447
1454
  end
1448
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
+
1449
1494
  # Updates the EBS storage associated with MSK brokers.
1450
1495
  #
1451
1496
  # @option params [required, String] :cluster_arn
@@ -1652,7 +1697,7 @@ module Aws::Kafka
1652
1697
  # resp = client.update_monitoring({
1653
1698
  # cluster_arn: "__string", # required
1654
1699
  # current_version: "__string", # required
1655
- # 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
1656
1701
  # open_monitoring: {
1657
1702
  # prometheus: { # required
1658
1703
  # jmx_exporter: {
@@ -1709,7 +1754,7 @@ module Aws::Kafka
1709
1754
  params: params,
1710
1755
  config: config)
1711
1756
  context[:gem_name] = 'aws-sdk-kafka'
1712
- context[:gem_version] = '1.28.0'
1757
+ context[:gem_version] = '1.33.0'
1713
1758
  Seahorse::Client::Request.new(handlers, context)
1714
1759
  end
1715
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')
@@ -225,6 +227,7 @@ module Aws::Kafka
225
227
  ClusterInfo.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
226
228
  ClusterInfo.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
227
229
  ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
230
+ ClusterInfo.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
228
231
  ClusterInfo.struct_class = Types::ClusterInfo
229
232
 
230
233
  ClusterOperationInfo.add_member(:client_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "clientRequestId"))
@@ -489,6 +492,7 @@ module Aws::Kafka
489
492
  MutableClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
490
493
  MutableClusterInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
491
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"))
492
496
  MutableClusterInfo.struct_class = Types::MutableClusterInfo
493
497
 
494
498
  NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
@@ -595,6 +599,15 @@ module Aws::Kafka
595
599
  UpdateBrokerStorageResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
596
600
  UpdateBrokerStorageResponse.struct_class = Types::UpdateBrokerStorageResponse
597
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
+
598
611
  UpdateClusterConfigurationRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
599
612
  UpdateClusterConfigurationRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, required: true, location_name: "configurationInfo"))
600
613
  UpdateClusterConfigurationRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
@@ -1044,6 +1057,21 @@ module Aws::Kafka
1044
1057
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1045
1058
  end)
1046
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
+
1047
1075
  api.add_operation(:update_broker_storage, Seahorse::Model::Operation.new.tap do |o|
1048
1076
  o.name = "UpdateBrokerStorage"
1049
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
@@ -414,6 +413,11 @@ module Aws::Kafka
414
413
  # cluster.
415
414
  # @return [String]
416
415
  #
416
+ # @!attribute [rw] zookeeper_connect_string_tls
417
+ # The connection string to use to connect to zookeeper cluster on Tls
418
+ # port.
419
+ # @return [String]
420
+ #
417
421
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterInfo AWS API Documentation
418
422
  #
419
423
  class ClusterInfo < Struct.new(
@@ -432,7 +436,8 @@ module Aws::Kafka
432
436
  :open_monitoring,
433
437
  :state,
434
438
  :tags,
435
- :zookeeper_connect_string)
439
+ :zookeeper_connect_string,
440
+ :zookeeper_connect_string_tls)
436
441
  SENSITIVE = []
437
442
  include Aws::Structure
438
443
  end
@@ -707,7 +712,7 @@ module Aws::Kafka
707
712
  # in_cluster: false,
708
713
  # },
709
714
  # },
710
- # 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
711
716
  # kafka_version: "__stringMin1Max128", # required
712
717
  # logging_info: {
713
718
  # broker_logs: { # required
@@ -743,7 +748,7 @@ module Aws::Kafka
743
748
  # }
744
749
  #
745
750
  # @!attribute [rw] broker_node_group_info
746
- # Information about the broker nodes in the cluster.
751
+ # Information about the brokers.
747
752
  # @return [Types::BrokerNodeGroupInfo]
748
753
  #
749
754
  # @!attribute [rw] client_authentication
@@ -765,7 +770,8 @@ module Aws::Kafka
765
770
  #
766
771
  # @!attribute [rw] enhanced_monitoring
767
772
  # Specifies the level of monitoring for the MSK cluster. The possible
768
- # 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.
769
775
  # @return [String]
770
776
  #
771
777
  # @!attribute [rw] kafka_version
@@ -817,8 +823,9 @@ module Aws::Kafka
817
823
  # @return [String]
818
824
  #
819
825
  # @!attribute [rw] state
820
- # The state of the cluster. The possible states are CREATING, ACTIVE,
821
- # and FAILED.
826
+ # The state of the cluster. The possible states are ACTIVE, CREATING,
827
+ # DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING\_BROKER, and
828
+ # UPDATING.
822
829
  # @return [String]
823
830
  #
824
831
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterResponse AWS API Documentation
@@ -937,8 +944,9 @@ module Aws::Kafka
937
944
  # @return [String]
938
945
  #
939
946
  # @!attribute [rw] state
940
- # The state of the cluster. The possible states are CREATING, ACTIVE,
941
- # and FAILED.
947
+ # The state of the cluster. The possible states are ACTIVE, CREATING,
948
+ # DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING\_BROKER, and
949
+ # UPDATING.
942
950
  # @return [String]
943
951
  #
944
952
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteClusterResponse AWS API Documentation
@@ -1978,6 +1986,11 @@ module Aws::Kafka
1978
1986
  # LoggingInfo details.
1979
1987
  # @return [Types::LoggingInfo]
1980
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
+ #
1981
1994
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
1982
1995
  #
1983
1996
  class MutableClusterInfo < Struct.new(
@@ -1987,7 +2000,8 @@ module Aws::Kafka
1987
2000
  :open_monitoring,
1988
2001
  :enhanced_monitoring,
1989
2002
  :kafka_version,
1990
- :logging_info)
2003
+ :logging_info,
2004
+ :instance_type)
1991
2005
  SENSITIVE = []
1992
2006
  include Aws::Structure
1993
2007
  end
@@ -2273,6 +2287,58 @@ module Aws::Kafka
2273
2287
  include Aws::Structure
2274
2288
  end
2275
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
+
2276
2342
  # Request body for UpdateBrokerCount.
2277
2343
  #
2278
2344
  # @note When making an API call, you may pass UpdateBrokerCountRequest
@@ -2563,7 +2629,7 @@ module Aws::Kafka
2563
2629
  # {
2564
2630
  # cluster_arn: "__string", # required
2565
2631
  # current_version: "__string", # required
2566
- # 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
2567
2633
  # open_monitoring: {
2568
2634
  # prometheus: { # required
2569
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.28.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-09-30 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