aws-sdk-kafka 1.15.0 → 1.16.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
  SHA1:
3
- metadata.gz: ebf0e1507229f3bcbbadd2dcc36e393e7b6b68b0
4
- data.tar.gz: 9f22bc79723446ee58ad84ba73c97d4a280cd4f2
3
+ metadata.gz: 2005c3656411ba7b160634a0d482f6bc6813858b
4
+ data.tar.gz: ae25ffb8f746862f3a12830dbd3781c37f7f1550
5
5
  SHA512:
6
- metadata.gz: 731192b1e5d45dabf61164f079d431cfbedb256f00561704f5657c4a608cd66d43428205c9b732dfbe6e4ba4527f00bd408c9f98fbde0dd09b70802de2d1ed7b
7
- data.tar.gz: c151e60f337739ed1f77e7748da68eaacf3a88c6ee88a4f9277f26ead501b60cd4891507ba6b04f9de83f9125c793265b7d133aaf99f2b14f9266d39c0de1ab3
6
+ metadata.gz: a3fd4af4e94a8e0ac209dfbd5757d7eb4c2214e1cb986738c7a89d998c17dcde17129065af19ac241d571bb306ab09bb44cee8a1c95b10e2d3966c3b65f3faac
7
+ data.tar.gz: 47f123679661e1a791a343dc71c8539c9988d78304260291b5b8373c6d55f446a86c21f0609feca7bfd917394d8b458b51ef07881fa48c7e46b63775677b024c
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-kafka/customizations'
42
42
  # @service
43
43
  module Aws::Kafka
44
44
 
45
- GEM_VERSION = '1.15.0'
45
+ GEM_VERSION = '1.16.0'
46
46
 
47
47
  end
@@ -281,6 +281,9 @@ module Aws::Kafka
281
281
  # @option params [required, Integer] :number_of_broker_nodes
282
282
  # The number of Kafka broker nodes in the Amazon MSK cluster.
283
283
  #
284
+ # @option params [Types::OpenMonitoringInfo] :open_monitoring
285
+ # The settings for open monitoring.
286
+ #
284
287
  # @option params [Hash<String,String>] :tags
285
288
  # Create tags when creating the cluster.
286
289
  #
@@ -326,6 +329,16 @@ module Aws::Kafka
326
329
  # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
327
330
  # kafka_version: "__stringMin1Max128", # required
328
331
  # number_of_broker_nodes: 1, # required
332
+ # open_monitoring: {
333
+ # prometheus: { # required
334
+ # jmx_exporter: {
335
+ # enabled_in_broker: false, # required
336
+ # },
337
+ # node_exporter: {
338
+ # enabled_in_broker: false, # required
339
+ # },
340
+ # },
341
+ # },
329
342
  # tags: {
330
343
  # "__string" => "__string",
331
344
  # },
@@ -467,6 +480,8 @@ module Aws::Kafka
467
480
  # resp.cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
468
481
  # resp.cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
469
482
  # resp.cluster_info.number_of_broker_nodes #=> Integer
483
+ # resp.cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
484
+ # resp.cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
470
485
  # resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
471
486
  # resp.cluster_info.tags #=> Hash
472
487
  # resp.cluster_info.tags["__string"] #=> String
@@ -512,12 +527,18 @@ module Aws::Kafka
512
527
  # resp.cluster_operation_info.source_cluster_info.configuration_info.arn #=> String
513
528
  # resp.cluster_operation_info.source_cluster_info.configuration_info.revision #=> Integer
514
529
  # resp.cluster_operation_info.source_cluster_info.number_of_broker_nodes #=> Integer
530
+ # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
531
+ # resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
532
+ # resp.cluster_operation_info.source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
515
533
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
516
534
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
517
535
  # resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
518
536
  # resp.cluster_operation_info.target_cluster_info.configuration_info.arn #=> String
519
537
  # resp.cluster_operation_info.target_cluster_info.configuration_info.revision #=> Integer
520
538
  # resp.cluster_operation_info.target_cluster_info.number_of_broker_nodes #=> Integer
539
+ # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
540
+ # resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
541
+ # resp.cluster_operation_info.target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
521
542
  #
522
543
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
523
544
  #
@@ -675,12 +696,18 @@ module Aws::Kafka
675
696
  # resp.cluster_operation_info_list[0].source_cluster_info.configuration_info.arn #=> String
676
697
  # resp.cluster_operation_info_list[0].source_cluster_info.configuration_info.revision #=> Integer
677
698
  # resp.cluster_operation_info_list[0].source_cluster_info.number_of_broker_nodes #=> Integer
699
+ # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
700
+ # resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
701
+ # resp.cluster_operation_info_list[0].source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
678
702
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
679
703
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
680
704
  # resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
681
705
  # resp.cluster_operation_info_list[0].target_cluster_info.configuration_info.arn #=> String
682
706
  # resp.cluster_operation_info_list[0].target_cluster_info.configuration_info.revision #=> Integer
683
707
  # resp.cluster_operation_info_list[0].target_cluster_info.number_of_broker_nodes #=> Integer
708
+ # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
709
+ # resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
710
+ # resp.cluster_operation_info_list[0].target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
684
711
  # resp.next_token #=> String
685
712
  #
686
713
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
@@ -738,6 +765,8 @@ module Aws::Kafka
738
765
  # resp.cluster_info_list[0].encryption_info.encryption_in_transit.in_cluster #=> Boolean
739
766
  # resp.cluster_info_list[0].enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
740
767
  # resp.cluster_info_list[0].number_of_broker_nodes #=> Integer
768
+ # resp.cluster_info_list[0].open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
769
+ # resp.cluster_info_list[0].open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
741
770
  # resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED"
742
771
  # resp.cluster_info_list[0].tags #=> Hash
743
772
  # resp.cluster_info_list[0].tags["__string"] #=> String
@@ -1097,6 +1126,61 @@ module Aws::Kafka
1097
1126
  req.send_request(options)
1098
1127
  end
1099
1128
 
1129
+ # Updates the monitoring settings for the cluster. You can use this
1130
+ # operation to specify which Apache Kafka metrics you want Amazon MSK to
1131
+ # send to Amazon CloudWatch. You can also specify settings for open
1132
+ # monitoring with Prometheus.
1133
+ #
1134
+ # @option params [required, String] :cluster_arn
1135
+ #
1136
+ # @option params [required, String] :current_version
1137
+ # The version of cluster to update from. A successful operation will
1138
+ # then generate a new version.
1139
+ #
1140
+ # @option params [String] :enhanced_monitoring
1141
+ # Specifies which Apache Kafka metrics Amazon MSK gathers and sends to
1142
+ # Amazon CloudWatch for this cluster.
1143
+ #
1144
+ # @option params [Types::OpenMonitoringInfo] :open_monitoring
1145
+ # The settings for open monitoring.
1146
+ #
1147
+ # @return [Types::UpdateMonitoringResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1148
+ #
1149
+ # * {Types::UpdateMonitoringResponse#cluster_arn #cluster_arn} => String
1150
+ # * {Types::UpdateMonitoringResponse#cluster_operation_arn #cluster_operation_arn} => String
1151
+ #
1152
+ # @example Request syntax with placeholder values
1153
+ #
1154
+ # resp = client.update_monitoring({
1155
+ # cluster_arn: "__string", # required
1156
+ # current_version: "__string", # required
1157
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
1158
+ # open_monitoring: {
1159
+ # prometheus: { # required
1160
+ # jmx_exporter: {
1161
+ # enabled_in_broker: false, # required
1162
+ # },
1163
+ # node_exporter: {
1164
+ # enabled_in_broker: false, # required
1165
+ # },
1166
+ # },
1167
+ # },
1168
+ # })
1169
+ #
1170
+ # @example Response structure
1171
+ #
1172
+ # resp.cluster_arn #=> String
1173
+ # resp.cluster_operation_arn #=> String
1174
+ #
1175
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateMonitoring AWS API Documentation
1176
+ #
1177
+ # @overload update_monitoring(params = {})
1178
+ # @param [Hash] params ({})
1179
+ def update_monitoring(params = {}, options = {})
1180
+ req = build_request(:update_monitoring, params)
1181
+ req.send_request(options)
1182
+ end
1183
+
1100
1184
  # @!endgroup
