aws-sdk-glue 1.226.0 → 1.227.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-glue/client.rb +16 -1
- data/lib/aws-sdk-glue/client_api.rb +3 -0
- data/lib/aws-sdk-glue/types.rb +21 -41
- data/lib/aws-sdk-glue.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: fd4db2253a2d223a901c52c87ae68c6d9d14339f8e816d5681992945cbe539f7
|
4
|
+
data.tar.gz: 767b580fa6b5aabec5b97250622afd3f66115f4c1013408bd281d39226fe57ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c92248b839f721bc34abd6f2d24776ad4390d6fd8330e84f27a8387b98c0ebcd58adca87fc62fe7d7cf7d51891865870560e1297f1ecec2d0490ea07c1797db9
|
7
|
+
data.tar.gz: 80255322c34432368e5c830a0a98de1253c6633ecabbb59a1a5199746c1bd899d610e9a63df234ba2618d5f3b841ed8d703989289039d56258cc75ee418019fb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.227.0 (2025-07-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Glue now supports dynamic session policies for job executions. This feature allows you to specify custom, fine-grained permissions for each job run without creating multiple IAM roles.
|
8
|
+
|
4
9
|
1.226.0 (2025-07-21)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.227.0
|
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -2473,6 +2473,7 @@ module Aws::Glue
|
|
2473
2473
|
# resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].maintenance_window #=> String
|
2474
2474
|
# resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].profile_name #=> String
|
2475
2475
|
# resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].state_detail #=> String
|
2476
|
+
# resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].execution_role_session_policy #=> String
|
2476
2477
|
# resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls #=> Array
|
2477
2478
|
# resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED", "ERROR"
|
2478
2479
|
# resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
|
@@ -2546,6 +2547,7 @@ module Aws::Glue
|
|
2546
2547
|
# resp.workflows[0].graph.nodes[0].job_details.job_runs[0].maintenance_window #=> String
|
2547
2548
|
# resp.workflows[0].graph.nodes[0].job_details.job_runs[0].profile_name #=> String
|
2548
2549
|
# resp.workflows[0].graph.nodes[0].job_details.job_runs[0].state_detail #=> String
|
2550
|
+
# resp.workflows[0].graph.nodes[0].job_details.job_runs[0].execution_role_session_policy #=> String
|
2549
2551
|
# resp.workflows[0].graph.nodes[0].crawler_details.crawls #=> Array
|
2550
2552
|
# resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED", "ERROR"
|
2551
2553
|
# resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
|
@@ -10315,6 +10317,7 @@ module Aws::Glue
|
|
10315
10317
|
# resp.job_run.maintenance_window #=> String
|
10316
10318
|
# resp.job_run.profile_name #=> String
|
10317
10319
|
# resp.job_run.state_detail #=> String
|
10320
|
+
# resp.job_run.execution_role_session_policy #=> String
|
10318
10321
|
#
|
10319
10322
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun AWS API Documentation
|
10320
10323
|
#
|
@@ -10389,6 +10392,7 @@ module Aws::Glue
|
|
10389
10392
|
# resp.job_runs[0].maintenance_window #=> String
|
10390
10393
|
# resp.job_runs[0].profile_name #=> String
|
10391
10394
|
# resp.job_runs[0].state_detail #=> String
|
10395
|
+
# resp.job_runs[0].execution_role_session_policy #=> String
|
10392
10396
|
# resp.next_token #=> String
|
10393
10397
|
#
|
10394
10398
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns AWS API Documentation
|
@@ -14537,6 +14541,7 @@ module Aws::Glue
|
|
14537
14541
|
# resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].maintenance_window #=> String
|
14538
14542
|
# resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].profile_name #=> String
|
14539
14543
|
# resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].state_detail #=> String
|
14544
|
+
# resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].execution_role_session_policy #=> String
|
14540
14545
|
# resp.workflow.last_run.graph.nodes[0].crawler_details.crawls #=> Array
|
14541
14546
|
# resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED", "ERROR"
|
14542
14547
|
# resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
|
@@ -14610,6 +14615,7 @@ module Aws::Glue
|
|
14610
14615
|
# resp.workflow.graph.nodes[0].job_details.job_runs[0].maintenance_window #=> String
|
14611
14616
|
# resp.workflow.graph.nodes[0].job_details.job_runs[0].profile_name #=> String
|
14612
14617
|
# resp.workflow.graph.nodes[0].job_details.job_runs[0].state_detail #=> String
|
14618
|
+
# resp.workflow.graph.nodes[0].job_details.job_runs[0].execution_role_session_policy #=> String
|
14613
14619
|
# resp.workflow.graph.nodes[0].crawler_details.crawls #=> Array
|
14614
14620
|
# resp.workflow.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED", "ERROR"
|
14615
14621
|
# resp.workflow.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
|
@@ -14737,6 +14743,7 @@ module Aws::Glue
|
|
14737
14743
|
# resp.run.graph.nodes[0].job_details.job_runs[0].maintenance_window #=> String
|
14738
14744
|
# resp.run.graph.nodes[0].job_details.job_runs[0].profile_name #=> String
|
14739
14745
|
# resp.run.graph.nodes[0].job_details.job_runs[0].state_detail #=> String
|
14746
|
+
# resp.run.graph.nodes[0].job_details.job_runs[0].execution_role_session_policy #=> String
|
14740
14747
|
# resp.run.graph.nodes[0].crawler_details.crawls #=> Array
|
14741
14748
|
# resp.run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED", "ERROR"
|
14742
14749
|
# resp.run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
|
@@ -14903,6 +14910,7 @@ module Aws::Glue
|
|
14903
14910
|
# resp.runs[0].graph.nodes[0].job_details.job_runs[0].maintenance_window #=> String
|
14904
14911
|
# resp.runs[0].graph.nodes[0].job_details.job_runs[0].profile_name #=> String
|
14905
14912
|
# resp.runs[0].graph.nodes[0].job_details.job_runs[0].state_detail #=> String
|
14913
|
+
# resp.runs[0].graph.nodes[0].job_details.job_runs[0].execution_role_session_policy #=> String
|
14906
14914
|
# resp.runs[0].graph.nodes[0].crawler_details.crawls #=> Array
|
14907
14915
|
# resp.runs[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED", "ERROR"
|
14908
14916
|
# resp.runs[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
|
@@ -17833,6 +17841,12 @@ module Aws::Glue
|
|
17833
17841
|
# will be allowed to set `ExecutionClass` to `FLEX`. The flexible
|
17834
17842
|
# execution class is available for Spark jobs.
|
17835
17843
|
#
|
17844
|
+
# @option params [String] :execution_role_session_policy
|
17845
|
+
# This inline session policy to the StartJobRun API allows you to
|
17846
|
+
# dynamically restrict the permissions of the specified execution role
|
17847
|
+
# for the scope of the job, without requiring the creation of additional
|
17848
|
+
# IAM roles.
|
17849
|
+
#
|
17836
17850
|
# @return [Types::StartJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17837
17851
|
#
|
17838
17852
|
# * {Types::StartJobRunResponse#job_run_id #job_run_id} => String
|
@@ -17856,6 +17870,7 @@ module Aws::Glue
|
|
17856
17870
|
# worker_type: "Standard", # accepts Standard, G.1X, G.2X, G.025X, G.4X, G.8X, Z.2X
|
17857
17871
|
# number_of_workers: 1,
|
17858
17872
|
# execution_class: "FLEX", # accepts FLEX, STANDARD
|
17873
|
+
# execution_role_session_policy: "OrchestrationPolicyJsonString",
|
17859
17874
|
# })
|
17860
17875
|
#
|
17861
17876
|
# @example Response structure
|
@@ -20467,7 +20482,7 @@ module Aws::Glue
|
|
20467
20482
|
tracer: tracer
|
20468
20483
|
)
|
20469
20484
|
context[:gem_name] = 'aws-sdk-glue'
|
20470
|
-
context[:gem_version] = '1.
|
20485
|
+
context[:gem_version] = '1.227.0'
|
20471
20486
|
Seahorse::Client::Request.new(handlers, context)
|
20472
20487
|
end
|
20473
20488
|
|
@@ -1073,6 +1073,7 @@ module Aws::Glue
|
|
1073
1073
|
OrchestrationNameString = Shapes::StringShape.new(name: 'OrchestrationNameString')
|
1074
1074
|
OrchestrationPageSize200 = Shapes::IntegerShape.new(name: 'OrchestrationPageSize200')
|
1075
1075
|
OrchestrationPageSize25 = Shapes::IntegerShape.new(name: 'OrchestrationPageSize25')
|
1076
|
+
OrchestrationPolicyJsonString = Shapes::StringShape.new(name: 'OrchestrationPolicyJsonString')
|
1076
1077
|
OrchestrationRoleArn = Shapes::StringShape.new(name: 'OrchestrationRoleArn')
|
1077
1078
|
OrchestrationS3Location = Shapes::StringShape.new(name: 'OrchestrationS3Location')
|
1078
1079
|
OrchestrationStatementCodeString = Shapes::StringShape.new(name: 'OrchestrationStatementCodeString')
|
@@ -5044,6 +5045,7 @@ module Aws::Glue
|
|
5044
5045
|
JobRun.add_member(:maintenance_window, Shapes::ShapeRef.new(shape: MaintenanceWindow, location_name: "MaintenanceWindow"))
|
5045
5046
|
JobRun.add_member(:profile_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ProfileName"))
|
5046
5047
|
JobRun.add_member(:state_detail, Shapes::ShapeRef.new(shape: OrchestrationMessageString, location_name: "StateDetail"))
|
5048
|
+
JobRun.add_member(:execution_role_session_policy, Shapes::ShapeRef.new(shape: OrchestrationPolicyJsonString, location_name: "ExecutionRoleSessionPolicy"))
|
5047
5049
|
JobRun.struct_class = Types::JobRun
|
5048
5050
|
|
5049
5051
|
JobRunList.member = Shapes::ShapeRef.new(shape: JobRun)
|
@@ -6568,6 +6570,7 @@ module Aws::Glue
|
|
6568
6570
|
StartJobRunRequest.add_member(:worker_type, Shapes::ShapeRef.new(shape: WorkerType, location_name: "WorkerType"))
|
6569
6571
|
StartJobRunRequest.add_member(:number_of_workers, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "NumberOfWorkers"))
|
6570
6572
|
StartJobRunRequest.add_member(:execution_class, Shapes::ShapeRef.new(shape: ExecutionClass, location_name: "ExecutionClass"))
|
6573
|
+
StartJobRunRequest.add_member(:execution_role_session_policy, Shapes::ShapeRef.new(shape: OrchestrationPolicyJsonString, location_name: "ExecutionRoleSessionPolicy"))
|
6571
6574
|
StartJobRunRequest.struct_class = Types::StartJobRunRequest
|
6572
6575
|
|
6573
6576
|
StartJobRunResponse.add_member(:job_run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "JobRunId"))
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -17505,6 +17505,13 @@ module Aws::Glue
|
|
17505
17505
|
# state.
|
17506
17506
|
# @return [String]
|
17507
17507
|
#
|
17508
|
+
# @!attribute [rw] execution_role_session_policy
|
17509
|
+
# This inline session policy to the StartJobRun API allows you to
|
17510
|
+
# dynamically restrict the permissions of the specified execution role
|
17511
|
+
# for the scope of the job, without requiring the creation of
|
17512
|
+
# additional IAM roles.
|
17513
|
+
# @return [String]
|
17514
|
+
#
|
17508
17515
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobRun AWS API Documentation
|
17509
17516
|
#
|
17510
17517
|
class JobRun < Struct.new(
|
@@ -17536,7 +17543,8 @@ module Aws::Glue
|
|
17536
17543
|
:execution_class,
|
17537
17544
|
:maintenance_window,
|
17538
17545
|
:profile_name,
|
17539
|
-
:state_detail
|
17546
|
+
:state_detail,
|
17547
|
+
:execution_role_session_policy)
|
17540
17548
|
SENSITIVE = []
|
17541
17549
|
include Aws::Structure
|
17542
17550
|
end
|
@@ -17708,48 +17716,12 @@ module Aws::Glue
|
|
17708
17716
|
# @!attribute [rw] worker_type
|
17709
17717
|
# The type of predefined worker that is allocated when a job runs.
|
17710
17718
|
# Accepts a value of G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs.
|
17711
|
-
# Accepts the value Z.2X for Ray jobs.
|
17712
|
-
#
|
17713
|
-
# * For the `G.1X` worker type, each worker maps to 1 DPU (4 vCPUs, 16
|
17714
|
-
# GB of memory) with 94GB disk, and provides 1 executor per worker.
|
17715
|
-
# We recommend this worker type for workloads such as data
|
17716
|
-
# transforms, joins, and queries, to offers a scalable and cost
|
17717
|
-
# effective way to run most jobs.
|
17718
|
-
#
|
17719
|
-
# * For the `G.2X` worker type, each worker maps to 2 DPU (8 vCPUs, 32
|
17720
|
-
# GB of memory) with 138GB disk, and provides 1 executor per worker.
|
17721
|
-
# We recommend this worker type for workloads such as data
|
17722
|
-
# transforms, joins, and queries, to offers a scalable and cost
|
17723
|
-
# effective way to run most jobs.
|
17724
|
-
#
|
17725
|
-
# * For the `G.4X` worker type, each worker maps to 4 DPU (16 vCPUs,
|
17726
|
-
# 64 GB of memory) with 256GB disk, and provides 1 executor per
|
17727
|
-
# worker. We recommend this worker type for jobs whose workloads
|
17728
|
-
# contain your most demanding transforms, aggregations, joins, and
|
17729
|
-
# queries. This worker type is available only for Glue version 3.0
|
17730
|
-
# or later Spark ETL jobs in the following Amazon Web Services
|
17731
|
-
# Regions: US East (Ohio), US East (N. Virginia), US West (Oregon),
|
17732
|
-
# Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific
|
17733
|
-
# (Tokyo), Canada (Central), Europe (Frankfurt), Europe (Ireland),
|
17734
|
-
# and Europe (Stockholm).
|
17719
|
+
# Accepts the value Z.2X for Ray jobs. For more information, see
|
17720
|
+
# [Defining job properties for Spark jobs ][1]
|
17735
17721
|
#
|
17736
|
-
# * For the `G.8X` worker type, each worker maps to 8 DPU (32 vCPUs,
|
17737
|
-
# 128 GB of memory) with 512GB disk, and provides 1 executor per
|
17738
|
-
# worker. We recommend this worker type for jobs whose workloads
|
17739
|
-
# contain your most demanding transforms, aggregations, joins, and
|
17740
|
-
# queries. This worker type is available only for Glue version 3.0
|
17741
|
-
# or later Spark ETL jobs, in the same Amazon Web Services Regions
|
17742
|
-
# as supported for the `G.4X` worker type.
|
17743
17722
|
#
|
17744
|
-
# * For the `G.025X` worker type, each worker maps to 0.25 DPU (2
|
17745
|
-
# vCPUs, 4 GB of memory) with 84GB disk, and provides 1 executor per
|
17746
|
-
# worker. We recommend this worker type for low volume streaming
|
17747
|
-
# jobs. This worker type is only available for Glue version 3.0 or
|
17748
|
-
# later streaming jobs.
|
17749
17723
|
#
|
17750
|
-
#
|
17751
|
-
# 64 GB of memory) with 128 GB disk, and provides up to 8 Ray
|
17752
|
-
# workers based on the autoscaler.
|
17724
|
+
# [1]: https://docs.aws.amazon.com/glue/latest/dg/add-job.html#create-job
|
17753
17725
|
# @return [String]
|
17754
17726
|
#
|
17755
17727
|
# @!attribute [rw] number_of_workers
|
@@ -25017,6 +24989,13 @@ module Aws::Glue
|
|
25017
24989
|
# execution class is available for Spark jobs.
|
25018
24990
|
# @return [String]
|
25019
24991
|
#
|
24992
|
+
# @!attribute [rw] execution_role_session_policy
|
24993
|
+
# This inline session policy to the StartJobRun API allows you to
|
24994
|
+
# dynamically restrict the permissions of the specified execution role
|
24995
|
+
# for the scope of the job, without requiring the creation of
|
24996
|
+
# additional IAM roles.
|
24997
|
+
# @return [String]
|
24998
|
+
#
|
25020
24999
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRunRequest AWS API Documentation
|
25021
25000
|
#
|
25022
25001
|
class StartJobRunRequest < Struct.new(
|
@@ -25031,7 +25010,8 @@ module Aws::Glue
|
|
25031
25010
|
:notification_property,
|
25032
25011
|
:worker_type,
|
25033
25012
|
:number_of_workers,
|
25034
|
-
:execution_class
|
25013
|
+
:execution_class,
|
25014
|
+
:execution_role_session_policy)
|
25035
25015
|
SENSITIVE = []
|
25036
25016
|
include Aws::Structure
|
25037
25017
|
end
|
data/lib/aws-sdk-glue.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -5327,7 +5327,8 @@ module Aws
|
|
5327
5327
|
},
|
5328
5328
|
?worker_type: ("Standard" | "G.1X" | "G.2X" | "G.025X" | "G.4X" | "G.8X" | "Z.2X"),
|
5329
5329
|
?number_of_workers: ::Integer,
|
5330
|
-
?execution_class: ("FLEX" | "STANDARD")
|
5330
|
+
?execution_class: ("FLEX" | "STANDARD"),
|
5331
|
+
?execution_role_session_policy: ::String
|
5331
5332
|
) -> _StartJobRunResponseSuccess
|
5332
5333
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartJobRunResponseSuccess
|
5333
5334
|
|
data/sig/types.rbs
CHANGED
@@ -4242,6 +4242,7 @@ module Aws::Glue
|
|
4242
4242
|
attr_accessor maintenance_window: ::String
|
4243
4243
|
attr_accessor profile_name: ::String
|
4244
4244
|
attr_accessor state_detail: ::String
|
4245
|
+
attr_accessor execution_role_session_policy: ::String
|
4245
4246
|
SENSITIVE: []
|
4246
4247
|
end
|
4247
4248
|
|
@@ -6086,6 +6087,7 @@ module Aws::Glue
|
|
6086
6087
|
attr_accessor worker_type: ("Standard" | "G.1X" | "G.2X" | "G.025X" | "G.4X" | "G.8X" | "Z.2X")
|
6087
6088
|
attr_accessor number_of_workers: ::Integer
|
6088
6089
|
attr_accessor execution_class: ("FLEX" | "STANDARD")
|
6090
|
+
attr_accessor execution_role_session_policy: ::String
|
6089
6091
|
SENSITIVE: []
|
6090
6092
|
end
|
6091
6093
|
|