aws-sdk-emrserverless 1.13.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emrserverless/client.rb +148 -4
- data/lib/aws-sdk-emrserverless/client_api.rb +25 -0
- data/lib/aws-sdk-emrserverless/types.rb +114 -4
- data/lib/aws-sdk-emrserverless.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f90acedbd62f3a63c25b2235246e84a7707a5c5e7d860e9229c7a28688a095f9
|
4
|
+
data.tar.gz: '08a68d04c22516c7e82b8f6166defc73830aabce5d20d75b3103b57973338b8b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fced180379eec872da00c8e7ed568a17a5ef9b13f12851bd5192f2696fbe0c1e3d5feeba36d41f7cffb17c74e9df5d5df276163ae9c30dc2db5418563acc75d
|
7
|
+
data.tar.gz: 353491ecdbdee9b3576affd32949922c99bc566f88eafc90de92d0cb99ed17d2ec14a447084c3b7de4110c4ac0d3a7b8b6bc2b52bcbb28bdbe028b243e8ad128
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.15.0 (2023-09-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for application-wide default job configurations.
|
8
|
+
|
9
|
+
1.14.0 (2023-07-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for publishing application logs to CloudWatch.
|
13
|
+
|
4
14
|
1.13.0 (2023-07-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -480,6 +480,19 @@ module Aws::EMRServerless
|
|
480
480
|
# image details in this parameter for each worker type, or in
|
481
481
|
# `imageConfiguration` for all worker types.
|
482
482
|
#
|
483
|
+
# @option params [Array<Types::Configuration>] :runtime_configuration
|
484
|
+
# The [Configuration][1] specifications to use when creating an
|
485
|
+
# application. Each configuration consists of a classification and
|
486
|
+
# properties. This configuration is applied to all the job runs
|
487
|
+
# submitted under the application.
|
488
|
+
#
|
489
|
+
#
|
490
|
+
#
|
491
|
+
# [1]: https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html
|
492
|
+
#
|
493
|
+
# @option params [Types::MonitoringConfiguration] :monitoring_configuration
|
494
|
+
# The configuration setting for monitoring.
|
495
|
+
#
|
483
496
|
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
484
497
|
#
|
485
498
|
# * {Types::CreateApplicationResponse#application_id #application_id} => String
|
@@ -533,6 +546,36 @@ module Aws::EMRServerless
|
|
533
546
|
# },
|
534
547
|
# },
|
535
548
|
# },
|
549
|
+
# runtime_configuration: [
|
550
|
+
# {
|
551
|
+
# classification: "String1024", # required
|
552
|
+
# properties: {
|
553
|
+
# "String1024" => "String1024",
|
554
|
+
# },
|
555
|
+
# configurations: {
|
556
|
+
# # recursive ConfigurationList
|
557
|
+
# },
|
558
|
+
# },
|
559
|
+
# ],
|
560
|
+
# monitoring_configuration: {
|
561
|
+
# s3_monitoring_configuration: {
|
562
|
+
# log_uri: "UriString",
|
563
|
+
# encryption_key_arn: "EncryptionKeyArn",
|
564
|
+
# },
|
565
|
+
# managed_persistence_monitoring_configuration: {
|
566
|
+
# enabled: false,
|
567
|
+
# encryption_key_arn: "EncryptionKeyArn",
|
568
|
+
# },
|
569
|
+
# cloud_watch_logging_configuration: {
|
570
|
+
# enabled: false, # required
|
571
|
+
# log_group_name: "LogGroupName",
|
572
|
+
# log_stream_name_prefix: "LogStreamNamePrefix",
|
573
|
+
# encryption_key_arn: "EncryptionKeyArn",
|
574
|
+
# log_types: {
|
575
|
+
# "WorkerTypeString" => ["LogTypeString"],
|
576
|
+
# },
|
577
|
+
# },
|
578
|
+
# },
|
536
579
|
# })
|
537
580
|
#
|
538
581
|
# @example Response structure
|
@@ -622,6 +665,22 @@ module Aws::EMRServerless
|
|
622
665
|
# resp.application.worker_type_specifications #=> Hash
|
623
666
|
# resp.application.worker_type_specifications["WorkerTypeString"].image_configuration.image_uri #=> String
|
624
667
|
# resp.application.worker_type_specifications["WorkerTypeString"].image_configuration.resolved_image_digest #=> String
|
668
|
+
# resp.application.runtime_configuration #=> Array
|
669
|
+
# resp.application.runtime_configuration[0].classification #=> String
|
670
|
+
# resp.application.runtime_configuration[0].properties #=> Hash
|
671
|
+
# resp.application.runtime_configuration[0].properties["String1024"] #=> String
|
672
|
+
# resp.application.runtime_configuration[0].configurations #=> Types::ConfigurationList
|
673
|
+
# resp.application.monitoring_configuration.s3_monitoring_configuration.log_uri #=> String
|
674
|
+
# resp.application.monitoring_configuration.s3_monitoring_configuration.encryption_key_arn #=> String
|
675
|
+
# resp.application.monitoring_configuration.managed_persistence_monitoring_configuration.enabled #=> Boolean
|
676
|
+
# resp.application.monitoring_configuration.managed_persistence_monitoring_configuration.encryption_key_arn #=> String
|
677
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.enabled #=> Boolean
|
678
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_group_name #=> String
|
679
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_stream_name_prefix #=> String
|
680
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.encryption_key_arn #=> String
|
681
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types #=> Hash
|
682
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"] #=> Array
|
683
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"][0] #=> String
|
625
684
|
#
|
626
685
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication AWS API Documentation
|
627
686
|
#
|
@@ -632,9 +691,19 @@ module Aws::EMRServerless
|
|
632
691
|
req.send_request(options)
|
633
692
|
end
|
634
693
|
|
635
|
-
#
|
636
|
-
#
|
637
|
-
#
|
694
|
+
# Creates and returns a URL that you can use to access the application
|
695
|
+
# UIs for a job run.
|
696
|
+
#
|
697
|
+
# For jobs in a running state, the application UI is a live user
|
698
|
+
# interface such as the Spark or Tez web UI. For completed jobs, the
|
699
|
+
# application UI is a persistent application user interface such as the
|
700
|
+
# Spark History Server or persistent Tez UI.
|
701
|
+
#
|
702
|
+
# <note markdown="1"> The URL is valid for one hour after you generate it. To access the
|
703
|
+
# application UI after that hour elapses, you must invoke the API again
|
704
|
+
# to generate a new URL.
|
705
|
+
#
|
706
|
+
# </note>
|
638
707
|
#
|
639
708
|
# @option params [required, String] :application_id
|
640
709
|
# The ID of the application.
|
@@ -707,6 +776,13 @@ module Aws::EMRServerless
|
|
707
776
|
# resp.job_run.configuration_overrides.monitoring_configuration.s3_monitoring_configuration.encryption_key_arn #=> String
|
708
777
|
# resp.job_run.configuration_overrides.monitoring_configuration.managed_persistence_monitoring_configuration.enabled #=> Boolean
|
709
778
|
# resp.job_run.configuration_overrides.monitoring_configuration.managed_persistence_monitoring_configuration.encryption_key_arn #=> String
|
779
|
+
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_logging_configuration.enabled #=> Boolean
|
780
|
+
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_logging_configuration.log_group_name #=> String
|
781
|
+
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_logging_configuration.log_stream_name_prefix #=> String
|
782
|
+
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_logging_configuration.encryption_key_arn #=> String
|
783
|
+
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_logging_configuration.log_types #=> Hash
|
784
|
+
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"] #=> Array
|
785
|
+
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"][0] #=> String
|
710
786
|
# resp.job_run.job_driver.spark_submit.entry_point #=> String
|
711
787
|
# resp.job_run.job_driver.spark_submit.entry_point_arguments #=> Array
|
712
788
|
# resp.job_run.job_driver.spark_submit.entry_point_arguments[0] #=> String
|
@@ -986,6 +1062,15 @@ module Aws::EMRServerless
|
|
986
1062
|
# enabled: false,
|
987
1063
|
# encryption_key_arn: "EncryptionKeyArn",
|
988
1064
|
# },
|
1065
|
+
# cloud_watch_logging_configuration: {
|
1066
|
+
# enabled: false, # required
|
1067
|
+
# log_group_name: "LogGroupName",
|
1068
|
+
# log_stream_name_prefix: "LogStreamNamePrefix",
|
1069
|
+
# encryption_key_arn: "EncryptionKeyArn",
|
1070
|
+
# log_types: {
|
1071
|
+
# "WorkerTypeString" => ["LogTypeString"],
|
1072
|
+
# },
|
1073
|
+
# },
|
989
1074
|
# },
|
990
1075
|
# },
|
991
1076
|
# tags: {
|
@@ -1152,6 +1237,19 @@ module Aws::EMRServerless
|
|
1152
1237
|
# The Amazon EMR release label for the application. You can change the
|
1153
1238
|
# release label to use a different release of Amazon EMR.
|
1154
1239
|
#
|
1240
|
+
# @option params [Array<Types::Configuration>] :runtime_configuration
|
1241
|
+
# The [Configuration][1] specifications to use when updating an
|
1242
|
+
# application. Each configuration consists of a classification and
|
1243
|
+
# properties. This configuration is applied across all the job runs
|
1244
|
+
# submitted under the application.
|
1245
|
+
#
|
1246
|
+
#
|
1247
|
+
#
|
1248
|
+
# [1]: https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html
|
1249
|
+
#
|
1250
|
+
# @option params [Types::MonitoringConfiguration] :monitoring_configuration
|
1251
|
+
# The configuration setting for monitoring.
|
1252
|
+
#
|
1155
1253
|
# @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1156
1254
|
#
|
1157
1255
|
# * {Types::UpdateApplicationResponse#application #application} => Types::Application
|
@@ -1199,6 +1297,36 @@ module Aws::EMRServerless
|
|
1199
1297
|
# },
|
1200
1298
|
# },
|
1201
1299
|
# release_label: "ReleaseLabel",
|
1300
|
+
# runtime_configuration: [
|
1301
|
+
# {
|
1302
|
+
# classification: "String1024", # required
|
1303
|
+
# properties: {
|
1304
|
+
# "String1024" => "String1024",
|
1305
|
+
# },
|
1306
|
+
# configurations: {
|
1307
|
+
# # recursive ConfigurationList
|
1308
|
+
# },
|
1309
|
+
# },
|
1310
|
+
# ],
|
1311
|
+
# monitoring_configuration: {
|
1312
|
+
# s3_monitoring_configuration: {
|
1313
|
+
# log_uri: "UriString",
|
1314
|
+
# encryption_key_arn: "EncryptionKeyArn",
|
1315
|
+
# },
|
1316
|
+
# managed_persistence_monitoring_configuration: {
|
1317
|
+
# enabled: false,
|
1318
|
+
# encryption_key_arn: "EncryptionKeyArn",
|
1319
|
+
# },
|
1320
|
+
# cloud_watch_logging_configuration: {
|
1321
|
+
# enabled: false, # required
|
1322
|
+
# log_group_name: "LogGroupName",
|
1323
|
+
# log_stream_name_prefix: "LogStreamNamePrefix",
|
1324
|
+
# encryption_key_arn: "EncryptionKeyArn",
|
1325
|
+
# log_types: {
|
1326
|
+
# "WorkerTypeString" => ["LogTypeString"],
|
1327
|
+
# },
|
1328
|
+
# },
|
1329
|
+
# },
|
1202
1330
|
# })
|
1203
1331
|
#
|
1204
1332
|
# @example Response structure
|
@@ -1235,6 +1363,22 @@ module Aws::EMRServerless
|
|
1235
1363
|
# resp.application.worker_type_specifications #=> Hash
|
1236
1364
|
# resp.application.worker_type_specifications["WorkerTypeString"].image_configuration.image_uri #=> String
|
1237
1365
|
# resp.application.worker_type_specifications["WorkerTypeString"].image_configuration.resolved_image_digest #=> String
|
1366
|
+
# resp.application.runtime_configuration #=> Array
|
1367
|
+
# resp.application.runtime_configuration[0].classification #=> String
|
1368
|
+
# resp.application.runtime_configuration[0].properties #=> Hash
|
1369
|
+
# resp.application.runtime_configuration[0].properties["String1024"] #=> String
|
1370
|
+
# resp.application.runtime_configuration[0].configurations #=> Types::ConfigurationList
|
1371
|
+
# resp.application.monitoring_configuration.s3_monitoring_configuration.log_uri #=> String
|
1372
|
+
# resp.application.monitoring_configuration.s3_monitoring_configuration.encryption_key_arn #=> String
|
1373
|
+
# resp.application.monitoring_configuration.managed_persistence_monitoring_configuration.enabled #=> Boolean
|
1374
|
+
# resp.application.monitoring_configuration.managed_persistence_monitoring_configuration.encryption_key_arn #=> String
|
1375
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.enabled #=> Boolean
|
1376
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_group_name #=> String
|
1377
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_stream_name_prefix #=> String
|
1378
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.encryption_key_arn #=> String
|
1379
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types #=> Hash
|
1380
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"] #=> Array
|
1381
|
+
# resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"][0] #=> String
|
1238
1382
|
#
|
1239
1383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication AWS API Documentation
|
1240
1384
|
#
|
@@ -1258,7 +1402,7 @@ module Aws::EMRServerless
|
|
1258
1402
|
params: params,
|
1259
1403
|
config: config)
|
1260
1404
|
context[:gem_name] = 'aws-sdk-emrserverless'
|
1261
|
-
context[:gem_version] = '1.
|
1405
|
+
context[:gem_version] = '1.15.0'
|
1262
1406
|
Seahorse::Client::Request.new(handlers, context)
|
1263
1407
|
end
|
1264
1408
|
|
@@ -29,6 +29,7 @@ module Aws::EMRServerless
|
|
29
29
|
CancelJobRunRequest = Shapes::StructureShape.new(name: 'CancelJobRunRequest')
|
30
30
|
CancelJobRunResponse = Shapes::StructureShape.new(name: 'CancelJobRunResponse')
|
31
31
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
32
|
+
CloudWatchLoggingConfiguration = Shapes::StructureShape.new(name: 'CloudWatchLoggingConfiguration')
|
32
33
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
33
34
|
ConfigurationList = Shapes::ListShape.new(name: 'ConfigurationList')
|
34
35
|
ConfigurationOverrides = Shapes::StructureShape.new(name: 'ConfigurationOverrides')
|
@@ -82,6 +83,11 @@ module Aws::EMRServerless
|
|
82
83
|
ListJobRunsResponse = Shapes::StructureShape.new(name: 'ListJobRunsResponse')
|
83
84
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
84
85
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
86
|
+
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
87
|
+
LogStreamNamePrefix = Shapes::StringShape.new(name: 'LogStreamNamePrefix')
|
88
|
+
LogTypeList = Shapes::ListShape.new(name: 'LogTypeList')
|
89
|
+
LogTypeMap = Shapes::MapShape.new(name: 'LogTypeMap')
|
90
|
+
LogTypeString = Shapes::StringShape.new(name: 'LogTypeString')
|
85
91
|
ManagedPersistenceMonitoringConfiguration = Shapes::StructureShape.new(name: 'ManagedPersistenceMonitoringConfiguration')
|
86
92
|
MaximumAllowedResources = Shapes::StructureShape.new(name: 'MaximumAllowedResources')
|
87
93
|
MemorySize = Shapes::StringShape.new(name: 'MemorySize')
|
@@ -151,6 +157,8 @@ module Aws::EMRServerless
|
|
151
157
|
Application.add_member(:architecture, Shapes::ShapeRef.new(shape: Architecture, location_name: "architecture"))
|
152
158
|
Application.add_member(:image_configuration, Shapes::ShapeRef.new(shape: ImageConfiguration, location_name: "imageConfiguration"))
|
153
159
|
Application.add_member(:worker_type_specifications, Shapes::ShapeRef.new(shape: WorkerTypeSpecificationMap, location_name: "workerTypeSpecifications"))
|
160
|
+
Application.add_member(:runtime_configuration, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "runtimeConfiguration"))
|
161
|
+
Application.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoringConfiguration"))
|
154
162
|
Application.struct_class = Types::Application
|
155
163
|
|
156
164
|
ApplicationList.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
|
@@ -184,6 +192,13 @@ module Aws::EMRServerless
|
|
184
192
|
CancelJobRunResponse.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location_name: "jobRunId"))
|
185
193
|
CancelJobRunResponse.struct_class = Types::CancelJobRunResponse
|
186
194
|
|
195
|
+
CloudWatchLoggingConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
|
196
|
+
CloudWatchLoggingConfiguration.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
|
197
|
+
CloudWatchLoggingConfiguration.add_member(:log_stream_name_prefix, Shapes::ShapeRef.new(shape: LogStreamNamePrefix, location_name: "logStreamNamePrefix"))
|
198
|
+
CloudWatchLoggingConfiguration.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: EncryptionKeyArn, location_name: "encryptionKeyArn"))
|
199
|
+
CloudWatchLoggingConfiguration.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypeMap, location_name: "logTypes"))
|
200
|
+
CloudWatchLoggingConfiguration.struct_class = Types::CloudWatchLoggingConfiguration
|
201
|
+
|
187
202
|
Configuration.add_member(:classification, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "classification"))
|
188
203
|
Configuration.add_member(:properties, Shapes::ShapeRef.new(shape: SensitivePropertiesMap, location_name: "properties"))
|
189
204
|
Configuration.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "configurations"))
|
@@ -211,6 +226,8 @@ module Aws::EMRServerless
|
|
211
226
|
CreateApplicationRequest.add_member(:architecture, Shapes::ShapeRef.new(shape: Architecture, location_name: "architecture"))
|
212
227
|
CreateApplicationRequest.add_member(:image_configuration, Shapes::ShapeRef.new(shape: ImageConfigurationInput, location_name: "imageConfiguration"))
|
213
228
|
CreateApplicationRequest.add_member(:worker_type_specifications, Shapes::ShapeRef.new(shape: WorkerTypeSpecificationInputMap, location_name: "workerTypeSpecifications"))
|
229
|
+
CreateApplicationRequest.add_member(:runtime_configuration, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "runtimeConfiguration"))
|
230
|
+
CreateApplicationRequest.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoringConfiguration"))
|
214
231
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
215
232
|
|
216
233
|
CreateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
@@ -341,6 +358,11 @@ module Aws::EMRServerless
|
|
341
358
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
342
359
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
343
360
|
|
361
|
+
LogTypeList.member = Shapes::ShapeRef.new(shape: LogTypeString)
|
362
|
+
|
363
|
+
LogTypeMap.key = Shapes::ShapeRef.new(shape: WorkerTypeString)
|
364
|
+
LogTypeMap.value = Shapes::ShapeRef.new(shape: LogTypeList)
|
365
|
+
|
344
366
|
ManagedPersistenceMonitoringConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
345
367
|
ManagedPersistenceMonitoringConfiguration.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: EncryptionKeyArn, location_name: "encryptionKeyArn"))
|
346
368
|
ManagedPersistenceMonitoringConfiguration.struct_class = Types::ManagedPersistenceMonitoringConfiguration
|
@@ -352,6 +374,7 @@ module Aws::EMRServerless
|
|
352
374
|
|
353
375
|
MonitoringConfiguration.add_member(:s3_monitoring_configuration, Shapes::ShapeRef.new(shape: S3MonitoringConfiguration, location_name: "s3MonitoringConfiguration"))
|
354
376
|
MonitoringConfiguration.add_member(:managed_persistence_monitoring_configuration, Shapes::ShapeRef.new(shape: ManagedPersistenceMonitoringConfiguration, location_name: "managedPersistenceMonitoringConfiguration"))
|
377
|
+
MonitoringConfiguration.add_member(:cloud_watch_logging_configuration, Shapes::ShapeRef.new(shape: CloudWatchLoggingConfiguration, location_name: "cloudWatchLoggingConfiguration"))
|
355
378
|
MonitoringConfiguration.struct_class = Types::MonitoringConfiguration
|
356
379
|
|
357
380
|
NetworkConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "subnetIds"))
|
@@ -443,6 +466,8 @@ module Aws::EMRServerless
|
|
443
466
|
UpdateApplicationRequest.add_member(:image_configuration, Shapes::ShapeRef.new(shape: ImageConfigurationInput, location_name: "imageConfiguration"))
|
444
467
|
UpdateApplicationRequest.add_member(:worker_type_specifications, Shapes::ShapeRef.new(shape: WorkerTypeSpecificationInputMap, location_name: "workerTypeSpecifications"))
|
445
468
|
UpdateApplicationRequest.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, location_name: "releaseLabel"))
|
469
|
+
UpdateApplicationRequest.add_member(:runtime_configuration, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "runtimeConfiguration"))
|
470
|
+
UpdateApplicationRequest.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoringConfiguration"))
|
446
471
|
UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
|
447
472
|
|
448
473
|
UpdateApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, required: true, location_name: "application"))
|
@@ -91,6 +91,23 @@ module Aws::EMRServerless
|
|
91
91
|
# The specification applied to each worker type.
|
92
92
|
# @return [Hash<String,Types::WorkerTypeSpecification>]
|
93
93
|
#
|
94
|
+
# @!attribute [rw] runtime_configuration
|
95
|
+
# The [Configuration][1] specifications of an application. Each
|
96
|
+
# configuration consists of a classification and properties. You use
|
97
|
+
# this parameter when creating or updating an application. To see the
|
98
|
+
# runtimeConfiguration object of an application, run the
|
99
|
+
# [GetApplication][2] API operation.
|
100
|
+
#
|
101
|
+
#
|
102
|
+
#
|
103
|
+
# [1]: https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html
|
104
|
+
# [2]: https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_GetApplication.html
|
105
|
+
# @return [Array<Types::Configuration>]
|
106
|
+
#
|
107
|
+
# @!attribute [rw] monitoring_configuration
|
108
|
+
# The configuration setting for monitoring.
|
109
|
+
# @return [Types::MonitoringConfiguration]
|
110
|
+
#
|
94
111
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/Application AWS API Documentation
|
95
112
|
#
|
96
113
|
class Application < Struct.new(
|
@@ -111,7 +128,9 @@ module Aws::EMRServerless
|
|
111
128
|
:network_configuration,
|
112
129
|
:architecture,
|
113
130
|
:image_configuration,
|
114
|
-
:worker_type_specifications
|
131
|
+
:worker_type_specifications,
|
132
|
+
:runtime_configuration,
|
133
|
+
:monitoring_configuration)
|
115
134
|
SENSITIVE = []
|
116
135
|
include Aws::Structure
|
117
136
|
end
|
@@ -248,6 +267,57 @@ module Aws::EMRServerless
|
|
248
267
|
include Aws::Structure
|
249
268
|
end
|
250
269
|
|
270
|
+
# The Amazon CloudWatch configuration for monitoring logs. You can
|
271
|
+
# configure your jobs to send log information to CloudWatch.
|
272
|
+
#
|
273
|
+
# @!attribute [rw] enabled
|
274
|
+
# Enables CloudWatch logging.
|
275
|
+
# @return [Boolean]
|
276
|
+
#
|
277
|
+
# @!attribute [rw] log_group_name
|
278
|
+
# The name of the log group in Amazon CloudWatch Logs where you want
|
279
|
+
# to publish your logs.
|
280
|
+
# @return [String]
|
281
|
+
#
|
282
|
+
# @!attribute [rw] log_stream_name_prefix
|
283
|
+
# Prefix for the CloudWatch log stream name.
|
284
|
+
# @return [String]
|
285
|
+
#
|
286
|
+
# @!attribute [rw] encryption_key_arn
|
287
|
+
# The Key Management Service (KMS) key ARN to encrypt the logs that
|
288
|
+
# you store in CloudWatch Logs.
|
289
|
+
# @return [String]
|
290
|
+
#
|
291
|
+
# @!attribute [rw] log_types
|
292
|
+
# The types of logs that you want to publish to CloudWatch. If you
|
293
|
+
# don't specify any log types, driver STDOUT and STDERR logs will be
|
294
|
+
# published to CloudWatch Logs by default. For more information
|
295
|
+
# including the supported worker types for Hive and Spark, see
|
296
|
+
# [Logging for EMR Serverless with CloudWatch][1].
|
297
|
+
#
|
298
|
+
# * **Key Valid Values**: `SPARK_DRIVER`, `SPARK_EXECUTOR`,
|
299
|
+
# `HIVE_DRIVER`, `TEZ_TASK`
|
300
|
+
#
|
301
|
+
# * **Array Members Valid Values**: `STDOUT`, `STDERR`, `HIVE_LOG`,
|
302
|
+
# `TEZ_AM`, `SYSTEM_LOGS`
|
303
|
+
#
|
304
|
+
#
|
305
|
+
#
|
306
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/logging.html#jobs-log-storage-cw
|
307
|
+
# @return [Hash<String,Array<String>>]
|
308
|
+
#
|
309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CloudWatchLoggingConfiguration AWS API Documentation
|
310
|
+
#
|
311
|
+
class CloudWatchLoggingConfiguration < Struct.new(
|
312
|
+
:enabled,
|
313
|
+
:log_group_name,
|
314
|
+
:log_stream_name_prefix,
|
315
|
+
:encryption_key_arn,
|
316
|
+
:log_types)
|
317
|
+
SENSITIVE = []
|
318
|
+
include Aws::Structure
|
319
|
+
end
|
320
|
+
|
251
321
|
# A configuration specification to be used when provisioning an
|
252
322
|
# application. A configuration consists of a classification, properties,
|
253
323
|
# and optional nested configurations. A classification refers to an
|
@@ -380,6 +450,21 @@ module Aws::EMRServerless
|
|
380
450
|
# `imageConfiguration` for all worker types.
|
381
451
|
# @return [Hash<String,Types::WorkerTypeSpecificationInput>]
|
382
452
|
#
|
453
|
+
# @!attribute [rw] runtime_configuration
|
454
|
+
# The [Configuration][1] specifications to use when creating an
|
455
|
+
# application. Each configuration consists of a classification and
|
456
|
+
# properties. This configuration is applied to all the job runs
|
457
|
+
# submitted under the application.
|
458
|
+
#
|
459
|
+
#
|
460
|
+
#
|
461
|
+
# [1]: https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html
|
462
|
+
# @return [Array<Types::Configuration>]
|
463
|
+
#
|
464
|
+
# @!attribute [rw] monitoring_configuration
|
465
|
+
# The configuration setting for monitoring.
|
466
|
+
# @return [Types::MonitoringConfiguration]
|
467
|
+
#
|
383
468
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CreateApplicationRequest AWS API Documentation
|
384
469
|
#
|
385
470
|
class CreateApplicationRequest < Struct.new(
|
@@ -395,7 +480,9 @@ module Aws::EMRServerless
|
|
395
480
|
:network_configuration,
|
396
481
|
:architecture,
|
397
482
|
:image_configuration,
|
398
|
-
:worker_type_specifications
|
483
|
+
:worker_type_specifications,
|
484
|
+
:runtime_configuration,
|
485
|
+
:monitoring_configuration)
|
399
486
|
SENSITIVE = []
|
400
487
|
include Aws::Structure
|
401
488
|
end
|
@@ -1014,11 +1101,17 @@ module Aws::EMRServerless
|
|
1014
1101
|
# The managed log persistence configuration for a job run.
|
1015
1102
|
# @return [Types::ManagedPersistenceMonitoringConfiguration]
|
1016
1103
|
#
|
1104
|
+
# @!attribute [rw] cloud_watch_logging_configuration
|
1105
|
+
# The Amazon CloudWatch configuration for monitoring logs. You can
|
1106
|
+
# configure your jobs to send log information to CloudWatch.
|
1107
|
+
# @return [Types::CloudWatchLoggingConfiguration]
|
1108
|
+
#
|
1017
1109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/MonitoringConfiguration AWS API Documentation
|
1018
1110
|
#
|
1019
1111
|
class MonitoringConfiguration < Struct.new(
|
1020
1112
|
:s3_monitoring_configuration,
|
1021
|
-
:managed_persistence_monitoring_configuration
|
1113
|
+
:managed_persistence_monitoring_configuration,
|
1114
|
+
:cloud_watch_logging_configuration)
|
1022
1115
|
SENSITIVE = []
|
1023
1116
|
include Aws::Structure
|
1024
1117
|
end
|
@@ -1385,6 +1478,21 @@ module Aws::EMRServerless
|
|
1385
1478
|
# release label to use a different release of Amazon EMR.
|
1386
1479
|
# @return [String]
|
1387
1480
|
#
|
1481
|
+
# @!attribute [rw] runtime_configuration
|
1482
|
+
# The [Configuration][1] specifications to use when updating an
|
1483
|
+
# application. Each configuration consists of a classification and
|
1484
|
+
# properties. This configuration is applied across all the job runs
|
1485
|
+
# submitted under the application.
|
1486
|
+
#
|
1487
|
+
#
|
1488
|
+
#
|
1489
|
+
# [1]: https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html
|
1490
|
+
# @return [Array<Types::Configuration>]
|
1491
|
+
#
|
1492
|
+
# @!attribute [rw] monitoring_configuration
|
1493
|
+
# The configuration setting for monitoring.
|
1494
|
+
# @return [Types::MonitoringConfiguration]
|
1495
|
+
#
|
1388
1496
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplicationRequest AWS API Documentation
|
1389
1497
|
#
|
1390
1498
|
class UpdateApplicationRequest < Struct.new(
|
@@ -1398,7 +1506,9 @@ module Aws::EMRServerless
|
|
1398
1506
|
:architecture,
|
1399
1507
|
:image_configuration,
|
1400
1508
|
:worker_type_specifications,
|
1401
|
-
:release_label
|
1509
|
+
:release_label,
|
1510
|
+
:runtime_configuration,
|
1511
|
+
:monitoring_configuration)
|
1402
1512
|
SENSITIVE = []
|
1403
1513
|
include Aws::Structure
|
1404
1514
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-emrserverless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.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: 2023-
|
11
|
+
date: 2023-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|