aws-sdk-kafka 1.17.0 → 1.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-kafka.rb +7 -4
- data/lib/aws-sdk-kafka/client.rb +251 -16
- data/lib/aws-sdk-kafka/client_api.rb +103 -1
- data/lib/aws-sdk-kafka/errors.rb +30 -8
- data/lib/aws-sdk-kafka/resource.rb +1 -0
- data/lib/aws-sdk-kafka/types.rb +375 -6
- metadata +5 -5
@@ -14,14 +14,19 @@ 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')
|
26
|
+
ClusterOperationStep = Shapes::StructureShape.new(name: 'ClusterOperationStep')
|
27
|
+
ClusterOperationStepInfo = Shapes::StructureShape.new(name: 'ClusterOperationStepInfo')
|
24
28
|
ClusterState = Shapes::StringShape.new(name: 'ClusterState')
|
29
|
+
CompatibleKafkaVersion = Shapes::StructureShape.new(name: 'CompatibleKafkaVersion')
|
25
30
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
26
31
|
ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
|
27
32
|
ConfigurationRevision = Shapes::StructureShape.new(name: 'ConfigurationRevision')
|
@@ -47,9 +52,12 @@ module Aws::Kafka
|
|
47
52
|
EnhancedMonitoring = Shapes::StringShape.new(name: 'EnhancedMonitoring')
|
48
53
|
Error = Shapes::StructureShape.new(name: 'Error')
|
49
54
|
ErrorInfo = Shapes::StructureShape.new(name: 'ErrorInfo')
|
55
|
+
Firehose = Shapes::StructureShape.new(name: 'Firehose')
|
50
56
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
51
57
|
GetBootstrapBrokersRequest = Shapes::StructureShape.new(name: 'GetBootstrapBrokersRequest')
|
52
58
|
GetBootstrapBrokersResponse = Shapes::StructureShape.new(name: 'GetBootstrapBrokersResponse')
|
59
|
+
GetCompatibleKafkaVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleKafkaVersionsRequest')
|
60
|
+
GetCompatibleKafkaVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleKafkaVersionsResponse')
|
53
61
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
54
62
|
JmxExporter = Shapes::StructureShape.new(name: 'JmxExporter')
|
55
63
|
JmxExporterInfo = Shapes::StructureShape.new(name: 'JmxExporterInfo')
|
@@ -69,6 +77,7 @@ module Aws::Kafka
|
|
69
77
|
ListNodesResponse = Shapes::StructureShape.new(name: 'ListNodesResponse')
|
70
78
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
71
79
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
80
|
+
LoggingInfo = Shapes::StructureShape.new(name: 'LoggingInfo')
|
72
81
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
73
82
|
MutableClusterInfo = Shapes::StructureShape.new(name: 'MutableClusterInfo')
|
74
83
|
NodeExporter = Shapes::StructureShape.new(name: 'NodeExporter')
|
@@ -80,6 +89,7 @@ module Aws::Kafka
|
|
80
89
|
OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
|
81
90
|
Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
|
82
91
|
PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
|
92
|
+
S3 = Shapes::StructureShape.new(name: 'S3')
|
83
93
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
84
94
|
StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
|
85
95
|
StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
|
@@ -94,6 +104,8 @@ module Aws::Kafka
|
|
94
104
|
UpdateBrokerStorageResponse = Shapes::StructureShape.new(name: 'UpdateBrokerStorageResponse')
|
95
105
|
UpdateClusterConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationRequest')
|
96
106
|
UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
|
107
|
+
UpdateClusterKafkaVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionRequest')
|
108
|
+
UpdateClusterKafkaVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionResponse')
|
97
109
|
UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
|
98
110
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
99
111
|
ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
|
@@ -106,6 +118,8 @@ module Aws::Kafka
|
|
106
118
|
__listOfBrokerEBSVolumeInfo = Shapes::ListShape.new(name: '__listOfBrokerEBSVolumeInfo')
|
107
119
|
__listOfClusterInfo = Shapes::ListShape.new(name: '__listOfClusterInfo')
|
108
120
|
__listOfClusterOperationInfo = Shapes::ListShape.new(name: '__listOfClusterOperationInfo')
|
121
|
+
__listOfClusterOperationStep = Shapes::ListShape.new(name: '__listOfClusterOperationStep')
|
122
|
+
__listOfCompatibleKafkaVersion = Shapes::ListShape.new(name: '__listOfCompatibleKafkaVersion')
|
109
123
|
__listOfConfiguration = Shapes::ListShape.new(name: '__listOfConfiguration')
|
110
124
|
__listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
|
111
125
|
__listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
|
@@ -127,6 +141,11 @@ module Aws::Kafka
|
|
127
141
|
BrokerEBSVolumeInfo.add_member(:volume_size_gb, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "volumeSizeGB"))
|
128
142
|
BrokerEBSVolumeInfo.struct_class = Types::BrokerEBSVolumeInfo
|
129
143
|
|
144
|
+
BrokerLogs.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogs, location_name: "cloudWatchLogs"))
|
145
|
+
BrokerLogs.add_member(:firehose, Shapes::ShapeRef.new(shape: Firehose, location_name: "firehose"))
|
146
|
+
BrokerLogs.add_member(:s3, Shapes::ShapeRef.new(shape: S3, location_name: "s3"))
|
147
|
+
BrokerLogs.struct_class = Types::BrokerLogs
|
148
|
+
|
130
149
|
BrokerNodeGroupInfo.add_member(:broker_az_distribution, Shapes::ShapeRef.new(shape: BrokerAZDistribution, location_name: "brokerAZDistribution"))
|
131
150
|
BrokerNodeGroupInfo.add_member(:client_subnets, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "clientSubnets"))
|
132
151
|
BrokerNodeGroupInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __stringMin5Max32, required: true, location_name: "instanceType"))
|
@@ -150,6 +169,10 @@ module Aws::Kafka
|
|
150
169
|
ClientAuthentication.add_member(:tls, Shapes::ShapeRef.new(shape: Tls, location_name: "tls"))
|
151
170
|
ClientAuthentication.struct_class = Types::ClientAuthentication
|
152
171
|
|
172
|
+
CloudWatchLogs.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
173
|
+
CloudWatchLogs.add_member(:log_group, Shapes::ShapeRef.new(shape: __string, location_name: "logGroup"))
|
174
|
+
CloudWatchLogs.struct_class = Types::CloudWatchLogs
|
175
|
+
|
153
176
|
ClusterInfo.add_member(:active_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "activeOperationArn"))
|
154
177
|
ClusterInfo.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, location_name: "brokerNodeGroupInfo"))
|
155
178
|
ClusterInfo.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
@@ -157,6 +180,7 @@ module Aws::Kafka
|
|
157
180
|
ClusterInfo.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __string, location_name: "clusterName"))
|
158
181
|
ClusterInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
159
182
|
ClusterInfo.add_member(:current_broker_software_info, Shapes::ShapeRef.new(shape: BrokerSoftwareInfo, location_name: "currentBrokerSoftwareInfo"))
|
183
|
+
ClusterInfo.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
160
184
|
ClusterInfo.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location_name: "currentVersion"))
|
161
185
|
ClusterInfo.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
162
186
|
ClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
@@ -172,6 +196,7 @@ module Aws::Kafka
|
|
172
196
|
ClusterOperationInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
173
197
|
ClusterOperationInfo.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "endTime"))
|
174
198
|
ClusterOperationInfo.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfo, location_name: "errorInfo"))
|
199
|
+
ClusterOperationInfo.add_member(:operation_steps, Shapes::ShapeRef.new(shape: __listOfClusterOperationStep, location_name: "operationSteps"))
|
175
200
|
ClusterOperationInfo.add_member(:operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "operationArn"))
|
176
201
|
ClusterOperationInfo.add_member(:operation_state, Shapes::ShapeRef.new(shape: __string, location_name: "operationState"))
|
177
202
|
ClusterOperationInfo.add_member(:operation_type, Shapes::ShapeRef.new(shape: __string, location_name: "operationType"))
|
@@ -179,6 +204,17 @@ module Aws::Kafka
|
|
179
204
|
ClusterOperationInfo.add_member(:target_cluster_info, Shapes::ShapeRef.new(shape: MutableClusterInfo, location_name: "targetClusterInfo"))
|
180
205
|
ClusterOperationInfo.struct_class = Types::ClusterOperationInfo
|
181
206
|
|
207
|
+
ClusterOperationStep.add_member(:step_info, Shapes::ShapeRef.new(shape: ClusterOperationStepInfo, location_name: "stepInfo"))
|
208
|
+
ClusterOperationStep.add_member(:step_name, Shapes::ShapeRef.new(shape: __string, location_name: "stepName"))
|
209
|
+
ClusterOperationStep.struct_class = Types::ClusterOperationStep
|
210
|
+
|
211
|
+
ClusterOperationStepInfo.add_member(:step_status, Shapes::ShapeRef.new(shape: __string, location_name: "stepStatus"))
|
212
|
+
ClusterOperationStepInfo.struct_class = Types::ClusterOperationStepInfo
|
213
|
+
|
214
|
+
CompatibleKafkaVersion.add_member(:source_version, Shapes::ShapeRef.new(shape: __string, location_name: "sourceVersion"))
|
215
|
+
CompatibleKafkaVersion.add_member(:target_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "targetVersions"))
|
216
|
+
CompatibleKafkaVersion.struct_class = Types::CompatibleKafkaVersion
|
217
|
+
|
182
218
|
Configuration.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
|
183
219
|
Configuration.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "creationTime"))
|
184
220
|
Configuration.add_member(:description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "description"))
|
@@ -207,6 +243,7 @@ module Aws::Kafka
|
|
207
243
|
CreateClusterRequest.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
208
244
|
CreateClusterRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
209
245
|
CreateClusterRequest.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "kafkaVersion"))
|
246
|
+
CreateClusterRequest.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
210
247
|
CreateClusterRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
|
211
248
|
CreateClusterRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
|
212
249
|
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
@@ -218,7 +255,7 @@ module Aws::Kafka
|
|
218
255
|
CreateClusterResponse.struct_class = Types::CreateClusterResponse
|
219
256
|
|
220
257
|
CreateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
221
|
-
CreateConfigurationRequest.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string,
|
258
|
+
CreateConfigurationRequest.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
|
222
259
|
CreateConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
223
260
|
CreateConfigurationRequest.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, required: true, location_name: "serverProperties"))
|
224
261
|
CreateConfigurationRequest.struct_class = Types::CreateConfigurationRequest
|
@@ -293,6 +330,10 @@ module Aws::Kafka
|
|
293
330
|
ErrorInfo.add_member(:error_string, Shapes::ShapeRef.new(shape: __string, location_name: "errorString"))
|
294
331
|
ErrorInfo.struct_class = Types::ErrorInfo
|
295
332
|
|
333
|
+
Firehose.add_member(:delivery_stream, Shapes::ShapeRef.new(shape: __string, location_name: "deliveryStream"))
|
334
|
+
Firehose.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
335
|
+
Firehose.struct_class = Types::Firehose
|
336
|
+
|
296
337
|
ForbiddenException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
297
338
|
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
298
339
|
ForbiddenException.struct_class = Types::ForbiddenException
|
@@ -304,6 +345,12 @@ module Aws::Kafka
|
|
304
345
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringTls"))
|
305
346
|
GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
|
306
347
|
|
348
|
+
GetCompatibleKafkaVersionsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterArn"))
|
349
|
+
GetCompatibleKafkaVersionsRequest.struct_class = Types::GetCompatibleKafkaVersionsRequest
|
350
|
+
|
351
|
+
GetCompatibleKafkaVersionsResponse.add_member(:compatible_kafka_versions, Shapes::ShapeRef.new(shape: __listOfCompatibleKafkaVersion, location_name: "compatibleKafkaVersions"))
|
352
|
+
GetCompatibleKafkaVersionsResponse.struct_class = Types::GetCompatibleKafkaVersionsResponse
|
353
|
+
|
307
354
|
InternalServerErrorException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
308
355
|
InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
309
356
|
InternalServerErrorException.struct_class = Types::InternalServerErrorException
|
@@ -376,11 +423,16 @@ module Aws::Kafka
|
|
376
423
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
377
424
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
378
425
|
|
426
|
+
LoggingInfo.add_member(:broker_logs, Shapes::ShapeRef.new(shape: BrokerLogs, required: true, location_name: "brokerLogs"))
|
427
|
+
LoggingInfo.struct_class = Types::LoggingInfo
|
428
|
+
|
379
429
|
MutableClusterInfo.add_member(:broker_ebs_volume_info, Shapes::ShapeRef.new(shape: __listOfBrokerEBSVolumeInfo, location_name: "brokerEBSVolumeInfo"))
|
380
430
|
MutableClusterInfo.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
|
381
431
|
MutableClusterInfo.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integer, location_name: "numberOfBrokerNodes"))
|
382
432
|
MutableClusterInfo.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoring, location_name: "openMonitoring"))
|
383
433
|
MutableClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
434
|
+
MutableClusterInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
|
435
|
+
MutableClusterInfo.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
384
436
|
MutableClusterInfo.struct_class = Types::MutableClusterInfo
|
385
437
|
|
386
438
|
NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
|
@@ -415,6 +467,11 @@ module Aws::Kafka
|
|
415
467
|
PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
|
416
468
|
PrometheusInfo.struct_class = Types::PrometheusInfo
|
417
469
|
|
470
|
+
S3.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, location_name: "bucket"))
|
471
|
+
S3.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
472
|
+
S3.add_member(:prefix, Shapes::ShapeRef.new(shape: __string, location_name: "prefix"))
|
473
|
+
S3.struct_class = Types::S3
|
474
|
+
|
418
475
|
ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
419
476
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
420
477
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
@@ -472,10 +529,21 @@ module Aws::Kafka
|
|
472
529
|
UpdateClusterConfigurationResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
473
530
|
UpdateClusterConfigurationResponse.struct_class = Types::UpdateClusterConfigurationResponse
|
474
531
|
|
532
|
+
UpdateClusterKafkaVersionRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
533
|
+
UpdateClusterKafkaVersionRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
|
534
|
+
UpdateClusterKafkaVersionRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
535
|
+
UpdateClusterKafkaVersionRequest.add_member(:target_kafka_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "targetKafkaVersion"))
|
536
|
+
UpdateClusterKafkaVersionRequest.struct_class = Types::UpdateClusterKafkaVersionRequest
|
537
|
+
|
538
|
+
UpdateClusterKafkaVersionResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
539
|
+
UpdateClusterKafkaVersionResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
540
|
+
UpdateClusterKafkaVersionResponse.struct_class = Types::UpdateClusterKafkaVersionResponse
|
541
|
+
|
475
542
|
UpdateMonitoringRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
476
543
|
UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
477
544
|
UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
478
545
|
UpdateMonitoringRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
|
546
|
+
UpdateMonitoringRequest.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
479
547
|
UpdateMonitoringRequest.struct_class = Types::UpdateMonitoringRequest
|
480
548
|
|
481
549
|
UpdateMonitoringResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
@@ -495,6 +563,10 @@ module Aws::Kafka
|
|
495
563
|
|
496
564
|
__listOfClusterOperationInfo.member = Shapes::ShapeRef.new(shape: ClusterOperationInfo)
|
497
565
|
|
566
|
+
__listOfClusterOperationStep.member = Shapes::ShapeRef.new(shape: ClusterOperationStep)
|
567
|
+
|
568
|
+
__listOfCompatibleKafkaVersion.member = Shapes::ShapeRef.new(shape: CompatibleKafkaVersion)
|
569
|
+
|
498
570
|
__listOfConfiguration.member = Shapes::ShapeRef.new(shape: Configuration)
|
499
571
|
|
500
572
|
__listOfConfigurationRevision.member = Shapes::ShapeRef.new(shape: ConfigurationRevision)
|
@@ -636,6 +708,21 @@ module Aws::Kafka
|
|
636
708
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
637
709
|
end)
|
638
710
|
|
711
|
+
api.add_operation(:get_compatible_kafka_versions, Seahorse::Model::Operation.new.tap do |o|
|
712
|
+
o.name = "GetCompatibleKafkaVersions"
|
713
|
+
o.http_method = "GET"
|
714
|
+
o.http_request_uri = "/v1/compatible-kafka-versions"
|
715
|
+
o.input = Shapes::ShapeRef.new(shape: GetCompatibleKafkaVersionsRequest)
|
716
|
+
o.output = Shapes::ShapeRef.new(shape: GetCompatibleKafkaVersionsResponse)
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
724
|
+
end)
|
725
|
+
|
639
726
|
api.add_operation(:list_cluster_operations, Seahorse::Model::Operation.new.tap do |o|
|
640
727
|
o.name = "ListClusterOperations"
|
641
728
|
o.http_method = "GET"
|
@@ -820,6 +907,21 @@ module Aws::Kafka
|
|
820
907
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
821
908
|
end)
|
822
909
|
|
910
|
+
api.add_operation(:update_cluster_kafka_version, Seahorse::Model::Operation.new.tap do |o|
|
911
|
+
o.name = "UpdateClusterKafkaVersion"
|
912
|
+
o.http_method = "PUT"
|
913
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/version"
|
914
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateClusterKafkaVersionRequest)
|
915
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateClusterKafkaVersionResponse)
|
916
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
917
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
918
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
919
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
920
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
921
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
922
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
923
|
+
end)
|
924
|
+
|
823
925
|
api.add_operation(:update_monitoring, Seahorse::Model::Operation.new.tap do |o|
|
824
926
|
o.name = "UpdateMonitoring"
|
825
927
|
o.http_method = "PUT"
|
data/lib/aws-sdk-kafka/errors.rb
CHANGED
@@ -6,6 +6,36 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::Kafka
|
9
|
+
|
10
|
+
# When Kafka returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::Kafka::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all Kafka errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::Kafka::Errors::ServiceError
|
18
|
+
# # rescues all Kafka API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {BadRequestException}
|
29
|
+
# * {ConflictException}
|
30
|
+
# * {ForbiddenException}
|
31
|
+
# * {InternalServerErrorException}
|
32
|
+
# * {NotFoundException}
|
33
|
+
# * {ServiceUnavailableException}
|
34
|
+
# * {TooManyRequestsException}
|
35
|
+
# * {UnauthorizedException}
|
36
|
+
#
|
37
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
38
|
+
# if they are not defined above.
|
9
39
|
module Errors
|
10
40
|
|
11
41
|
extend Aws::Errors::DynamicErrors
|
@@ -28,7 +58,6 @@ module Aws::Kafka
|
|
28
58
|
def message
|
29
59
|
@message || @data[:message]
|
30
60
|
end
|
31
|
-
|
32
61
|
end
|
33
62
|
|
34
63
|
class ConflictException < ServiceError
|
@@ -49,7 +78,6 @@ module Aws::Kafka
|
|
49
78
|
def message
|
50
79
|
@message || @data[:message]
|
51
80
|
end
|
52
|
-
|
53
81
|
end
|
54
82
|
|
55
83
|
class ForbiddenException < ServiceError
|
@@ -70,7 +98,6 @@ module Aws::Kafka
|
|
70
98
|
def message
|
71
99
|
@message || @data[:message]
|
72
100
|
end
|
73
|
-
|
74
101
|
end
|
75
102
|
|
76
103
|
class InternalServerErrorException < ServiceError
|
@@ -91,7 +118,6 @@ module Aws::Kafka
|
|
91
118
|
def message
|
92
119
|
@message || @data[:message]
|
93
120
|
end
|
94
|
-
|
95
121
|
end
|
96
122
|
|
97
123
|
class NotFoundException < ServiceError
|
@@ -112,7 +138,6 @@ module Aws::Kafka
|
|
112
138
|
def message
|
113
139
|
@message || @data[:message]
|
114
140
|
end
|
115
|
-
|
116
141
|
end
|
117
142
|
|
118
143
|
class ServiceUnavailableException < ServiceError
|
@@ -133,7 +158,6 @@ module Aws::Kafka
|
|
133
158
|
def message
|
134
159
|
@message || @data[:message]
|
135
160
|
end
|
136
|
-
|
137
161
|
end
|
138
162
|
|
139
163
|
class TooManyRequestsException < ServiceError
|
@@ -154,7 +178,6 @@ module Aws::Kafka
|
|
154
178
|
def message
|
155
179
|
@message || @data[:message]
|
156
180
|
end
|
157
|
-
|
158
181
|
end
|
159
182
|
|
160
183
|
class UnauthorizedException < ServiceError
|
@@ -175,7 +198,6 @@ module Aws::Kafka
|
|
175
198
|
def message
|
176
199
|
@message || @data[:message]
|
177
200
|
end
|
178
|
-
|
179
201
|
end
|
180
202
|
|
181
203
|
end
|
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,
|
@@ -317,6 +394,10 @@ module Aws::Kafka
|
|
317
394
|
# Describes the error if the operation fails.
|
318
395
|
# @return [Types::ErrorInfo]
|
319
396
|
#
|
397
|
+
# @!attribute [rw] operation_steps
|
398
|
+
# Steps completed during the operation.
|
399
|
+
# @return [Array<Types::ClusterOperationStep>]
|
400
|
+
#
|
320
401
|
# @!attribute [rw] operation_arn
|
321
402
|
# ARN of the cluster operation.
|
322
403
|
# @return [String]
|
@@ -345,6 +426,7 @@ module Aws::Kafka
|
|
345
426
|
:creation_time,
|
346
427
|
:end_time,
|
347
428
|
:error_info,
|
429
|
+
:operation_steps,
|
348
430
|
:operation_arn,
|
349
431
|
:operation_state,
|
350
432
|
:operation_type,
|
@@ -353,6 +435,53 @@ module Aws::Kafka
|
|
353
435
|
include Aws::Structure
|
354
436
|
end
|
355
437
|
|
438
|
+
# Step taken during a cluster operation.
|
439
|
+
#
|
440
|
+
# @!attribute [rw] step_info
|
441
|
+
# Information about the step and its status.
|
442
|
+
# @return [Types::ClusterOperationStepInfo]
|
443
|
+
#
|
444
|
+
# @!attribute [rw] step_name
|
445
|
+
# The name of the step.
|
446
|
+
# @return [String]
|
447
|
+
#
|
448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterOperationStep AWS API Documentation
|
449
|
+
#
|
450
|
+
class ClusterOperationStep < Struct.new(
|
451
|
+
:step_info,
|
452
|
+
:step_name)
|
453
|
+
include Aws::Structure
|
454
|
+
end
|
455
|
+
|
456
|
+
# State information about the operation step.
|
457
|
+
#
|
458
|
+
# @!attribute [rw] step_status
|
459
|
+
# The steps current status.
|
460
|
+
# @return [String]
|
461
|
+
#
|
462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterOperationStepInfo AWS API Documentation
|
463
|
+
#
|
464
|
+
class ClusterOperationStepInfo < Struct.new(
|
465
|
+
:step_status)
|
466
|
+
include Aws::Structure
|
467
|
+
end
|
468
|
+
|
469
|
+
# Contains source Kafka versions and compatible target Kafka versions.
|
470
|
+
#
|
471
|
+
# @!attribute [rw] source_version
|
472
|
+
# @return [String]
|
473
|
+
#
|
474
|
+
# @!attribute [rw] target_versions
|
475
|
+
# @return [Array<String>]
|
476
|
+
#
|
477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CompatibleKafkaVersion AWS API Documentation
|
478
|
+
#
|
479
|
+
class CompatibleKafkaVersion < Struct.new(
|
480
|
+
:source_version,
|
481
|
+
:target_versions)
|
482
|
+
include Aws::Structure
|
483
|
+
end
|
484
|
+
|
356
485
|
# Represents an MSK Configuration.
|
357
486
|
#
|
358
487
|
# @!attribute [rw] arn
|
@@ -497,6 +626,23 @@ module Aws::Kafka
|
|
497
626
|
# },
|
498
627
|
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
|
499
628
|
# kafka_version: "__stringMin1Max128", # required
|
629
|
+
# logging_info: {
|
630
|
+
# broker_logs: { # required
|
631
|
+
# cloud_watch_logs: {
|
632
|
+
# enabled: false, # required
|
633
|
+
# log_group: "__string",
|
634
|
+
# },
|
635
|
+
# firehose: {
|
636
|
+
# delivery_stream: "__string",
|
637
|
+
# enabled: false, # required
|
638
|
+
# },
|
639
|
+
# s3: {
|
640
|
+
# bucket: "__string",
|
641
|
+
# enabled: false, # required
|
642
|
+
# prefix: "__string",
|
643
|
+
# },
|
644
|
+
# },
|
645
|
+
# },
|
500
646
|
# number_of_broker_nodes: 1, # required
|
501
647
|
# open_monitoring: {
|
502
648
|
# prometheus: { # required
|
@@ -543,6 +689,10 @@ module Aws::Kafka
|
|
543
689
|
# The version of Apache Kafka.
|
544
690
|
# @return [String]
|
545
691
|
#
|
692
|
+
# @!attribute [rw] logging_info
|
693
|
+
# LoggingInfo details.
|
694
|
+
# @return [Types::LoggingInfo]
|
695
|
+
#
|
546
696
|
# @!attribute [rw] number_of_broker_nodes
|
547
697
|
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
548
698
|
# @return [Integer]
|
@@ -565,6 +715,7 @@ module Aws::Kafka
|
|
565
715
|
:encryption_info,
|
566
716
|
:enhanced_monitoring,
|
567
717
|
:kafka_version,
|
718
|
+
:logging_info,
|
568
719
|
:number_of_broker_nodes,
|
569
720
|
:open_monitoring,
|
570
721
|
:tags)
|
@@ -602,7 +753,7 @@ module Aws::Kafka
|
|
602
753
|
#
|
603
754
|
# {
|
604
755
|
# description: "__string",
|
605
|
-
# kafka_versions: ["__string"],
|
756
|
+
# kafka_versions: ["__string"],
|
606
757
|
# name: "__string", # required
|
607
758
|
# server_properties: "data", # required
|
608
759
|
# }
|
@@ -1010,6 +1161,34 @@ module Aws::Kafka
|
|
1010
1161
|
include Aws::Structure
|
1011
1162
|
end
|
1012
1163
|
|
1164
|
+
# Firehose details for BrokerLogs.
|
1165
|
+
#
|
1166
|
+
# @note When making an API call, you may pass Firehose
|
1167
|
+
# data as a hash:
|
1168
|
+
#
|
1169
|
+
# {
|
1170
|
+
# delivery_stream: "__string",
|
1171
|
+
# enabled: false, # required
|
1172
|
+
# }
|
1173
|
+
#
|
1174
|
+
# @!attribute [rw] delivery_stream
|
1175
|
+
# The Kinesis Data Firehose delivery stream that is the destination
|
1176
|
+
# for broker logs.
|
1177
|
+
# @return [String]
|
1178
|
+
#
|
1179
|
+
# @!attribute [rw] enabled
|
1180
|
+
# Specifies whether broker logs get sent to the specified Kinesis Data
|
1181
|
+
# Firehose delivery stream.
|
1182
|
+
# @return [Boolean]
|
1183
|
+
#
|
1184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Firehose AWS API Documentation
|
1185
|
+
#
|
1186
|
+
class Firehose < Struct.new(
|
1187
|
+
:delivery_stream,
|
1188
|
+
:enabled)
|
1189
|
+
include Aws::Structure
|
1190
|
+
end
|
1191
|
+
|
1013
1192
|
# Returns information about an error state of the cluster.
|
1014
1193
|
#
|
1015
1194
|
# @!attribute [rw] error_code
|
@@ -1082,6 +1261,36 @@ module Aws::Kafka
|
|
1082
1261
|
include Aws::Structure
|
1083
1262
|
end
|
1084
1263
|
|
1264
|
+
# @note When making an API call, you may pass GetCompatibleKafkaVersionsRequest
|
1265
|
+
# data as a hash:
|
1266
|
+
#
|
1267
|
+
# {
|
1268
|
+
# cluster_arn: "__string",
|
1269
|
+
# }
|
1270
|
+
#
|
1271
|
+
# @!attribute [rw] cluster_arn
|
1272
|
+
# @return [String]
|
1273
|
+
#
|
1274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetCompatibleKafkaVersionsRequest AWS API Documentation
|
1275
|
+
#
|
1276
|
+
class GetCompatibleKafkaVersionsRequest < Struct.new(
|
1277
|
+
:cluster_arn)
|
1278
|
+
include Aws::Structure
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
# Response body for GetCompatibleKafkaVersions.
|
1282
|
+
#
|
1283
|
+
# @!attribute [rw] compatible_kafka_versions
|
1284
|
+
# A list of CompatibleKafkaVersion objects.
|
1285
|
+
# @return [Array<Types::CompatibleKafkaVersion>]
|
1286
|
+
#
|
1287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetCompatibleKafkaVersionsResponse AWS API Documentation
|
1288
|
+
#
|
1289
|
+
class GetCompatibleKafkaVersionsResponse < Struct.new(
|
1290
|
+
:compatible_kafka_versions)
|
1291
|
+
include Aws::Structure
|
1292
|
+
end
|
1293
|
+
|
1085
1294
|
# Returns information about an error.
|
1086
1295
|
#
|
1087
1296
|
# @!attribute [rw] invalid_parameter
|
@@ -1105,7 +1314,7 @@ module Aws::Kafka
|
|
1105
1314
|
# @return [String]
|
1106
1315
|
#
|
1107
1316
|
# @!attribute [rw] status
|
1108
|
-
# The status of
|
1317
|
+
# The status of the Apache Kafka version.
|
1109
1318
|
# @return [String]
|
1110
1319
|
#
|
1111
1320
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/KafkaVersion AWS API Documentation
|
@@ -1420,6 +1629,44 @@ module Aws::Kafka
|
|
1420
1629
|
include Aws::Structure
|
1421
1630
|
end
|
1422
1631
|
|
1632
|
+
# You can configure your MSK cluster to send broker logs to different
|
1633
|
+
# destination types. This is a container for the configuration details
|
1634
|
+
# related to broker logs.
|
1635
|
+
#
|
1636
|
+
# @note When making an API call, you may pass LoggingInfo
|
1637
|
+
# data as a hash:
|
1638
|
+
#
|
1639
|
+
# {
|
1640
|
+
# broker_logs: { # required
|
1641
|
+
# cloud_watch_logs: {
|
1642
|
+
# enabled: false, # required
|
1643
|
+
# log_group: "__string",
|
1644
|
+
# },
|
1645
|
+
# firehose: {
|
1646
|
+
# delivery_stream: "__string",
|
1647
|
+
# enabled: false, # required
|
1648
|
+
# },
|
1649
|
+
# s3: {
|
1650
|
+
# bucket: "__string",
|
1651
|
+
# enabled: false, # required
|
1652
|
+
# prefix: "__string",
|
1653
|
+
# },
|
1654
|
+
# },
|
1655
|
+
# }
|
1656
|
+
#
|
1657
|
+
# @!attribute [rw] broker_logs
|
1658
|
+
# You can configure your MSK cluster to send broker logs to different
|
1659
|
+
# destination types. This configuration specifies the details of these
|
1660
|
+
# destinations.
|
1661
|
+
# @return [Types::BrokerLogs]
|
1662
|
+
#
|
1663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/LoggingInfo AWS API Documentation
|
1664
|
+
#
|
1665
|
+
class LoggingInfo < Struct.new(
|
1666
|
+
:broker_logs)
|
1667
|
+
include Aws::Structure
|
1668
|
+
end
|
1669
|
+
|
1423
1670
|
# Information about cluster attributes that can be updated via update
|
1424
1671
|
# APIs.
|
1425
1672
|
#
|
@@ -1445,6 +1692,13 @@ module Aws::Kafka
|
|
1445
1692
|
# Amazon CloudWatch for this cluster.
|
1446
1693
|
# @return [String]
|
1447
1694
|
#
|
1695
|
+
# @!attribute [rw] kafka_version
|
1696
|
+
# @return [String]
|
1697
|
+
#
|
1698
|
+
# @!attribute [rw] logging_info
|
1699
|
+
# LoggingInfo details.
|
1700
|
+
# @return [Types::LoggingInfo]
|
1701
|
+
#
|
1448
1702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
|
1449
1703
|
#
|
1450
1704
|
class MutableClusterInfo < Struct.new(
|
@@ -1452,7 +1706,9 @@ module Aws::Kafka
|
|
1452
1706
|
:configuration_info,
|
1453
1707
|
:number_of_broker_nodes,
|
1454
1708
|
:open_monitoring,
|
1455
|
-
:enhanced_monitoring
|
1709
|
+
:enhanced_monitoring,
|
1710
|
+
:kafka_version,
|
1711
|
+
:logging_info)
|
1456
1712
|
include Aws::Structure
|
1457
1713
|
end
|
1458
1714
|
|
@@ -1835,6 +2091,64 @@ module Aws::Kafka
|
|
1835
2091
|
include Aws::Structure
|
1836
2092
|
end
|
1837
2093
|
|
2094
|
+
# Request body for UpdateClusterKafkaVersion.
|
2095
|
+
#
|
2096
|
+
# @note When making an API call, you may pass UpdateClusterKafkaVersionRequest
|
2097
|
+
# data as a hash:
|
2098
|
+
#
|
2099
|
+
# {
|
2100
|
+
# cluster_arn: "__string", # required
|
2101
|
+
# configuration_info: {
|
2102
|
+
# arn: "__string", # required
|
2103
|
+
# revision: 1, # required
|
2104
|
+
# },
|
2105
|
+
# current_version: "__string", # required
|
2106
|
+
# target_kafka_version: "__string", # required
|
2107
|
+
# }
|
2108
|
+
#
|
2109
|
+
# @!attribute [rw] cluster_arn
|
2110
|
+
# @return [String]
|
2111
|
+
#
|
2112
|
+
# @!attribute [rw] configuration_info
|
2113
|
+
# Specifies the configuration to use for the brokers.
|
2114
|
+
# @return [Types::ConfigurationInfo]
|
2115
|
+
#
|
2116
|
+
# @!attribute [rw] current_version
|
2117
|
+
# Current cluster version.
|
2118
|
+
# @return [String]
|
2119
|
+
#
|
2120
|
+
# @!attribute [rw] target_kafka_version
|
2121
|
+
# Target Kafka version.
|
2122
|
+
# @return [String]
|
2123
|
+
#
|
2124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersionRequest AWS API Documentation
|
2125
|
+
#
|
2126
|
+
class UpdateClusterKafkaVersionRequest < Struct.new(
|
2127
|
+
:cluster_arn,
|
2128
|
+
:configuration_info,
|
2129
|
+
:current_version,
|
2130
|
+
:target_kafka_version)
|
2131
|
+
include Aws::Structure
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
# Response body for UpdateClusterKafkaVersion.
|
2135
|
+
#
|
2136
|
+
# @!attribute [rw] cluster_arn
|
2137
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
2138
|
+
# @return [String]
|
2139
|
+
#
|
2140
|
+
# @!attribute [rw] cluster_operation_arn
|
2141
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
2142
|
+
# @return [String]
|
2143
|
+
#
|
2144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersionResponse AWS API Documentation
|
2145
|
+
#
|
2146
|
+
class UpdateClusterKafkaVersionResponse < Struct.new(
|
2147
|
+
:cluster_arn,
|
2148
|
+
:cluster_operation_arn)
|
2149
|
+
include Aws::Structure
|
2150
|
+
end
|
2151
|
+
|
1838
2152
|
# Request body for UpdateMonitoring.
|
1839
2153
|
#
|
1840
2154
|
# @note When making an API call, you may pass UpdateMonitoringRequest
|
@@ -1854,6 +2168,23 @@ module Aws::Kafka
|
|
1854
2168
|
# },
|
1855
2169
|
# },
|
1856
2170
|
# },
|
2171
|
+
# logging_info: {
|
2172
|
+
# broker_logs: { # required
|
2173
|
+
# cloud_watch_logs: {
|
2174
|
+
# enabled: false, # required
|
2175
|
+
# log_group: "__string",
|
2176
|
+
# },
|
2177
|
+
# firehose: {
|
2178
|
+
# delivery_stream: "__string",
|
2179
|
+
# enabled: false, # required
|
2180
|
+
# },
|
2181
|
+
# s3: {
|
2182
|
+
# bucket: "__string",
|
2183
|
+
# enabled: false, # required
|
2184
|
+
# prefix: "__string",
|
2185
|
+
# },
|
2186
|
+
# },
|
2187
|
+
# },
|
1857
2188
|
# }
|
1858
2189
|
#
|
1859
2190
|
# @!attribute [rw] cluster_arn
|
@@ -1873,13 +2204,18 @@ module Aws::Kafka
|
|
1873
2204
|
# The settings for open monitoring.
|
1874
2205
|
# @return [Types::OpenMonitoringInfo]
|
1875
2206
|
#
|
2207
|
+
# @!attribute [rw] logging_info
|
2208
|
+
# LoggingInfo details.
|
2209
|
+
# @return [Types::LoggingInfo]
|
2210
|
+
#
|
1876
2211
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateMonitoringRequest AWS API Documentation
|
1877
2212
|
#
|
1878
2213
|
class UpdateMonitoringRequest < Struct.new(
|
1879
2214
|
:cluster_arn,
|
1880
2215
|
:current_version,
|
1881
2216
|
:enhanced_monitoring,
|
1882
|
-
:open_monitoring
|
2217
|
+
:open_monitoring,
|
2218
|
+
:logging_info)
|
1883
2219
|
include Aws::Structure
|
1884
2220
|
end
|
1885
2221
|
|
@@ -2022,6 +2358,39 @@ module Aws::Kafka
|
|
2022
2358
|
include Aws::Structure
|
2023
2359
|
end
|
2024
2360
|
|
2361
|
+
# The details of the Amazon S3 destination for broker logs.
|
2362
|
+
#
|
2363
|
+
# @note When making an API call, you may pass S3
|
2364
|
+
# data as a hash:
|
2365
|
+
#
|
2366
|
+
# {
|
2367
|
+
# bucket: "__string",
|
2368
|
+
# enabled: false, # required
|
2369
|
+
# prefix: "__string",
|
2370
|
+
# }
|
2371
|
+
#
|
2372
|
+
# @!attribute [rw] bucket
|
2373
|
+
# The name of the S3 bucket that is the destination for broker logs.
|
2374
|
+
# @return [String]
|
2375
|
+
#
|
2376
|
+
# @!attribute [rw] enabled
|
2377
|
+
# Specifies whether broker logs get sent to the specified Amazon S3
|
2378
|
+
# destination.
|
2379
|
+
# @return [Boolean]
|
2380
|
+
#
|
2381
|
+
# @!attribute [rw] prefix
|
2382
|
+
# The S3 prefix that is the destination for broker logs.
|
2383
|
+
# @return [String]
|
2384
|
+
#
|
2385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/S3 AWS API Documentation
|
2386
|
+
#
|
2387
|
+
class S3 < Struct.new(
|
2388
|
+
:bucket,
|
2389
|
+
:enabled,
|
2390
|
+
:prefix)
|
2391
|
+
include Aws::Structure
|
2392
|
+
end
|
2393
|
+
|
2025
2394
|
# Indicates whether you want to enable or disable the JMX Exporter.
|
2026
2395
|
#
|
2027
2396
|
# @!attribute [rw] enabled_in_broker
|
@@ -2045,7 +2414,7 @@ module Aws::Kafka
|
|
2045
2414
|
# }
|
2046
2415
|
#
|
2047
2416
|
# @!attribute [rw] enabled_in_broker
|
2048
|
-
#
|
2417
|
+
# JMX Exporter being enabled in broker.
|
2049
2418
|
# @return [Boolean]
|
2050
2419
|
#
|
2051
2420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/JmxExporterInfo AWS API Documentation
|
@@ -2078,7 +2447,7 @@ module Aws::Kafka
|
|
2078
2447
|
# }
|
2079
2448
|
#
|
2080
2449
|
# @!attribute [rw] enabled_in_broker
|
2081
|
-
#
|
2450
|
+
# Node Exporter being enabled in broker.
|
2082
2451
|
# @return [Boolean]
|
2083
2452
|
#
|
2084
2453
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/NodeExporterInfo AWS API Documentation
|