1101
1185
 
1102
1186
  # @param params ({})
@@ -1110,7 +1194,7 @@ module Aws::Kafka
1110
1194
  params: params,
1111
1195
  config: config)
1112
1196
  context[:gem_name] = 'aws-sdk-kafka'
1113
- context[:gem_version] = '1.15.0'
1197
+ context[:gem_version] = '1.16.0'
1114
1198
  Seahorse::Client::Request.new(handlers, context)
1115
1199
  end
1116
1200
 
@@ -51,6 +51,8 @@ module Aws::Kafka
51
51
  GetBootstrapBrokersRequest = Shapes::StructureShape.new(name: 'GetBootstrapBrokersRequest')
52
52
  GetBootstrapBrokersResponse = Shapes::StructureShape.new(name: 'GetBootstrapBrokersResponse')
53
53
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
54
+ JmxExporter = Shapes::StructureShape.new(name: 'JmxExporter')
55
+ JmxExporterInfo = Shapes::StructureShape.new(name: 'JmxExporterInfo')
54
56
  ListClusterOperationsRequest = Shapes::StructureShape.new(name: 'ListClusterOperationsRequest')
55
57
  ListClusterOperationsResponse = Shapes::StructureShape.new(name: 'ListClusterOperationsResponse')
56
58
  ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
@@ -65,9 +67,15 @@ module Aws::Kafka
65
67
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
66
68
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
67
69
  MutableClusterInfo = Shapes::StructureShape.new(name: 'MutableClusterInfo')
70
+ NodeExporter = Shapes::StructureShape.new(name: 'NodeExporter')
71
+ NodeExporterInfo = Shapes::StructureShape.new(name: 'NodeExporterInfo')
68
72
  NodeInfo = Shapes::StructureShape.new(name: 'NodeInfo')
69
73
  NodeType = Shapes::StringShape.new(name: 'NodeType')
70
74
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
75
+ OpenMonitoring = Shapes::StructureShape.new(name: 'OpenMonitoring')
76
+ OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
77
+ Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
78
+ PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
71
79
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
72
80
  StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
73
81
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
@@ -81,6 +89,8 @@ module Aws::Kafka
81
89
  UpdateBrokerStorageResponse = Shapes::StructureShape.new(name: 'UpdateBrokerStorageResponse')
82
90
  UpdateClusterConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationRequest')
83
91
  UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
92
+ UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
93
+ UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
84
94
  ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
85
95
  __blob = Shapes::BlobShape.new(name: '__blob')
86
96
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
@@ -145,6 +155,7 @@ module Aws::Kafka
145
155
  ClusterInfo.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
146
156
  ClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
147
157
  ClusterInfo.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integer, location_name: "numberOfBrokerNodes"))
158
+ ClusterInfo.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoring, location_name: "openMonitoring"))
148
159
  ClusterInfo.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
149
160
  ClusterInfo.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
150
161
  ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
@@ -191,6 +202,7 @@ module Aws::Kafka
191
202
  CreateClusterRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
192
203
  CreateClusterRequest.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "kafkaVersion"))
193
204
  CreateClusterRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
205
+ CreateClusterRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
194
206
  CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
195
207
  CreateClusterRequest.struct_class = Types::CreateClusterRequest
196
208
 
@@ -290,6 +302,12 @@ module Aws::Kafka
290
302
  InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
291
303
  InternalServerErrorException.struct_class = Types::InternalServerErrorException
292
304
 
305
+ JmxExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
306
+ JmxExporter.struct_class = Types::JmxExporter
307
+
308
+ JmxExporterInfo.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
309
+ JmxExporterInfo.struct_class = Types::JmxExporterInfo
310
+
293
311
  ListClusterOperationsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
294
312
  ListClusterOperationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
295
313
  ListClusterOperationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -343,8 +361,16 @@ module Aws::Kafka
