aws-sdk-emrserverless 1.33.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffea831fb5aa79f9b10782d6a2a0836b7cba73f0d5e28ee3fe597b2a8542e819
4
- data.tar.gz: dd9e7fcea8d56ac098e69538059aa8bac1ae852907d43d620000f84822525fe9
3
+ metadata.gz: 522d062d6019303083600925e19b1e7a555ff2a44b238d25afefd5dad3cf6eed
4
+ data.tar.gz: 888d424d54013180d70e0fd61474dbeee909858846376fb6949ea324db937154
5
5
  SHA512:
6
- metadata.gz: 99df467eac651b8043c1d9f729565f202c43cc83f3d49cf621879cb7af7bbe5b5dcdcec50155473bf1f466987ba38249fd9c1abe952f9fbe277c1ce7c6465b2a
7
- data.tar.gz: b34f12a81b21ef8c74df90e660842f36bb72780c2aa08bc2163f9f6a0aec9b238a80efdc14b3058b93f87fcf83f623165cfa3ca1d8f227c00d5971fe0e57ce95
6
+ metadata.gz: 3c8c85056cc94d9c1db84e348ce3c9f6dad2b0faa04ae5a7aa3a965f278743545db1b026d1829600ce714b98a4bb78d43b42b28764f22ba2e315954627659ba1
7
+ data.tar.gz: a019eeca28284fe8991a668e9b41d4b185fbea645ff4bfd513e57b17e3d96f161ec106ee9ed0e4fd2c52b3e17986f64643071b2962f65552f32f730361a81573
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2024-09-23)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for job concurrency and queuing configuration at Application level.
8
+
9
+ 1.34.0 (2024-09-20)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.33.0 (2024-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.35.0
@@ -130,13 +130,15 @@ module Aws::EMRServerless
130
130
  # locations will be searched for credentials:
131
131
  #
132
132
  # * `Aws.config[:credentials]`
133
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
134
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
133
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
134
+ # `:account_id` options.
135
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
136
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
135
137
  # * `~/.aws/credentials`
136
138
  # * `~/.aws/config`
137
139
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
140
  # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
141
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
142
  # enable retries and extended timeouts. Instance profile credential
141
143
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
144
  # to true.
@@ -155,6 +157,8 @@ module Aws::EMRServerless
155
157
  #
156
158
  # @option options [String] :access_key_id
157
159
  #
160
+ # @option options [String] :account_id
161
+ #
158
162
  # @option options [Boolean] :active_endpoint_cache (false)
159
163
  # When set to `true`, a thread polling for endpoints will be running in
160
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -369,7 +373,9 @@ module Aws::EMRServerless
369
373
  # sending the request.
370
374
  #
371
375
  # @option options [Aws::EMRServerless::EndpointProvider] :endpoint_provider
372
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::EMRServerless::EndpointParameters`
376
+ # The endpoint provider used to resolve endpoints. Any object that responds to
377
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
378
+ # `Aws::EMRServerless::EndpointParameters`.
373
379
  #
374
380
  # @option options [Float] :http_continue_timeout (1)
375
381
  # The number of seconds to wait for a 100-continue response before sending the
@@ -552,6 +558,10 @@ module Aws::EMRServerless
552
558
  # The interactive configuration object that enables the interactive use
553
559
  # cases to use when running an application.
554
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
+ #
555
565
  # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
556
566
  #
557
567
  # * {Types::CreateApplicationResponse#application_id #application_id} => String
@@ -643,6 +653,10 @@ module Aws::EMRServerless
643
653
  # studio_enabled: false,
644
654
  # livy_endpoint_enabled: false,
645
655
  # },
656
+ # scheduler_configuration: {
657
+ # queue_timeout_minutes: 1,
658
+ # max_concurrent_runs: 1,
659
+ # },
646
660
  # })
647
661
  #
648
662
  # @example Response structure
@@ -752,6 +766,8 @@ module Aws::EMRServerless
752
766
  # resp.application.monitoring_configuration.prometheus_monitoring_configuration.remote_write_url #=> String
753
767
  # resp.application.interactive_configuration.studio_enabled #=> Boolean
754
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
755
771
  #
756
772
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication AWS API Documentation
757
773
  #
@@ -847,7 +863,7 @@ module Aws::EMRServerless
847
863
  # resp.job_run.created_at #=> Time
848
864
  # resp.job_run.updated_at #=> Time
849
865
  # resp.job_run.execution_role #=> String
850
- # 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"
851
867
  # resp.job_run.state_details #=> String
852
868
  # resp.job_run.release_label #=> String
853
869
  # resp.job_run.configuration_overrides.application_configuration #=> Array
@@ -894,6 +910,9 @@ module Aws::EMRServerless
894
910
  # resp.job_run.attempt #=> Integer
895
911
  # resp.job_run.attempt_created_at #=> Time
896
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
897
916
  #
898
917
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetJobRun AWS API Documentation
899
918
  #
@@ -999,7 +1018,7 @@ module Aws::EMRServerless
999
1018
  # resp.job_run_attempts[0].created_at #=> Time
1000
1019
  # resp.job_run_attempts[0].updated_at #=> Time
1001
1020
  # resp.job_run_attempts[0].execution_role #=> String
1002
- # 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"
1003
1022
  # resp.job_run_attempts[0].state_details #=> String
1004
1023
  # resp.job_run_attempts[0].release_label #=> String
1005
1024
  # resp.job_run_attempts[0].type #=> String
@@ -1055,7 +1074,7 @@ module Aws::EMRServerless
1055
1074
  # max_results: 1,
1056
1075
  # created_at_after: Time.now,
1057
1076
  # created_at_before: Time.now,
1058
- # states: ["SUBMITTED"], # accepts SUBMITTED, PENDING, SCHEDULED, RUNNING, SUCCESS, FAILED, CANCELLING, CANCELLED
1077
+ # states: ["SUBMITTED"], # accepts SUBMITTED, PENDING, SCHEDULED, RUNNING, SUCCESS, FAILED, CANCELLING, CANCELLED, QUEUED
1059
1078
  # mode: "BATCH", # accepts BATCH, STREAMING
1060
1079
  # })
1061
1080
  #
@@ -1071,7 +1090,7 @@ module Aws::EMRServerless
1071
1090
  # resp.job_runs[0].created_at #=> Time
1072
1091
  # resp.job_runs[0].updated_at #=> Time
1073
1092
  # resp.job_runs[0].execution_role #=> String
1074
- # 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"
1075
1094
  # resp.job_runs[0].state_details #=> String
1076
1095
  # resp.job_runs[0].release_label #=> String
1077
1096
  # resp.job_runs[0].type #=> String
@@ -1425,6 +1444,10 @@ module Aws::EMRServerless
1425
1444
  # @option params [Types::MonitoringConfiguration] :monitoring_configuration
1426
1445
  # The configuration setting for monitoring.
1427
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
+ #
1428
1451
  # @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1429
1452
  #
1430
1453
  # * {Types::UpdateApplicationResponse#application #application} => Types::Application
@@ -1510,6 +1533,10 @@ module Aws::EMRServerless
1510
1533
  # remote_write_url: "PrometheusUrlString",
1511
1534
  # },
1512
1535
  # },
1536
+ # scheduler_configuration: {
1537
+ # queue_timeout_minutes: 1,
1538
+ # max_concurrent_runs: 1,
1539
+ # },
1513
1540
  # })
1514
1541
  #
1515
1542
  # @example Response structure
@@ -1566,6 +1593,8 @@ module Aws::EMRServerless
1566
1593
  # resp.application.monitoring_configuration.prometheus_monitoring_configuration.remote_write_url #=> String
1567
1594
  # resp.application.interactive_configuration.studio_enabled #=> Boolean
1568
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
1569
1598
  #
1570
1599
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication AWS API Documentation
1571
1600
  #
@@ -1594,7 +1623,7 @@ module Aws::EMRServerless
1594
1623
  tracer: tracer
1595
1624
  )
1596
1625
  context[:gem_name] = 'aws-sdk-emrserverless'
1597
- context[:gem_version] = '1.33.0'
1626
+ context[:gem_version] = '1.35.0'
1598
1627
  Seahorse::Client::Request.new(handlers, context)
1599
1628
  end
1600
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",
@@ -15,11 +15,11 @@ module Aws::EMRServerless
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::EMRServerless::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::EMRServerless::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::EMRServerless::EndpointParameters`.
22
+ DOCS
23
23
  Aws::EMRServerless::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::EMRServerless
51
51
  if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
52
  metrics << 'SIGV4A_SIGNING'
53
53
  end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
54
57
  Aws::Plugins::UserAgent.metric(*metrics, &block)
55
58
  end
56
59
 
@@ -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.33.0'
55
+ GEM_VERSION = '1.35.0'
56
56
 
57
57
  end
58
+
59
+ require_relative 'aws-sdk-emrserverless/customizations'
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
@@ -163,6 +164,10 @@ module Aws
163
164
  ?interactive_configuration: {
164
165
  studio_enabled: bool?,
165
166
  livy_endpoint_enabled: bool?
167
+ },
168
+ ?scheduler_configuration: {
169
+ queue_timeout_minutes: ::Integer?,
170
+ max_concurrent_runs: ::Integer?
166
171
  }
167
172
  ) -> _CreateApplicationResponseSuccess
168
173
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
@@ -249,7 +254,7 @@ module Aws
249
254
  ?max_results: ::Integer,
250
255
  ?created_at_after: ::Time,
251
256
  ?created_at_before: ::Time,
252
- ?states: Array[("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")],
257
+ ?states: Array[("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED" | "QUEUED")],
253
258
  ?mode: ("BATCH" | "STREAMING")
254
259
  ) -> _ListJobRunsResponseSuccess
255
260
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobRunsResponseSuccess
@@ -438,6 +443,10 @@ module Aws
438
443
  prometheus_monitoring_configuration: {
439
444
  remote_write_url: ::String?
440
445
  }?
446
+ },
447
+ ?scheduler_configuration: {
448
+ queue_timeout_minutes: ::Integer?,
449
+ max_concurrent_runs: ::Integer?
441
450
  }
442
451
  ) -> _UpdateApplicationResponseSuccess
443
452
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
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.33.0
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 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.205.0
22
+ version: 3.207.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.205.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.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.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: