aws-sdk-emrserverless 1.34.0 → 1.36.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 +28 -7
- data/lib/aws-sdk-emrserverless/client_api.rb +15 -1
- data/lib/aws-sdk-emrserverless/types.rb +62 -4
- data/lib/aws-sdk-emrserverless.rb +15 -11
- data/sig/client.rbs +9 -1
- data/sig/types.rbs +16 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3debb660294b0c5b02d03b15e12c30c5d8eaa5b46b60369e50f50b9b9f74f16c
|
4
|
+
data.tar.gz: 74b440c7df374126d80753daa99a1ed738a2f7ef7958488d3cbfbee77163cd1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7de8cd0d5baeda5137453483488659a08544052a221da5436e89d3aab99a61dd52df770065a02d7cd2bc2e8aa364bb3a02ad354f1191fa468de727c2c8e877a
|
7
|
+
data.tar.gz: f621fdabf1b8219b7b182da945d2d5049e3f85c35131c6ba07464c64ed062e0560df95c6f4fbb27da645da34a80302370d5f20ab864e1a3e69fb0d4450298a14
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.36.0 (2024-09-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.35.0 (2024-09-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for job concurrency and queuing configuration at Application level.
|
13
|
+
|
4
14
|
1.34.0 (2024-09-20)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.36.0
|
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
37
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
38
38
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:emrserverless)
|
40
|
-
|
41
39
|
module Aws::EMRServerless
|
42
40
|
# An API client for EMRServerless. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
41
|
#
|
@@ -558,6 +556,10 @@ module Aws::EMRServerless
|
|
558
556
|
# The interactive configuration object that enables the interactive use
|
559
557
|
# cases to use when running an application.
|
560
558
|
#
|
559
|
+
# @option params [Types::SchedulerConfiguration] :scheduler_configuration
|
560
|
+
# The scheduler configuration for batch and streaming jobs running on
|
561
|
+
# this application. Supported with release labels emr-7.0.0 and above.
|
562
|
+
#
|
561
563
|
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
562
564
|
#
|
563
565
|
# * {Types::CreateApplicationResponse#application_id #application_id} => String
|
@@ -649,6 +651,10 @@ module Aws::EMRServerless
|
|
649
651
|
# studio_enabled: false,
|
650
652
|
# livy_endpoint_enabled: false,
|
651
653
|
# },
|
654
|
+
# scheduler_configuration: {
|
655
|
+
# queue_timeout_minutes: 1,
|
656
|
+
# max_concurrent_runs: 1,
|
657
|
+
# },
|
652
658
|
# })
|
653
659
|
#
|
654
660
|
# @example Response structure
|
@@ -758,6 +764,8 @@ module Aws::EMRServerless
|
|
758
764
|
# resp.application.monitoring_configuration.prometheus_monitoring_configuration.remote_write_url #=> String
|
759
765
|
# resp.application.interactive_configuration.studio_enabled #=> Boolean
|
760
766
|
# resp.application.interactive_configuration.livy_endpoint_enabled #=> Boolean
|
767
|
+
# resp.application.scheduler_configuration.queue_timeout_minutes #=> Integer
|
768
|
+
# resp.application.scheduler_configuration.max_concurrent_runs #=> Integer
|
761
769
|
#
|
762
770
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication AWS API Documentation
|
763
771
|
#
|
@@ -853,7 +861,7 @@ module Aws::EMRServerless
|
|
853
861
|
# resp.job_run.created_at #=> Time
|
854
862
|
# resp.job_run.updated_at #=> Time
|
855
863
|
# resp.job_run.execution_role #=> String
|
856
|
-
# resp.job_run.state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED"
|
864
|
+
# resp.job_run.state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED", "QUEUED"
|
857
865
|
# resp.job_run.state_details #=> String
|
858
866
|
# resp.job_run.release_label #=> String
|
859
867
|
# resp.job_run.configuration_overrides.application_configuration #=> Array
|
@@ -900,6 +908,9 @@ module Aws::EMRServerless
|
|
900
908
|
# resp.job_run.attempt #=> Integer
|
901
909
|
# resp.job_run.attempt_created_at #=> Time
|
902
910
|
# resp.job_run.attempt_updated_at #=> Time
|
911
|
+
# resp.job_run.started_at #=> Time
|
912
|
+
# resp.job_run.ended_at #=> Time
|
913
|
+
# resp.job_run.queued_duration_milliseconds #=> Integer
|
903
914
|
#
|
904
915
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetJobRun AWS API Documentation
|
905
916
|
#
|
@@ -1005,7 +1016,7 @@ module Aws::EMRServerless
|
|
1005
1016
|
# resp.job_run_attempts[0].created_at #=> Time
|
1006
1017
|
# resp.job_run_attempts[0].updated_at #=> Time
|
1007
1018
|
# resp.job_run_attempts[0].execution_role #=> String
|
1008
|
-
# resp.job_run_attempts[0].state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED"
|
1019
|
+
# resp.job_run_attempts[0].state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED", "QUEUED"
|
1009
1020
|
# resp.job_run_attempts[0].state_details #=> String
|
1010
1021
|
# resp.job_run_attempts[0].release_label #=> String
|
1011
1022
|
# resp.job_run_attempts[0].type #=> String
|
@@ -1061,7 +1072,7 @@ module Aws::EMRServerless
|
|
1061
1072
|
# max_results: 1,
|
1062
1073
|
# created_at_after: Time.now,
|
1063
1074
|
# created_at_before: Time.now,
|
1064
|
-
# states: ["SUBMITTED"], # accepts SUBMITTED, PENDING, SCHEDULED, RUNNING, SUCCESS, FAILED, CANCELLING, CANCELLED
|
1075
|
+
# states: ["SUBMITTED"], # accepts SUBMITTED, PENDING, SCHEDULED, RUNNING, SUCCESS, FAILED, CANCELLING, CANCELLED, QUEUED
|
1065
1076
|
# mode: "BATCH", # accepts BATCH, STREAMING
|
1066
1077
|
# })
|
1067
1078
|
#
|
@@ -1077,7 +1088,7 @@ module Aws::EMRServerless
|
|
1077
1088
|
# resp.job_runs[0].created_at #=> Time
|
1078
1089
|
# resp.job_runs[0].updated_at #=> Time
|
1079
1090
|
# resp.job_runs[0].execution_role #=> String
|
1080
|
-
# resp.job_runs[0].state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED"
|
1091
|
+
# resp.job_runs[0].state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED", "QUEUED"
|
1081
1092
|
# resp.job_runs[0].state_details #=> String
|
1082
1093
|
# resp.job_runs[0].release_label #=> String
|
1083
1094
|
# resp.job_runs[0].type #=> String
|
@@ -1431,6 +1442,10 @@ module Aws::EMRServerless
|
|
1431
1442
|
# @option params [Types::MonitoringConfiguration] :monitoring_configuration
|
1432
1443
|
# The configuration setting for monitoring.
|
1433
1444
|
#
|
1445
|
+
# @option params [Types::SchedulerConfiguration] :scheduler_configuration
|
1446
|
+
# The scheduler configuration for batch and streaming jobs running on
|
1447
|
+
# this application. Supported with release labels emr-7.0.0 and above.
|
1448
|
+
#
|
1434
1449
|
# @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1435
1450
|
#
|
1436
1451
|
# * {Types::UpdateApplicationResponse#application #application} => Types::Application
|
@@ -1516,6 +1531,10 @@ module Aws::EMRServerless
|
|
1516
1531
|
# remote_write_url: "PrometheusUrlString",
|
1517
1532
|
# },
|
1518
1533
|
# },
|
1534
|
+
# scheduler_configuration: {
|
1535
|
+
# queue_timeout_minutes: 1,
|
1536
|
+
# max_concurrent_runs: 1,
|
1537
|
+
# },
|
1519
1538
|
# })
|
1520
1539
|
#
|
1521
1540
|
# @example Response structure
|
@@ -1572,6 +1591,8 @@ module Aws::EMRServerless
|
|
1572
1591
|
# resp.application.monitoring_configuration.prometheus_monitoring_configuration.remote_write_url #=> String
|
1573
1592
|
# resp.application.interactive_configuration.studio_enabled #=> Boolean
|
1574
1593
|
# resp.application.interactive_configuration.livy_endpoint_enabled #=> Boolean
|
1594
|
+
# resp.application.scheduler_configuration.queue_timeout_minutes #=> Integer
|
1595
|
+
# resp.application.scheduler_configuration.max_concurrent_runs #=> Integer
|
1575
1596
|
#
|
1576
1597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication AWS API Documentation
|
1577
1598
|
#
|
@@ -1600,7 +1621,7 @@ module Aws::EMRServerless
|
|
1600
1621
|
tracer: tracer
|
1601
1622
|
)
|
1602
1623
|
context[:gem_name] = 'aws-sdk-emrserverless'
|
1603
|
-
context[:gem_version] = '1.
|
1624
|
+
context[:gem_version] = '1.36.0'
|
1604
1625
|
Seahorse::Client::Request.new(handlers, context)
|
1605
1626
|
end
|
1606
1627
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
module Aws::EMRServerless
|
11
12
|
# @api private
|
12
13
|
module ClientApi
|
@@ -99,6 +100,7 @@ module Aws::EMRServerless
|
|
99
100
|
LogTypeList = Shapes::ListShape.new(name: 'LogTypeList')
|
100
101
|
LogTypeMap = Shapes::MapShape.new(name: 'LogTypeMap')
|
101
102
|
LogTypeString = Shapes::StringShape.new(name: 'LogTypeString')
|
103
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
102
104
|
ManagedPersistenceMonitoringConfiguration = Shapes::StructureShape.new(name: 'ManagedPersistenceMonitoringConfiguration')
|
103
105
|
MaximumAllowedResources = Shapes::StructureShape.new(name: 'MaximumAllowedResources')
|
104
106
|
MemorySize = Shapes::StringShape.new(name: 'MemorySize')
|
@@ -116,6 +118,7 @@ module Aws::EMRServerless
|
|
116
118
|
RetryPolicy = Shapes::StructureShape.new(name: 'RetryPolicy')
|
117
119
|
RetryPolicyMaxFailedAttemptsPerHourInteger = Shapes::IntegerShape.new(name: 'RetryPolicyMaxFailedAttemptsPerHourInteger')
|
118
120
|
S3MonitoringConfiguration = Shapes::StructureShape.new(name: 'S3MonitoringConfiguration')
|
121
|
+
SchedulerConfiguration = Shapes::StructureShape.new(name: 'SchedulerConfiguration')
|
119
122
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
120
123
|
SecurityGroupString = Shapes::StringShape.new(name: 'SecurityGroupString')
|
121
124
|
SensitivePropertiesMap = Shapes::MapShape.new(name: 'SensitivePropertiesMap')
|
@@ -175,6 +178,7 @@ module Aws::EMRServerless
|
|
175
178
|
Application.add_member(:runtime_configuration, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "runtimeConfiguration"))
|
176
179
|
Application.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoringConfiguration"))
|
177
180
|
Application.add_member(:interactive_configuration, Shapes::ShapeRef.new(shape: InteractiveConfiguration, location_name: "interactiveConfiguration"))
|
181
|
+
Application.add_member(:scheduler_configuration, Shapes::ShapeRef.new(shape: SchedulerConfiguration, location_name: "schedulerConfiguration"))
|
178
182
|
Application.struct_class = Types::Application
|
179
183
|
|
180
184
|
ApplicationList.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
|
@@ -245,6 +249,7 @@ module Aws::EMRServerless
|
|
245
249
|
CreateApplicationRequest.add_member(:runtime_configuration, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "runtimeConfiguration"))
|
246
250
|
CreateApplicationRequest.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoringConfiguration"))
|
247
251
|
CreateApplicationRequest.add_member(:interactive_configuration, Shapes::ShapeRef.new(shape: InteractiveConfiguration, location_name: "interactiveConfiguration"))
|
252
|
+
CreateApplicationRequest.add_member(:scheduler_configuration, Shapes::ShapeRef.new(shape: SchedulerConfiguration, location_name: "schedulerConfiguration"))
|
248
253
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
249
254
|
|
250
255
|
CreateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
@@ -339,6 +344,9 @@ module Aws::EMRServerless
|
|
339
344
|
JobRun.add_member(:attempt, Shapes::ShapeRef.new(shape: AttemptNumber, location_name: "attempt"))
|
340
345
|
JobRun.add_member(:attempt_created_at, Shapes::ShapeRef.new(shape: Date, location_name: "attemptCreatedAt"))
|
341
346
|
JobRun.add_member(:attempt_updated_at, Shapes::ShapeRef.new(shape: Date, location_name: "attemptUpdatedAt"))
|
347
|
+
JobRun.add_member(:started_at, Shapes::ShapeRef.new(shape: Date, location_name: "startedAt"))
|
348
|
+
JobRun.add_member(:ended_at, Shapes::ShapeRef.new(shape: Date, location_name: "endedAt"))
|
349
|
+
JobRun.add_member(:queued_duration_milliseconds, Shapes::ShapeRef.new(shape: Long, location_name: "queuedDurationMilliseconds"))
|
342
350
|
JobRun.struct_class = Types::JobRun
|
343
351
|
|
344
352
|
JobRunAttemptSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
@@ -463,6 +471,10 @@ module Aws::EMRServerless
|
|
463
471
|
S3MonitoringConfiguration.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: EncryptionKeyArn, location_name: "encryptionKeyArn"))
|
464
472
|
S3MonitoringConfiguration.struct_class = Types::S3MonitoringConfiguration
|
465
473
|
|
474
|
+
SchedulerConfiguration.add_member(:queue_timeout_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "queueTimeoutMinutes"))
|
475
|
+
SchedulerConfiguration.add_member(:max_concurrent_runs, Shapes::ShapeRef.new(shape: Integer, location_name: "maxConcurrentRuns"))
|
476
|
+
SchedulerConfiguration.struct_class = Types::SchedulerConfiguration
|
477
|
+
|
466
478
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupString)
|
467
479
|
|
468
480
|
SensitivePropertiesMap.key = Shapes::ShapeRef.new(shape: ConfigurationPropertyKey)
|
@@ -541,6 +553,7 @@ module Aws::EMRServerless
|
|
541
553
|
UpdateApplicationRequest.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, location_name: "releaseLabel"))
|
542
554
|
UpdateApplicationRequest.add_member(:runtime_configuration, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "runtimeConfiguration"))
|
543
555
|
UpdateApplicationRequest.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoringConfiguration"))
|
556
|
+
UpdateApplicationRequest.add_member(:scheduler_configuration, Shapes::ShapeRef.new(shape: SchedulerConfiguration, location_name: "schedulerConfiguration"))
|
544
557
|
UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
|
545
558
|
|
546
559
|
UpdateApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, required: true, location_name: "application"))
|
@@ -575,9 +588,10 @@ module Aws::EMRServerless
|
|
575
588
|
|
576
589
|
api.metadata = {
|
577
590
|
"apiVersion" => "2021-07-13",
|
591
|
+
"auth" => ["aws.auth#sigv4"],
|
578
592
|
"endpointPrefix" => "emr-serverless",
|
579
|
-
"jsonVersion" => "1.1",
|
580
593
|
"protocol" => "rest-json",
|
594
|
+
"protocols" => ["rest-json"],
|
581
595
|
"serviceFullName" => "EMR Serverless",
|
582
596
|
"serviceId" => "EMR Serverless",
|
583
597
|
"signatureVersion" => "v4",
|
@@ -113,6 +113,11 @@ module Aws::EMRServerless
|
|
113
113
|
# use cases for an application.
|
114
114
|
# @return [Types::InteractiveConfiguration]
|
115
115
|
#
|
116
|
+
# @!attribute [rw] scheduler_configuration
|
117
|
+
# The scheduler configuration for batch and streaming jobs running on
|
118
|
+
# this application. Supported with release labels emr-7.0.0 and above.
|
119
|
+
# @return [Types::SchedulerConfiguration]
|
120
|
+
#
|
116
121
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/Application AWS API Documentation
|
117
122
|
#
|
118
123
|
class Application < Struct.new(
|
@@ -136,7 +141,8 @@ module Aws::EMRServerless
|
|
136
141
|
:worker_type_specifications,
|
137
142
|
:runtime_configuration,
|
138
143
|
:monitoring_configuration,
|
139
|
-
:interactive_configuration
|
144
|
+
:interactive_configuration,
|
145
|
+
:scheduler_configuration)
|
140
146
|
SENSITIVE = []
|
141
147
|
include Aws::Structure
|
142
148
|
end
|
@@ -476,6 +482,11 @@ module Aws::EMRServerless
|
|
476
482
|
# use cases to use when running an application.
|
477
483
|
# @return [Types::InteractiveConfiguration]
|
478
484
|
#
|
485
|
+
# @!attribute [rw] scheduler_configuration
|
486
|
+
# The scheduler configuration for batch and streaming jobs running on
|
487
|
+
# this application. Supported with release labels emr-7.0.0 and above.
|
488
|
+
# @return [Types::SchedulerConfiguration]
|
489
|
+
#
|
479
490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CreateApplicationRequest AWS API Documentation
|
480
491
|
#
|
481
492
|
class CreateApplicationRequest < Struct.new(
|
@@ -494,7 +505,8 @@ module Aws::EMRServerless
|
|
494
505
|
:worker_type_specifications,
|
495
506
|
:runtime_configuration,
|
496
507
|
:monitoring_configuration,
|
497
|
-
:interactive_configuration
|
508
|
+
:interactive_configuration,
|
509
|
+
:scheduler_configuration)
|
498
510
|
SENSITIVE = []
|
499
511
|
include Aws::Structure
|
500
512
|
end
|
@@ -890,6 +902,18 @@ module Aws::EMRServerless
|
|
890
902
|
# The date and time of when the job run attempt was last updated.
|
891
903
|
# @return [Time]
|
892
904
|
#
|
905
|
+
# @!attribute [rw] started_at
|
906
|
+
# The date and time when the job moved to the RUNNING state.
|
907
|
+
# @return [Time]
|
908
|
+
#
|
909
|
+
# @!attribute [rw] ended_at
|
910
|
+
# The date and time when the job was terminated.
|
911
|
+
# @return [Time]
|
912
|
+
#
|
913
|
+
# @!attribute [rw] queued_duration_milliseconds
|
914
|
+
# The total time for a job in the QUEUED state in milliseconds.
|
915
|
+
# @return [Integer]
|
916
|
+
#
|
893
917
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/JobRun AWS API Documentation
|
894
918
|
#
|
895
919
|
class JobRun < Struct.new(
|
@@ -916,7 +940,10 @@ module Aws::EMRServerless
|
|
916
940
|
:retry_policy,
|
917
941
|
:attempt,
|
918
942
|
:attempt_created_at,
|
919
|
-
:attempt_updated_at
|
943
|
+
:attempt_updated_at,
|
944
|
+
:started_at,
|
945
|
+
:ended_at,
|
946
|
+
:queued_duration_milliseconds)
|
920
947
|
SENSITIVE = []
|
921
948
|
include Aws::Structure
|
922
949
|
end
|
@@ -1468,6 +1495,30 @@ module Aws::EMRServerless
|
|
1468
1495
|
include Aws::Structure
|
1469
1496
|
end
|
1470
1497
|
|
1498
|
+
# The scheduler configuration for batch and streaming jobs running on
|
1499
|
+
# this application. Supported with release labels emr-7.0.0 and above.
|
1500
|
+
#
|
1501
|
+
# @!attribute [rw] queue_timeout_minutes
|
1502
|
+
# The maximum duration in minutes for the job in QUEUED state. If
|
1503
|
+
# scheduler configuration is enabled on your application, the default
|
1504
|
+
# value is 360 minutes (6 hours). The valid range is from 15 to 720.
|
1505
|
+
# @return [Integer]
|
1506
|
+
#
|
1507
|
+
# @!attribute [rw] max_concurrent_runs
|
1508
|
+
# The maximum concurrent job runs on this application. If scheduler
|
1509
|
+
# configuration is enabled on your application, the default value is
|
1510
|
+
# 15. The valid range is 1 to 1000.
|
1511
|
+
# @return [Integer]
|
1512
|
+
#
|
1513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/SchedulerConfiguration AWS API Documentation
|
1514
|
+
#
|
1515
|
+
class SchedulerConfiguration < Struct.new(
|
1516
|
+
:queue_timeout_minutes,
|
1517
|
+
:max_concurrent_runs)
|
1518
|
+
SENSITIVE = []
|
1519
|
+
include Aws::Structure
|
1520
|
+
end
|
1521
|
+
|
1471
1522
|
# The maximum number of resources per account has been reached.
|
1472
1523
|
#
|
1473
1524
|
# @!attribute [rw] message
|
@@ -1780,6 +1831,11 @@ module Aws::EMRServerless
|
|
1780
1831
|
# The configuration setting for monitoring.
|
1781
1832
|
# @return [Types::MonitoringConfiguration]
|
1782
1833
|
#
|
1834
|
+
# @!attribute [rw] scheduler_configuration
|
1835
|
+
# The scheduler configuration for batch and streaming jobs running on
|
1836
|
+
# this application. Supported with release labels emr-7.0.0 and above.
|
1837
|
+
# @return [Types::SchedulerConfiguration]
|
1838
|
+
#
|
1783
1839
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplicationRequest AWS API Documentation
|
1784
1840
|
#
|
1785
1841
|
class UpdateApplicationRequest < Struct.new(
|
@@ -1796,7 +1852,8 @@ module Aws::EMRServerless
|
|
1796
1852
|
:interactive_configuration,
|
1797
1853
|
:release_label,
|
1798
1854
|
:runtime_configuration,
|
1799
|
-
:monitoring_configuration
|
1855
|
+
:monitoring_configuration,
|
1856
|
+
:scheduler_configuration)
|
1800
1857
|
SENSITIVE = []
|
1801
1858
|
include Aws::Structure
|
1802
1859
|
end
|
@@ -1890,3 +1947,4 @@ module Aws::EMRServerless
|
|
1890
1947
|
|
1891
1948
|
end
|
1892
1949
|
end
|
1950
|
+
|
@@ -11,16 +11,7 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
|
15
|
-
require_relative 'aws-sdk-emrserverless/client_api'
|
16
|
-
require_relative 'aws-sdk-emrserverless/plugins/endpoints.rb'
|
17
|
-
require_relative 'aws-sdk-emrserverless/client'
|
18
|
-
require_relative 'aws-sdk-emrserverless/errors'
|
19
|
-
require_relative 'aws-sdk-emrserverless/resource'
|
20
|
-
require_relative 'aws-sdk-emrserverless/endpoint_parameters'
|
21
|
-
require_relative 'aws-sdk-emrserverless/endpoint_provider'
|
22
|
-
require_relative 'aws-sdk-emrserverless/endpoints'
|
23
|
-
require_relative 'aws-sdk-emrserverless/customizations'
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:emrserverless)
|
24
15
|
|
25
16
|
# This module provides support for EMR Serverless. This module is available in the
|
26
17
|
# `aws-sdk-emrserverless` gem.
|
@@ -51,7 +42,20 @@ require_relative 'aws-sdk-emrserverless/customizations'
|
|
51
42
|
#
|
52
43
|
# @!group service
|
53
44
|
module Aws::EMRServerless
|
45
|
+
autoload :Types, 'aws-sdk-emrserverless/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-emrserverless/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-emrserverless/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-emrserverless/client'
|
51
|
+
autoload :Errors, 'aws-sdk-emrserverless/errors'
|
52
|
+
autoload :Resource, 'aws-sdk-emrserverless/resource'
|
53
|
+
autoload :EndpointParameters, 'aws-sdk-emrserverless/endpoint_parameters'
|
54
|
+
autoload :EndpointProvider, 'aws-sdk-emrserverless/endpoint_provider'
|
55
|
+
autoload :Endpoints, 'aws-sdk-emrserverless/endpoints'
|
54
56
|
|
55
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.36.0'
|
56
58
|
|
57
59
|
end
|
60
|
+
|
61
|
+
require_relative 'aws-sdk-emrserverless/customizations'
|
data/sig/client.rbs
CHANGED
@@ -164,6 +164,10 @@ module Aws
|
|
164
164
|
?interactive_configuration: {
|
165
165
|
studio_enabled: bool?,
|
166
166
|
livy_endpoint_enabled: bool?
|
167
|
+
},
|
168
|
+
?scheduler_configuration: {
|
169
|
+
queue_timeout_minutes: ::Integer?,
|
170
|
+
max_concurrent_runs: ::Integer?
|
167
171
|
}
|
168
172
|
) -> _CreateApplicationResponseSuccess
|
169
173
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
|
@@ -250,7 +254,7 @@ module Aws
|
|
250
254
|
?max_results: ::Integer,
|
251
255
|
?created_at_after: ::Time,
|
252
256
|
?created_at_before: ::Time,
|
253
|
-
?states: Array[("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")],
|
257
|
+
?states: Array[("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED" | "QUEUED")],
|
254
258
|
?mode: ("BATCH" | "STREAMING")
|
255
259
|
) -> _ListJobRunsResponseSuccess
|
256
260
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobRunsResponseSuccess
|
@@ -439,6 +443,10 @@ module Aws
|
|
439
443
|
prometheus_monitoring_configuration: {
|
440
444
|
remote_write_url: ::String?
|
441
445
|
}?
|
446
|
+
},
|
447
|
+
?scheduler_configuration: {
|
448
|
+
queue_timeout_minutes: ::Integer?,
|
449
|
+
max_concurrent_runs: ::Integer?
|
442
450
|
}
|
443
451
|
) -> _UpdateApplicationResponseSuccess
|
444
452
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -30,6 +30,7 @@ module Aws::EMRServerless
|
|
30
30
|
attr_accessor runtime_configuration: ::Array[Types::Configuration]
|
31
31
|
attr_accessor monitoring_configuration: Types::MonitoringConfiguration
|
32
32
|
attr_accessor interactive_configuration: Types::InteractiveConfiguration
|
33
|
+
attr_accessor scheduler_configuration: Types::SchedulerConfiguration
|
33
34
|
SENSITIVE: []
|
34
35
|
end
|
35
36
|
|
@@ -114,6 +115,7 @@ module Aws::EMRServerless
|
|
114
115
|
attr_accessor runtime_configuration: ::Array[Types::Configuration]
|
115
116
|
attr_accessor monitoring_configuration: Types::MonitoringConfiguration
|
116
117
|
attr_accessor interactive_configuration: Types::InteractiveConfiguration
|
118
|
+
attr_accessor scheduler_configuration: Types::SchedulerConfiguration
|
117
119
|
SENSITIVE: []
|
118
120
|
end
|
119
121
|
|
@@ -224,7 +226,7 @@ module Aws::EMRServerless
|
|
224
226
|
attr_accessor created_at: ::Time
|
225
227
|
attr_accessor updated_at: ::Time
|
226
228
|
attr_accessor execution_role: ::String
|
227
|
-
attr_accessor state: ("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")
|
229
|
+
attr_accessor state: ("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED" | "QUEUED")
|
228
230
|
attr_accessor state_details: ::String
|
229
231
|
attr_accessor release_label: ::String
|
230
232
|
attr_accessor configuration_overrides: Types::ConfigurationOverrides
|
@@ -240,6 +242,9 @@ module Aws::EMRServerless
|
|
240
242
|
attr_accessor attempt: ::Integer
|
241
243
|
attr_accessor attempt_created_at: ::Time
|
242
244
|
attr_accessor attempt_updated_at: ::Time
|
245
|
+
attr_accessor started_at: ::Time
|
246
|
+
attr_accessor ended_at: ::Time
|
247
|
+
attr_accessor queued_duration_milliseconds: ::Integer
|
243
248
|
SENSITIVE: []
|
244
249
|
end
|
245
250
|
|
@@ -254,7 +259,7 @@ module Aws::EMRServerless
|
|
254
259
|
attr_accessor created_at: ::Time
|
255
260
|
attr_accessor updated_at: ::Time
|
256
261
|
attr_accessor execution_role: ::String
|
257
|
-
attr_accessor state: ("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")
|
262
|
+
attr_accessor state: ("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED" | "QUEUED")
|
258
263
|
attr_accessor state_details: ::String
|
259
264
|
attr_accessor release_label: ::String
|
260
265
|
attr_accessor type: ::String
|
@@ -272,7 +277,7 @@ module Aws::EMRServerless
|
|
272
277
|
attr_accessor created_at: ::Time
|
273
278
|
attr_accessor updated_at: ::Time
|
274
279
|
attr_accessor execution_role: ::String
|
275
|
-
attr_accessor state: ("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")
|
280
|
+
attr_accessor state: ("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED" | "QUEUED")
|
276
281
|
attr_accessor state_details: ::String
|
277
282
|
attr_accessor release_label: ::String
|
278
283
|
attr_accessor type: ::String
|
@@ -315,7 +320,7 @@ module Aws::EMRServerless
|
|
315
320
|
attr_accessor max_results: ::Integer
|
316
321
|
attr_accessor created_at_after: ::Time
|
317
322
|
attr_accessor created_at_before: ::Time
|
318
|
-
attr_accessor states: ::Array[("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")]
|
323
|
+
attr_accessor states: ::Array[("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED" | "QUEUED")]
|
319
324
|
attr_accessor mode: ("BATCH" | "STREAMING")
|
320
325
|
SENSITIVE: []
|
321
326
|
end
|
@@ -392,6 +397,12 @@ module Aws::EMRServerless
|
|
392
397
|
SENSITIVE: []
|
393
398
|
end
|
394
399
|
|
400
|
+
class SchedulerConfiguration
|
401
|
+
attr_accessor queue_timeout_minutes: ::Integer
|
402
|
+
attr_accessor max_concurrent_runs: ::Integer
|
403
|
+
SENSITIVE: []
|
404
|
+
end
|
405
|
+
|
395
406
|
class ServiceQuotaExceededException
|
396
407
|
attr_accessor message: ::String
|
397
408
|
SENSITIVE: []
|
@@ -481,6 +492,7 @@ module Aws::EMRServerless
|
|
481
492
|
attr_accessor release_label: ::String
|
482
493
|
attr_accessor runtime_configuration: ::Array[Types::Configuration]
|
483
494
|
attr_accessor monitoring_configuration: Types::MonitoringConfiguration
|
495
|
+
attr_accessor scheduler_configuration: Types::SchedulerConfiguration
|
484
496
|
SENSITIVE: []
|
485
497
|
end
|
486
498
|
|
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.36.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: 2024-09-
|
11
|
+
date: 2024-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for EMR Serverless. This gem is part of the AWS
|
48
48
|
SDK for Ruby.
|
49
49
|
email:
|