aws-sdk-emrserverless 1.34.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emrserverless/client.rb +28 -5
- 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 +14 -12
- 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: 522d062d6019303083600925e19b1e7a555ff2a44b238d25afefd5dad3cf6eed
|
4
|
+
data.tar.gz: 888d424d54013180d70e0fd61474dbeee909858846376fb6949ea324db937154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c8c85056cc94d9c1db84e348ce3c9f6dad2b0faa04ae5a7aa3a965f278743545db1b026d1829600ce714b98a4bb78d43b42b28764f22ba2e315954627659ba1
|
7
|
+
data.tar.gz: a019eeca28284fe8991a668e9b41d4b185fbea645ff4bfd513e57b17e3d96f161ec106ee9ed0e4fd2c52b3e17986f64643071b2962f65552f32f730361a81573
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.35.0
|
@@ -558,6 +558,10 @@ module Aws::EMRServerless
|
|
558
558
|
# The interactive configuration object that enables the interactive use
|
559
559
|
# cases to use when running an application.
|
560
560
|
#
|
561
|
+
# @option params [Types::SchedulerConfiguration] :scheduler_configuration
|
562
|
+
# The scheduler configuration for batch and streaming jobs running on
|
563
|
+
# this application. Supported with release labels emr-7.0.0 and above.
|
564
|
+
#
|
561
565
|
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
562
566
|
#
|
563
567
|
# * {Types::CreateApplicationResponse#application_id #application_id} => String
|
@@ -649,6 +653,10 @@ module Aws::EMRServerless
|
|
649
653
|
# studio_enabled: false,
|
650
654
|
# livy_endpoint_enabled: false,
|
651
655
|
# },
|
656
|
+
# scheduler_configuration: {
|
657
|
+
# queue_timeout_minutes: 1,
|
658
|
+
# max_concurrent_runs: 1,
|
659
|
+
# },
|
652
660
|
# })
|
653
661
|
#
|
654
662
|
# @example Response structure
|
@@ -758,6 +766,8 @@ module Aws::EMRServerless
|
|
758
766
|
# resp.application.monitoring_configuration.prometheus_monitoring_configuration.remote_write_url #=> String
|
759
767
|
# resp.application.interactive_configuration.studio_enabled #=> Boolean
|
760
768
|
# resp.application.interactive_configuration.livy_endpoint_enabled #=> Boolean
|
769
|
+
# resp.application.scheduler_configuration.queue_timeout_minutes #=> Integer
|
770
|
+
# resp.application.scheduler_configuration.max_concurrent_runs #=> Integer
|
761
771
|
#
|
762
772
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication AWS API Documentation
|
763
773
|
#
|
@@ -853,7 +863,7 @@ module Aws::EMRServerless
|
|
853
863
|
# resp.job_run.created_at #=> Time
|
854
864
|
# resp.job_run.updated_at #=> Time
|
855
865
|
# resp.job_run.execution_role #=> String
|
856
|
-
# resp.job_run.state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED"
|
866
|
+
# resp.job_run.state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED", "QUEUED"
|
857
867
|
# resp.job_run.state_details #=> String
|
858
868
|
# resp.job_run.release_label #=> String
|
859
869
|
# resp.job_run.configuration_overrides.application_configuration #=> Array
|
@@ -900,6 +910,9 @@ module Aws::EMRServerless
|
|
900
910
|
# resp.job_run.attempt #=> Integer
|
901
911
|
# resp.job_run.attempt_created_at #=> Time
|
902
912
|
# resp.job_run.attempt_updated_at #=> Time
|
913
|
+
# resp.job_run.started_at #=> Time
|
914
|
+
# resp.job_run.ended_at #=> Time
|
915
|
+
# resp.job_run.queued_duration_milliseconds #=> Integer
|
903
916
|
#
|
904
917
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetJobRun AWS API Documentation
|
905
918
|
#
|
@@ -1005,7 +1018,7 @@ module Aws::EMRServerless
|
|
1005
1018
|
# resp.job_run_attempts[0].created_at #=> Time
|
1006
1019
|
# resp.job_run_attempts[0].updated_at #=> Time
|
1007
1020
|
# 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"
|
1021
|
+
# resp.job_run_attempts[0].state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED", "QUEUED"
|
1009
1022
|
# resp.job_run_attempts[0].state_details #=> String
|
1010
1023
|
# resp.job_run_attempts[0].release_label #=> String
|
1011
1024
|
# resp.job_run_attempts[0].type #=> String
|
@@ -1061,7 +1074,7 @@ module Aws::EMRServerless
|
|
1061
1074
|
# max_results: 1,
|
1062
1075
|
# created_at_after: Time.now,
|
1063
1076
|
# created_at_before: Time.now,
|
1064
|
-
# states: ["SUBMITTED"], # accepts SUBMITTED, PENDING, SCHEDULED, RUNNING, SUCCESS, FAILED, CANCELLING, CANCELLED
|
1077
|
+
# states: ["SUBMITTED"], # accepts SUBMITTED, PENDING, SCHEDULED, RUNNING, SUCCESS, FAILED, CANCELLING, CANCELLED, QUEUED
|
1065
1078
|
# mode: "BATCH", # accepts BATCH, STREAMING
|
1066
1079
|
# })
|
1067
1080
|
#
|
@@ -1077,7 +1090,7 @@ module Aws::EMRServerless
|
|
1077
1090
|
# resp.job_runs[0].created_at #=> Time
|
1078
1091
|
# resp.job_runs[0].updated_at #=> Time
|
1079
1092
|
# resp.job_runs[0].execution_role #=> String
|
1080
|
-
# resp.job_runs[0].state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED"
|
1093
|
+
# resp.job_runs[0].state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED", "QUEUED"
|
1081
1094
|
# resp.job_runs[0].state_details #=> String
|
1082
1095
|
# resp.job_runs[0].release_label #=> String
|
1083
1096
|
# resp.job_runs[0].type #=> String
|
@@ -1431,6 +1444,10 @@ module Aws::EMRServerless
|
|
1431
1444
|
# @option params [Types::MonitoringConfiguration] :monitoring_configuration
|
1432
1445
|
# The configuration setting for monitoring.
|
1433
1446
|
#
|
1447
|
+
# @option params [Types::SchedulerConfiguration] :scheduler_configuration
|
1448
|
+
# The scheduler configuration for batch and streaming jobs running on
|
1449
|
+
# this application. Supported with release labels emr-7.0.0 and above.
|
1450
|
+
#
|
1434
1451
|
# @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1435
1452
|
#
|
1436
1453
|
# * {Types::UpdateApplicationResponse#application #application} => Types::Application
|
@@ -1516,6 +1533,10 @@ module Aws::EMRServerless
|
|
1516
1533
|
# remote_write_url: "PrometheusUrlString",
|
1517
1534
|
# },
|
1518
1535
|
# },
|
1536
|
+
# scheduler_configuration: {
|
1537
|
+
# queue_timeout_minutes: 1,
|
1538
|
+
# max_concurrent_runs: 1,
|
1539
|
+
# },
|
1519
1540
|
# })
|
1520
1541
|
#
|
1521
1542
|
# @example Response structure
|
@@ -1572,6 +1593,8 @@ module Aws::EMRServerless
|
|
1572
1593
|
# resp.application.monitoring_configuration.prometheus_monitoring_configuration.remote_write_url #=> String
|
1573
1594
|
# resp.application.interactive_configuration.studio_enabled #=> Boolean
|
1574
1595
|
# resp.application.interactive_configuration.livy_endpoint_enabled #=> Boolean
|
1596
|
+
# resp.application.scheduler_configuration.queue_timeout_minutes #=> Integer
|
1597
|
+
# resp.application.scheduler_configuration.max_concurrent_runs #=> Integer
|
1575
1598
|
#
|
1576
1599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication AWS API Documentation
|
1577
1600
|
#
|
@@ -1600,7 +1623,7 @@ module Aws::EMRServerless
|
|
1600
1623
|
tracer: tracer
|
1601
1624
|
)
|
1602
1625
|
context[:gem_name] = 'aws-sdk-emrserverless'
|
1603
|
-
context[:gem_version] = '1.
|
1626
|
+
context[:gem_version] = '1.35.0'
|
1604
1627
|
Seahorse::Client::Request.new(handlers, context)
|
1605
1628
|
end
|
1606
1629
|
|
@@ -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,17 +11,6 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
require_relative 'aws-sdk-emrserverless/types'
|
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'
|
24
|
-
|
25
14
|
# This module provides support for EMR Serverless. This module is available in the
|
26
15
|
# `aws-sdk-emrserverless` gem.
|
27
16
|
#
|
@@ -51,7 +40,20 @@ require_relative 'aws-sdk-emrserverless/customizations'
|
|
51
40
|
#
|
52
41
|
# @!group service
|
53
42
|
module Aws::EMRServerless
|
43
|
+
autoload :Types, 'aws-sdk-emrserverless/types'
|
44
|
+
autoload :ClientApi, 'aws-sdk-emrserverless/client_api'
|
45
|
+
module Plugins
|
46
|
+
autoload :Endpoints, 'aws-sdk-emrserverless/plugins/endpoints.rb'
|
47
|
+
end
|
48
|
+
autoload :Client, 'aws-sdk-emrserverless/client'
|
49
|
+
autoload :Errors, 'aws-sdk-emrserverless/errors'
|
50
|
+
autoload :Resource, 'aws-sdk-emrserverless/resource'
|
51
|
+
autoload :EndpointParameters, 'aws-sdk-emrserverless/endpoint_parameters'
|
52
|
+
autoload :EndpointProvider, 'aws-sdk-emrserverless/endpoint_provider'
|
53
|
+
autoload :Endpoints, 'aws-sdk-emrserverless/endpoints'
|
54
54
|
|
55
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.35.0'
|
56
56
|
|
57
57
|
end
|
58
|
+
|
59
|
+
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.35.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-23 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:
|