@aws-sdk/client-glue 3.857.0 → 3.859.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 +54 -18
- package/dist-es/models/models_0.js +8 -5
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/models/models_2.js +0 -9
- package/dist-es/models/models_3.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +26 -0
- package/dist-types/commands/BatchGetJobsCommand.d.ts +181 -67
- package/dist-types/commands/CreateJobCommand.d.ts +181 -67
- package/dist-types/commands/GetClassifierCommand.d.ts +2 -1
- package/dist-types/commands/GetClassifiersCommand.d.ts +1 -1
- package/dist-types/commands/GetColumnStatisticsForPartitionCommand.d.ts +1 -2
- package/dist-types/commands/GetJobCommand.d.ts +181 -67
- package/dist-types/commands/GetJobsCommand.d.ts +181 -67
- package/dist-types/commands/ModifyIntegrationCommand.d.ts +2 -1
- package/dist-types/commands/PutDataCatalogEncryptionSettingsCommand.d.ts +1 -1
- package/dist-types/commands/PutDataQualityProfileAnnotationCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJobCommand.d.ts +181 -67
- package/dist-types/models/models_0.d.ts +445 -448
- package/dist-types/models/models_1.d.ts +430 -231
- package/dist-types/models/models_2.d.ts +232 -232
- package/dist-types/models/models_3.d.ts +298 -27
- package/dist-types/ts3.4/commands/GetClassifierCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetClassifiersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetColumnStatisticsForPartitionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyIntegrationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/PutDataCatalogEncryptionSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutDataQualityProfileAnnotationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +94 -75
- package/dist-types/ts3.4/models/models_1.d.ts +82 -54
- package/dist-types/ts3.4/models/models_2.d.ts +56 -59
- package/dist-types/ts3.4/models/models_3.d.ts +69 -4
- package/package.json +5 -5
|
@@ -1,7 +1,436 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
3
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
4
|
-
import { Action, AllowFullTableExternalDataAccessEnum, AnnotationError, AuthConfiguration, AuthenticationConfigurationInput, AuthenticationType, Blueprint, BlueprintDetails, Column, ConnectionsList, CrawlerTargets, DataOperation, ErrorDetail, EventBatchingCondition, GlueTable, InclusionAnnotationValue, LakeFormationConfiguration, LineageConfiguration, PartitionInput, Predicate, Property, RecrawlPolicy, SchemaChangePolicy, SchemaId,
|
|
4
|
+
import { Action, AllowFullTableExternalDataAccessEnum, AnnotationError, AuthConfiguration, AuthenticationConfigurationInput, AuthenticationType, Blueprint, BlueprintDetails, Column, ConnectionsList, CrawlerTargets, CrawlState, DataOperation, Edge, ErrorDetail, EventBatchingCondition, ExecutionClass, GlueTable, InclusionAnnotationValue, JobMode, JobRunState, LakeFormationConfiguration, LineageConfiguration, NotificationProperty, PartitionInput, Predicate, Property, RecrawlPolicy, SchemaChangePolicy, SchemaId, StorageDescriptor, TableOptimizerConfiguration, TableOptimizerType, Trigger, TriggerType, WorkerType } from "./models_0";
|
|
5
|
+
/**
|
|
6
|
+
* <p>The details of a crawl in the workflow.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface Crawl {
|
|
10
|
+
/**
|
|
11
|
+
* <p>The state of the crawler.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
State?: CrawlState | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* <p>The date and time on which the crawl started.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
StartedOn?: Date | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* <p>The date and time on which the crawl completed.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
CompletedOn?: Date | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* <p>The error message associated with the crawl.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
ErrorMessage?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The log group associated with the crawl.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
LogGroup?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The log stream associated with the crawl.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
LogStream?: string | undefined;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>The details of a Crawler node present in the workflow.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface CrawlerNodeDetails {
|
|
46
|
+
/**
|
|
47
|
+
* <p>A list of crawls represented by the crawl node.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
Crawls?: Crawl[] | undefined;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>A job run that was used in the predicate of a conditional trigger
|
|
54
|
+
* that triggered this job run.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export interface Predecessor {
|
|
58
|
+
/**
|
|
59
|
+
* <p>The name of the job definition used by the predecessor job run.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
JobName?: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>The job-run ID of the predecessor job run.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
RunId?: string | undefined;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* <p>Contains information about a job run.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export interface JobRun {
|
|
74
|
+
/**
|
|
75
|
+
* <p>The ID of this job run.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
Id?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The number of the attempt to run this job.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
Attempt?: number | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The ID of the previous run of this job. For example, the <code>JobRunId</code> specified
|
|
86
|
+
* in the <code>StartJobRun</code> action.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
PreviousRunId?: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The name of the trigger that started this job run.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
TriggerName?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>The name of the job definition being used in this run.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
JobName?: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>A mode that describes how a job was created. Valid values are:</p>
|
|
102
|
+
* <ul>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>
|
|
105
|
+
* <code>SCRIPT</code> - The job was created using the Glue Studio script editor.</p>
|
|
106
|
+
* </li>
|
|
107
|
+
* <li>
|
|
108
|
+
* <p>
|
|
109
|
+
* <code>VISUAL</code> - The job was created using the Glue Studio visual editor.</p>
|
|
110
|
+
* </li>
|
|
111
|
+
* <li>
|
|
112
|
+
* <p>
|
|
113
|
+
* <code>NOTEBOOK</code> - The job was created using an interactive sessions notebook.</p>
|
|
114
|
+
* </li>
|
|
115
|
+
* </ul>
|
|
116
|
+
* <p>When the <code>JobMode</code> field is missing or null, <code>SCRIPT</code> is assigned as the default value.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
JobMode?: JobMode | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>Specifies whether job run queuing is enabled for the job run.</p>
|
|
122
|
+
* <p>A value of true means job run queuing is enabled for the job run. If false or not populated, the job run will not be considered for queueing.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
JobRunQueuingEnabled?: boolean | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p>The date and time at which this job run was started.</p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
StartedOn?: Date | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* <p>The last time that this job run was modified.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
LastModifiedOn?: Date | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* <p>The date and time that this job run completed.</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
CompletedOn?: Date | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* <p>The current state of the job run. For more information about the statuses of jobs that have terminated abnormally, see <a href="https://docs.aws.amazon.com/glue/latest/dg/job-run-statuses.html">Glue Job Run Statuses</a>.</p>
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
JobRunState?: JobRunState | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* <p>The job arguments associated with this run. For this job run, they replace the default
|
|
148
|
+
* arguments set in the job definition itself.</p>
|
|
149
|
+
* <p>You can specify arguments here that your own job-execution script
|
|
150
|
+
* consumes, as well as arguments that Glue itself consumes.</p>
|
|
151
|
+
* <p>Job arguments may be logged. Do not pass plaintext secrets as arguments. Retrieve secrets
|
|
152
|
+
* from a Glue Connection, Secrets Manager or other secret management
|
|
153
|
+
* mechanism if you intend to keep them within the Job. </p>
|
|
154
|
+
* <p>For information about how to specify and consume your own Job arguments, see the <a href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling Glue APIs in Python</a> topic in the developer guide.</p>
|
|
155
|
+
* <p>For information about the arguments you can provide to this field when configuring Spark jobs,
|
|
156
|
+
* see the <a href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special Parameters Used by Glue</a> topic in the developer guide.</p>
|
|
157
|
+
* <p>For information about the arguments you can provide to this field when configuring Ray
|
|
158
|
+
* jobs, see <a href="https://docs.aws.amazon.com/glue/latest/dg/author-job-ray-job-parameters.html">Using
|
|
159
|
+
* job parameters in Ray jobs</a> in the developer guide.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
Arguments?: Record<string, string> | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* <p>An error message associated with this job run.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
ErrorMessage?: string | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* <p>A list of predecessors to this job run.</p>
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
PredecessorRuns?: Predecessor[] | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* <p>This field is deprecated. Use <code>MaxCapacity</code> instead.</p>
|
|
175
|
+
* <p>The number of Glue data processing units (DPUs) allocated to this JobRun.
|
|
176
|
+
* From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure
|
|
177
|
+
* of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
|
|
178
|
+
* For more information, see the <a href="https://aws.amazon.com/glue/pricing/">Glue
|
|
179
|
+
* pricing page</a>.</p>
|
|
180
|
+
*
|
|
181
|
+
* @deprecated
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
AllocatedCapacity?: number | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* <p>The amount of time (in seconds) that the job run consumed resources.</p>
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
ExecutionTime?: number | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* <p>The <code>JobRun</code> timeout in minutes. This is the maximum time that a job run can
|
|
192
|
+
* consume resources before it is terminated and enters <code>TIMEOUT</code> status. This value overrides the timeout value set in the parent job.</p>
|
|
193
|
+
* <p>Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception.</p>
|
|
194
|
+
* <p>When the value is left blank, the timeout is defaulted to 2880 minutes.</p>
|
|
195
|
+
* <p>Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.</p>
|
|
196
|
+
* <p>For streaming jobs, if you have set up a maintenance window, it will be restarted during the maintenance window after 7 days.</p>
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
Timeout?: number | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* <p>For Glue version 1.0 or earlier jobs, using the standard worker type, the number of
|
|
202
|
+
* Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is
|
|
203
|
+
* a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB
|
|
204
|
+
* of memory. For more information, see the <a href="https://aws.amazon.com/glue/pricing/">
|
|
205
|
+
* Glue pricing page</a>.</p>
|
|
206
|
+
* <p>For Glue version 2.0+ jobs, you cannot specify a <code>Maximum capacity</code>.
|
|
207
|
+
* Instead, you should specify a <code>Worker type</code> and the <code>Number of workers</code>.</p>
|
|
208
|
+
* <p>Do not set <code>MaxCapacity</code> if using <code>WorkerType</code> and <code>NumberOfWorkers</code>.</p>
|
|
209
|
+
* <p>The value that can be allocated for <code>MaxCapacity</code> depends on whether you are
|
|
210
|
+
* running a Python shell job, an Apache Spark ETL job, or an Apache Spark streaming ETL
|
|
211
|
+
* job:</p>
|
|
212
|
+
* <ul>
|
|
213
|
+
* <li>
|
|
214
|
+
* <p>When you specify a Python shell job (<code>JobCommand.Name</code>="pythonshell"), you can
|
|
215
|
+
* allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.</p>
|
|
216
|
+
* </li>
|
|
217
|
+
* <li>
|
|
218
|
+
* <p>When you specify an Apache Spark ETL job (<code>JobCommand.Name</code>="glueetl") or Apache
|
|
219
|
+
* Spark streaming ETL job (<code>JobCommand.Name</code>="gluestreaming"), you can allocate from 2 to 100 DPUs.
|
|
220
|
+
* The default is 10 DPUs. This job type cannot have a fractional DPU allocation.</p>
|
|
221
|
+
* </li>
|
|
222
|
+
* </ul>
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
MaxCapacity?: number | undefined;
|
|
226
|
+
/**
|
|
227
|
+
* <p>The type of predefined worker that is allocated when a job runs. Accepts a value of
|
|
228
|
+
* G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs.</p>
|
|
229
|
+
* <ul>
|
|
230
|
+
* <li>
|
|
231
|
+
* <p>For the <code>G.1X</code> worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of memory) with 94GB 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>
|
|
232
|
+
* </li>
|
|
233
|
+
* <li>
|
|
234
|
+
* <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>
|
|
235
|
+
* </li>
|
|
236
|
+
* <li>
|
|
237
|
+
* <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>
|
|
238
|
+
* </li>
|
|
239
|
+
* <li>
|
|
240
|
+
* <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>
|
|
241
|
+
* </li>
|
|
242
|
+
* <li>
|
|
243
|
+
* <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>
|
|
244
|
+
* </li>
|
|
245
|
+
* <li>
|
|
246
|
+
* <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>
|
|
247
|
+
* </li>
|
|
248
|
+
* </ul>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
WorkerType?: WorkerType | undefined;
|
|
252
|
+
/**
|
|
253
|
+
* <p>The number of workers of a defined <code>workerType</code> that are allocated when a job runs.</p>
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
NumberOfWorkers?: number | undefined;
|
|
257
|
+
/**
|
|
258
|
+
* <p>The name of the <code>SecurityConfiguration</code> structure to be used with this job
|
|
259
|
+
* run.</p>
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
SecurityConfiguration?: string | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* <p>The name of the log group for secure logging that can be server-side encrypted in Amazon
|
|
265
|
+
* CloudWatch using KMS. This name can be <code>/aws-glue/jobs/</code>, in which case the
|
|
266
|
+
* default encryption is <code>NONE</code>. If you add a role name and
|
|
267
|
+
* <code>SecurityConfiguration</code> name (in other words,
|
|
268
|
+
* <code>/aws-glue/jobs-yourRoleName-yourSecurityConfigurationName/</code>), then that security
|
|
269
|
+
* configuration is used to encrypt the log group.</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
LogGroupName?: string | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* <p>Specifies configuration properties of a job run notification.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
NotificationProperty?: NotificationProperty | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* <p>In Spark jobs, <code>GlueVersion</code> determines the versions of Apache Spark and Python
|
|
280
|
+
* that Glue available in a job. The Python version indicates the version
|
|
281
|
+
* supported for jobs of type Spark. </p>
|
|
282
|
+
* <p>Ray jobs should set <code>GlueVersion</code> to <code>4.0</code> or greater. However,
|
|
283
|
+
* the versions of Ray, Python and additional libraries available in your Ray job are determined
|
|
284
|
+
* by the <code>Runtime</code> parameter of the Job command.</p>
|
|
285
|
+
* <p>For more information about the available Glue versions and corresponding
|
|
286
|
+
* Spark and Python versions, see <a href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a> in the developer
|
|
287
|
+
* guide.</p>
|
|
288
|
+
* <p>Jobs that are created without specifying a Glue version default to Glue 0.9.</p>
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
GlueVersion?: string | undefined;
|
|
292
|
+
/**
|
|
293
|
+
* <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>
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
DPUSeconds?: number | undefined;
|
|
297
|
+
/**
|
|
298
|
+
* <p>Indicates whether the job is run with a standard or flexible execution class. The standard execution-class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.</p>
|
|
299
|
+
* <p>The flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary. </p>
|
|
300
|
+
* <p>Only jobs with Glue version 3.0 and above and command type <code>glueetl</code> will be allowed to set <code>ExecutionClass</code> to <code>FLEX</code>. The flexible execution class is available for Spark jobs.</p>
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
ExecutionClass?: ExecutionClass | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* <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>
|
|
306
|
+
* <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>
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
MaintenanceWindow?: string | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* <p>The name of an Glue usage profile associated with the job run.</p>
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
ProfileName?: string | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* <p>This field holds details that pertain to the state of a job run. The field is nullable.</p>
|
|
317
|
+
* <p>For example, when a job run is in a WAITING state as a result of job run queuing, the field has the reason why the job run is in that state.</p>
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
StateDetail?: string | undefined;
|
|
321
|
+
/**
|
|
322
|
+
* <p>This inline session policy to the StartJobRun API allows you to dynamically restrict the permissions of the specified
|
|
323
|
+
* execution role for the scope of the job, without requiring the creation of additional IAM roles.</p>
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
ExecutionRoleSessionPolicy?: string | undefined;
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* <p>The details of a Job node present in the workflow.</p>
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
export interface JobNodeDetails {
|
|
333
|
+
/**
|
|
334
|
+
* <p>The information for the job runs represented by the job node.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
JobRuns?: JobRun[] | undefined;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* <p>The details of a Trigger node present in the workflow.</p>
|
|
341
|
+
* @public
|
|
342
|
+
*/
|
|
343
|
+
export interface TriggerNodeDetails {
|
|
344
|
+
/**
|
|
345
|
+
* <p>The information of the trigger represented by the trigger node.</p>
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
Trigger?: Trigger | undefined;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* @public
|
|
352
|
+
* @enum
|
|
353
|
+
*/
|
|
354
|
+
export declare const NodeType: {
|
|
355
|
+
readonly CRAWLER: "CRAWLER";
|
|
356
|
+
readonly JOB: "JOB";
|
|
357
|
+
readonly TRIGGER: "TRIGGER";
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
export type NodeType = (typeof NodeType)[keyof typeof NodeType];
|
|
363
|
+
/**
|
|
364
|
+
* <p>A node represents an Glue component (trigger, crawler, or job) on a workflow graph.</p>
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
export interface Node {
|
|
368
|
+
/**
|
|
369
|
+
* <p>The type of Glue component represented by the node.</p>
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
Type?: NodeType | undefined;
|
|
373
|
+
/**
|
|
374
|
+
* <p>The name of the Glue component represented by the node.</p>
|
|
375
|
+
* @public
|
|
376
|
+
*/
|
|
377
|
+
Name?: string | undefined;
|
|
378
|
+
/**
|
|
379
|
+
* <p>The unique Id assigned to the node within the workflow.</p>
|
|
380
|
+
* @public
|
|
381
|
+
*/
|
|
382
|
+
UniqueId?: string | undefined;
|
|
383
|
+
/**
|
|
384
|
+
* <p>Details of the Trigger when the node represents a Trigger.</p>
|
|
385
|
+
* @public
|
|
386
|
+
*/
|
|
387
|
+
TriggerDetails?: TriggerNodeDetails | undefined;
|
|
388
|
+
/**
|
|
389
|
+
* <p>Details of the Job when the node represents a Job.</p>
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
JobDetails?: JobNodeDetails | undefined;
|
|
393
|
+
/**
|
|
394
|
+
* <p>Details of the crawler when the node represents a crawler.</p>
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
CrawlerDetails?: CrawlerNodeDetails | undefined;
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* <p>A workflow graph represents the complete workflow containing all the Glue components present in the
|
|
401
|
+
* workflow and all the directed connections between them.</p>
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
export interface WorkflowGraph {
|
|
405
|
+
/**
|
|
406
|
+
* <p>A list of the the Glue components belong to the workflow represented as nodes.</p>
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
Nodes?: Node[] | undefined;
|
|
410
|
+
/**
|
|
411
|
+
* <p>A list of all the directed connections between the nodes belonging to the workflow.</p>
|
|
412
|
+
* @public
|
|
413
|
+
*/
|
|
414
|
+
Edges?: Edge[] | undefined;
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* <p>The batch condition that started the workflow run. Either the number of events in the batch size arrived,
|
|
418
|
+
* in which case the BatchSize member is non-zero, or the batch window expired, in which case the BatchWindow
|
|
419
|
+
* member is non-zero.</p>
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
export interface StartingEventBatchCondition {
|
|
423
|
+
/**
|
|
424
|
+
* <p>Number of events in the batch.</p>
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
BatchSize?: number | undefined;
|
|
428
|
+
/**
|
|
429
|
+
* <p>Duration of the batch window in seconds.</p>
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
BatchWindow?: number | undefined;
|
|
433
|
+
}
|
|
5
434
|
/**
|
|
6
435
|
* <p>Workflow run statistics provides statistics about the workflow run.</p>
|
|
7
436
|
* @public
|
|
@@ -6725,236 +7154,6 @@ export interface JsonClassifier {
|
|
|
6725
7154
|
*/
|
|
6726
7155
|
JsonPath: string | undefined;
|
|
6727
7156
|
}
|
|
6728
|
-
/**
|
|
6729
|
-
* <p>A classifier for <code>XML</code> content.</p>
|
|
6730
|
-
* @public
|
|
6731
|
-
*/
|
|
6732
|
-
export interface XMLClassifier {
|
|
6733
|
-
/**
|
|
6734
|
-
* <p>The name of the classifier.</p>
|
|
6735
|
-
* @public
|
|
6736
|
-
*/
|
|
6737
|
-
Name: string | undefined;
|
|
6738
|
-
/**
|
|
6739
|
-
* <p>An identifier of the data format that the classifier matches.</p>
|
|
6740
|
-
* @public
|
|
6741
|
-
*/
|
|
6742
|
-
Classification: string | undefined;
|
|
6743
|
-
/**
|
|
6744
|
-
* <p>The time that this classifier was registered.</p>
|
|
6745
|
-
* @public
|
|
6746
|
-
*/
|
|
6747
|
-
CreationTime?: Date | undefined;
|
|
6748
|
-
/**
|
|
6749
|
-
* <p>The time that this classifier was last updated.</p>
|
|
6750
|
-
* @public
|
|
6751
|
-
*/
|
|
6752
|
-
LastUpdated?: Date | undefined;
|
|
6753
|
-
/**
|
|
6754
|
-
* <p>The version of this classifier.</p>
|
|
6755
|
-
* @public
|
|
6756
|
-
*/
|
|
6757
|
-
Version?: number | undefined;
|
|
6758
|
-
/**
|
|
6759
|
-
* <p>The XML tag designating the element that contains each record in an XML document being
|
|
6760
|
-
* parsed. This can't identify a self-closing element (closed by <code>/></code>). An empty
|
|
6761
|
-
* row element that contains only attributes can be parsed as long as it ends with a closing tag
|
|
6762
|
-
* (for example, <code><row item_a="A" item_b="B"></row></code> is okay, but
|
|
6763
|
-
* <code><row item_a="A" item_b="B" /></code> is not).</p>
|
|
6764
|
-
* @public
|
|
6765
|
-
*/
|
|
6766
|
-
RowTag?: string | undefined;
|
|
6767
|
-
}
|
|
6768
|
-
/**
|
|
6769
|
-
* <p>Classifiers are triggered during a crawl task. A classifier checks whether a given file is
|
|
6770
|
-
* in a format it can handle. If it is, the classifier creates a schema in the form of a
|
|
6771
|
-
* <code>StructType</code> object that matches that data format.</p>
|
|
6772
|
-
* <p>You can use the standard classifiers that Glue provides, or you can write your own
|
|
6773
|
-
* classifiers to best categorize your data sources and specify the appropriate schemas to use
|
|
6774
|
-
* for them. A classifier can be a <code>grok</code> classifier, an <code>XML</code> classifier,
|
|
6775
|
-
* a <code>JSON</code> classifier, or a custom <code>CSV</code> classifier, as specified in one
|
|
6776
|
-
* of the fields in the <code>Classifier</code> object.</p>
|
|
6777
|
-
* @public
|
|
6778
|
-
*/
|
|
6779
|
-
export interface Classifier {
|
|
6780
|
-
/**
|
|
6781
|
-
* <p>A classifier that uses <code>grok</code>.</p>
|
|
6782
|
-
* @public
|
|
6783
|
-
*/
|
|
6784
|
-
GrokClassifier?: GrokClassifier | undefined;
|
|
6785
|
-
/**
|
|
6786
|
-
* <p>A classifier for XML content.</p>
|
|
6787
|
-
* @public
|
|
6788
|
-
*/
|
|
6789
|
-
XMLClassifier?: XMLClassifier | undefined;
|
|
6790
|
-
/**
|
|
6791
|
-
* <p>A classifier for JSON content.</p>
|
|
6792
|
-
* @public
|
|
6793
|
-
*/
|
|
6794
|
-
JsonClassifier?: JsonClassifier | undefined;
|
|
6795
|
-
/**
|
|
6796
|
-
* <p>A classifier for comma-separated values (CSV).</p>
|
|
6797
|
-
* @public
|
|
6798
|
-
*/
|
|
6799
|
-
CsvClassifier?: CsvClassifier | undefined;
|
|
6800
|
-
}
|
|
6801
|
-
/**
|
|
6802
|
-
* @public
|
|
6803
|
-
*/
|
|
6804
|
-
export interface GetClassifierResponse {
|
|
6805
|
-
/**
|
|
6806
|
-
* <p>The requested classifier.</p>
|
|
6807
|
-
* @public
|
|
6808
|
-
*/
|
|
6809
|
-
Classifier?: Classifier | undefined;
|
|
6810
|
-
}
|
|
6811
|
-
/**
|
|
6812
|
-
* @public
|
|
6813
|
-
*/
|
|
6814
|
-
export interface GetClassifiersRequest {
|
|
6815
|
-
/**
|
|
6816
|
-
* <p>The size of the list to return (optional).</p>
|
|
6817
|
-
* @public
|
|
6818
|
-
*/
|
|
6819
|
-
MaxResults?: number | undefined;
|
|
6820
|
-
/**
|
|
6821
|
-
* <p>An optional continuation token.</p>
|
|
6822
|
-
* @public
|
|
6823
|
-
*/
|
|
6824
|
-
NextToken?: string | undefined;
|
|
6825
|
-
}
|
|
6826
|
-
/**
|
|
6827
|
-
* @public
|
|
6828
|
-
*/
|
|
6829
|
-
export interface GetClassifiersResponse {
|
|
6830
|
-
/**
|
|
6831
|
-
* <p>The requested list of classifier
|
|
6832
|
-
* objects.</p>
|
|
6833
|
-
* @public
|
|
6834
|
-
*/
|
|
6835
|
-
Classifiers?: Classifier[] | undefined;
|
|
6836
|
-
/**
|
|
6837
|
-
* <p>A continuation token.</p>
|
|
6838
|
-
* @public
|
|
6839
|
-
*/
|
|
6840
|
-
NextToken?: string | undefined;
|
|
6841
|
-
}
|
|
6842
|
-
/**
|
|
6843
|
-
* @public
|
|
6844
|
-
*/
|
|
6845
|
-
export interface GetColumnStatisticsForPartitionRequest {
|
|
6846
|
-
/**
|
|
6847
|
-
* <p>The ID of the Data Catalog where the partitions in question reside.
|
|
6848
|
-
* If none is supplied, the Amazon Web Services account ID is used by default.</p>
|
|
6849
|
-
* @public
|
|
6850
|
-
*/
|
|
6851
|
-
CatalogId?: string | undefined;
|
|
6852
|
-
/**
|
|
6853
|
-
* <p>The name of the catalog database where the partitions reside.</p>
|
|
6854
|
-
* @public
|
|
6855
|
-
*/
|
|
6856
|
-
DatabaseName: string | undefined;
|
|
6857
|
-
/**
|
|
6858
|
-
* <p>The name of the partitions' table.</p>
|
|
6859
|
-
* @public
|
|
6860
|
-
*/
|
|
6861
|
-
TableName: string | undefined;
|
|
6862
|
-
/**
|
|
6863
|
-
* <p>A list of partition values identifying the partition.</p>
|
|
6864
|
-
* @public
|
|
6865
|
-
*/
|
|
6866
|
-
PartitionValues: string[] | undefined;
|
|
6867
|
-
/**
|
|
6868
|
-
* <p>A list of the column names.</p>
|
|
6869
|
-
* @public
|
|
6870
|
-
*/
|
|
6871
|
-
ColumnNames: string[] | undefined;
|
|
6872
|
-
}
|
|
6873
|
-
/**
|
|
6874
|
-
* <p>Defines column statistics supported for bit sequence data values.</p>
|
|
6875
|
-
* @public
|
|
6876
|
-
*/
|
|
6877
|
-
export interface BinaryColumnStatisticsData {
|
|
6878
|
-
/**
|
|
6879
|
-
* <p>The size of the longest bit sequence in the column.</p>
|
|
6880
|
-
* @public
|
|
6881
|
-
*/
|
|
6882
|
-
MaximumLength: number | undefined;
|
|
6883
|
-
/**
|
|
6884
|
-
* <p>The average bit sequence length in the column.</p>
|
|
6885
|
-
* @public
|
|
6886
|
-
*/
|
|
6887
|
-
AverageLength: number | undefined;
|
|
6888
|
-
/**
|
|
6889
|
-
* <p>The number of null values in the column.</p>
|
|
6890
|
-
* @public
|
|
6891
|
-
*/
|
|
6892
|
-
NumberOfNulls: number | undefined;
|
|
6893
|
-
}
|
|
6894
|
-
/**
|
|
6895
|
-
* <p>Defines column statistics supported for Boolean data columns.</p>
|
|
6896
|
-
* @public
|
|
6897
|
-
*/
|
|
6898
|
-
export interface BooleanColumnStatisticsData {
|
|
6899
|
-
/**
|
|
6900
|
-
* <p>The number of true values in the column.</p>
|
|
6901
|
-
* @public
|
|
6902
|
-
*/
|
|
6903
|
-
NumberOfTrues: number | undefined;
|
|
6904
|
-
/**
|
|
6905
|
-
* <p>The number of false values in the column.</p>
|
|
6906
|
-
* @public
|
|
6907
|
-
*/
|
|
6908
|
-
NumberOfFalses: number | undefined;
|
|
6909
|
-
/**
|
|
6910
|
-
* <p>The number of null values in the column.</p>
|
|
6911
|
-
* @public
|
|
6912
|
-
*/
|
|
6913
|
-
NumberOfNulls: number | undefined;
|
|
6914
|
-
}
|
|
6915
|
-
/**
|
|
6916
|
-
* <p>Defines column statistics supported for timestamp data columns.</p>
|
|
6917
|
-
* @public
|
|
6918
|
-
*/
|
|
6919
|
-
export interface DateColumnStatisticsData {
|
|
6920
|
-
/**
|
|
6921
|
-
* <p>The lowest value in the column.</p>
|
|
6922
|
-
* @public
|
|
6923
|
-
*/
|
|
6924
|
-
MinimumValue?: Date | undefined;
|
|
6925
|
-
/**
|
|
6926
|
-
* <p>The highest value in the column.</p>
|
|
6927
|
-
* @public
|
|
6928
|
-
*/
|
|
6929
|
-
MaximumValue?: Date | undefined;
|
|
6930
|
-
/**
|
|
6931
|
-
* <p>The number of null values in the column.</p>
|
|
6932
|
-
* @public
|
|
6933
|
-
*/
|
|
6934
|
-
NumberOfNulls: number | undefined;
|
|
6935
|
-
/**
|
|
6936
|
-
* <p>The number of distinct values in a column.</p>
|
|
6937
|
-
* @public
|
|
6938
|
-
*/
|
|
6939
|
-
NumberOfDistinctValues: number | undefined;
|
|
6940
|
-
}
|
|
6941
|
-
/**
|
|
6942
|
-
* <p>Contains a numeric value in decimal format.</p>
|
|
6943
|
-
* @public
|
|
6944
|
-
*/
|
|
6945
|
-
export interface DecimalNumber {
|
|
6946
|
-
/**
|
|
6947
|
-
* <p>The unscaled numeric value.</p>
|
|
6948
|
-
* @public
|
|
6949
|
-
*/
|
|
6950
|
-
UnscaledValue: Uint8Array | undefined;
|
|
6951
|
-
/**
|
|
6952
|
-
* <p>The scale that determines where the decimal point falls in the
|
|
6953
|
-
* unscaled value.</p>
|
|
6954
|
-
* @public
|
|
6955
|
-
*/
|
|
6956
|
-
Scale: number | undefined;
|
|
6957
|
-
}
|
|
6958
7157
|
/**
|
|
6959
7158
|
* @internal
|
|
6960
7159
|
*/
|