@aws-sdk/client-glue 3.626.0 → 3.627.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 +60 -2
- package/dist-es/models/models_1.js +6 -0
- package/dist-es/models/models_2.js +11 -0
- package/dist-es/protocols/Aws_json1_1.js +39 -0
- package/dist-types/commands/BatchGetJobsCommand.d.ts +5 -4
- package/dist-types/commands/CreateConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateJobCommand.d.ts +5 -4
- package/dist-types/commands/GetConnectionCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectionsCommand.d.ts +2 -2
- package/dist-types/commands/GetJobCommand.d.ts +5 -4
- package/dist-types/commands/GetJobsCommand.d.ts +5 -4
- package/dist-types/commands/GetTableCommand.d.ts +144 -1
- package/dist-types/commands/GetTableVersionCommand.d.ts +143 -1
- package/dist-types/commands/GetTableVersionsCommand.d.ts +143 -1
- package/dist-types/commands/GetTablesCommand.d.ts +144 -1
- package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +143 -1
- package/dist-types/commands/SearchTablesCommand.d.ts +144 -1
- package/dist-types/commands/UpdateConnectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJobCommand.d.ts +5 -4
- package/dist-types/commands/UpdateUsageProfileCommand.d.ts +1 -2
- package/dist-types/commands/UpdateUserDefinedFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkflowCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/models/models_1.d.ts +34 -0
- package/dist-types/models/models_2.d.ts +152 -284
- package/dist-types/models/models_3.d.ts +357 -80
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetTableVersionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetTableVersionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetTablesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetUnfilteredTableMetadataCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchTablesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateUsageProfileCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateUserDefinedFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +6 -0
- package/dist-types/ts3.4/models/models_2.d.ts +45 -62
- package/dist-types/ts3.4/models/models_3.d.ts +86 -20
- package/package.json +1 -1
|
@@ -3,7 +3,6 @@ import { GlueServiceException as __BaseException } from "./GlueServiceException"
|
|
|
3
3
|
import {
|
|
4
4
|
Action,
|
|
5
5
|
AuditContext,
|
|
6
|
-
Column,
|
|
7
6
|
CrawlerTargets,
|
|
8
7
|
CustomEntityType,
|
|
9
8
|
DataFormat,
|
|
@@ -26,7 +25,6 @@ import {
|
|
|
26
25
|
SourceControlAuthStrategy,
|
|
27
26
|
SourceControlProvider,
|
|
28
27
|
StatisticAnnotation,
|
|
29
|
-
StorageDescriptor,
|
|
30
28
|
TableOptimizer,
|
|
31
29
|
TableOptimizerConfiguration,
|
|
32
30
|
TableOptimizerRun,
|
|
@@ -66,13 +64,13 @@ import {
|
|
|
66
64
|
SchemaStatus,
|
|
67
65
|
SchemaVersionStatus,
|
|
68
66
|
Session,
|
|
69
|
-
TableIdentifier,
|
|
70
67
|
TableInput,
|
|
71
68
|
TransformEncryption,
|
|
72
69
|
TransformFilterCriteria,
|
|
73
70
|
TransformParameters,
|
|
74
71
|
TransformSortCriteria,
|
|
75
72
|
TransformStatusType,
|
|
73
|
+
UserDefinedFunctionInput,
|
|
76
74
|
ViewDialect,
|
|
77
75
|
} from "./models_1";
|
|
78
76
|
export interface GetMLTransformsRequest {
|
|
@@ -353,12 +351,35 @@ export interface GetTableRequest {
|
|
|
353
351
|
Name: string | undefined;
|
|
354
352
|
TransactionId?: string;
|
|
355
353
|
QueryAsOfTime?: Date;
|
|
354
|
+
IncludeStatusDetails?: boolean;
|
|
356
355
|
}
|
|
357
356
|
export interface FederatedTable {
|
|
358
357
|
Identifier?: string;
|
|
359
358
|
DatabaseIdentifier?: string;
|
|
360
359
|
ConnectionName?: string;
|
|
361
360
|
}
|
|
361
|
+
export declare const ResourceAction: {
|
|
362
|
+
readonly CREATE: "CREATE";
|
|
363
|
+
readonly UPDATE: "UPDATE";
|
|
364
|
+
};
|
|
365
|
+
export type ResourceAction =
|
|
366
|
+
(typeof ResourceAction)[keyof typeof ResourceAction];
|
|
367
|
+
export declare const ResourceState: {
|
|
368
|
+
readonly FAILED: "FAILED";
|
|
369
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
370
|
+
readonly QUEUED: "QUEUED";
|
|
371
|
+
readonly STOPPED: "STOPPED";
|
|
372
|
+
readonly SUCCESS: "SUCCESS";
|
|
373
|
+
};
|
|
374
|
+
export type ResourceState = (typeof ResourceState)[keyof typeof ResourceState];
|
|
375
|
+
export interface ViewValidation {
|
|
376
|
+
Dialect?: ViewDialect;
|
|
377
|
+
DialectVersion?: string;
|
|
378
|
+
ViewValidationText?: string;
|
|
379
|
+
UpdateTime?: Date;
|
|
380
|
+
State?: ResourceState;
|
|
381
|
+
Error?: ErrorDetail;
|
|
382
|
+
}
|
|
362
383
|
export interface ViewRepresentation {
|
|
363
384
|
Dialect?: ViewDialect;
|
|
364
385
|
DialectVersion?: string;
|
|
@@ -373,34 +394,6 @@ export interface ViewDefinition {
|
|
|
373
394
|
SubObjects?: string[];
|
|
374
395
|
Representations?: ViewRepresentation[];
|
|
375
396
|
}
|
|
376
|
-
export interface Table {
|
|
377
|
-
Name: string | undefined;
|
|
378
|
-
DatabaseName?: string;
|
|
379
|
-
Description?: string;
|
|
380
|
-
Owner?: string;
|
|
381
|
-
CreateTime?: Date;
|
|
382
|
-
UpdateTime?: Date;
|
|
383
|
-
LastAccessTime?: Date;
|
|
384
|
-
LastAnalyzedTime?: Date;
|
|
385
|
-
Retention?: number;
|
|
386
|
-
StorageDescriptor?: StorageDescriptor;
|
|
387
|
-
PartitionKeys?: Column[];
|
|
388
|
-
ViewOriginalText?: string;
|
|
389
|
-
ViewExpandedText?: string;
|
|
390
|
-
TableType?: string;
|
|
391
|
-
Parameters?: Record<string, string>;
|
|
392
|
-
CreatedBy?: string;
|
|
393
|
-
IsRegisteredWithLakeFormation?: boolean;
|
|
394
|
-
TargetTable?: TableIdentifier;
|
|
395
|
-
CatalogId?: string;
|
|
396
|
-
VersionId?: string;
|
|
397
|
-
FederatedTable?: FederatedTable;
|
|
398
|
-
ViewDefinition?: ViewDefinition;
|
|
399
|
-
IsMultiDialectView?: boolean;
|
|
400
|
-
}
|
|
401
|
-
export interface GetTableResponse {
|
|
402
|
-
Table?: Table;
|
|
403
|
-
}
|
|
404
397
|
export interface GetTableOptimizerRequest {
|
|
405
398
|
CatalogId: string | undefined;
|
|
406
399
|
DatabaseName: string | undefined;
|
|
@@ -421,10 +414,7 @@ export interface GetTablesRequest {
|
|
|
421
414
|
MaxResults?: number;
|
|
422
415
|
TransactionId?: string;
|
|
423
416
|
QueryAsOfTime?: Date;
|
|
424
|
-
|
|
425
|
-
export interface GetTablesResponse {
|
|
426
|
-
TableList?: Table[];
|
|
427
|
-
NextToken?: string;
|
|
417
|
+
IncludeStatusDetails?: boolean;
|
|
428
418
|
}
|
|
429
419
|
export interface GetTableVersionRequest {
|
|
430
420
|
CatalogId?: string;
|
|
@@ -432,13 +422,6 @@ export interface GetTableVersionRequest {
|
|
|
432
422
|
TableName: string | undefined;
|
|
433
423
|
VersionId?: string;
|
|
434
424
|
}
|
|
435
|
-
export interface TableVersion {
|
|
436
|
-
Table?: Table;
|
|
437
|
-
VersionId?: string;
|
|
438
|
-
}
|
|
439
|
-
export interface GetTableVersionResponse {
|
|
440
|
-
TableVersion?: TableVersion;
|
|
441
|
-
}
|
|
442
425
|
export interface GetTableVersionsRequest {
|
|
443
426
|
CatalogId?: string;
|
|
444
427
|
DatabaseName: string | undefined;
|
|
@@ -446,10 +429,6 @@ export interface GetTableVersionsRequest {
|
|
|
446
429
|
NextToken?: string;
|
|
447
430
|
MaxResults?: number;
|
|
448
431
|
}
|
|
449
|
-
export interface GetTableVersionsResponse {
|
|
450
|
-
TableVersions?: TableVersion[];
|
|
451
|
-
NextToken?: string;
|
|
452
|
-
}
|
|
453
432
|
export interface GetTagsRequest {
|
|
454
433
|
ResourceArn: string | undefined;
|
|
455
434
|
}
|
|
@@ -555,18 +534,6 @@ export interface ColumnRowFilter {
|
|
|
555
534
|
ColumnName?: string;
|
|
556
535
|
RowFilterExpression?: string;
|
|
557
536
|
}
|
|
558
|
-
export interface GetUnfilteredTableMetadataResponse {
|
|
559
|
-
Table?: Table;
|
|
560
|
-
AuthorizedColumns?: string[];
|
|
561
|
-
IsRegisteredWithLakeFormation?: boolean;
|
|
562
|
-
CellFilters?: ColumnRowFilter[];
|
|
563
|
-
QueryAuthorizationId?: string;
|
|
564
|
-
IsMultiDialectView?: boolean;
|
|
565
|
-
ResourceArn?: string;
|
|
566
|
-
IsProtected?: boolean;
|
|
567
|
-
Permissions?: Permission[];
|
|
568
|
-
RowFilter?: string;
|
|
569
|
-
}
|
|
570
537
|
export interface GetUsageProfileRequest {
|
|
571
538
|
Name: string | undefined;
|
|
572
539
|
}
|
|
@@ -1196,10 +1163,7 @@ export interface SearchTablesRequest {
|
|
|
1196
1163
|
SortCriteria?: SortCriterion[];
|
|
1197
1164
|
MaxResults?: number;
|
|
1198
1165
|
ResourceShareType?: ResourceShareType;
|
|
1199
|
-
|
|
1200
|
-
export interface SearchTablesResponse {
|
|
1201
|
-
NextToken?: string;
|
|
1202
|
-
TableList?: Table[];
|
|
1166
|
+
IncludeStatusDetails?: boolean;
|
|
1203
1167
|
}
|
|
1204
1168
|
export declare class IllegalBlueprintStateException extends __BaseException {
|
|
1205
1169
|
readonly name: "IllegalBlueprintStateException";
|
|
@@ -1694,6 +1658,25 @@ export interface UpdateUsageProfileRequest {
|
|
|
1694
1658
|
Description?: string;
|
|
1695
1659
|
Configuration: ProfileConfiguration | undefined;
|
|
1696
1660
|
}
|
|
1661
|
+
export interface UpdateUsageProfileResponse {
|
|
1662
|
+
Name?: string;
|
|
1663
|
+
}
|
|
1664
|
+
export interface UpdateUserDefinedFunctionRequest {
|
|
1665
|
+
CatalogId?: string;
|
|
1666
|
+
DatabaseName: string | undefined;
|
|
1667
|
+
FunctionName: string | undefined;
|
|
1668
|
+
FunctionInput: UserDefinedFunctionInput | undefined;
|
|
1669
|
+
}
|
|
1670
|
+
export interface UpdateUserDefinedFunctionResponse {}
|
|
1671
|
+
export interface UpdateWorkflowRequest {
|
|
1672
|
+
Name: string | undefined;
|
|
1673
|
+
Description?: string;
|
|
1674
|
+
DefaultRunProperties?: Record<string, string>;
|
|
1675
|
+
MaxConcurrentRuns?: number;
|
|
1676
|
+
}
|
|
1677
|
+
export interface UpdateWorkflowResponse {
|
|
1678
|
+
Name?: string;
|
|
1679
|
+
}
|
|
1697
1680
|
export declare const StatisticSummaryFilterSensitiveLog: (
|
|
1698
1681
|
obj: StatisticSummary
|
|
1699
1682
|
) => any;
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
CatalogKafkaSource,
|
|
10
10
|
CatalogKinesisSource,
|
|
11
11
|
CatalogSource,
|
|
12
|
+
Column,
|
|
12
13
|
ConnectionsList,
|
|
13
14
|
ConnectorDataSource,
|
|
14
15
|
ConnectorDataTarget,
|
|
@@ -21,6 +22,7 @@ import {
|
|
|
21
22
|
DropNullFields,
|
|
22
23
|
DynamicTransform,
|
|
23
24
|
DynamoDBCatalogSource,
|
|
25
|
+
ErrorDetail,
|
|
24
26
|
EvaluateDataQuality,
|
|
25
27
|
EvaluateDataQualityMultiFrame,
|
|
26
28
|
ExecutionClass,
|
|
@@ -75,29 +77,19 @@ import {
|
|
|
75
77
|
SparkSQL,
|
|
76
78
|
Spigot,
|
|
77
79
|
SplitFields,
|
|
80
|
+
StorageDescriptor,
|
|
78
81
|
Union,
|
|
79
82
|
WorkerType,
|
|
80
83
|
} from "./models_0";
|
|
81
|
-
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
export interface UpdateUserDefinedFunctionResponse {}
|
|
92
|
-
export interface UpdateWorkflowRequest {
|
|
93
|
-
Name: string | undefined;
|
|
94
|
-
Description?: string;
|
|
95
|
-
DefaultRunProperties?: Record<string, string>;
|
|
96
|
-
MaxConcurrentRuns?: number;
|
|
97
|
-
}
|
|
98
|
-
export interface UpdateWorkflowResponse {
|
|
99
|
-
Name?: string;
|
|
100
|
-
}
|
|
84
|
+
import { Permission, TableIdentifier } from "./models_1";
|
|
85
|
+
import {
|
|
86
|
+
ColumnRowFilter,
|
|
87
|
+
FederatedTable,
|
|
88
|
+
ResourceAction,
|
|
89
|
+
ResourceState,
|
|
90
|
+
ViewDefinition,
|
|
91
|
+
ViewValidation,
|
|
92
|
+
} from "./models_2";
|
|
101
93
|
export interface Mapping {
|
|
102
94
|
ToKey?: string;
|
|
103
95
|
FromPath?: string[];
|
|
@@ -111,6 +103,46 @@ export interface ApplyMapping {
|
|
|
111
103
|
Inputs: string[] | undefined;
|
|
112
104
|
Mapping: Mapping[] | undefined;
|
|
113
105
|
}
|
|
106
|
+
export interface StatusDetails {
|
|
107
|
+
RequestedChange?: Table;
|
|
108
|
+
ViewValidations?: ViewValidation[];
|
|
109
|
+
}
|
|
110
|
+
export interface Table {
|
|
111
|
+
Name: string | undefined;
|
|
112
|
+
DatabaseName?: string;
|
|
113
|
+
Description?: string;
|
|
114
|
+
Owner?: string;
|
|
115
|
+
CreateTime?: Date;
|
|
116
|
+
UpdateTime?: Date;
|
|
117
|
+
LastAccessTime?: Date;
|
|
118
|
+
LastAnalyzedTime?: Date;
|
|
119
|
+
Retention?: number;
|
|
120
|
+
StorageDescriptor?: StorageDescriptor;
|
|
121
|
+
PartitionKeys?: Column[];
|
|
122
|
+
ViewOriginalText?: string;
|
|
123
|
+
ViewExpandedText?: string;
|
|
124
|
+
TableType?: string;
|
|
125
|
+
Parameters?: Record<string, string>;
|
|
126
|
+
CreatedBy?: string;
|
|
127
|
+
IsRegisteredWithLakeFormation?: boolean;
|
|
128
|
+
TargetTable?: TableIdentifier;
|
|
129
|
+
CatalogId?: string;
|
|
130
|
+
VersionId?: string;
|
|
131
|
+
FederatedTable?: FederatedTable;
|
|
132
|
+
ViewDefinition?: ViewDefinition;
|
|
133
|
+
IsMultiDialectView?: boolean;
|
|
134
|
+
Status?: TableStatus;
|
|
135
|
+
}
|
|
136
|
+
export interface TableStatus {
|
|
137
|
+
RequestedBy?: string;
|
|
138
|
+
UpdatedBy?: string;
|
|
139
|
+
RequestTime?: Date;
|
|
140
|
+
UpdateTime?: Date;
|
|
141
|
+
Action?: ResourceAction;
|
|
142
|
+
State?: ResourceState;
|
|
143
|
+
Error?: ErrorDetail;
|
|
144
|
+
Details?: StatusDetails;
|
|
145
|
+
}
|
|
114
146
|
export interface CodeGenConfigurationNode {
|
|
115
147
|
AthenaConnectorSource?: AthenaConnectorSource;
|
|
116
148
|
JDBCConnectorSource?: JDBCConnectorSource;
|
|
@@ -184,6 +216,36 @@ export interface CodeGenConfigurationNode {
|
|
|
184
216
|
ConnectorDataSource?: ConnectorDataSource;
|
|
185
217
|
ConnectorDataTarget?: ConnectorDataTarget;
|
|
186
218
|
}
|
|
219
|
+
export interface GetTableResponse {
|
|
220
|
+
Table?: Table;
|
|
221
|
+
}
|
|
222
|
+
export interface GetUnfilteredTableMetadataResponse {
|
|
223
|
+
Table?: Table;
|
|
224
|
+
AuthorizedColumns?: string[];
|
|
225
|
+
IsRegisteredWithLakeFormation?: boolean;
|
|
226
|
+
CellFilters?: ColumnRowFilter[];
|
|
227
|
+
QueryAuthorizationId?: string;
|
|
228
|
+
IsMultiDialectView?: boolean;
|
|
229
|
+
ResourceArn?: string;
|
|
230
|
+
IsProtected?: boolean;
|
|
231
|
+
Permissions?: Permission[];
|
|
232
|
+
RowFilter?: string;
|
|
233
|
+
}
|
|
234
|
+
export interface TableVersion {
|
|
235
|
+
Table?: Table;
|
|
236
|
+
VersionId?: string;
|
|
237
|
+
}
|
|
238
|
+
export interface GetTablesResponse {
|
|
239
|
+
TableList?: Table[];
|
|
240
|
+
NextToken?: string;
|
|
241
|
+
}
|
|
242
|
+
export interface GetTableVersionResponse {
|
|
243
|
+
TableVersion?: TableVersion;
|
|
244
|
+
}
|
|
245
|
+
export interface SearchTablesResponse {
|
|
246
|
+
NextToken?: string;
|
|
247
|
+
TableList?: Table[];
|
|
248
|
+
}
|
|
187
249
|
export interface CreateJobRequest {
|
|
188
250
|
Name: string | undefined;
|
|
189
251
|
JobMode?: JobMode;
|
|
@@ -210,6 +272,10 @@ export interface CreateJobRequest {
|
|
|
210
272
|
SourceControlDetails?: SourceControlDetails;
|
|
211
273
|
MaintenanceWindow?: string;
|
|
212
274
|
}
|
|
275
|
+
export interface GetTableVersionsResponse {
|
|
276
|
+
TableVersions?: TableVersion[];
|
|
277
|
+
NextToken?: string;
|
|
278
|
+
}
|
|
213
279
|
export interface Job {
|
|
214
280
|
Name?: string;
|
|
215
281
|
JobMode?: JobMode;
|
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.627.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",
|