aws-sdk-kafka 1.17.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kafka.rb +1 -1
- data/lib/aws-sdk-kafka/client.rb +83 -1
- data/lib/aws-sdk-kafka/client_api.rb +30 -0
- data/lib/aws-sdk-kafka/types.rb +230 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11b25de22cde60f38b9039a02f3a58954dfef83b
|
4
|
+
data.tar.gz: 2fb2dff1f303a61a3eb31a1764a20f3979cfb17f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d91dedc32aeeedf7b4c292b1d3bf6e43e04a9fbdbbbfc2a3e2f0ea72bc9e807ca50a0de3e0dc399e84559620d04e792f9d2de467e40ddce9c45755e0b410a5c0
|
7
|
+
data.tar.gz: 59824cd96baa8ddd06c22c38b3db3b6242b7f113c92d72882e5d92a3e2d2e7a9f925bb12f10b6b5d9429dccc52540cf80d7f32ed0da22ef7cacc37c80706b9b2
|
data/lib/aws-sdk-kafka.rb
CHANGED
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -278,6 +278,9 @@ module Aws::Kafka
|
|
278
278
|
# @option params [required, String] :kafka_version
|
279
279
|
# The version of Apache Kafka.
|
280
280
|
#
|
281
|
+
# @option params [Types::LoggingInfo] :logging_info
|
282
|
+
# LoggingInfo details.
|
283
|
+
#
|
281
284
|
# @option params [required, Integer] :number_of_broker_nodes
|
282
285
|
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
283
286
|
#
|
@@ -328,6 +331,23 @@ module Aws::Kafka
|
|
328
331
|
# },
|
329
332
|
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
|
330
333
|
# kafka_version: "__stringMin1Max128", # required
|
334
|
+
# logging_info: {
|
335
|
+
# broker_logs: { # required
|
336
|
+
# cloud_watch_logs: {
|
337
|
+
# enabled: false, # required
|
338
|
+
# log_group: "__string",
|
339
|
+
# },
|
340
|
+
# firehose: {
|
341
|
+
# delivery_stream: "__string",
|
342
|
+
# enabled: false, # required
|
343
|
+
# },
|
344
|
+
# s3: {
|
345
|
+
# bucket: "__string",
|
346
|
+
# enabled: false, # required
|
347
|
+
# prefix: "__string",
|
348
|
+
# },
|
349
|
+
# },
|
350
|
+
# },
|
331
351
|
# number_of_broker_nodes: 1, # required
|
332
352
|
# open_monitoring: {
|
333
353
|
# prometheus: { # required
|
@@ -474,6 +494,13 @@ module Aws::Kafka
|
|
474
494
|
# resp.cluster_info.current_broker_software_info.configuration_arn #=> String
|
475
495
|
# resp.cluster_info.current_broker_software_info.configuration_revision #=> Integer
|
476
496
|
# resp.cluster_info.current_broker_software_info.kafka_version #=> String
|
497
|
+
# resp.cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
498
|
+
# resp.cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
499
|
+
# resp.cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
|
500
|
+
# resp.cluster_info.logging_info.broker_logs.firehose.enabled #=> Boolean
|
501
|
+
# resp.cluster_info.logging_info.broker_logs.s3.bucket #=> String
|
502
|
+
# resp.cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
|
503
|
+
# resp.cluster_info.logging_info.broker_logs.s3.prefix #=> String
|
477
504
|
# resp.cluster_info.current_version #=> String
|
478
505
|
# resp.cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
479
506
|
# resp.cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
@@ -530,6 +557,13 @@ module Aws::Kafka
|
|
530
557
|
# resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
531
558
|
# resp.cluster_operation_info.source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
532
559
|
# resp.cluster_operation_info.source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
|
560
|
+
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
561
|
+
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
562
|
+
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
|
563
|
+
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.firehose.enabled #=> Boolean
|
564
|
+
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.bucket #=> String
|
565
|
+
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
|
566
|
+
# resp.cluster_operation_info.source_cluster_info.logging_info.broker_logs.s3.prefix #=> String
|
533
567
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
|
534
568
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
535
569
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
@@ -539,6 +573,13 @@ module Aws::Kafka
|
|
539
573
|
# resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
540
574
|
# resp.cluster_operation_info.target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
541
575
|
# resp.cluster_operation_info.target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
|
576
|
+
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
577
|
+
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
578
|
+
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
|
579
|
+
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.firehose.enabled #=> Boolean
|
580
|
+
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.bucket #=> String
|
581
|
+
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
|
582
|
+
# resp.cluster_operation_info.target_cluster_info.logging_info.broker_logs.s3.prefix #=> String
|
542
583
|
#
|
543
584
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
|
544
585
|
#
|
@@ -699,6 +740,13 @@ module Aws::Kafka
|
|
699
740
|
# resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
700
741
|
# resp.cluster_operation_info_list[0].source_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
701
742
|
# resp.cluster_operation_info_list[0].source_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
|
743
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
744
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
745
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
|
746
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.firehose.enabled #=> Boolean
|
747
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.bucket #=> String
|
748
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
|
749
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.logging_info.broker_logs.s3.prefix #=> String
|
702
750
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
703
751
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
704
752
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].volume_size_gb #=> Integer
|
@@ -708,6 +756,13 @@ module Aws::Kafka
|
|
708
756
|
# resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
|
709
757
|
# resp.cluster_operation_info_list[0].target_cluster_info.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
|
710
758
|
# resp.cluster_operation_info_list[0].target_cluster_info.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER"
|
759
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
760
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
761
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.firehose.delivery_stream #=> String
|
762
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.firehose.enabled #=> Boolean
|
763
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.bucket #=> String
|
764
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.enabled #=> Boolean
|
765
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.logging_info.broker_logs.s3.prefix #=> String
|
711
766
|
# resp.next_token #=> String
|
712
767
|
#
|
713
768
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
|
@@ -759,6 +814,13 @@ module Aws::Kafka
|
|
759
814
|
# resp.cluster_info_list[0].current_broker_software_info.configuration_arn #=> String
|
760
815
|
# resp.cluster_info_list[0].current_broker_software_info.configuration_revision #=> Integer
|
761
816
|
# resp.cluster_info_list[0].current_broker_software_info.kafka_version #=> String
|
817
|
+
# resp.cluster_info_list[0].logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
|
818
|
+
# resp.cluster_info_list[0].logging_info.broker_logs.cloud_watch_logs.log_group #=> String
|
819
|
+
# resp.cluster_info_list[0].logging_info.broker_logs.firehose.delivery_stream #=> String
|
820
|
+
# resp.cluster_info_list[0].logging_info.broker_logs.firehose.enabled #=> Boolean
|
821
|
+
# resp.cluster_info_list[0].logging_info.broker_logs.s3.bucket #=> String
|
822
|
+
# resp.cluster_info_list[0].logging_info.broker_logs.s3.enabled #=> Boolean
|
823
|
+
# resp.cluster_info_list[0].logging_info.broker_logs.s3.prefix #=> String
|
762
824
|
# resp.cluster_info_list[0].current_version #=> String
|
763
825
|
# resp.cluster_info_list[0].encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
764
826
|
# resp.cluster_info_list[0].encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
@@ -1178,6 +1240,9 @@ module Aws::Kafka
|
|
1178
1240
|
# @option params [Types::OpenMonitoringInfo] :open_monitoring
|
1179
1241
|
# The settings for open monitoring.
|
1180
1242
|
#
|
1243
|
+
# @option params [Types::LoggingInfo] :logging_info
|
1244
|
+
# LoggingInfo details.
|
1245
|
+
#
|
1181
1246
|
# @return [Types::UpdateMonitoringResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1182
1247
|
#
|
1183
1248
|
# * {Types::UpdateMonitoringResponse#cluster_arn #cluster_arn} => String
|
@@ -1199,6 +1264,23 @@ module Aws::Kafka
|
|
1199
1264
|
# },
|
1200
1265
|
# },
|
1201
1266
|
# },
|
1267
|
+
# logging_info: {
|
1268
|
+
# broker_logs: { # required
|
1269
|
+
# cloud_watch_logs: {
|
1270
|
+
# enabled: false, # required
|
1271
|
+
# log_group: "__string",
|
1272
|
+
# },
|
1273
|
+
# firehose: {
|
1274
|
+
# delivery_stream: "__string",
|
1275
|
+
# enabled: false, # required
|
1276
|
+
# },
|
1277
|
+
# s3: {
|
1278
|
+
# bucket: "__string",
|
1279
|
+
# enabled: false, # required
|
1280
|
+
# prefix: "__string",
|
1281
|
+
# },
|
1282
|
+
# },
|
1283
|
+
# },
|
1202
1284
|
# })
|
1203
1285
|
#
|
1204
1286
|
# @example Response structure
|
@@ -1228,7 +1310,7 @@ module Aws::Kafka
|
|
1228
1310
|
params: params,
|
1229
1311
|
config: config)
|
1230
1312
|
context[:gem_name] = 'aws-sdk-kafka'
|
1231
|
-
context[:gem_version] = '1.
|
1313
|
+
context[:gem_version] = '1.18.0'
|
1232
1314
|
Seahorse::Client::Request.new(handlers, context)
|
1233
1315
|
end
|
1234
1316
|
|
@@ -14,11 +14,13 @@ module Aws::Kafka
|
|
14
14
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
15
15
|
BrokerAZDistribution = Shapes::StringShape.new(name: 'BrokerAZDistribution')
|
16
16
|
BrokerEBSVolumeInfo = Shapes::StructureShape.new(name: 'BrokerEBSVolumeInfo')
|
17
|
+
BrokerLogs = Shapes::StructureShape.new(name: 'BrokerLogs')
|
17
18
|
BrokerNodeGroupInfo = Shapes::StructureShape.new(name: 'BrokerNodeGroupInfo')
|
18
19
|
BrokerNodeInfo = Shapes::StructureShape.new(name: 'BrokerNodeInfo')
|
19
20
|
BrokerSoftwareInfo = Shapes::StructureShape.new(name: 'BrokerSoftwareInfo')
|
20
21
|
ClientAuthentication = Shapes::StructureShape.new(name: 'ClientAuthentication')
|
21
22
|
ClientBroker = Shapes::StringShape.new(name: 'ClientBroker')
|
23
|
+
CloudWatchLogs = Shapes::StructureShape.new(name: 'CloudWatchLogs')
|
22
24
|
ClusterInfo = Shapes::StructureShape.new(name: 'ClusterInfo')
|
23
25
|
ClusterOperationInfo = Shapes::StructureShape.new(name: 'ClusterOperationInfo')
|
24
26
|
ClusterState = Shapes::StringShape.new(name: 'ClusterState')
|
@@ -47,6 +49,7 @@ module Aws::Kafka
|
|
47
49
|
EnhancedMonitoring = Shapes::StringShape.new(name: 'EnhancedMonitoring')
|
48
50
|
Error = Shapes::StructureShape.new(name: 'Error')
|
49
51
|
ErrorInfo = Shapes::StructureShape.new(name: 'ErrorInfo')
|
52
|
+
Firehose = Shapes::StructureShape.new(name: 'Firehose')
|
50
53
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
51
54
|
GetBootstrapBrokersRequest = Shapes::StructureShape.new(name: 'GetBootstrapBrokersRequest')
|
52
55
|
GetBootstrapBrokersResponse = Shapes::StructureShape.new(name: 'GetBootstrapBrokersResponse')
|
@@ -69,6 +72,7 @@ module Aws::Kafka
|
|
69
72
|
ListNodesResponse = Shapes::StructureShape.new(name: 'ListNodesResponse')
|
70
73
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
71
74
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
75
|
+
LoggingInfo = Shapes::StructureShape.new(name: 'LoggingInfo')
|
72
76
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
73
77
|
MutableClusterInfo = Shapes::StructureShape.new(name: 'MutableClusterInfo')
|
74
78
|
NodeExporter = Shapes::StructureShape.new(name: 'NodeExporter')
|
@@ -80,6 +84,7 @@ module Aws::Kafka
|
|
80
84
|
OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
|
81
85
|
Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
|
82
86
|
PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
|
87
|
+
S3 = Shapes::StructureShape.new(name: 'S3')
|
83
88
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
84
89
|
StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
|
85
90
|
StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
|
@@ -127,6 +132,11 @@ module Aws::Kafka
|
|
127
132
|
BrokerEBSVolumeInfo.add_member(:volume_size_gb, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "volumeSizeGB"))
|
128
133
|
BrokerEBSVolumeInfo.struct_class = Types::BrokerEBSVolumeInfo
|
129
134
|
|
135
|
+
BrokerLogs.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogs, location_name: "cloudWatchLogs"))
|
136
|
+
BrokerLogs.add_member(:firehose, Shapes::ShapeRef.new(shape: Firehose, location_name: "firehose"))
|
137
|
+
BrokerLogs.add_member(:s3, Shapes::ShapeRef.new(shape: S3, location_name: "s3"))
|
138
|
+
BrokerLogs.struct_class = Types::BrokerLogs
|
139
|
+
|
130
140
|
BrokerNodeGroupInfo.add_member(:broker_az_distribution, Shapes::ShapeRef.new(shape: BrokerAZDistribution, location_name: "brokerAZDistribution"))
|
131
141
|
BrokerNodeGroupInfo.add_member(:client_subnets, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "clientSubnets"))
|
132
142
|
BrokerNodeGroupInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __stringMin5Max32, required: true, location_name: "instanceType"))
|
@@ -150,6 +160,10 @@ module Aws::Kafka
|
|
150
160
|
ClientAuthentication.add_member(:tls, Shapes::ShapeRef.new(shape: Tls, location_name: "tls"))
|
151
161
|
ClientAuthentication.struct_class = Types::ClientAuthentication
|
152
162
|
|
163
|
+
CloudWatchLogs.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
164
|
+
CloudWatchLogs.add_member(:log_group, Shapes::ShapeRef.new(shape: __string, location_name: "logGroup"))
|
165
|
+
CloudWatchLogs.struct_class = Types::CloudWatchLogs
|
166
|
+
|
153
167
|
ClusterInfo.add_member(:active_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "activeOperationArn"))
|
154
168
|
ClusterInfo.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, location_name: "brokerNodeGroupInfo"))
|
155
169
|
ClusterInfo.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
@@ -157,6 +171,7 @@ module Aws::Kafka
|
|
157
171
|
ClusterInfo.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __string, location_name: "clusterName"))
|
158
172
|
ClusterInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
159
173
|
ClusterInfo.add_member(:current_broker_software_info, Shapes::ShapeRef.new(shape: BrokerSoftwareInfo, location_name: "currentBrokerSoftwareInfo"))
|
174
|
+
ClusterInfo.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
160
175
|
ClusterInfo.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location_name: "currentVersion"))
|
161
176
|
ClusterInfo.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
162
177
|
ClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
@@ -207,6 +222,7 @@ module Aws::Kafka
|
|
207
222
|
CreateClusterRequest.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
208
223
|
CreateClusterRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
209
224
|
CreateClusterRequest.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "kafkaVersion"))
|
225
|
+
CreateClusterRequest.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
210
226
|
CreateClusterRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
|
211
227
|
CreateClusterRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
|
212
228
|
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
@@ -293,6 +309,10 @@ module Aws::Kafka
|
|
293
309
|
ErrorInfo.add_member(:error_string, Shapes::ShapeRef.new(shape: __string, location_name: "errorString"))
|
294
310
|
ErrorInfo.struct_class = Types::ErrorInfo
|
295
311
|
|
312
|
+
Firehose.add_member(:delivery_stream, Shapes::ShapeRef.new(shape: __string, location_name: "deliveryStream"))
|
313
|
+
Firehose.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
314
|
+
Firehose.struct_class = Types::Firehose
|
315
|
+
|
296
316
|
ForbiddenException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
297
317
|
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
298
318
|
ForbiddenException.struct_class = Types::ForbiddenException
|
@@ -376,11 +396,15 @@ module Aws::Kafka
|
|
376
396
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
377
397
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
378
398
|
|
399
|
+
LoggingInfo.add_member(:broker_logs, Shapes::ShapeRef.new(shape: BrokerLogs, required: true, location_name: "brokerLogs"))
|
400
|
+
LoggingInfo.struct_class = Types::LoggingInfo
|
401
|
+
|
379
402
|
MutableClusterInfo.add_member(:broker_ebs_volume_info, Shapes::ShapeRef.new(shape: __listOfBrokerEBSVolumeInfo, location_name: "brokerEBSVolumeInfo"))
|
380
403
|
MutableClusterInfo.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
|
381
404
|
MutableClusterInfo.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integer, location_name: "numberOfBrokerNodes"))
|
382
405
|
MutableClusterInfo.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoring, location_name: "openMonitoring"))
|
383
406
|
MutableClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
407
|
+
MutableClusterInfo.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
384
408
|
MutableClusterInfo.struct_class = Types::MutableClusterInfo
|
385
409
|
|
386
410
|
NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
|
@@ -415,6 +439,11 @@ module Aws::Kafka
|
|
415
439
|
PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
|
416
440
|
PrometheusInfo.struct_class = Types::PrometheusInfo
|
417
441
|
|
442
|
+
S3.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, location_name: "bucket"))
|
443
|
+
S3.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
444
|
+
S3.add_member(:prefix, Shapes::ShapeRef.new(shape: __string, location_name: "prefix"))
|
445
|
+
S3.struct_class = Types::S3
|
446
|
+
|
418
447
|
ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
419
448
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
420
449
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
@@ -476,6 +505,7 @@ module Aws::Kafka
|
|
476
505
|
UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
477
506
|
UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
478
507
|
UpdateMonitoringRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
|
508
|
+
UpdateMonitoringRequest.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
479
509
|
UpdateMonitoringRequest.struct_class = Types::UpdateMonitoringRequest
|
480
510
|
|
481
511
|
UpdateMonitoringResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -52,6 +52,49 @@ module Aws::Kafka
|
|
52
52
|
include Aws::Structure
|
53
53
|
end
|
54
54
|
|
55
|
+
# The broker logs configuration for this MSK cluster.
|
56
|
+
#
|
57
|
+
# @note When making an API call, you may pass BrokerLogs
|
58
|
+
# data as a hash:
|
59
|
+
#
|
60
|
+
# {
|
61
|
+
# cloud_watch_logs: {
|
62
|
+
# enabled: false, # required
|
63
|
+
# log_group: "__string",
|
64
|
+
# },
|
65
|
+
# firehose: {
|
66
|
+
# delivery_stream: "__string",
|
67
|
+
# enabled: false, # required
|
68
|
+
# },
|
69
|
+
# s3: {
|
70
|
+
# bucket: "__string",
|
71
|
+
# enabled: false, # required
|
72
|
+
# prefix: "__string",
|
73
|
+
# },
|
74
|
+
# }
|
75
|
+
#
|
76
|
+
# @!attribute [rw] cloud_watch_logs
|
77
|
+
# Details of the CloudWatch Logs destination for broker logs.
|
78
|
+
# @return [Types::CloudWatchLogs]
|
79
|
+
#
|
80
|
+
# @!attribute [rw] firehose
|
81
|
+
# Details of the Kinesis Data Firehose delivery stream that is the
|
82
|
+
# destination for broker logs.
|
83
|
+
# @return [Types::Firehose]
|
84
|
+
#
|
85
|
+
# @!attribute [rw] s3
|
86
|
+
# Details of the Amazon S3 destination for broker logs.
|
87
|
+
# @return [Types::S3]
|
88
|
+
#
|
89
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BrokerLogs AWS API Documentation
|
90
|
+
#
|
91
|
+
class BrokerLogs < Struct.new(
|
92
|
+
:cloud_watch_logs,
|
93
|
+
:firehose,
|
94
|
+
:s3)
|
95
|
+
include Aws::Structure
|
96
|
+
end
|
97
|
+
|
55
98
|
# Describes the setup to be used for Kafka broker nodes in the cluster.
|
56
99
|
#
|
57
100
|
# @note When making an API call, you may pass BrokerNodeGroupInfo
|
@@ -200,6 +243,33 @@ module Aws::Kafka
|
|
200
243
|
include Aws::Structure
|
201
244
|
end
|
202
245
|
|
246
|
+
# Details of the CloudWatch Logs destination for broker logs.
|
247
|
+
#
|
248
|
+
# @note When making an API call, you may pass CloudWatchLogs
|
249
|
+
# data as a hash:
|
250
|
+
#
|
251
|
+
# {
|
252
|
+
# enabled: false, # required
|
253
|
+
# log_group: "__string",
|
254
|
+
# }
|
255
|
+
#
|
256
|
+
# @!attribute [rw] enabled
|
257
|
+
# Specifies whether broker logs get sent to the specified CloudWatch
|
258
|
+
# Logs destination.
|
259
|
+
# @return [Boolean]
|
260
|
+
#
|
261
|
+
# @!attribute [rw] log_group
|
262
|
+
# The CloudWatch log group that is the destination for broker logs.
|
263
|
+
# @return [String]
|
264
|
+
#
|
265
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CloudWatchLogs AWS API Documentation
|
266
|
+
#
|
267
|
+
class CloudWatchLogs < Struct.new(
|
268
|
+
:enabled,
|
269
|
+
:log_group)
|
270
|
+
include Aws::Structure
|
271
|
+
end
|
272
|
+
|
203
273
|
# Returns information about a cluster.
|
204
274
|
#
|
205
275
|
# @!attribute [rw] active_operation_arn
|
@@ -231,6 +301,12 @@ module Aws::Kafka
|
|
231
301
|
# Kafka brokers in the cluster.
|
232
302
|
# @return [Types::BrokerSoftwareInfo]
|
233
303
|
#
|
304
|
+
# @!attribute [rw] logging_info
|
305
|
+
# You can configure your MSK cluster to send broker logs to different
|
306
|
+
# destination types. This is a container for the configuration details
|
307
|
+
# related to broker logs.
|
308
|
+
# @return [Types::LoggingInfo]
|
309
|
+
#
|
234
310
|
# @!attribute [rw] current_version
|
235
311
|
# The current version of the MSK cluster. Cluster versions aren't
|
236
312
|
# simple integers. You can obtain the current version by describing
|
@@ -284,6 +360,7 @@ module Aws::Kafka
|
|
284
360
|
:cluster_name,
|
285
361
|
:creation_time,
|
286
362
|
:current_broker_software_info,
|
363
|
+
:logging_info,
|
287
364
|
:current_version,
|
288
365
|
:encryption_info,
|
289
366
|
:enhanced_monitoring,
|
@@ -497,6 +574,23 @@ module Aws::Kafka
|
|
497
574
|
# },
|
498
575
|
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
|
499
576
|
# kafka_version: "__stringMin1Max128", # required
|
577
|
+
# logging_info: {
|
578
|
+
# broker_logs: { # required
|
579
|
+
# cloud_watch_logs: {
|
580
|
+
# enabled: false, # required
|
581
|
+
# log_group: "__string",
|
582
|
+
# },
|
583
|
+
# firehose: {
|
584
|
+
# delivery_stream: "__string",
|
585
|
+
# enabled: false, # required
|
586
|
+
# },
|
587
|
+
# s3: {
|
588
|
+
# bucket: "__string",
|
589
|
+
# enabled: false, # required
|
590
|
+
# prefix: "__string",
|
591
|
+
# },
|
592
|
+
# },
|
593
|
+
# },
|
500
594
|
# number_of_broker_nodes: 1, # required
|
501
595
|
# open_monitoring: {
|
502
596
|
# prometheus: { # required
|
@@ -543,6 +637,10 @@ module Aws::Kafka
|
|
543
637
|
# The version of Apache Kafka.
|
544
638
|
# @return [String]
|
545
639
|
#
|
640
|
+
# @!attribute [rw] logging_info
|
641
|
+
# LoggingInfo details.
|
642
|
+
# @return [Types::LoggingInfo]
|
643
|
+
#
|
546
644
|
# @!attribute [rw] number_of_broker_nodes
|
547
645
|
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
548
646
|
# @return [Integer]
|
@@ -565,6 +663,7 @@ module Aws::Kafka
|
|
565
663
|
:encryption_info,
|
566
664
|
:enhanced_monitoring,
|
567
665
|
:kafka_version,
|
666
|
+
:logging_info,
|
568
667
|
:number_of_broker_nodes,
|
569
668
|
:open_monitoring,
|
570
669
|
:tags)
|
@@ -1010,6 +1109,34 @@ module Aws::Kafka
|
|
1010
1109
|
include Aws::Structure
|
1011
1110
|
end
|
1012
1111
|
|
1112
|
+
# Firehose details for BrokerLogs.
|
1113
|
+
#
|
1114
|
+
# @note When making an API call, you may pass Firehose
|
1115
|
+
# data as a hash:
|
1116
|
+
#
|
1117
|
+
# {
|
1118
|
+
# delivery_stream: "__string",
|
1119
|
+
# enabled: false, # required
|
1120
|
+
# }
|
1121
|
+
#
|
1122
|
+
# @!attribute [rw] delivery_stream
|
1123
|
+
# The Kinesis Data Firehose delivery stream that is the destination
|
1124
|
+
# for broker logs.
|
1125
|
+
# @return [String]
|
1126
|
+
#
|
1127
|
+
# @!attribute [rw] enabled
|
1128
|
+
# Specifies whether broker logs get sent to the specified Kinesis Data
|
1129
|
+
# Firehose delivery stream.
|
1130
|
+
# @return [Boolean]
|
1131
|
+
#
|
1132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Firehose AWS API Documentation
|
1133
|
+
#
|
1134
|
+
class Firehose < Struct.new(
|
1135
|
+
:delivery_stream,
|
1136
|
+
:enabled)
|
1137
|
+
include Aws::Structure
|
1138
|
+
end
|
1139
|
+
|
1013
1140
|
# Returns information about an error state of the cluster.
|
1014
1141
|
#
|
1015
1142
|
# @!attribute [rw] error_code
|
@@ -1105,7 +1232,7 @@ module Aws::Kafka
|
|
1105
1232
|
# @return [String]
|
1106
1233
|
#
|
1107
1234
|
# @!attribute [rw] status
|
1108
|
-
# The status of
|
1235
|
+
# The status of the Apache Kafka version.
|
1109
1236
|
# @return [String]
|
1110
1237
|
#
|
1111
1238
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/KafkaVersion AWS API Documentation
|
@@ -1420,6 +1547,44 @@ module Aws::Kafka
|
|
1420
1547
|
include Aws::Structure
|
1421
1548
|
end
|
1422
1549
|
|
1550
|
+
# You can configure your MSK cluster to send broker logs to different
|
1551
|
+
# destination types. This is a container for the configuration details
|
1552
|
+
# related to broker logs.
|
1553
|
+
#
|
1554
|
+
# @note When making an API call, you may pass LoggingInfo
|
1555
|
+
# data as a hash:
|
1556
|
+
#
|
1557
|
+
# {
|
1558
|
+
# broker_logs: { # required
|
1559
|
+
# cloud_watch_logs: {
|
1560
|
+
# enabled: false, # required
|
1561
|
+
# log_group: "__string",
|
1562
|
+
# },
|
1563
|
+
# firehose: {
|
1564
|
+
# delivery_stream: "__string",
|
1565
|
+
# enabled: false, # required
|
1566
|
+
# },
|
1567
|
+
# s3: {
|
1568
|
+
# bucket: "__string",
|
1569
|
+
# enabled: false, # required
|
1570
|
+
# prefix: "__string",
|
1571
|
+
# },
|
1572
|
+
# },
|
1573
|
+
# }
|
1574
|
+
#
|
1575
|
+
# @!attribute [rw] broker_logs
|
1576
|
+
# You can configure your MSK cluster to send broker logs to different
|
1577
|
+
# destination types. This configuration specifies the details of these
|
1578
|
+
# destinations.
|
1579
|
+
# @return [Types::BrokerLogs]
|
1580
|
+
#
|
1581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/LoggingInfo AWS API Documentation
|
1582
|
+
#
|
1583
|
+
class LoggingInfo < Struct.new(
|
1584
|
+
:broker_logs)
|
1585
|
+
include Aws::Structure
|
1586
|
+
end
|
1587
|
+
|
1423
1588
|
# Information about cluster attributes that can be updated via update
|
1424
1589
|
# APIs.
|
1425
1590
|
#
|
@@ -1445,6 +1610,10 @@ module Aws::Kafka
|
|
1445
1610
|
# Amazon CloudWatch for this cluster.
|
1446
1611
|
# @return [String]
|
1447
1612
|
#
|
1613
|
+
# @!attribute [rw] logging_info
|
1614
|
+
# LoggingInfo details.
|
1615
|
+
# @return [Types::LoggingInfo]
|
1616
|
+
#
|
1448
1617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
|
1449
1618
|
#
|
1450
1619
|
class MutableClusterInfo < Struct.new(
|
@@ -1452,7 +1621,8 @@ module Aws::Kafka
|
|
1452
1621
|
:configuration_info,
|
1453
1622
|
:number_of_broker_nodes,
|
1454
1623
|
:open_monitoring,
|
1455
|
-
:enhanced_monitoring
|
1624
|
+
:enhanced_monitoring,
|
1625
|
+
:logging_info)
|
1456
1626
|
include Aws::Structure
|
1457
1627
|
end
|
1458
1628
|
|
@@ -1854,6 +2024,23 @@ module Aws::Kafka
|
|
1854
2024
|
# },
|
1855
2025
|
# },
|
1856
2026
|
# },
|
2027
|
+
# logging_info: {
|
2028
|
+
# broker_logs: { # required
|
2029
|
+
# cloud_watch_logs: {
|
2030
|
+
# enabled: false, # required
|
2031
|
+
# log_group: "__string",
|
2032
|
+
# },
|
2033
|
+
# firehose: {
|
2034
|
+
# delivery_stream: "__string",
|
2035
|
+
# enabled: false, # required
|
2036
|
+
# },
|
2037
|
+
# s3: {
|
2038
|
+
# bucket: "__string",
|
2039
|
+
# enabled: false, # required
|
2040
|
+
# prefix: "__string",
|
2041
|
+
# },
|
2042
|
+
# },
|
2043
|
+
# },
|
1857
2044
|
# }
|
1858
2045
|
#
|
1859
2046
|
# @!attribute [rw] cluster_arn
|
@@ -1873,13 +2060,18 @@ module Aws::Kafka
|
|
1873
2060
|
# The settings for open monitoring.
|
1874
2061
|
# @return [Types::OpenMonitoringInfo]
|
1875
2062
|
#
|
2063
|
+
# @!attribute [rw] logging_info
|
2064
|
+
# LoggingInfo details.
|
2065
|
+
# @return [Types::LoggingInfo]
|
2066
|
+
#
|
1876
2067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateMonitoringRequest AWS API Documentation
|
1877
2068
|
#
|
1878
2069
|
class UpdateMonitoringRequest < Struct.new(
|
1879
2070
|
:cluster_arn,
|
1880
2071
|
:current_version,
|
1881
2072
|
:enhanced_monitoring,
|
1882
|
-
:open_monitoring
|
2073
|
+
:open_monitoring,
|
2074
|
+
:logging_info)
|
1883
2075
|
include Aws::Structure
|
1884
2076
|
end
|
1885
2077
|
|
@@ -2022,6 +2214,39 @@ module Aws::Kafka
|
|
2022
2214
|
include Aws::Structure
|
2023
2215
|
end
|
2024
2216
|
|
2217
|
+
# The details of the Amazon S3 destination for broker logs.
|
2218
|
+
#
|
2219
|
+
# @note When making an API call, you may pass S3
|
2220
|
+
# data as a hash:
|
2221
|
+
#
|
2222
|
+
# {
|
2223
|
+
# bucket: "__string",
|
2224
|
+
# enabled: false, # required
|
2225
|
+
# prefix: "__string",
|
2226
|
+
# }
|
2227
|
+
#
|
2228
|
+
# @!attribute [rw] bucket
|
2229
|
+
# The name of the S3 bucket that is the destination for broker logs.
|
2230
|
+
# @return [String]
|
2231
|
+
#
|
2232
|
+
# @!attribute [rw] enabled
|
2233
|
+
# Specifies whether broker logs get sent to the specified Amazon S3
|
2234
|
+
# destination.
|
2235
|
+
# @return [Boolean]
|
2236
|
+
#
|
2237
|
+
# @!attribute [rw] prefix
|
2238
|
+
# The S3 prefix that is the destination for broker logs.
|
2239
|
+
# @return [String]
|
2240
|
+
#
|
2241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/S3 AWS API Documentation
|
2242
|
+
#
|
2243
|
+
class S3 < Struct.new(
|
2244
|
+
:bucket,
|
2245
|
+
:enabled,
|
2246
|
+
:prefix)
|
2247
|
+
include Aws::Structure
|
2248
|
+
end
|
2249
|
+
|
2025
2250
|
# Indicates whether you want to enable or disable the JMX Exporter.
|
2026
2251
|
#
|
2027
2252
|
# @!attribute [rw] enabled_in_broker
|
@@ -2045,7 +2270,7 @@ module Aws::Kafka
|
|
2045
2270
|
# }
|
2046
2271
|
#
|
2047
2272
|
# @!attribute [rw] enabled_in_broker
|
2048
|
-
#
|
2273
|
+
# JMX Exporter being enabled in broker.
|
2049
2274
|
# @return [Boolean]
|
2050
2275
|
#
|
2051
2276
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/JmxExporterInfo AWS API Documentation
|
@@ -2078,7 +2303,7 @@ module Aws::Kafka
|
|
2078
2303
|
# }
|
2079
2304
|
#
|
2080
2305
|
# @!attribute [rw] enabled_in_broker
|
2081
|
-
#
|
2306
|
+
# Node Exporter being enabled in broker.
|
2082
2307
|
# @return [Boolean]
|
2083
2308
|
#
|
2084
2309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/NodeExporterInfo AWS API Documentation
|
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.
|
4
|
+
version: 1.18.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-02-
|
11
|
+
date: 2020-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|