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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0660e0c84f8c94994e9b3f0fcfca4ed1908f802c204018b97d743c103f8a2cb5
4
- data.tar.gz: c6ce064c95007f22e0613332bd7b32d14c31d904041bdf98d6019f380515f670
3
+ metadata.gz: 18657b1e1dd3cc01e401d665979f810010c25030d716a4c297a9b7f320d2bec9
4
+ data.tar.gz: 6f38e8a203a43f808fa22ceef0d65453f32a7f415357bb1c2c7012d96939d1d3
5
5
  SHA512:
6
- metadata.gz: 28cf729ebaa7fa1a22f1502233d7ef55bfd2fa89b926edc84bb403cce2c58e64395e79c31fce57148afc02204b8daaf8e8bcfbaedd7e89587c5619e14d57d41c
7
- data.tar.gz: 1bd185fe0381863b97cf60fede3a5c8a276ec7e474aa790258176787eb554810e10dca547a11a3e71996ea6638fbe7e3a43172d4dc5d28cdf6e0da64bc035bc4
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.46.0
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.46.0'
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
@@ -54,7 +54,7 @@ module Aws::EMRServerless
54
54
  autoload :EndpointProvider, 'aws-sdk-emrserverless/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-emrserverless/endpoints'
56
56
 
57
- GEM_VERSION = '1.46.0'
57
+ GEM_VERSION = '1.47.0'
58
58
 
59
59
  end
60
60
 
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
@@ -62,6 +62,7 @@ module Aws::EMRServerless
62
62
  class CancelJobRunRequest
63
63
  attr_accessor application_id: ::String
64
64
  attr_accessor job_run_id: ::String
65
+ attr_accessor shutdown_grace_period_in_seconds: ::Integer
65
66
  SENSITIVE: []
66
67
  end
67
68
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-emrserverless
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services