@aws-sdk/client-glue 3.398.0 → 3.405.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/protocols/Aws_json1_1.js +6 -0
- package/dist-es/protocols/Aws_json1_1.js +6 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +6 -0
- package/dist-types/commands/GetSessionCommand.d.ts +6 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +6 -0
- package/dist-types/models/models_1.d.ts +30 -0
- package/dist-types/ts3.4/models/models_1.d.ts +6 -0
- package/package.json +7 -7
|
@@ -12722,18 +12722,24 @@ const de_SecurityConfigurationList = (output, context) => {
|
|
|
12722
12722
|
const de_Session = (output, context) => {
|
|
12723
12723
|
return (0, smithy_client_1.take)(output, {
|
|
12724
12724
|
Command: smithy_client_1._json,
|
|
12725
|
+
CompletedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
12725
12726
|
Connections: smithy_client_1._json,
|
|
12726
12727
|
CreatedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
12728
|
+
DPUSeconds: smithy_client_1.limitedParseDouble,
|
|
12727
12729
|
DefaultArguments: smithy_client_1._json,
|
|
12728
12730
|
Description: smithy_client_1.expectString,
|
|
12729
12731
|
ErrorMessage: smithy_client_1.expectString,
|
|
12732
|
+
ExecutionTime: smithy_client_1.limitedParseDouble,
|
|
12730
12733
|
GlueVersion: smithy_client_1.expectString,
|
|
12731
12734
|
Id: smithy_client_1.expectString,
|
|
12735
|
+
IdleTimeout: smithy_client_1.expectInt32,
|
|
12732
12736
|
MaxCapacity: smithy_client_1.limitedParseDouble,
|
|
12737
|
+
NumberOfWorkers: smithy_client_1.expectInt32,
|
|
12733
12738
|
Progress: smithy_client_1.limitedParseDouble,
|
|
12734
12739
|
Role: smithy_client_1.expectString,
|
|
12735
12740
|
SecurityConfiguration: smithy_client_1.expectString,
|
|
12736
12741
|
Status: smithy_client_1.expectString,
|
|
12742
|
+
WorkerType: smithy_client_1.expectString,
|
|
12737
12743
|
});
|
|
12738
12744
|
};
|
|
12739
12745
|
const de_SessionList = (output, context) => {
|
|
@@ -12307,18 +12307,24 @@ const de_SecurityConfigurationList = (output, context) => {
|
|
|
12307
12307
|
const de_Session = (output, context) => {
|
|
12308
12308
|
return take(output, {
|
|
12309
12309
|
Command: _json,
|
|
12310
|
+
CompletedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
12310
12311
|
Connections: _json,
|
|
12311
12312
|
CreatedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
12313
|
+
DPUSeconds: __limitedParseDouble,
|
|
12312
12314
|
DefaultArguments: _json,
|
|
12313
12315
|
Description: __expectString,
|
|
12314
12316
|
ErrorMessage: __expectString,
|
|
12317
|
+
ExecutionTime: __limitedParseDouble,
|
|
12315
12318
|
GlueVersion: __expectString,
|
|
12316
12319
|
Id: __expectString,
|
|
12320
|
+
IdleTimeout: __expectInt32,
|
|
12317
12321
|
MaxCapacity: __limitedParseDouble,
|
|
12322
|
+
NumberOfWorkers: __expectInt32,
|
|
12318
12323
|
Progress: __limitedParseDouble,
|
|
12319
12324
|
Role: __expectString,
|
|
12320
12325
|
SecurityConfiguration: __expectString,
|
|
12321
12326
|
Status: __expectString,
|
|
12327
|
+
WorkerType: __expectString,
|
|
12322
12328
|
});
|
|
12323
12329
|
};
|
|
12324
12330
|
const de_SessionList = (output, context) => {
|
|
@@ -84,6 +84,12 @@ export interface CreateSessionCommandOutput extends CreateSessionResponse, __Met
|
|
|
84
84
|
* // MaxCapacity: Number("double"),
|
|
85
85
|
* // SecurityConfiguration: "STRING_VALUE",
|
|
86
86
|
* // GlueVersion: "STRING_VALUE",
|
|
87
|
+
* // NumberOfWorkers: Number("int"),
|
|
88
|
+
* // WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X",
|
|
89
|
+
* // CompletedOn: new Date("TIMESTAMP"),
|
|
90
|
+
* // ExecutionTime: Number("double"),
|
|
91
|
+
* // DPUSeconds: Number("double"),
|
|
92
|
+
* // IdleTimeout: Number("int"),
|
|
87
93
|
* // },
|
|
88
94
|
* // };
|
|
89
95
|
*
|
|
@@ -60,6 +60,12 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
|
|
|
60
60
|
* // MaxCapacity: Number("double"),
|
|
61
61
|
* // SecurityConfiguration: "STRING_VALUE",
|
|
62
62
|
* // GlueVersion: "STRING_VALUE",
|
|
63
|
+
* // NumberOfWorkers: Number("int"),
|
|
64
|
+
* // WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X",
|
|
65
|
+
* // CompletedOn: new Date("TIMESTAMP"),
|
|
66
|
+
* // ExecutionTime: Number("double"),
|
|
67
|
+
* // DPUSeconds: Number("double"),
|
|
68
|
+
* // IdleTimeout: Number("int"),
|
|
63
69
|
* // },
|
|
64
70
|
* // };
|
|
65
71
|
*
|
|
@@ -68,6 +68,12 @@ export interface ListSessionsCommandOutput extends ListSessionsResponse, __Metad
|
|
|
68
68
|
* // MaxCapacity: Number("double"),
|
|
69
69
|
* // SecurityConfiguration: "STRING_VALUE",
|
|
70
70
|
* // GlueVersion: "STRING_VALUE",
|
|
71
|
+
* // NumberOfWorkers: Number("int"),
|
|
72
|
+
* // WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X",
|
|
73
|
+
* // CompletedOn: new Date("TIMESTAMP"),
|
|
74
|
+
* // ExecutionTime: Number("double"),
|
|
75
|
+
* // DPUSeconds: Number("double"),
|
|
76
|
+
* // IdleTimeout: Number("int"),
|
|
71
77
|
* // },
|
|
72
78
|
* // ],
|
|
73
79
|
* // NextToken: "STRING_VALUE",
|
|
@@ -1088,6 +1088,36 @@ export interface Session {
|
|
|
1088
1088
|
* The GlueVersion must be greater than 2.0.</p>
|
|
1089
1089
|
*/
|
|
1090
1090
|
GlueVersion?: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* @public
|
|
1093
|
+
* <p>The number of workers of a defined <code>WorkerType</code> to use for the session.</p>
|
|
1094
|
+
*/
|
|
1095
|
+
NumberOfWorkers?: number;
|
|
1096
|
+
/**
|
|
1097
|
+
* @public
|
|
1098
|
+
* <p>The type of predefined worker that is allocated when a session runs. Accepts a value of <code>G.1X</code>, <code>G.2X</code>, <code>G.4X</code>, or <code>G.8X</code> for Spark sessions. Accepts the value <code>Z.2X</code> for Ray sessions.</p>
|
|
1099
|
+
*/
|
|
1100
|
+
WorkerType?: WorkerType | string;
|
|
1101
|
+
/**
|
|
1102
|
+
* @public
|
|
1103
|
+
* <p>The date and time that this session is completed.</p>
|
|
1104
|
+
*/
|
|
1105
|
+
CompletedOn?: Date;
|
|
1106
|
+
/**
|
|
1107
|
+
* @public
|
|
1108
|
+
* <p>The total time the session ran for.</p>
|
|
1109
|
+
*/
|
|
1110
|
+
ExecutionTime?: number;
|
|
1111
|
+
/**
|
|
1112
|
+
* @public
|
|
1113
|
+
* <p>The DPUs consumed by the session (formula: ExecutionTime * MaxCapacity).</p>
|
|
1114
|
+
*/
|
|
1115
|
+
DPUSeconds?: number;
|
|
1116
|
+
/**
|
|
1117
|
+
* @public
|
|
1118
|
+
* <p>The number of minutes when idle before the session times out.</p>
|
|
1119
|
+
*/
|
|
1120
|
+
IdleTimeout?: number;
|
|
1091
1121
|
}
|
|
1092
1122
|
/**
|
|
1093
1123
|
* @public
|
|
@@ -291,6 +291,12 @@ export interface Session {
|
|
|
291
291
|
MaxCapacity?: number;
|
|
292
292
|
SecurityConfiguration?: string;
|
|
293
293
|
GlueVersion?: string;
|
|
294
|
+
NumberOfWorkers?: number;
|
|
295
|
+
WorkerType?: WorkerType | string;
|
|
296
|
+
CompletedOn?: Date;
|
|
297
|
+
ExecutionTime?: number;
|
|
298
|
+
DPUSeconds?: number;
|
|
299
|
+
IdleTimeout?: number;
|
|
294
300
|
}
|
|
295
301
|
export interface CreateSessionResponse {
|
|
296
302
|
Session?: Session;
|
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.405.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.405.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.405.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.398.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.398.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.398.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/types": "3.398.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.398.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.398.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.405.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^2.0.5",
|
|
37
37
|
"@smithy/hash-node": "^2.0.5",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@smithy/middleware-retry": "^2.0.5",
|
|
42
42
|
"@smithy/middleware-serde": "^2.0.5",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.6",
|
|
45
45
|
"@smithy/node-http-handler": "^2.0.5",
|
|
46
46
|
"@smithy/protocol-http": "^2.0.5",
|
|
47
47
|
"@smithy/smithy-client": "^2.0.5",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.6",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.6",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
57
|
"tslib": "^2.5.0"
|