@aws-sdk/client-glue 3.576.0 → 3.581.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 +5 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +4 -0
- package/dist-types/commands/BatchGetJobsCommand.d.ts +1 -0
- package/dist-types/commands/BatchGetTriggersCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetWorkflowsCommand.d.ts +6 -4
- package/dist-types/commands/CreateJobCommand.d.ts +1 -0
- package/dist-types/commands/CreateTriggerCommand.d.ts +1 -1
- package/dist-types/commands/GetJobCommand.d.ts +1 -0
- package/dist-types/commands/GetJobRunCommand.d.ts +2 -1
- package/dist-types/commands/GetJobRunsCommand.d.ts +2 -1
- package/dist-types/commands/GetJobsCommand.d.ts +1 -0
- package/dist-types/commands/GetTriggerCommand.d.ts +1 -1
- package/dist-types/commands/GetTriggersCommand.d.ts +1 -1
- package/dist-types/commands/GetWorkflowCommand.d.ts +6 -4
- package/dist-types/commands/GetWorkflowRunCommand.d.ts +3 -2
- package/dist-types/commands/GetWorkflowRunsCommand.d.ts +3 -2
- package/dist-types/commands/UpdateJobCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTriggerCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +11 -2
- package/dist-types/models/models_2.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_2.d.ts +3 -0
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1093,6 +1093,7 @@ var LogicalOperator = {
|
|
|
1093
1093
|
};
|
|
1094
1094
|
var JobRunState = {
|
|
1095
1095
|
ERROR: "ERROR",
|
|
1096
|
+
EXPIRED: "EXPIRED",
|
|
1096
1097
|
FAILED: "FAILED",
|
|
1097
1098
|
RUNNING: "RUNNING",
|
|
1098
1099
|
STARTING: "STARTING",
|
|
@@ -6571,6 +6572,7 @@ var se_CreateJobRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
6571
6572
|
ExecutionProperty: import_smithy_client._json,
|
|
6572
6573
|
GlueVersion: [],
|
|
6573
6574
|
LogUri: [],
|
|
6575
|
+
MaintenanceWindow: [],
|
|
6574
6576
|
MaxCapacity: import_smithy_client.serializeFloat,
|
|
6575
6577
|
MaxRetries: [],
|
|
6576
6578
|
Name: [],
|
|
@@ -6846,6 +6848,7 @@ var se_JobUpdate = /* @__PURE__ */ __name((input, context) => {
|
|
|
6846
6848
|
ExecutionProperty: import_smithy_client._json,
|
|
6847
6849
|
GlueVersion: [],
|
|
6848
6850
|
LogUri: [],
|
|
6851
|
+
MaintenanceWindow: [],
|
|
6849
6852
|
MaxCapacity: import_smithy_client.serializeFloat,
|
|
6850
6853
|
MaxRetries: [],
|
|
6851
6854
|
NonOverridableArguments: import_smithy_client._json,
|
|
@@ -8348,6 +8351,7 @@ var de_Job = /* @__PURE__ */ __name((output, context) => {
|
|
|
8348
8351
|
GlueVersion: import_smithy_client.expectString,
|
|
8349
8352
|
LastModifiedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
8350
8353
|
LogUri: import_smithy_client.expectString,
|
|
8354
|
+
MaintenanceWindow: import_smithy_client.expectString,
|
|
8351
8355
|
MaxCapacity: import_smithy_client.limitedParseDouble,
|
|
8352
8356
|
MaxRetries: import_smithy_client.expectInt32,
|
|
8353
8357
|
Name: import_smithy_client.expectString,
|
|
@@ -8388,6 +8392,7 @@ var de_JobRun = /* @__PURE__ */ __name((output, context) => {
|
|
|
8388
8392
|
JobRunState: import_smithy_client.expectString,
|
|
8389
8393
|
LastModifiedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
8390
8394
|
LogGroupName: import_smithy_client.expectString,
|
|
8395
|
+
MaintenanceWindow: import_smithy_client.expectString,
|
|
8391
8396
|
MaxCapacity: import_smithy_client.limitedParseDouble,
|
|
8392
8397
|
NotificationProperty: import_smithy_client._json,
|
|
8393
8398
|
NumberOfWorkers: import_smithy_client.expectInt32,
|
|
@@ -4700,6 +4700,7 @@ const se_CreateJobRequest = (input, context) => {
|
|
|
4700
4700
|
ExecutionProperty: _json,
|
|
4701
4701
|
GlueVersion: [],
|
|
4702
4702
|
LogUri: [],
|
|
4703
|
+
MaintenanceWindow: [],
|
|
4703
4704
|
MaxCapacity: __serializeFloat,
|
|
4704
4705
|
MaxRetries: [],
|
|
4705
4706
|
Name: [],
|
|
@@ -4977,6 +4978,7 @@ const se_JobUpdate = (input, context) => {
|
|
|
4977
4978
|
ExecutionProperty: _json,
|
|
4978
4979
|
GlueVersion: [],
|
|
4979
4980
|
LogUri: [],
|
|
4981
|
+
MaintenanceWindow: [],
|
|
4980
4982
|
MaxCapacity: __serializeFloat,
|
|
4981
4983
|
MaxRetries: [],
|
|
4982
4984
|
NonOverridableArguments: _json,
|
|
@@ -6537,6 +6539,7 @@ const de_Job = (output, context) => {
|
|
|
6537
6539
|
GlueVersion: __expectString,
|
|
6538
6540
|
LastModifiedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6539
6541
|
LogUri: __expectString,
|
|
6542
|
+
MaintenanceWindow: __expectString,
|
|
6540
6543
|
MaxCapacity: __limitedParseDouble,
|
|
6541
6544
|
MaxRetries: __expectInt32,
|
|
6542
6545
|
Name: __expectString,
|
|
@@ -6579,6 +6582,7 @@ const de_JobRun = (output, context) => {
|
|
|
6579
6582
|
JobRunState: __expectString,
|
|
6580
6583
|
LastModifiedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6581
6584
|
LogGroupName: __expectString,
|
|
6585
|
+
MaintenanceWindow: __expectString,
|
|
6582
6586
|
MaxCapacity: __limitedParseDouble,
|
|
6583
6587
|
NotificationProperty: _json,
|
|
6584
6588
|
NumberOfWorkers: __expectInt32,
|
|
@@ -1117,6 +1117,7 @@ declare const BatchGetJobsCommand_base: {
|
|
|
1117
1117
|
* // AuthStrategy: "PERSONAL_ACCESS_TOKEN" || "AWS_SECRETS_MANAGER",
|
|
1118
1118
|
* // AuthToken: "STRING_VALUE",
|
|
1119
1119
|
* // },
|
|
1120
|
+
* // MaintenanceWindow: "STRING_VALUE",
|
|
1120
1121
|
* // },
|
|
1121
1122
|
* // ],
|
|
1122
1123
|
* // JobsNotFound: [ // JobNameList
|
|
@@ -70,7 +70,7 @@ declare const BatchGetTriggersCommand_base: {
|
|
|
70
70
|
* // { // Condition
|
|
71
71
|
* // LogicalOperator: "EQUALS",
|
|
72
72
|
* // JobName: "STRING_VALUE",
|
|
73
|
-
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
73
|
+
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
74
74
|
* // CrawlerName: "STRING_VALUE",
|
|
75
75
|
* // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
76
76
|
* // },
|
|
@@ -107,7 +107,7 @@ declare const BatchGetWorkflowsCommand_base: {
|
|
|
107
107
|
* // { // Condition
|
|
108
108
|
* // LogicalOperator: "EQUALS",
|
|
109
109
|
* // JobName: "STRING_VALUE",
|
|
110
|
-
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
110
|
+
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
111
111
|
* // CrawlerName: "STRING_VALUE",
|
|
112
112
|
* // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
113
113
|
* // },
|
|
@@ -130,7 +130,7 @@ declare const BatchGetWorkflowsCommand_base: {
|
|
|
130
130
|
* // StartedOn: new Date("TIMESTAMP"),
|
|
131
131
|
* // LastModifiedOn: new Date("TIMESTAMP"),
|
|
132
132
|
* // CompletedOn: new Date("TIMESTAMP"),
|
|
133
|
-
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
133
|
+
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
134
134
|
* // Arguments: {
|
|
135
135
|
* // "<keys>": "STRING_VALUE",
|
|
136
136
|
* // },
|
|
@@ -155,6 +155,7 @@ declare const BatchGetWorkflowsCommand_base: {
|
|
|
155
155
|
* // GlueVersion: "STRING_VALUE",
|
|
156
156
|
* // DPUSeconds: Number("double"),
|
|
157
157
|
* // ExecutionClass: "FLEX" || "STANDARD",
|
|
158
|
+
* // MaintenanceWindow: "STRING_VALUE",
|
|
158
159
|
* // },
|
|
159
160
|
* // ],
|
|
160
161
|
* // },
|
|
@@ -219,7 +220,7 @@ declare const BatchGetWorkflowsCommand_base: {
|
|
|
219
220
|
* // {
|
|
220
221
|
* // LogicalOperator: "EQUALS",
|
|
221
222
|
* // JobName: "STRING_VALUE",
|
|
222
|
-
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
223
|
+
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
223
224
|
* // CrawlerName: "STRING_VALUE",
|
|
224
225
|
* // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
225
226
|
* // },
|
|
@@ -242,7 +243,7 @@ declare const BatchGetWorkflowsCommand_base: {
|
|
|
242
243
|
* // StartedOn: new Date("TIMESTAMP"),
|
|
243
244
|
* // LastModifiedOn: new Date("TIMESTAMP"),
|
|
244
245
|
* // CompletedOn: new Date("TIMESTAMP"),
|
|
245
|
-
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
246
|
+
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
246
247
|
* // Arguments: "<GenericMap>",
|
|
247
248
|
* // ErrorMessage: "STRING_VALUE",
|
|
248
249
|
* // PredecessorRuns: [
|
|
@@ -263,6 +264,7 @@ declare const BatchGetWorkflowsCommand_base: {
|
|
|
263
264
|
* // GlueVersion: "STRING_VALUE",
|
|
264
265
|
* // DPUSeconds: Number("double"),
|
|
265
266
|
* // ExecutionClass: "FLEX" || "STANDARD",
|
|
267
|
+
* // MaintenanceWindow: "STRING_VALUE",
|
|
266
268
|
* // },
|
|
267
269
|
* // ],
|
|
268
270
|
* // },
|
|
@@ -1108,6 +1108,7 @@ declare const CreateJobCommand_base: {
|
|
|
1108
1108
|
* AuthStrategy: "PERSONAL_ACCESS_TOKEN" || "AWS_SECRETS_MANAGER",
|
|
1109
1109
|
* AuthToken: "STRING_VALUE",
|
|
1110
1110
|
* },
|
|
1111
|
+
* MaintenanceWindow: "STRING_VALUE",
|
|
1111
1112
|
* };
|
|
1112
1113
|
* const command = new CreateJobCommand(input);
|
|
1113
1114
|
* const response = await client.send(command);
|
|
@@ -44,7 +44,7 @@ declare const CreateTriggerCommand_base: {
|
|
|
44
44
|
* { // Condition
|
|
45
45
|
* LogicalOperator: "EQUALS",
|
|
46
46
|
* JobName: "STRING_VALUE",
|
|
47
|
-
* State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
47
|
+
* State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
48
48
|
* CrawlerName: "STRING_VALUE",
|
|
49
49
|
* CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
50
50
|
* },
|
|
@@ -50,7 +50,7 @@ declare const GetJobRunCommand_base: {
|
|
|
50
50
|
* // StartedOn: new Date("TIMESTAMP"),
|
|
51
51
|
* // LastModifiedOn: new Date("TIMESTAMP"),
|
|
52
52
|
* // CompletedOn: new Date("TIMESTAMP"),
|
|
53
|
-
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
53
|
+
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
54
54
|
* // Arguments: { // GenericMap
|
|
55
55
|
* // "<keys>": "STRING_VALUE",
|
|
56
56
|
* // },
|
|
@@ -75,6 +75,7 @@ declare const GetJobRunCommand_base: {
|
|
|
75
75
|
* // GlueVersion: "STRING_VALUE",
|
|
76
76
|
* // DPUSeconds: Number("double"),
|
|
77
77
|
* // ExecutionClass: "FLEX" || "STANDARD",
|
|
78
|
+
* // MaintenanceWindow: "STRING_VALUE",
|
|
78
79
|
* // },
|
|
79
80
|
* // };
|
|
80
81
|
*
|
|
@@ -51,7 +51,7 @@ declare const GetJobRunsCommand_base: {
|
|
|
51
51
|
* // StartedOn: new Date("TIMESTAMP"),
|
|
52
52
|
* // LastModifiedOn: new Date("TIMESTAMP"),
|
|
53
53
|
* // CompletedOn: new Date("TIMESTAMP"),
|
|
54
|
-
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
54
|
+
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
55
55
|
* // Arguments: { // GenericMap
|
|
56
56
|
* // "<keys>": "STRING_VALUE",
|
|
57
57
|
* // },
|
|
@@ -76,6 +76,7 @@ declare const GetJobRunsCommand_base: {
|
|
|
76
76
|
* // GlueVersion: "STRING_VALUE",
|
|
77
77
|
* // DPUSeconds: Number("double"),
|
|
78
78
|
* // ExecutionClass: "FLEX" || "STANDARD",
|
|
79
|
+
* // MaintenanceWindow: "STRING_VALUE",
|
|
79
80
|
* // },
|
|
80
81
|
* // ],
|
|
81
82
|
* // NextToken: "STRING_VALUE",
|
|
@@ -1115,6 +1115,7 @@ declare const GetJobsCommand_base: {
|
|
|
1115
1115
|
* // AuthStrategy: "PERSONAL_ACCESS_TOKEN" || "AWS_SECRETS_MANAGER",
|
|
1116
1116
|
* // AuthToken: "STRING_VALUE",
|
|
1117
1117
|
* // },
|
|
1118
|
+
* // MaintenanceWindow: "STRING_VALUE",
|
|
1118
1119
|
* // },
|
|
1119
1120
|
* // ],
|
|
1120
1121
|
* // NextToken: "STRING_VALUE",
|
|
@@ -67,7 +67,7 @@ declare const GetTriggerCommand_base: {
|
|
|
67
67
|
* // { // Condition
|
|
68
68
|
* // LogicalOperator: "EQUALS",
|
|
69
69
|
* // JobName: "STRING_VALUE",
|
|
70
|
-
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
70
|
+
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
71
71
|
* // CrawlerName: "STRING_VALUE",
|
|
72
72
|
* // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
73
73
|
* // },
|
|
@@ -70,7 +70,7 @@ declare const GetTriggersCommand_base: {
|
|
|
70
70
|
* // { // Condition
|
|
71
71
|
* // LogicalOperator: "EQUALS",
|
|
72
72
|
* // JobName: "STRING_VALUE",
|
|
73
|
-
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
73
|
+
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
74
74
|
* // CrawlerName: "STRING_VALUE",
|
|
75
75
|
* // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
76
76
|
* // },
|
|
@@ -104,7 +104,7 @@ declare const GetWorkflowCommand_base: {
|
|
|
104
104
|
* // { // Condition
|
|
105
105
|
* // LogicalOperator: "EQUALS",
|
|
106
106
|
* // JobName: "STRING_VALUE",
|
|
107
|
-
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
107
|
+
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
108
108
|
* // CrawlerName: "STRING_VALUE",
|
|
109
109
|
* // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
110
110
|
* // },
|
|
@@ -127,7 +127,7 @@ declare const GetWorkflowCommand_base: {
|
|
|
127
127
|
* // StartedOn: new Date("TIMESTAMP"),
|
|
128
128
|
* // LastModifiedOn: new Date("TIMESTAMP"),
|
|
129
129
|
* // CompletedOn: new Date("TIMESTAMP"),
|
|
130
|
-
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
130
|
+
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
131
131
|
* // Arguments: {
|
|
132
132
|
* // "<keys>": "STRING_VALUE",
|
|
133
133
|
* // },
|
|
@@ -152,6 +152,7 @@ declare const GetWorkflowCommand_base: {
|
|
|
152
152
|
* // GlueVersion: "STRING_VALUE",
|
|
153
153
|
* // DPUSeconds: Number("double"),
|
|
154
154
|
* // ExecutionClass: "FLEX" || "STANDARD",
|
|
155
|
+
* // MaintenanceWindow: "STRING_VALUE",
|
|
155
156
|
* // },
|
|
156
157
|
* // ],
|
|
157
158
|
* // },
|
|
@@ -216,7 +217,7 @@ declare const GetWorkflowCommand_base: {
|
|
|
216
217
|
* // {
|
|
217
218
|
* // LogicalOperator: "EQUALS",
|
|
218
219
|
* // JobName: "STRING_VALUE",
|
|
219
|
-
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
220
|
+
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
220
221
|
* // CrawlerName: "STRING_VALUE",
|
|
221
222
|
* // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
222
223
|
* // },
|
|
@@ -239,7 +240,7 @@ declare const GetWorkflowCommand_base: {
|
|
|
239
240
|
* // StartedOn: new Date("TIMESTAMP"),
|
|
240
241
|
* // LastModifiedOn: new Date("TIMESTAMP"),
|
|
241
242
|
* // CompletedOn: new Date("TIMESTAMP"),
|
|
242
|
-
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
243
|
+
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
243
244
|
* // Arguments: "<GenericMap>",
|
|
244
245
|
* // ErrorMessage: "STRING_VALUE",
|
|
245
246
|
* // PredecessorRuns: [
|
|
@@ -260,6 +261,7 @@ declare const GetWorkflowCommand_base: {
|
|
|
260
261
|
* // GlueVersion: "STRING_VALUE",
|
|
261
262
|
* // DPUSeconds: Number("double"),
|
|
262
263
|
* // ExecutionClass: "FLEX" || "STANDARD",
|
|
264
|
+
* // MaintenanceWindow: "STRING_VALUE",
|
|
263
265
|
* // },
|
|
264
266
|
* // ],
|
|
265
267
|
* // },
|
|
@@ -97,7 +97,7 @@ declare const GetWorkflowRunCommand_base: {
|
|
|
97
97
|
* // { // Condition
|
|
98
98
|
* // LogicalOperator: "EQUALS",
|
|
99
99
|
* // JobName: "STRING_VALUE",
|
|
100
|
-
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
100
|
+
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
101
101
|
* // CrawlerName: "STRING_VALUE",
|
|
102
102
|
* // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
103
103
|
* // },
|
|
@@ -120,7 +120,7 @@ declare const GetWorkflowRunCommand_base: {
|
|
|
120
120
|
* // StartedOn: new Date("TIMESTAMP"),
|
|
121
121
|
* // LastModifiedOn: new Date("TIMESTAMP"),
|
|
122
122
|
* // CompletedOn: new Date("TIMESTAMP"),
|
|
123
|
-
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
123
|
+
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
124
124
|
* // Arguments: {
|
|
125
125
|
* // "<keys>": "STRING_VALUE",
|
|
126
126
|
* // },
|
|
@@ -145,6 +145,7 @@ declare const GetWorkflowRunCommand_base: {
|
|
|
145
145
|
* // GlueVersion: "STRING_VALUE",
|
|
146
146
|
* // DPUSeconds: Number("double"),
|
|
147
147
|
* // ExecutionClass: "FLEX" || "STANDARD",
|
|
148
|
+
* // MaintenanceWindow: "STRING_VALUE",
|
|
148
149
|
* // },
|
|
149
150
|
* // ],
|
|
150
151
|
* // },
|
|
@@ -99,7 +99,7 @@ declare const GetWorkflowRunsCommand_base: {
|
|
|
99
99
|
* // { // Condition
|
|
100
100
|
* // LogicalOperator: "EQUALS",
|
|
101
101
|
* // JobName: "STRING_VALUE",
|
|
102
|
-
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
102
|
+
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
103
103
|
* // CrawlerName: "STRING_VALUE",
|
|
104
104
|
* // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
105
105
|
* // },
|
|
@@ -122,7 +122,7 @@ declare const GetWorkflowRunsCommand_base: {
|
|
|
122
122
|
* // StartedOn: new Date("TIMESTAMP"),
|
|
123
123
|
* // LastModifiedOn: new Date("TIMESTAMP"),
|
|
124
124
|
* // CompletedOn: new Date("TIMESTAMP"),
|
|
125
|
-
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
125
|
+
* // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
126
126
|
* // Arguments: {
|
|
127
127
|
* // "<keys>": "STRING_VALUE",
|
|
128
128
|
* // },
|
|
@@ -147,6 +147,7 @@ declare const GetWorkflowRunsCommand_base: {
|
|
|
147
147
|
* // GlueVersion: "STRING_VALUE",
|
|
148
148
|
* // DPUSeconds: Number("double"),
|
|
149
149
|
* // ExecutionClass: "FLEX" || "STANDARD",
|
|
150
|
+
* // MaintenanceWindow: "STRING_VALUE",
|
|
150
151
|
* // },
|
|
151
152
|
* // ],
|
|
152
153
|
* // },
|
|
@@ -1105,6 +1105,7 @@ declare const UpdateJobCommand_base: {
|
|
|
1105
1105
|
* AuthStrategy: "PERSONAL_ACCESS_TOKEN" || "AWS_SECRETS_MANAGER",
|
|
1106
1106
|
* AuthToken: "STRING_VALUE",
|
|
1107
1107
|
* },
|
|
1108
|
+
* MaintenanceWindow: "STRING_VALUE",
|
|
1108
1109
|
* },
|
|
1109
1110
|
* };
|
|
1110
1111
|
* const command = new UpdateJobCommand(input);
|
|
@@ -59,7 +59,7 @@ declare const UpdateTriggerCommand_base: {
|
|
|
59
59
|
* { // Condition
|
|
60
60
|
* LogicalOperator: "EQUALS",
|
|
61
61
|
* JobName: "STRING_VALUE",
|
|
62
|
-
* State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
62
|
+
* State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
63
63
|
* CrawlerName: "STRING_VALUE",
|
|
64
64
|
* CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
65
65
|
* },
|
|
@@ -102,7 +102,7 @@ declare const UpdateTriggerCommand_base: {
|
|
|
102
102
|
* // { // Condition
|
|
103
103
|
* // LogicalOperator: "EQUALS",
|
|
104
104
|
* // JobName: "STRING_VALUE",
|
|
105
|
-
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING",
|
|
105
|
+
* // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED",
|
|
106
106
|
* // CrawlerName: "STRING_VALUE",
|
|
107
107
|
* // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR",
|
|
108
108
|
* // },
|
|
@@ -6373,6 +6373,7 @@ export type LogicalOperator = (typeof LogicalOperator)[keyof typeof LogicalOpera
|
|
|
6373
6373
|
*/
|
|
6374
6374
|
export declare const JobRunState: {
|
|
6375
6375
|
readonly ERROR: "ERROR";
|
|
6376
|
+
readonly EXPIRED: "EXPIRED";
|
|
6376
6377
|
readonly FAILED: "FAILED";
|
|
6377
6378
|
readonly RUNNING: "RUNNING";
|
|
6378
6379
|
readonly STARTING: "STARTING";
|
|
@@ -6764,7 +6765,9 @@ export interface JobRun {
|
|
|
6764
6765
|
/**
|
|
6765
6766
|
* <p>The <code>JobRun</code> timeout in minutes. This is the maximum time that a job run can
|
|
6766
6767
|
* consume resources before it is terminated and enters <code>TIMEOUT</code> status. This value overrides the timeout value set in the parent job.</p>
|
|
6767
|
-
* <p>
|
|
6768
|
+
* <p>The maximum value for timeout for batch jobs is 7 days or 10080 minutes. The default is 2880 minutes (48 hours) for batch jobs.</p>
|
|
6769
|
+
* <p>Any existing Glue jobs that have a greater timeout value are defaulted to 7 days. For instance you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.</p>
|
|
6770
|
+
* <p>Streaming jobs must have timeout values less than 7 days or 10080 minutes. When the value is left blank, the job will be restarted after 7 days based if you have not setup a maintenance window. If you have setup maintenance window, it will be restarted during the maintenance window after 7 days.</p>
|
|
6768
6771
|
* @public
|
|
6769
6772
|
*/
|
|
6770
6773
|
Timeout?: number;
|
|
@@ -6861,7 +6864,7 @@ export interface JobRun {
|
|
|
6861
6864
|
*/
|
|
6862
6865
|
GlueVersion?: string;
|
|
6863
6866
|
/**
|
|
6864
|
-
* <p>This field
|
|
6867
|
+
* <p>This field can be set for either job runs with execution class <code>FLEX</code> or when Auto Scaling is enabled, and represents the total time each executor ran during the lifecycle of a job run in seconds, multiplied by a DPU factor (1 for <code>G.1X</code>, 2 for <code>G.2X</code>, or 0.25 for <code>G.025X</code> workers). This value may be different than the <code>executionEngineRuntime</code> * <code>MaxCapacity</code> as in the case of Auto Scaling jobs, as the number of executors running at a given time may be less than the <code>MaxCapacity</code>. Therefore, it is possible that the value of <code>DPUSeconds</code> is less than <code>executionEngineRuntime</code> * <code>MaxCapacity</code>.</p>
|
|
6865
6868
|
* @public
|
|
6866
6869
|
*/
|
|
6867
6870
|
DPUSeconds?: number;
|
|
@@ -6872,6 +6875,12 @@ export interface JobRun {
|
|
|
6872
6875
|
* @public
|
|
6873
6876
|
*/
|
|
6874
6877
|
ExecutionClass?: ExecutionClass;
|
|
6878
|
+
/**
|
|
6879
|
+
* <p>This field specifies a day of the week and hour for a maintenance window for streaming jobs. Glue periodically performs maintenance activities. During these maintenance windows, Glue will need to restart your streaming jobs.</p>
|
|
6880
|
+
* <p>Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.</p>
|
|
6881
|
+
* @public
|
|
6882
|
+
*/
|
|
6883
|
+
MaintenanceWindow?: string;
|
|
6875
6884
|
}
|
|
6876
6885
|
/**
|
|
6877
6886
|
* <p>The details of a Job node present in the workflow.</p>
|
|
@@ -6080,6 +6080,12 @@ export interface CreateJobRequest {
|
|
|
6080
6080
|
* @public
|
|
6081
6081
|
*/
|
|
6082
6082
|
SourceControlDetails?: SourceControlDetails;
|
|
6083
|
+
/**
|
|
6084
|
+
* <p>This field specifies a day of the week and hour for a maintenance window for streaming jobs. Glue periodically performs maintenance activities. During these maintenance windows, Glue will need to restart your streaming jobs.</p>
|
|
6085
|
+
* <p>Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.</p>
|
|
6086
|
+
* @public
|
|
6087
|
+
*/
|
|
6088
|
+
MaintenanceWindow?: string;
|
|
6083
6089
|
}
|
|
6084
6090
|
/**
|
|
6085
6091
|
* <p>Specifies a job definition.</p>
|
|
@@ -6278,6 +6284,12 @@ export interface Job {
|
|
|
6278
6284
|
* @public
|
|
6279
6285
|
*/
|
|
6280
6286
|
SourceControlDetails?: SourceControlDetails;
|
|
6287
|
+
/**
|
|
6288
|
+
* <p>This field specifies a day of the week and hour for a maintenance window for streaming jobs. Glue periodically performs maintenance activities. During these maintenance windows, Glue will need to restart your streaming jobs.</p>
|
|
6289
|
+
* <p>Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.</p>
|
|
6290
|
+
* @public
|
|
6291
|
+
*/
|
|
6292
|
+
MaintenanceWindow?: string;
|
|
6281
6293
|
}
|
|
6282
6294
|
/**
|
|
6283
6295
|
* <p>Specifies information used to update an existing job definition. The previous job
|
|
@@ -6462,6 +6474,12 @@ export interface JobUpdate {
|
|
|
6462
6474
|
* @public
|
|
6463
6475
|
*/
|
|
6464
6476
|
SourceControlDetails?: SourceControlDetails;
|
|
6477
|
+
/**
|
|
6478
|
+
* <p>This field specifies a day of the week and hour for a maintenance window for streaming jobs. Glue periodically performs maintenance activities. During these maintenance windows, Glue will need to restart your streaming jobs.</p>
|
|
6479
|
+
* <p>Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.</p>
|
|
6480
|
+
* @public
|
|
6481
|
+
*/
|
|
6482
|
+
MaintenanceWindow?: string;
|
|
6465
6483
|
}
|
|
6466
6484
|
/**
|
|
6467
6485
|
* @public
|
|
@@ -1659,6 +1659,7 @@ export type LogicalOperator =
|
|
|
1659
1659
|
(typeof LogicalOperator)[keyof typeof LogicalOperator];
|
|
1660
1660
|
export declare const JobRunState: {
|
|
1661
1661
|
readonly ERROR: "ERROR";
|
|
1662
|
+
readonly EXPIRED: "EXPIRED";
|
|
1662
1663
|
readonly FAILED: "FAILED";
|
|
1663
1664
|
readonly RUNNING: "RUNNING";
|
|
1664
1665
|
readonly STARTING: "STARTING";
|
|
@@ -1771,6 +1772,7 @@ export interface JobRun {
|
|
|
1771
1772
|
GlueVersion?: string;
|
|
1772
1773
|
DPUSeconds?: number;
|
|
1773
1774
|
ExecutionClass?: ExecutionClass;
|
|
1775
|
+
MaintenanceWindow?: string;
|
|
1774
1776
|
}
|
|
1775
1777
|
export interface JobNodeDetails {
|
|
1776
1778
|
JobRuns?: JobRun[];
|
|
@@ -1567,6 +1567,7 @@ export interface CreateJobRequest {
|
|
|
1567
1567
|
CodeGenConfigurationNodes?: Record<string, CodeGenConfigurationNode>;
|
|
1568
1568
|
ExecutionClass?: ExecutionClass;
|
|
1569
1569
|
SourceControlDetails?: SourceControlDetails;
|
|
1570
|
+
MaintenanceWindow?: string;
|
|
1570
1571
|
}
|
|
1571
1572
|
export interface Job {
|
|
1572
1573
|
Name?: string;
|
|
@@ -1592,6 +1593,7 @@ export interface Job {
|
|
|
1592
1593
|
CodeGenConfigurationNodes?: Record<string, CodeGenConfigurationNode>;
|
|
1593
1594
|
ExecutionClass?: ExecutionClass;
|
|
1594
1595
|
SourceControlDetails?: SourceControlDetails;
|
|
1596
|
+
MaintenanceWindow?: string;
|
|
1595
1597
|
}
|
|
1596
1598
|
export interface JobUpdate {
|
|
1597
1599
|
Description?: string;
|
|
@@ -1614,6 +1616,7 @@ export interface JobUpdate {
|
|
|
1614
1616
|
CodeGenConfigurationNodes?: Record<string, CodeGenConfigurationNode>;
|
|
1615
1617
|
ExecutionClass?: ExecutionClass;
|
|
1616
1618
|
SourceControlDetails?: SourceControlDetails;
|
|
1619
|
+
MaintenanceWindow?: string;
|
|
1617
1620
|
}
|
|
1618
1621
|
export interface GetJobResponse {
|
|
1619
1622
|
Job?: Job;
|
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.581.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",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.577.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.577.0",
|
|
25
25
|
"@aws-sdk/core": "3.576.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.577.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.577.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.577.0",
|
|
32
|
+
"@aws-sdk/types": "3.577.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.577.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.577.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.0",
|
|
37
37
|
"@smithy/core": "^2.0.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.0",
|