343
361
  MutableClusterInfo.add_member(:broker_ebs_volume_info, Shapes::ShapeRef.new(shape: __listOfBrokerEBSVolumeInfo, location_name: "brokerEBSVolumeInfo"))
344
362
  MutableClusterInfo.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
345
363
  MutableClusterInfo.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integer, location_name: "numberOfBrokerNodes"))
364
+ MutableClusterInfo.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoring, location_name: "openMonitoring"))
365
+ MutableClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
346
366
  MutableClusterInfo.struct_class = Types::MutableClusterInfo
347
367
 
368
+ NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
369
+ NodeExporter.struct_class = Types::NodeExporter
370
+
371
+ NodeExporterInfo.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
372
+ NodeExporterInfo.struct_class = Types::NodeExporterInfo
373
+
348
374
  NodeInfo.add_member(:added_to_cluster_time, Shapes::ShapeRef.new(shape: __string, location_name: "addedToClusterTime"))
349
375
  NodeInfo.add_member(:broker_node_info, Shapes::ShapeRef.new(shape: BrokerNodeInfo, location_name: "brokerNodeInfo"))
350
376
  NodeInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "instanceType"))
@@ -357,6 +383,20 @@ module Aws::Kafka
357
383
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
358
384
  NotFoundException.struct_class = Types::NotFoundException
359
385
 
386
+ OpenMonitoring.add_member(:prometheus, Shapes::ShapeRef.new(shape: Prometheus, required: true, location_name: "prometheus"))
387
+ OpenMonitoring.struct_class = Types::OpenMonitoring
388
+
389
+ OpenMonitoringInfo.add_member(:prometheus, Shapes::ShapeRef.new(shape: PrometheusInfo, required: true, location_name: "prometheus"))
390
+ OpenMonitoringInfo.struct_class = Types::OpenMonitoringInfo
391
+
392
+ Prometheus.add_member(:jmx_exporter, Shapes::ShapeRef.new(shape: JmxExporter, location_name: "jmxExporter"))
393
+ Prometheus.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporter, location_name: "nodeExporter"))
394
+ Prometheus.struct_class = Types::Prometheus
395
+
396
+ PrometheusInfo.add_member(:jmx_exporter, Shapes::ShapeRef.new(shape: JmxExporterInfo, location_name: "jmxExporter"))
397
+ PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
398
+ PrometheusInfo.struct_class = Types::PrometheusInfo
399
+
360
400
  ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
361
401
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
362
402
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
@@ -410,6 +450,16 @@ module Aws::Kafka
410
450
  UpdateClusterConfigurationResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
411
451
  UpdateClusterConfigurationResponse.struct_class = Types::UpdateClusterConfigurationResponse
412
452
 
453
+ UpdateMonitoringRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
454
+ UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
455
+ UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
456
+ UpdateMonitoringRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
457
+ UpdateMonitoringRequest.struct_class = Types::UpdateMonitoringRequest
458
+
459
+ UpdateMonitoringResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
460
+ UpdateMonitoringResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
461
+ UpdateMonitoringResponse.struct_class = Types::UpdateMonitoringResponse
462
+
413
463
  ZookeeperNodeInfo.add_member(:attached_eni_id, Shapes::ShapeRef.new(shape: __string, location_name: "attachedENIId"))
414
464
  ZookeeperNodeInfo.add_member(:client_vpc_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "clientVpcIpAddress"))
415
465
  ZookeeperNodeInfo.add_member(:endpoints, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "endpoints"))
@@ -727,6 +777,19 @@ module Aws::Kafka
727
777
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
728
778
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
729
779
  end)
780
+
781
+ api.add_operation(:update_monitoring, Seahorse::Model::Operation.new.tap do |o|
782
+ o.name = "UpdateMonitoring"
783
+ o.http_method = "PUT"
784
+ o.http_request_uri = "/v1/clusters/{clusterArn}/monitoring"
785
+ o.input = Shapes::ShapeRef.new(shape: UpdateMonitoringRequest)
786
+ o.output = Shapes::ShapeRef.new(shape: UpdateMonitoringResponse)
787
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
788
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
789
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
790
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
791
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
792
+ end)
730
793
  end
