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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emrserverless/client.rb +9 -1
- data/lib/aws-sdk-emrserverless/client_api.rb +3 -0
- data/lib/aws-sdk-emrserverless/types.rb +14 -1
- data/lib/aws-sdk-emrserverless.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +2 -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: 93f281f88373b102f7ff659a0a3dac73d93a38b2f2d554bce2618e62e187bab8
|
4
|
+
data.tar.gz: 94baff816a004a0e768f74362253ae321684a65d09eca586d1f2f987e5fe7609
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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,
|
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
|