@aws-sdk/client-glue 3.540.0 → 3.547.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 +10 -6
- package/dist-es/models/models_2.js +5 -5
- package/dist-es/protocols/Aws_json1_1.js +4 -0
- package/dist-types/commands/GetTableCommand.d.ts +17 -0
- package/dist-types/commands/GetTableVersionCommand.d.ts +17 -0
- package/dist-types/commands/GetTableVersionsCommand.d.ts +17 -0
- package/dist-types/commands/GetTablesCommand.d.ts +17 -0
- package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +19 -0
- package/dist-types/commands/SearchTablesCommand.d.ts +17 -0
- package/dist-types/models/models_2.d.ts +96 -13
- package/dist-types/ts3.4/models/models_2.d.ts +23 -6
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -1544,6 +1544,11 @@ var StatementState = {
|
|
|
1544
1544
|
RUNNING: "RUNNING",
|
|
1545
1545
|
WAITING: "WAITING"
|
|
1546
1546
|
};
|
|
1547
|
+
var ViewDialect = {
|
|
1548
|
+
ATHENA: "ATHENA",
|
|
1549
|
+
REDSHIFT: "REDSHIFT",
|
|
1550
|
+
SPARK: "SPARK"
|
|
1551
|
+
};
|
|
1547
1552
|
var PermissionType = {
|
|
1548
1553
|
CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION",
|
|
1549
1554
|
COLUMN_PERMISSION: "COLUMN_PERMISSION",
|
|
@@ -1568,11 +1573,6 @@ var _PermissionTypeMismatchException = class _PermissionTypeMismatchException ex
|
|
|
1568
1573
|
};
|
|
1569
1574
|
__name(_PermissionTypeMismatchException, "PermissionTypeMismatchException");
|
|
1570
1575
|
var PermissionTypeMismatchException = _PermissionTypeMismatchException;
|
|
1571
|
-
var ViewDialect = {
|
|
1572
|
-
ATHENA: "ATHENA",
|
|
1573
|
-
REDSHIFT: "REDSHIFT",
|
|
1574
|
-
SPARK: "SPARK"
|
|
1575
|
-
};
|
|
1576
1576
|
var FieldName = {
|
|
1577
1577
|
CRAWL_ID: "CRAWL_ID",
|
|
1578
1578
|
DPU_HOUR: "DPU_HOUR",
|
|
@@ -8276,6 +8276,8 @@ var de_GetUnfilteredTableMetadataResponse = /* @__PURE__ */ __name((output, cont
|
|
|
8276
8276
|
return (0, import_smithy_client.take)(output, {
|
|
8277
8277
|
AuthorizedColumns: import_smithy_client._json,
|
|
8278
8278
|
CellFilters: import_smithy_client._json,
|
|
8279
|
+
IsMultiDialectView: import_smithy_client.expectBoolean,
|
|
8280
|
+
IsProtected: import_smithy_client.expectBoolean,
|
|
8279
8281
|
IsRegisteredWithLakeFormation: import_smithy_client.expectBoolean,
|
|
8280
8282
|
Permissions: import_smithy_client._json,
|
|
8281
8283
|
QueryAuthorizationId: import_smithy_client.expectString,
|
|
@@ -8712,6 +8714,7 @@ var de_Table = /* @__PURE__ */ __name((output, context) => {
|
|
|
8712
8714
|
DatabaseName: import_smithy_client.expectString,
|
|
8713
8715
|
Description: import_smithy_client.expectString,
|
|
8714
8716
|
FederatedTable: import_smithy_client._json,
|
|
8717
|
+
IsMultiDialectView: import_smithy_client.expectBoolean,
|
|
8715
8718
|
IsRegisteredWithLakeFormation: import_smithy_client.expectBoolean,
|
|
8716
8719
|
LastAccessTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
8717
8720
|
LastAnalyzedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -8725,6 +8728,7 @@ var de_Table = /* @__PURE__ */ __name((output, context) => {
|
|
|
8725
8728
|
TargetTable: import_smithy_client._json,
|
|
8726
8729
|
UpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
8727
8730
|
VersionId: import_smithy_client.expectString,
|
|
8731
|
+
ViewDefinition: import_smithy_client._json,
|
|
8728
8732
|
ViewExpandedText: import_smithy_client.expectString,
|
|
8729
8733
|
ViewOriginalText: import_smithy_client.expectString
|
|
8730
8734
|
});
|
|
@@ -13293,9 +13297,9 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
|
|
|
13293
13297
|
PartitionIndexStatus,
|
|
13294
13298
|
SchemaDiffType,
|
|
13295
13299
|
StatementState,
|
|
13300
|
+
ViewDialect,
|
|
13296
13301
|
PermissionType,
|
|
13297
13302
|
PermissionTypeMismatchException,
|
|
13298
|
-
ViewDialect,
|
|
13299
13303
|
FieldName,
|
|
13300
13304
|
FilterOperator,
|
|
13301
13305
|
CrawlerHistoryState,
|
|
@@ -8,6 +8,11 @@ export const StatementState = {
|
|
|
8
8
|
RUNNING: "RUNNING",
|
|
9
9
|
WAITING: "WAITING",
|
|
10
10
|
};
|
|
11
|
+
export const ViewDialect = {
|
|
12
|
+
ATHENA: "ATHENA",
|
|
13
|
+
REDSHIFT: "REDSHIFT",
|
|
14
|
+
SPARK: "SPARK",
|
|
15
|
+
};
|
|
11
16
|
export const PermissionType = {
|
|
12
17
|
CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION",
|
|
13
18
|
COLUMN_PERMISSION: "COLUMN_PERMISSION",
|
|
@@ -27,11 +32,6 @@ export class PermissionTypeMismatchException extends __BaseException {
|
|
|
27
32
|
this.Message = opts.Message;
|
|
28
33
|
}
|
|
29
34
|
}
|
|
30
|
-
export const ViewDialect = {
|
|
31
|
-
ATHENA: "ATHENA",
|
|
32
|
-
REDSHIFT: "REDSHIFT",
|
|
33
|
-
SPARK: "SPARK",
|
|
34
|
-
};
|
|
35
35
|
export const FieldName = {
|
|
36
36
|
CRAWL_ID: "CRAWL_ID",
|
|
37
37
|
DPU_HOUR: "DPU_HOUR",
|
|
@@ -6465,6 +6465,8 @@ const de_GetUnfilteredTableMetadataResponse = (output, context) => {
|
|
|
6465
6465
|
return take(output, {
|
|
6466
6466
|
AuthorizedColumns: _json,
|
|
6467
6467
|
CellFilters: _json,
|
|
6468
|
+
IsMultiDialectView: __expectBoolean,
|
|
6469
|
+
IsProtected: __expectBoolean,
|
|
6468
6470
|
IsRegisteredWithLakeFormation: __expectBoolean,
|
|
6469
6471
|
Permissions: _json,
|
|
6470
6472
|
QueryAuthorizationId: __expectString,
|
|
@@ -6917,6 +6919,7 @@ const de_Table = (output, context) => {
|
|
|
6917
6919
|
DatabaseName: __expectString,
|
|
6918
6920
|
Description: __expectString,
|
|
6919
6921
|
FederatedTable: _json,
|
|
6922
|
+
IsMultiDialectView: __expectBoolean,
|
|
6920
6923
|
IsRegisteredWithLakeFormation: __expectBoolean,
|
|
6921
6924
|
LastAccessTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6922
6925
|
LastAnalyzedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -6930,6 +6933,7 @@ const de_Table = (output, context) => {
|
|
|
6930
6933
|
TargetTable: _json,
|
|
6931
6934
|
UpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6932
6935
|
VersionId: __expectString,
|
|
6936
|
+
ViewDefinition: _json,
|
|
6933
6937
|
ViewExpandedText: __expectString,
|
|
6934
6938
|
ViewOriginalText: __expectString,
|
|
6935
6939
|
});
|
|
@@ -139,6 +139,23 @@ declare const GetTableCommand_base: {
|
|
|
139
139
|
* // DatabaseIdentifier: "STRING_VALUE",
|
|
140
140
|
* // ConnectionName: "STRING_VALUE",
|
|
141
141
|
* // },
|
|
142
|
+
* // ViewDefinition: { // ViewDefinition
|
|
143
|
+
* // IsProtected: true || false,
|
|
144
|
+
* // Definer: "STRING_VALUE",
|
|
145
|
+
* // SubObjects: [ // ViewSubObjectsList
|
|
146
|
+
* // "STRING_VALUE",
|
|
147
|
+
* // ],
|
|
148
|
+
* // Representations: [ // ViewRepresentationList
|
|
149
|
+
* // { // ViewRepresentation
|
|
150
|
+
* // Dialect: "REDSHIFT" || "ATHENA" || "SPARK",
|
|
151
|
+
* // DialectVersion: "STRING_VALUE",
|
|
152
|
+
* // ViewOriginalText: "STRING_VALUE",
|
|
153
|
+
* // ViewExpandedText: "STRING_VALUE",
|
|
154
|
+
* // IsStale: true || false,
|
|
155
|
+
* // },
|
|
156
|
+
* // ],
|
|
157
|
+
* // },
|
|
158
|
+
* // IsMultiDialectView: true || false,
|
|
142
159
|
* // },
|
|
143
160
|
* // };
|
|
144
161
|
*
|
|
@@ -138,6 +138,23 @@ declare const GetTableVersionCommand_base: {
|
|
|
138
138
|
* // DatabaseIdentifier: "STRING_VALUE",
|
|
139
139
|
* // ConnectionName: "STRING_VALUE",
|
|
140
140
|
* // },
|
|
141
|
+
* // ViewDefinition: { // ViewDefinition
|
|
142
|
+
* // IsProtected: true || false,
|
|
143
|
+
* // Definer: "STRING_VALUE",
|
|
144
|
+
* // SubObjects: [ // ViewSubObjectsList
|
|
145
|
+
* // "STRING_VALUE",
|
|
146
|
+
* // ],
|
|
147
|
+
* // Representations: [ // ViewRepresentationList
|
|
148
|
+
* // { // ViewRepresentation
|
|
149
|
+
* // Dialect: "REDSHIFT" || "ATHENA" || "SPARK",
|
|
150
|
+
* // DialectVersion: "STRING_VALUE",
|
|
151
|
+
* // ViewOriginalText: "STRING_VALUE",
|
|
152
|
+
* // ViewExpandedText: "STRING_VALUE",
|
|
153
|
+
* // IsStale: true || false,
|
|
154
|
+
* // },
|
|
155
|
+
* // ],
|
|
156
|
+
* // },
|
|
157
|
+
* // IsMultiDialectView: true || false,
|
|
141
158
|
* // },
|
|
142
159
|
* // VersionId: "STRING_VALUE",
|
|
143
160
|
* // },
|
|
@@ -141,6 +141,23 @@ declare const GetTableVersionsCommand_base: {
|
|
|
141
141
|
* // DatabaseIdentifier: "STRING_VALUE",
|
|
142
142
|
* // ConnectionName: "STRING_VALUE",
|
|
143
143
|
* // },
|
|
144
|
+
* // ViewDefinition: { // ViewDefinition
|
|
145
|
+
* // IsProtected: true || false,
|
|
146
|
+
* // Definer: "STRING_VALUE",
|
|
147
|
+
* // SubObjects: [ // ViewSubObjectsList
|
|
148
|
+
* // "STRING_VALUE",
|
|
149
|
+
* // ],
|
|
150
|
+
* // Representations: [ // ViewRepresentationList
|
|
151
|
+
* // { // ViewRepresentation
|
|
152
|
+
* // Dialect: "REDSHIFT" || "ATHENA" || "SPARK",
|
|
153
|
+
* // DialectVersion: "STRING_VALUE",
|
|
154
|
+
* // ViewOriginalText: "STRING_VALUE",
|
|
155
|
+
* // ViewExpandedText: "STRING_VALUE",
|
|
156
|
+
* // IsStale: true || false,
|
|
157
|
+
* // },
|
|
158
|
+
* // ],
|
|
159
|
+
* // },
|
|
160
|
+
* // IsMultiDialectView: true || false,
|
|
144
161
|
* // },
|
|
145
162
|
* // VersionId: "STRING_VALUE",
|
|
146
163
|
* // },
|
|
@@ -142,6 +142,23 @@ declare const GetTablesCommand_base: {
|
|
|
142
142
|
* // DatabaseIdentifier: "STRING_VALUE",
|
|
143
143
|
* // ConnectionName: "STRING_VALUE",
|
|
144
144
|
* // },
|
|
145
|
+
* // ViewDefinition: { // ViewDefinition
|
|
146
|
+
* // IsProtected: true || false,
|
|
147
|
+
* // Definer: "STRING_VALUE",
|
|
148
|
+
* // SubObjects: [ // ViewSubObjectsList
|
|
149
|
+
* // "STRING_VALUE",
|
|
150
|
+
* // ],
|
|
151
|
+
* // Representations: [ // ViewRepresentationList
|
|
152
|
+
* // { // ViewRepresentation
|
|
153
|
+
* // Dialect: "REDSHIFT" || "ATHENA" || "SPARK",
|
|
154
|
+
* // DialectVersion: "STRING_VALUE",
|
|
155
|
+
* // ViewOriginalText: "STRING_VALUE",
|
|
156
|
+
* // ViewExpandedText: "STRING_VALUE",
|
|
157
|
+
* // IsStale: true || false,
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // },
|
|
161
|
+
* // IsMultiDialectView: true || false,
|
|
145
162
|
* // },
|
|
146
163
|
* // ],
|
|
147
164
|
* // NextToken: "STRING_VALUE",
|
|
@@ -165,6 +165,23 @@ declare const GetUnfilteredTableMetadataCommand_base: {
|
|
|
165
165
|
* // DatabaseIdentifier: "STRING_VALUE",
|
|
166
166
|
* // ConnectionName: "STRING_VALUE",
|
|
167
167
|
* // },
|
|
168
|
+
* // ViewDefinition: { // ViewDefinition
|
|
169
|
+
* // IsProtected: true || false,
|
|
170
|
+
* // Definer: "STRING_VALUE",
|
|
171
|
+
* // SubObjects: [ // ViewSubObjectsList
|
|
172
|
+
* // "STRING_VALUE",
|
|
173
|
+
* // ],
|
|
174
|
+
* // Representations: [ // ViewRepresentationList
|
|
175
|
+
* // { // ViewRepresentation
|
|
176
|
+
* // Dialect: "REDSHIFT" || "ATHENA" || "SPARK",
|
|
177
|
+
* // DialectVersion: "STRING_VALUE",
|
|
178
|
+
* // ViewOriginalText: "STRING_VALUE",
|
|
179
|
+
* // ViewExpandedText: "STRING_VALUE",
|
|
180
|
+
* // IsStale: true || false,
|
|
181
|
+
* // },
|
|
182
|
+
* // ],
|
|
183
|
+
* // },
|
|
184
|
+
* // IsMultiDialectView: true || false,
|
|
168
185
|
* // },
|
|
169
186
|
* // AuthorizedColumns: "<NameStringList>",
|
|
170
187
|
* // IsRegisteredWithLakeFormation: true || false,
|
|
@@ -175,7 +192,9 @@ declare const GetUnfilteredTableMetadataCommand_base: {
|
|
|
175
192
|
* // },
|
|
176
193
|
* // ],
|
|
177
194
|
* // QueryAuthorizationId: "STRING_VALUE",
|
|
195
|
+
* // IsMultiDialectView: true || false,
|
|
178
196
|
* // ResourceArn: "STRING_VALUE",
|
|
197
|
+
* // IsProtected: true || false,
|
|
179
198
|
* // Permissions: [ // PermissionList
|
|
180
199
|
* // "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS",
|
|
181
200
|
* // ],
|
|
@@ -154,6 +154,23 @@ declare const SearchTablesCommand_base: {
|
|
|
154
154
|
* // DatabaseIdentifier: "STRING_VALUE",
|
|
155
155
|
* // ConnectionName: "STRING_VALUE",
|
|
156
156
|
* // },
|
|
157
|
+
* // ViewDefinition: { // ViewDefinition
|
|
158
|
+
* // IsProtected: true || false,
|
|
159
|
+
* // Definer: "STRING_VALUE",
|
|
160
|
+
* // SubObjects: [ // ViewSubObjectsList
|
|
161
|
+
* // "STRING_VALUE",
|
|
162
|
+
* // ],
|
|
163
|
+
* // Representations: [ // ViewRepresentationList
|
|
164
|
+
* // { // ViewRepresentation
|
|
165
|
+
* // Dialect: "REDSHIFT" || "ATHENA" || "SPARK",
|
|
166
|
+
* // DialectVersion: "STRING_VALUE",
|
|
167
|
+
* // ViewOriginalText: "STRING_VALUE",
|
|
168
|
+
* // ViewExpandedText: "STRING_VALUE",
|
|
169
|
+
* // IsStale: true || false,
|
|
170
|
+
* // },
|
|
171
|
+
* // ],
|
|
172
|
+
* // },
|
|
173
|
+
* // IsMultiDialectView: true || false,
|
|
157
174
|
* // },
|
|
158
175
|
* // ],
|
|
159
176
|
* // };
|
|
@@ -231,6 +231,82 @@ export interface FederatedTable {
|
|
|
231
231
|
*/
|
|
232
232
|
ConnectionName?: string;
|
|
233
233
|
}
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
* @enum
|
|
237
|
+
*/
|
|
238
|
+
export declare const ViewDialect: {
|
|
239
|
+
readonly ATHENA: "ATHENA";
|
|
240
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
241
|
+
readonly SPARK: "SPARK";
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
export type ViewDialect = (typeof ViewDialect)[keyof typeof ViewDialect];
|
|
247
|
+
/**
|
|
248
|
+
* <p>A structure that contains the dialect of the view, and the query that defines the view.</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
export interface ViewRepresentation {
|
|
252
|
+
/**
|
|
253
|
+
* <p>The dialect of the query engine.</p>
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
Dialect?: ViewDialect;
|
|
257
|
+
/**
|
|
258
|
+
* <p>The version of the dialect of the query engine. For example, 3.0.0.</p>
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
DialectVersion?: string;
|
|
262
|
+
/**
|
|
263
|
+
* <p>The <code>SELECT</code> query provided by the customer during <code>CREATE VIEW DDL</code>. This SQL is not used during a query on a view (<code>ViewExpandedText</code> is used instead). <code>ViewOriginalText</code> is used for cases like <code>SHOW CREATE VIEW</code> where users want to see the original DDL command that created the view.</p>
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
ViewOriginalText?: string;
|
|
267
|
+
/**
|
|
268
|
+
* <p>The expanded SQL for the view. This SQL is used by engines while processing a query on a view. Engines may perform operations during view creation to transform <code>ViewOriginalText</code> to <code>ViewExpandedText</code>. For example:</p>
|
|
269
|
+
* <ul>
|
|
270
|
+
* <li>
|
|
271
|
+
* <p>Fully qualify identifiers: <code>SELECT * from table1 → SELECT * from db1.table1</code>
|
|
272
|
+
* </p>
|
|
273
|
+
* </li>
|
|
274
|
+
* </ul>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
ViewExpandedText?: string;
|
|
278
|
+
/**
|
|
279
|
+
* <p>Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.</p>
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
IsStale?: boolean;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* <p>A structure containing details for representations.</p>
|
|
286
|
+
* @public
|
|
287
|
+
*/
|
|
288
|
+
export interface ViewDefinition {
|
|
289
|
+
/**
|
|
290
|
+
* <p>You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.</p>
|
|
291
|
+
* @public
|
|
292
|
+
*/
|
|
293
|
+
IsProtected?: boolean;
|
|
294
|
+
/**
|
|
295
|
+
* <p>The definer of a view in SQL.</p>
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
Definer?: string;
|
|
299
|
+
/**
|
|
300
|
+
* <p>A list of table Amazon Resource Names (ARNs).</p>
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
SubObjects?: string[];
|
|
304
|
+
/**
|
|
305
|
+
* <p>A list of representations.</p>
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
Representations?: ViewRepresentation[];
|
|
309
|
+
}
|
|
234
310
|
/**
|
|
235
311
|
* <p>Represents a collection of related data organized in columns and rows.</p>
|
|
236
312
|
* @public
|
|
@@ -368,6 +444,16 @@ export interface Table {
|
|
|
368
444
|
* @public
|
|
369
445
|
*/
|
|
370
446
|
FederatedTable?: FederatedTable;
|
|
447
|
+
/**
|
|
448
|
+
* <p>A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query.</p>
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
ViewDefinition?: ViewDefinition;
|
|
452
|
+
/**
|
|
453
|
+
* <p>Specifies whether the view supports the SQL dialects of one or more different query engines and can therefore be read by those engines.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
IsMultiDialectView?: boolean;
|
|
371
457
|
}
|
|
372
458
|
/**
|
|
373
459
|
* @public
|
|
@@ -996,19 +1082,6 @@ export interface GetUnfilteredPartitionsMetadataResponse {
|
|
|
996
1082
|
*/
|
|
997
1083
|
NextToken?: string;
|
|
998
1084
|
}
|
|
999
|
-
/**
|
|
1000
|
-
* @public
|
|
1001
|
-
* @enum
|
|
1002
|
-
*/
|
|
1003
|
-
export declare const ViewDialect: {
|
|
1004
|
-
readonly ATHENA: "ATHENA";
|
|
1005
|
-
readonly REDSHIFT: "REDSHIFT";
|
|
1006
|
-
readonly SPARK: "SPARK";
|
|
1007
|
-
};
|
|
1008
|
-
/**
|
|
1009
|
-
* @public
|
|
1010
|
-
*/
|
|
1011
|
-
export type ViewDialect = (typeof ViewDialect)[keyof typeof ViewDialect];
|
|
1012
1085
|
/**
|
|
1013
1086
|
* <p>A structure specifying the dialect and dialect version used by the query engine.</p>
|
|
1014
1087
|
* @public
|
|
@@ -1121,11 +1194,21 @@ export interface GetUnfilteredTableMetadataResponse {
|
|
|
1121
1194
|
* @public
|
|
1122
1195
|
*/
|
|
1123
1196
|
QueryAuthorizationId?: string;
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>Specifies whether the view supports the SQL dialects of one or more different query engines and can therefore be read by those engines.</p>
|
|
1199
|
+
* @public
|
|
1200
|
+
*/
|
|
1201
|
+
IsMultiDialectView?: boolean;
|
|
1124
1202
|
/**
|
|
1125
1203
|
* <p>The resource ARN of the parent resource extracted from the request.</p>
|
|
1126
1204
|
* @public
|
|
1127
1205
|
*/
|
|
1128
1206
|
ResourceArn?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* <p>A flag that instructs the engine not to push user-provided operations into the logical plan of the view during query planning. However, if set this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.</p>
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1211
|
+
IsProtected?: boolean;
|
|
1129
1212
|
/**
|
|
1130
1213
|
* <p>The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view context is found.</p>
|
|
1131
1214
|
* @public
|
|
@@ -197,6 +197,25 @@ export interface FederatedTable {
|
|
|
197
197
|
DatabaseIdentifier?: string;
|
|
198
198
|
ConnectionName?: string;
|
|
199
199
|
}
|
|
200
|
+
export declare const ViewDialect: {
|
|
201
|
+
readonly ATHENA: "ATHENA";
|
|
202
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
203
|
+
readonly SPARK: "SPARK";
|
|
204
|
+
};
|
|
205
|
+
export type ViewDialect = (typeof ViewDialect)[keyof typeof ViewDialect];
|
|
206
|
+
export interface ViewRepresentation {
|
|
207
|
+
Dialect?: ViewDialect;
|
|
208
|
+
DialectVersion?: string;
|
|
209
|
+
ViewOriginalText?: string;
|
|
210
|
+
ViewExpandedText?: string;
|
|
211
|
+
IsStale?: boolean;
|
|
212
|
+
}
|
|
213
|
+
export interface ViewDefinition {
|
|
214
|
+
IsProtected?: boolean;
|
|
215
|
+
Definer?: string;
|
|
216
|
+
SubObjects?: string[];
|
|
217
|
+
Representations?: ViewRepresentation[];
|
|
218
|
+
}
|
|
200
219
|
export interface Table {
|
|
201
220
|
Name: string | undefined;
|
|
202
221
|
DatabaseName?: string;
|
|
@@ -219,6 +238,8 @@ export interface Table {
|
|
|
219
238
|
CatalogId?: string;
|
|
220
239
|
VersionId?: string;
|
|
221
240
|
FederatedTable?: FederatedTable;
|
|
241
|
+
ViewDefinition?: ViewDefinition;
|
|
242
|
+
IsMultiDialectView?: boolean;
|
|
222
243
|
}
|
|
223
244
|
export interface GetTableResponse {
|
|
224
245
|
Table?: Table;
|
|
@@ -356,12 +377,6 @@ export interface GetUnfilteredPartitionsMetadataResponse {
|
|
|
356
377
|
UnfilteredPartitions?: UnfilteredPartition[];
|
|
357
378
|
NextToken?: string;
|
|
358
379
|
}
|
|
359
|
-
export declare const ViewDialect: {
|
|
360
|
-
readonly ATHENA: "ATHENA";
|
|
361
|
-
readonly REDSHIFT: "REDSHIFT";
|
|
362
|
-
readonly SPARK: "SPARK";
|
|
363
|
-
};
|
|
364
|
-
export type ViewDialect = (typeof ViewDialect)[keyof typeof ViewDialect];
|
|
365
380
|
export interface SupportedDialect {
|
|
366
381
|
Dialect?: ViewDialect;
|
|
367
382
|
DialectVersion?: string;
|
|
@@ -387,7 +402,9 @@ export interface GetUnfilteredTableMetadataResponse {
|
|
|
387
402
|
IsRegisteredWithLakeFormation?: boolean;
|
|
388
403
|
CellFilters?: ColumnRowFilter[];
|
|
389
404
|
QueryAuthorizationId?: string;
|
|
405
|
+
IsMultiDialectView?: boolean;
|
|
390
406
|
ResourceArn?: string;
|
|
407
|
+
IsProtected?: boolean;
|
|
391
408
|
Permissions?: Permission[];
|
|
392
409
|
}
|
|
393
410
|
export interface GetUserDefinedFunctionRequest {
|
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.547.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",
|