731
794
 
732
795
  end
@@ -256,6 +256,10 @@ module Aws::Kafka
256
256
  # The number of broker nodes in the cluster.
257
257
  # @return [Integer]
258
258
  #
259
+ # @!attribute [rw] open_monitoring
260
+ # Settings for open monitoring using Prometheus.
261
+ # @return [Types::OpenMonitoring]
262
+ #
259
263
  # @!attribute [rw] state
260
264
  # The state of the cluster. The possible states are CREATING, ACTIVE,
261
265
  # and FAILED.
@@ -284,6 +288,7 @@ module Aws::Kafka
284
288
  :encryption_info,
285
289
  :enhanced_monitoring,
286
290
  :number_of_broker_nodes,
291
+ :open_monitoring,
287
292
  :state,
288
293
  :tags,
289
294
  :zookeeper_connect_string)
@@ -493,6 +498,16 @@ module Aws::Kafka
493
498
  # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
494
499
  # kafka_version: "__stringMin1Max128", # required
495
500
  # number_of_broker_nodes: 1, # required
501
+ # open_monitoring: {
502
+ # prometheus: { # required
503
+ # jmx_exporter: {
504
+ # enabled_in_broker: false, # required
505
+ # },
506
+ # node_exporter: {
507
+ # enabled_in_broker: false, # required
508
+ # },
509
+ # },
510
+ # },
496
511
  # tags: {
497
512
  # "__string" => "__string",
498
513
  # },
@@ -532,6 +547,10 @@ module Aws::Kafka
532
547
  # The number of Kafka broker nodes in the Amazon MSK cluster.
533
548
  # @return [Integer]
534
549
  #
550
+ # @!attribute [rw] open_monitoring
551
+ # The settings for open monitoring.
552
+ # @return [Types::OpenMonitoringInfo]
553
+ #
535
554
  # @!attribute [rw] tags
536
555
  # Create tags when creating the cluster.
537
556
  # @return [Hash<String,String>]
@@ -547,6 +566,7 @@ module Aws::Kafka
547
566
  :enhanced_monitoring,
548
567
  :kafka_version,
549
568
  :number_of_broker_nodes,
569
+ :open_monitoring,
550
570
  :tags)
551
571
  include Aws::Structure
552
572
  end
@@ -1358,12 +1378,23 @@ module Aws::Kafka
1358
1378
  # The number of broker nodes in the cluster.
1359
1379
  # @return [Integer]
1360
1380
  #
1381
+ # @!attribute [rw] open_monitoring
1382
+ # Settings for open monitoring using Prometheus.
1383
+ # @return [Types::OpenMonitoring]
1384
+ #
1385
+ # @!attribute [rw] enhanced_monitoring
1386
+ # Specifies which Apache Kafka metrics Amazon MSK gathers and sends to
1387
+ # Amazon CloudWatch for this cluster.
1388
+ # @return [String]
1389
+ #
1361
1390
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
1362
1391
  #
1363
1392
  class MutableClusterInfo < Struct.new(
1364
1393
  :broker_ebs_volume_info,
1365
1394
  :configuration_info,
1366
- :number_of_broker_nodes)
1395
+ :number_of_broker_nodes,
1396
+ :open_monitoring,
1397
+ :enhanced_monitoring)
1367
1398
  include Aws::Structure
1368
1399
  end
1369
1400
 
@@ -1726,6 +1757,72 @@ module Aws::Kafka
1726
1757
  include Aws::Structure
1727
1758
  end
1728
1759
 
