@aws-sdk/client-glue 3.847.0 → 3.852.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.
- package/dist-cjs/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -0
- package/dist-types/commands/BatchGetWorkflowsCommand.d.ts +2 -0
- package/dist-types/commands/GetJobRunCommand.d.ts +1 -0
- package/dist-types/commands/GetJobRunsCommand.d.ts +1 -0
- package/dist-types/commands/GetWorkflowCommand.d.ts +2 -0
- package/dist-types/commands/GetWorkflowRunCommand.d.ts +1 -0
- package/dist-types/commands/GetWorkflowRunsCommand.d.ts +1 -0
- package/dist-types/commands/StartJobRunCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +6 -0
- package/dist-types/models/models_3.d.ts +10 -21
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_3.d.ts +1 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -8913,6 +8913,7 @@ var se_StartJobRunRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
8913
8913
|
AllocatedCapacity: [],
|
|
8914
8914
|
Arguments: import_smithy_client._json,
|
|
8915
8915
|
ExecutionClass: [],
|
|
8916
|
+
ExecutionRoleSessionPolicy: [],
|
|
8916
8917
|
JobName: [],
|
|
8917
8918
|
JobRunId: [],
|
|
8918
8919
|
JobRunQueuingEnabled: [],
|
|
@@ -10563,6 +10564,7 @@ var de_JobRun = /* @__PURE__ */ __name((output, context) => {
|
|
|
10563
10564
|
DPUSeconds: import_smithy_client.limitedParseDouble,
|
|
10564
10565
|
ErrorMessage: import_smithy_client.expectString,
|
|
10565
10566
|
ExecutionClass: import_smithy_client.expectString,
|
|
10567
|
+
ExecutionRoleSessionPolicy: import_smithy_client.expectString,
|
|
10566
10568
|
ExecutionTime: import_smithy_client.expectInt32,
|
|
10567
10569
|
GlueVersion: import_smithy_client.expectString,
|
|
10568
10570
|
Id: import_smithy_client.expectString,
|
|
@@ -6143,6 +6143,7 @@ const se_StartJobRunRequest = (input, context) => {
|
|
|
6143
6143
|
AllocatedCapacity: [],
|
|
6144
6144
|
Arguments: _json,
|
|
6145
6145
|
ExecutionClass: [],
|
|
6146
|
+
ExecutionRoleSessionPolicy: [],
|
|
6146
6147
|
JobName: [],
|
|
6147
6148
|
JobRunId: [],
|
|
6148
6149
|
JobRunQueuingEnabled: [],
|
|
@@ -7857,6 +7858,7 @@ const de_JobRun = (output, context) => {
|
|
|
7857
7858
|
DPUSeconds: __limitedParseDouble,
|
|
7858
7859
|
ErrorMessage: __expectString,
|
|
7859
7860
|
ExecutionClass: __expectString,
|
|
7861
|
+
ExecutionRoleSessionPolicy: __expectString,
|
|
7860
7862
|
ExecutionTime: __expectInt32,
|
|
7861
7863
|
GlueVersion: __expectString,
|
|
7862
7864
|
Id: __expectString,
|
|
@@ -162,6 +162,7 @@ declare const BatchGetWorkflowsCommand_base: {
|
|
|
162
162
|
* // MaintenanceWindow: "STRING_VALUE",
|
|
163
163
|
* // ProfileName: "STRING_VALUE",
|
|
164
164
|
* // StateDetail: "STRING_VALUE",
|
|
165
|
+
* // ExecutionRoleSessionPolicy: "STRING_VALUE",
|
|
165
166
|
* // },
|
|
166
167
|
* // ],
|
|
167
168
|
* // },
|
|
@@ -275,6 +276,7 @@ declare const BatchGetWorkflowsCommand_base: {
|
|
|
275
276
|
* // MaintenanceWindow: "STRING_VALUE",
|
|
276
277
|
* // ProfileName: "STRING_VALUE",
|
|
277
278
|
* // StateDetail: "STRING_VALUE",
|
|
279
|
+
* // ExecutionRoleSessionPolicy: "STRING_VALUE",
|
|
278
280
|
* // },
|
|
279
281
|
* // ],
|
|
280
282
|
* // },
|
|
@@ -84,6 +84,7 @@ declare const GetJobRunsCommand_base: {
|
|
|
84
84
|
* // MaintenanceWindow: "STRING_VALUE",
|
|
85
85
|
* // ProfileName: "STRING_VALUE",
|
|
86
86
|
* // StateDetail: "STRING_VALUE",
|
|
87
|
+
* // ExecutionRoleSessionPolicy: "STRING_VALUE",
|
|
87
88
|
* // },
|
|
88
89
|
* // ],
|
|
89
90
|
* // NextToken: "STRING_VALUE",
|
|
@@ -158,6 +158,7 @@ declare const GetWorkflowCommand_base: {
|
|
|
158
158
|
* // MaintenanceWindow: "STRING_VALUE",
|
|
159
159
|
* // ProfileName: "STRING_VALUE",
|
|
160
160
|
* // StateDetail: "STRING_VALUE",
|
|
161
|
+
* // ExecutionRoleSessionPolicy: "STRING_VALUE",
|
|
161
162
|
* // },
|
|
162
163
|
* // ],
|
|
163
164
|
* // },
|
|
@@ -271,6 +272,7 @@ declare const GetWorkflowCommand_base: {
|
|
|
271
272
|
* // MaintenanceWindow: "STRING_VALUE",
|
|
272
273
|
* // ProfileName: "STRING_VALUE",
|
|
273
274
|
* // StateDetail: "STRING_VALUE",
|
|
275
|
+
* // ExecutionRoleSessionPolicy: "STRING_VALUE",
|
|
274
276
|
* // },
|
|
275
277
|
* // ],
|
|
276
278
|
* // },
|
|
@@ -51,6 +51,7 @@ declare const StartJobRunCommand_base: {
|
|
|
51
51
|
* WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X",
|
|
52
52
|
* NumberOfWorkers: Number("int"),
|
|
53
53
|
* ExecutionClass: "FLEX" || "STANDARD",
|
|
54
|
+
* ExecutionRoleSessionPolicy: "STRING_VALUE",
|
|
54
55
|
* };
|
|
55
56
|
* const command = new StartJobRunCommand(input);
|
|
56
57
|
* const response = await client.send(command);
|
|
@@ -8071,6 +8071,12 @@ export interface JobRun {
|
|
|
8071
8071
|
* @public
|
|
8072
8072
|
*/
|
|
8073
8073
|
StateDetail?: string | undefined;
|
|
8074
|
+
/**
|
|
8075
|
+
* <p>This inline session policy to the StartJobRun API allows you to dynamically restrict the permissions of the specified
|
|
8076
|
+
* execution role for the scope of the job, without requiring the creation of additional IAM roles.</p>
|
|
8077
|
+
* @public
|
|
8078
|
+
*/
|
|
8079
|
+
ExecutionRoleSessionPolicy?: string | undefined;
|
|
8074
8080
|
}
|
|
8075
8081
|
/**
|
|
8076
8082
|
* <p>The details of a Job node present in the workflow.</p>
|
|
@@ -1026,6 +1026,12 @@ export interface StartJobRunRequest {
|
|
|
1026
1026
|
* @public
|
|
1027
1027
|
*/
|
|
1028
1028
|
ExecutionClass?: ExecutionClass | undefined;
|
|
1029
|
+
/**
|
|
1030
|
+
* <p>This inline session policy to the StartJobRun API allows you to dynamically restrict the permissions of the specified
|
|
1031
|
+
* execution role for the scope of the job, without requiring the creation of additional IAM roles.</p>
|
|
1032
|
+
* @public
|
|
1033
|
+
*/
|
|
1034
|
+
ExecutionRoleSessionPolicy?: string | undefined;
|
|
1029
1035
|
}
|
|
1030
1036
|
/**
|
|
1031
1037
|
* @public
|
|
@@ -4333,27 +4339,10 @@ export interface JobUpdate {
|
|
|
4333
4339
|
MaxCapacity?: number | undefined;
|
|
4334
4340
|
/**
|
|
4335
4341
|
* <p>The type of predefined worker that is allocated when a job runs. Accepts a value of
|
|
4336
|
-
* G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs
|
|
4337
|
-
*
|
|
4338
|
-
*
|
|
4339
|
-
*
|
|
4340
|
-
* </li>
|
|
4341
|
-
* <li>
|
|
4342
|
-
* <p>For the <code>G.2X</code> worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of memory) with 138GB disk, and provides 1 executor per worker. We recommend this worker type for workloads such as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.</p>
|
|
4343
|
-
* </li>
|
|
4344
|
-
* <li>
|
|
4345
|
-
* <p>For the <code>G.4X</code> worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of memory) with 256GB disk, and provides 1 executor per worker. We recommend this worker type for jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available only for Glue version 3.0 or later Spark ETL jobs in the following Amazon Web Services Regions: US East (Ohio), US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe (Stockholm).</p>
|
|
4346
|
-
* </li>
|
|
4347
|
-
* <li>
|
|
4348
|
-
* <p>For the <code>G.8X</code> worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of memory) with 512GB disk, and provides 1 executor per worker. We recommend this worker type for jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon Web Services Regions as supported for the <code>G.4X</code> worker type.</p>
|
|
4349
|
-
* </li>
|
|
4350
|
-
* <li>
|
|
4351
|
-
* <p>For the <code>G.025X</code> worker type, each worker maps to 0.25 DPU (2 vCPUs, 4 GB of memory) with 84GB disk, and provides 1 executor per worker. We recommend this worker type for low volume streaming jobs. This worker type is only available for Glue version 3.0 or later streaming jobs.</p>
|
|
4352
|
-
* </li>
|
|
4353
|
-
* <li>
|
|
4354
|
-
* <p>For the <code>Z.2X</code> worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of memory) with 128 GB disk, and provides up to 8 Ray workers based on the autoscaler.</p>
|
|
4355
|
-
* </li>
|
|
4356
|
-
* </ul>
|
|
4342
|
+
* G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs. For more information, see
|
|
4343
|
+
* <a href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html#create-job">Defining job properties for Spark jobs
|
|
4344
|
+
* </a>
|
|
4345
|
+
* </p>
|
|
4357
4346
|
* @public
|
|
4358
4347
|
*/
|
|
4359
4348
|
WorkerType?: WorkerType | undefined;
|
|
@@ -2089,6 +2089,7 @@ export interface JobRun {
|
|
|
2089
2089
|
MaintenanceWindow?: string | undefined;
|
|
2090
2090
|
ProfileName?: string | undefined;
|
|
2091
2091
|
StateDetail?: string | undefined;
|
|
2092
|
+
ExecutionRoleSessionPolicy?: string | undefined;
|
|
2092
2093
|
}
|
|
2093
2094
|
export interface JobNodeDetails {
|
|
2094
2095
|
JobRuns?: JobRun[] | undefined;
|
|
@@ -398,6 +398,7 @@ export interface StartJobRunRequest {
|
|
|
398
398
|
WorkerType?: WorkerType | undefined;
|
|
399
399
|
NumberOfWorkers?: number | undefined;
|
|
400
400
|
ExecutionClass?: ExecutionClass | undefined;
|
|
401
|
+
ExecutionRoleSessionPolicy?: string | undefined;
|
|
401
402
|
}
|
|
402
403
|
export interface StartJobRunResponse {
|
|
403
404
|
JobRunId?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-glue",
|
|
3
3
|
"description": "AWS SDK for JavaScript Glue Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.852.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-glue",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.846.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.848.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.840.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.848.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
30
30
|
"@aws-sdk/types": "3.840.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.848.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.848.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.7.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.1.0",
|