aws-sdk-emrserverless 1.46.0 → 1.47.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 +6 -1
- data/lib/aws-sdk-emrserverless/client_api.rb +2 -0
- data/lib/aws-sdk-emrserverless/types.rb +7 -1
- data/lib/aws-sdk-emrserverless.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18657b1e1dd3cc01e401d665979f810010c25030d716a4c297a9b7f320d2bec9
|
4
|
+
data.tar.gz: 6f38e8a203a43f808fa22ceef0d65453f32a7f415357bb1c2c7012d96939d1d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a99eeffb8b4868533015a4d35396584c2e71e11999acb9ee7a59517f6bb88f0bdbc12f0dd316681866fdd9a59373d1233224a9079d5aff4824bdd5132834a4c6
|
7
|
+
data.tar.gz: 7a6a92f5dcef5c2cfe4b71ee3a151909dae933afadbe94077d80bbb607674369e6094d97873cbdc40831549acf3dbf5192ca2ff0b91690b678f0369040bb86bf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2025-06-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS EMR Serverless: Adds a new option in the CancelJobRun API in EMR 7.9.0+, to cancel a job with grace period. This feature is enabled by default with a 120-second grace period for streaming jobs and is not enabled by default for batch jobs.
|
8
|
+
|
4
9
|
1.46.0 (2025-06-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
@@ -477,6 +477,10 @@ module Aws::EMRServerless
|
|
477
477
|
# @option params [required, String] :job_run_id
|
478
478
|
# The ID of the job run to cancel.
|
479
479
|
#
|
480
|
+
# @option params [Integer] :shutdown_grace_period_in_seconds
|
481
|
+
# The duration (in seconds) to wait before forcefully terminating the
|
482
|
+
# job after cancellation is requested.
|
483
|
+
#
|
480
484
|
# @return [Types::CancelJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
481
485
|
#
|
482
486
|
# * {Types::CancelJobRunResponse#application_id #application_id} => String
|
@@ -487,6 +491,7 @@ module Aws::EMRServerless
|
|
487
491
|
# resp = client.cancel_job_run({
|
488
492
|
# application_id: "ApplicationId", # required
|
489
493
|
# job_run_id: "JobRunId", # required
|
494
|
+
# shutdown_grace_period_in_seconds: 1,
|
490
495
|
# })
|
491
496
|
#
|
492
497
|
# @example Response structure
|
@@ -1657,7 +1662,7 @@ module Aws::EMRServerless
|
|
1657
1662
|
tracer: tracer
|
1658
1663
|
)
|
1659
1664
|
context[:gem_name] = 'aws-sdk-emrserverless'
|
1660
|
-
context[:gem_version] = '1.
|
1665
|
+
context[:gem_version] = '1.47.0'
|
1661
1666
|
Seahorse::Client::Request.new(handlers, context)
|
1662
1667
|
end
|
1663
1668
|
|
@@ -127,6 +127,7 @@ module Aws::EMRServerless
|
|
127
127
|
SecurityGroupString = Shapes::StringShape.new(name: 'SecurityGroupString')
|
128
128
|
SensitivePropertiesMap = Shapes::MapShape.new(name: 'SensitivePropertiesMap')
|
129
129
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
130
|
+
ShutdownGracePeriodInSeconds = Shapes::IntegerShape.new(name: 'ShutdownGracePeriodInSeconds')
|
130
131
|
SparkSubmit = Shapes::StructureShape.new(name: 'SparkSubmit')
|
131
132
|
SparkSubmitParameters = Shapes::StringShape.new(name: 'SparkSubmitParameters')
|
132
133
|
StartApplicationRequest = Shapes::StructureShape.new(name: 'StartApplicationRequest')
|
@@ -210,6 +211,7 @@ module Aws::EMRServerless
|
|
210
211
|
|
211
212
|
CancelJobRunRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
212
213
|
CancelJobRunRequest.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location: "uri", location_name: "jobRunId"))
|
214
|
+
CancelJobRunRequest.add_member(:shutdown_grace_period_in_seconds, Shapes::ShapeRef.new(shape: ShutdownGracePeriodInSeconds, location: "querystring", location_name: "shutdownGracePeriodInSeconds"))
|
213
215
|
CancelJobRunRequest.struct_class = Types::CancelJobRunRequest
|
214
216
|
|
215
217
|
CancelJobRunResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
@@ -252,11 +252,17 @@ module Aws::EMRServerless
|
|
252
252
|
# The ID of the job run to cancel.
|
253
253
|
# @return [String]
|
254
254
|
#
|
255
|
+
# @!attribute [rw] shutdown_grace_period_in_seconds
|
256
|
+
# The duration (in seconds) to wait before forcefully terminating the
|
257
|
+
# job after cancellation is requested.
|
258
|
+
# @return [Integer]
|
259
|
+
#
|
255
260
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CancelJobRunRequest AWS API Documentation
|
256
261
|
#
|
257
262
|
class CancelJobRunRequest < Struct.new(
|
258
263
|
:application_id,
|
259
|
-
:job_run_id
|
264
|
+
:job_run_id,
|
265
|
+
:shutdown_grace_period_in_seconds)
|
260
266
|
SENSITIVE = []
|
261
267
|
include Aws::Structure
|
262
268
|
end
|
data/sig/client.rbs
CHANGED
@@ -85,7 +85,8 @@ module Aws
|
|
85
85
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#cancel_job_run-instance_method
|
86
86
|
def cancel_job_run: (
|
87
87
|
application_id: ::String,
|
88
|
-
job_run_id: ::String
|
88
|
+
job_run_id: ::String,
|
89
|
+
?shutdown_grace_period_in_seconds: ::Integer
|
89
90
|
) -> _CancelJobRunResponseSuccess
|
90
91
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelJobRunResponseSuccess
|
91
92
|
|
data/sig/types.rbs
CHANGED