1760
+ # Request body for UpdateMonitoring.
1761
+ #
1762
+ # @note When making an API call, you may pass UpdateMonitoringRequest
1763
+ # data as a hash:
1764
+ #
1765
+ # {
1766
+ # cluster_arn: "__string", # required
1767
+ # current_version: "__string", # required
1768
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
1769
+ # open_monitoring: {
1770
+ # prometheus: { # required
1771
+ # jmx_exporter: {
1772
+ # enabled_in_broker: false, # required
1773
+ # },
1774
+ # node_exporter: {
1775
+ # enabled_in_broker: false, # required
1776
+ # },
1777
+ # },
1778
+ # },
1779
+ # }
1780
+ #
1781
+ # @!attribute [rw] cluster_arn
1782
+ # @return [String]
1783
+ #
1784
+ # @!attribute [rw] current_version
1785
+ # The version of cluster to update from. A successful operation will
1786
+ # then generate a new version.
1787
+ # @return [String]
1788
+ #
1789
+ # @!attribute [rw] enhanced_monitoring
1790
+ # Specifies which Apache Kafka metrics Amazon MSK gathers and sends to
1791
+ # Amazon CloudWatch for this cluster.
1792
+ # @return [String]
1793
+ #
1794
+ # @!attribute [rw] open_monitoring
1795
+ # The settings for open monitoring.
1796
+ # @return [Types::OpenMonitoringInfo]
1797
+ #
1798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateMonitoringRequest AWS API Documentation
1799
+ #
1800
+ class UpdateMonitoringRequest < Struct.new(
1801
+ :cluster_arn,
1802
+ :current_version,
1803
+ :enhanced_monitoring,
1804
+ :open_monitoring)
1805
+ include Aws::Structure
1806
+ end
1807
+
1808
+ # Response body for UpdateMonitoring.
1809
+ #
1810
+ # @!attribute [rw] cluster_arn
1811
+ # The Amazon Resource Name (ARN) of the cluster.
1812
+ # @return [String]
1813
+ #
1814
+ # @!attribute [rw] cluster_operation_arn
1815
+ # The Amazon Resource Name (ARN) of the cluster operation.
1816
+ # @return [String]
1817
+ #
1818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateMonitoringResponse AWS API Documentation
1819
+ #
1820
+ class UpdateMonitoringResponse < Struct.new(
1821
+ :cluster_arn,
1822
+ :cluster_operation_arn)
1823
+ include Aws::Structure
1824
+ end
1825
+
1729
1826
  # Zookeeper node information.
1730
1827
  #
1731
1828
  # @!attribute [rw] attached_eni_id
@@ -1759,5 +1856,159 @@ module Aws::Kafka
1759
1856
  include Aws::Structure
1760
1857
  end
1761
1858
 
1859
+ # JMX and Node monitoring for the MSK cluster.
1860
+ #
1861
+ # @!attribute [rw] prometheus
1862
+ # Prometheus settings.
1863
+ # @return [Types::Prometheus]
1864
+ #
1865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/OpenMonitoring AWS API Documentation
1866
+ #
1867
+ class OpenMonitoring < Struct.new(
1868
+ :prometheus)
1869
+ include Aws::Structure
1870
+ end
1871
+
1872
+ # JMX and Node monitoring for the MSK cluster.
1873
+ #
1874
+ # @note When making an API call, you may pass OpenMonitoringInfo
1875
+ # data as a hash:
1876
+ #
1877
+ # {
1878
+ # prometheus: { # required
1879
+ # jmx_exporter: {
1880
+ # enabled_in_broker: false, # required
1881
+ # },
1882
+ # node_exporter: {
1883
+ # enabled_in_broker: false, # required
1884
+ # },
1885
+ # },
1886
+ # }
1887
+ #
1888
+ # @!attribute [rw] prometheus
1889
+ # Prometheus settings.
1890
+ # @return [Types::PrometheusInfo]
1891
+ #
1892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/OpenMonitoringInfo AWS API Documentation
1893
+ #
1894
+ class OpenMonitoringInfo < Struct.new(
1895
+ :prometheus)
1896
+ include Aws::Structure
1897
+ end
1898
+
1899
+ # Prometheus settings for open monitoring.
1900
+ #
1901
+ # @!attribute [rw] jmx_exporter
1902
+ # Indicates whether you want to enable or disable the JMX Exporter.
1903
+ # @return [Types::JmxExporter]
1904
+ #
1905
+ # @!attribute [rw] node_exporter
1906
+ # Indicates whether you want to enable or disable the Node Exporter.
1907
+ # @return [Types::NodeExporter]
1908
+ #
1909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Prometheus AWS API Documentation
1910
+ #
1911
+ class Prometheus < Struct.new(
1912
+ :jmx_exporter,
1913
+ :node_exporter)
1914
+ include Aws::Structure
1915
+ end
1916
+
1917
+ # Prometheus settings.
1918
+ #
1919
+ # @note When making an API call, you may pass PrometheusInfo
1920
+ # data as a hash:
1921
+ #
1922
+ # {
1923
+ # jmx_exporter: {
1924
+ # enabled_in_broker: false, # required
1925
+ # },
1926
+ # node_exporter: {
1927
+ # enabled_in_broker: false, # required
1928
+ # },
1929
+ # }
1930
+ #
1931
+ # @!attribute [rw] jmx_exporter
1932
+ # JMX Exporter settings.
1933
+ # @return [Types::JmxExporterInfo]
1934
+ #
1935
+ # @!attribute [rw] node_exporter
1936
+ # Node Exporter settings.
1937
+ # @return [Types::NodeExporterInfo]
1938
+ #
1939
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/PrometheusInfo AWS API Documentation
1940
+ #
1941
+ class PrometheusInfo < Struct.new(
1942
+ :jmx_exporter,
1943
+ :node_exporter)
1944
+ include Aws::Structure
1945
+ end
1946
+
1947
+ # Indicates whether you want to enable or disable the JMX Exporter.
1948
+ #
1949
+ # @!attribute [rw] enabled_in_broker
1950
+ # Indicates whether you want to enable or disable the JMX Exporter.
1951
+ # @return [Boolean]
1952
+ #
1953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/JmxExporter AWS API Documentation
1954
+ #
1955
+ class JmxExporter < Struct.new(
1956
+ :enabled_in_broker)
1957
+ include Aws::Structure
1958
+ end
1959
+
1960
+ # Indicates whether you want to enable or disable the JMX Exporter.
1961
+ #
1962
+ # @note When making an API call, you may pass JmxExporterInfo
1963
+ # data as a hash:
1964
+ #
1965
+ # {
1966
+ # enabled_in_broker: false, # required
1967
+ # }
1968
+ #
1969
+ # @!attribute [rw] enabled_in_broker
1970
+ # Indicates whether you want to enable or disable the JMX Exporter.
1971
+ # @return [Boolean]
1972
+ #
1973
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/JmxExporterInfo AWS API Documentation
1974
+ #
1975
+ class JmxExporterInfo < Struct.new(
1976
+ :enabled_in_broker)
1977
+ include Aws::Structure
1978
+ end
1979
+
1980
+ # Indicates whether you want to enable or disable the Node Exporter.
1981
+ #
1982
+ # @!attribute [rw] enabled_in_broker
1983
+ # Indicates whether you want to enable or disable the Node Exporter.
1984
+ # @return [Boolean]
1985
+ #
1986
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/NodeExporter AWS API Documentation
1987
+ #
1988
+ class NodeExporter < Struct.new(
1989
+ :enabled_in_broker)
1990
+ include Aws::Structure
1991
+ end
1992
+
1993
+ # Indicates whether you want to enable or disable the Node Exporter.
1994
+ #
1995
+ # @note When making an API call, you may pass NodeExporterInfo
1996
+ # data as a hash:
1997
+ #
1998
+ # {
1999
+ # enabled_in_broker: false, # required
2000
+ # }
2001
+ #
2002
+ # @!attribute [rw] enabled_in_broker
2003
+ # Indicates whether you want to enable or disable the Node Exporter.
2004
+ # @return [Boolean]
2005
+ #
2006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/NodeExporterInfo AWS API Documentation
2007
+ #
2008
+ class NodeExporterInfo < Struct.new(
2009
+ :enabled_in_broker)
2010
+ include Aws::Structure
2011
+ end
2012
+
1762
2013
  end
1763
2014
  end
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.15.0
4
+ version: 1.16.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: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2019-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core