aws-sdk-emrserverless 1.46.0 → 1.48.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: 93f281f88373b102f7ff659a0a3dac73d93a38b2f2d554bce2618e62e187bab8
4
+ data.tar.gz: 94baff816a004a0e768f74362253ae321684a65d09eca586d1f2f987e5fe7609
5
5
  SHA512:
6
- metadata.gz: 28cf729ebaa7fa1a22f1502233d7ef55bfd2fa89b926edc84bb403cce2c58e64395e79c31fce57148afc02204b8daaf8e8bcfbaedd7e89587c5619e14d57d41c
7
- data.tar.gz: 1bd185fe0381863b97cf60fede3a5c8a276ec7e474aa790258176787eb554810e10dca547a11a3e71996ea6638fbe7e3a43172d4dc5d28cdf6e0da64bc035bc4
6
+ metadata.gz: c57b2f2d637f78777ad852f33ae050b597ef9e7d68f0913f1d69c81a81f446628bd27b1b03748491ad24df250a182c51d49dc6131225b264ebd20dac18e9f8ac
7
+ data.tar.gz: a1a1d5bfb43ff8b625823837256dccb611b68b0bb7d3ef400c080fafcb31b0ee09ece1772e3867647c33e7b32543747b0a06ca7cc74e76d92a9b92e4b06d506f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.48.0 (2025-06-12)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for retrieval of the optional executionIamPolicy field in the GetJobRun API response.
8
+
9
+ 1.47.0 (2025-06-03)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.46.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.48.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 job
482
+ # 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
@@ -888,6 +893,9 @@ module Aws::EMRServerless
888
893
  # resp.job_run.created_at #=> Time
889
894
  # resp.job_run.updated_at #=> Time
890
895
  # resp.job_run.execution_role #=> String
896
+ # resp.job_run.execution_iam_policy.policy #=> String
897
+ # resp.job_run.execution_iam_policy.policy_arns #=> Array
898
+ # resp.job_run.execution_iam_policy.policy_arns[0] #=> String
891
899
  # resp.job_run.state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED", "QUEUED"
892
900
  # resp.job_run.state_details #=> String
893
901
  # resp.job_run.release_label #=> String
@@ -1657,7 +1665,7 @@ module Aws::EMRServerless
1657
1665
  tracer: tracer
1658
1666
  )
1659
1667
  context[:gem_name] = 'aws-sdk-emrserverless'
1660
- context[:gem_version] = '1.46.0'
1668
+ context[:gem_version] = '1.48.0'
1661
1669
  Seahorse::Client::Request.new(handlers, context)
1662
1670
  end
1663
1671
 
@@ -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"))
@@ -333,6 +335,7 @@ module Aws::EMRServerless
333
335
  JobRun.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt"))
334
336
  JobRun.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt"))
335
337
  JobRun.add_member(:execution_role, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRole"))
338
+ JobRun.add_member(:execution_iam_policy, Shapes::ShapeRef.new(shape: JobRunExecutionIamPolicy, location_name: "executionIamPolicy"))
336
339
  JobRun.add_member(:state, Shapes::ShapeRef.new(shape: JobRunState, required: true, location_name: "state"))
337
340
  JobRun.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "stateDetails"))
338
341
  JobRun.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
@@ -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
@@ -832,6 +838,12 @@ module Aws::EMRServerless
832
838
  # The execution role ARN of the job run.
833
839
  # @return [String]
834
840
  #
841
+ # @!attribute [rw] execution_iam_policy
842
+ # Optional IAM policy. The resulting job IAM role permissions will be
843
+ # an intersection of the policies passed and the policy associated
844
+ # with your job execution role.
845
+ # @return [Types::JobRunExecutionIamPolicy]
846
+ #
835
847
  # @!attribute [rw] state
836
848
  # The state of the job run.
837
849
  # @return [String]
@@ -931,6 +943,7 @@ module Aws::EMRServerless
931
943
  :created_at,
932
944
  :updated_at,
933
945
  :execution_role,
946
+ :execution_iam_policy,
934
947
  :state,
935
948
  :state_details,
936
949
  :release_label,
@@ -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.48.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
 
@@ -227,6 +228,7 @@ module Aws::EMRServerless
227
228
  attr_accessor created_at: ::Time
228
229
  attr_accessor updated_at: ::Time
229
230
  attr_accessor execution_role: ::String
231
+ attr_accessor execution_iam_policy: Types::JobRunExecutionIamPolicy
230
232
  attr_accessor state: ("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED" | "QUEUED")
231
233
  attr_accessor state_details: ::String
232
234
  attr_accessor release_label: ::String
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.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services