@aws-sdk/client-glue 3.450.0 → 3.451.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/README.md +48 -0
- package/dist-cjs/Glue.js +12 -0
- package/dist-cjs/commands/BatchGetTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/CreateTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/DeleteTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/GetTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/ListTableOptimizerRunsCommand.js +51 -0
- package/dist-cjs/commands/UpdateTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +10 -16
- package/dist-cjs/models/models_1.js +16 -1
- package/dist-cjs/pagination/ListTableOptimizerRunsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +361 -10
- package/dist-es/Glue.js +12 -0
- package/dist-es/commands/BatchGetTableOptimizerCommand.js +47 -0
- package/dist-es/commands/CreateTableOptimizerCommand.js +47 -0
- package/dist-es/commands/DeleteTableOptimizerCommand.js +47 -0
- package/dist-es/commands/GetTableOptimizerCommand.js +47 -0
- package/dist-es/commands/ListTableOptimizerRunsCommand.js +47 -0
- package/dist-es/commands/UpdateTableOptimizerCommand.js +47 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +9 -14
- package/dist-es/models/models_1.js +14 -0
- package/dist-es/pagination/ListTableOptimizerRunsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +341 -2
- package/dist-types/Glue.d.ts +42 -0
- package/dist-types/GlueClient.d.ts +8 -2
- package/dist-types/commands/BatchGetTableOptimizerCommand.d.ts +120 -0
- package/dist-types/commands/CreateDataQualityRulesetCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateTableOptimizerCommand.d.ts +93 -0
- package/dist-types/commands/DeleteTableOptimizerCommand.d.ts +86 -0
- package/dist-types/commands/GetTableCommand.d.ts +2 -1
- package/dist-types/commands/GetTableOptimizerCommand.d.ts +109 -0
- package/dist-types/commands/GetTableVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetTableVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetTablesCommand.d.ts +1 -1
- package/dist-types/commands/GetTagsCommand.d.ts +1 -1
- package/dist-types/commands/GetTriggerCommand.d.ts +1 -1
- package/dist-types/commands/GetTriggersCommand.d.ts +1 -2
- package/dist-types/commands/ListTableOptimizerRunsCommand.d.ts +107 -0
- package/dist-types/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTableOptimizerCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +227 -222
- package/dist-types/models/models_1.d.ts +288 -394
- package/dist-types/models/models_2.d.ts +545 -2
- package/dist-types/pagination/ListTableOptimizerRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
- package/dist-types/ts3.4/Glue.d.ts +102 -0
- package/dist-types/ts3.4/GlueClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/BatchGetTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateDataQualityRulesetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetTableOptimizerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetTableVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTableVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTriggerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTriggersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListTableOptimizerRunsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -59
- package/dist-types/ts3.4/models/models_1.d.ts +77 -90
- package/dist-types/ts3.4/models/models_2.d.ts +129 -3
- package/dist-types/ts3.4/pagination/ListTableOptimizerRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
- package/package.json +35 -35
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
GlueClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../GlueClient";
|
|
14
|
+
import {
|
|
15
|
+
GetTableOptimizerRequest,
|
|
16
|
+
GetTableOptimizerResponse,
|
|
17
|
+
} from "../models/models_2";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetTableOptimizerCommandInput
|
|
20
|
+
extends GetTableOptimizerRequest {}
|
|
21
|
+
export interface GetTableOptimizerCommandOutput
|
|
22
|
+
extends GetTableOptimizerResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class GetTableOptimizerCommand extends $Command<
|
|
25
|
+
GetTableOptimizerCommandInput,
|
|
26
|
+
GetTableOptimizerCommandOutput,
|
|
27
|
+
GlueClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: GetTableOptimizerCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetTableOptimizerCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: GlueClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<GetTableOptimizerCommandInput, GetTableOptimizerCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
GetTableVersionRequest,
|
|
16
16
|
GetTableVersionResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_2";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface GetTableVersionCommandInput extends GetTableVersionRequest {}
|
|
20
20
|
export interface GetTableVersionCommandOutput
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
GetTableVersionsRequest,
|
|
16
16
|
GetTableVersionsResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_2";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface GetTableVersionsCommandInput extends GetTableVersionsRequest {}
|
|
20
20
|
export interface GetTableVersionsCommandOutput
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../GlueClient";
|
|
14
|
-
import { GetTablesRequest, GetTablesResponse } from "../models/
|
|
14
|
+
import { GetTablesRequest, GetTablesResponse } from "../models/models_2";
|
|
15
15
|
export { __MetadataBearer, $Command };
|
|
16
16
|
export interface GetTablesCommandInput extends GetTablesRequest {}
|
|
17
17
|
export interface GetTablesCommandOutput
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../GlueClient";
|
|
14
|
-
import { GetTagsRequest, GetTagsResponse } from "../models/
|
|
14
|
+
import { GetTagsRequest, GetTagsResponse } from "../models/models_2";
|
|
15
15
|
export { __MetadataBearer, $Command };
|
|
16
16
|
export interface GetTagsCommandInput extends GetTagsRequest {}
|
|
17
17
|
export interface GetTagsCommandOutput
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../GlueClient";
|
|
14
|
-
import { GetTriggerRequest, GetTriggerResponse } from "../models/
|
|
14
|
+
import { GetTriggerRequest, GetTriggerResponse } from "../models/models_2";
|
|
15
15
|
export { __MetadataBearer, $Command };
|
|
16
16
|
export interface GetTriggerCommandInput extends GetTriggerRequest {}
|
|
17
17
|
export interface GetTriggerCommandOutput
|
|
@@ -11,8 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../GlueClient";
|
|
14
|
-
import { GetTriggersRequest } from "../models/
|
|
15
|
-
import { GetTriggersResponse } from "../models/models_2";
|
|
14
|
+
import { GetTriggersRequest, GetTriggersResponse } from "../models/models_2";
|
|
16
15
|
export { __MetadataBearer, $Command };
|
|
17
16
|
export interface GetTriggersCommandInput extends GetTriggersRequest {}
|
|
18
17
|
export interface GetTriggersCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
GlueClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../GlueClient";
|
|
14
|
+
import {
|
|
15
|
+
ListTableOptimizerRunsRequest,
|
|
16
|
+
ListTableOptimizerRunsResponse,
|
|
17
|
+
} from "../models/models_2";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListTableOptimizerRunsCommandInput
|
|
20
|
+
extends ListTableOptimizerRunsRequest {}
|
|
21
|
+
export interface ListTableOptimizerRunsCommandOutput
|
|
22
|
+
extends ListTableOptimizerRunsResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListTableOptimizerRunsCommand extends $Command<
|
|
25
|
+
ListTableOptimizerRunsCommandInput,
|
|
26
|
+
ListTableOptimizerRunsCommandOutput,
|
|
27
|
+
GlueClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListTableOptimizerRunsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListTableOptimizerRunsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: GlueClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ListTableOptimizerRunsCommandInput,
|
|
38
|
+
ListTableOptimizerRunsCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
GlueClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../GlueClient";
|
|
14
|
+
import {
|
|
15
|
+
UpdateTableOptimizerRequest,
|
|
16
|
+
UpdateTableOptimizerResponse,
|
|
17
|
+
} from "../models/models_2";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UpdateTableOptimizerCommandInput
|
|
20
|
+
extends UpdateTableOptimizerRequest {}
|
|
21
|
+
export interface UpdateTableOptimizerCommandOutput
|
|
22
|
+
extends UpdateTableOptimizerResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class UpdateTableOptimizerCommand extends $Command<
|
|
25
|
+
UpdateTableOptimizerCommandInput,
|
|
26
|
+
UpdateTableOptimizerCommandOutput,
|
|
27
|
+
GlueClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: UpdateTableOptimizerCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: UpdateTableOptimizerCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: GlueClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
UpdateTableOptimizerCommandInput,
|
|
38
|
+
UpdateTableOptimizerCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -10,6 +10,7 @@ export * from "./BatchGetDataQualityResultCommand";
|
|
|
10
10
|
export * from "./BatchGetDevEndpointsCommand";
|
|
11
11
|
export * from "./BatchGetJobsCommand";
|
|
12
12
|
export * from "./BatchGetPartitionCommand";
|
|
13
|
+
export * from "./BatchGetTableOptimizerCommand";
|
|
13
14
|
export * from "./BatchGetTriggersCommand";
|
|
14
15
|
export * from "./BatchGetWorkflowsCommand";
|
|
15
16
|
export * from "./BatchStopJobRunCommand";
|
|
@@ -37,6 +38,7 @@ export * from "./CreateScriptCommand";
|
|
|
37
38
|
export * from "./CreateSecurityConfigurationCommand";
|
|
38
39
|
export * from "./CreateSessionCommand";
|
|
39
40
|
export * from "./CreateTableCommand";
|
|
41
|
+
export * from "./CreateTableOptimizerCommand";
|
|
40
42
|
export * from "./CreateTriggerCommand";
|
|
41
43
|
export * from "./CreateUserDefinedFunctionCommand";
|
|
42
44
|
export * from "./CreateWorkflowCommand";
|
|
@@ -61,6 +63,7 @@ export * from "./DeleteSchemaVersionsCommand";
|
|
|
61
63
|
export * from "./DeleteSecurityConfigurationCommand";
|
|
62
64
|
export * from "./DeleteSessionCommand";
|
|
63
65
|
export * from "./DeleteTableCommand";
|
|
66
|
+
export * from "./DeleteTableOptimizerCommand";
|
|
64
67
|
export * from "./DeleteTableVersionCommand";
|
|
65
68
|
export * from "./DeleteTriggerCommand";
|
|
66
69
|
export * from "./DeleteUserDefinedFunctionCommand";
|
|
@@ -115,6 +118,7 @@ export * from "./GetSecurityConfigurationsCommand";
|
|
|
115
118
|
export * from "./GetSessionCommand";
|
|
116
119
|
export * from "./GetStatementCommand";
|
|
117
120
|
export * from "./GetTableCommand";
|
|
121
|
+
export * from "./GetTableOptimizerCommand";
|
|
118
122
|
export * from "./GetTableVersionCommand";
|
|
119
123
|
export * from "./GetTableVersionsCommand";
|
|
120
124
|
export * from "./GetTablesCommand";
|
|
@@ -147,6 +151,7 @@ export * from "./ListSchemaVersionsCommand";
|
|
|
147
151
|
export * from "./ListSchemasCommand";
|
|
148
152
|
export * from "./ListSessionsCommand";
|
|
149
153
|
export * from "./ListStatementsCommand";
|
|
154
|
+
export * from "./ListTableOptimizerRunsCommand";
|
|
150
155
|
export * from "./ListTriggersCommand";
|
|
151
156
|
export * from "./ListWorkflowsCommand";
|
|
152
157
|
export * from "./PutDataCatalogEncryptionSettingsCommand";
|
|
@@ -197,6 +202,7 @@ export * from "./UpdateRegistryCommand";
|
|
|
197
202
|
export * from "./UpdateSchemaCommand";
|
|
198
203
|
export * from "./UpdateSourceControlFromJobCommand";
|
|
199
204
|
export * from "./UpdateTableCommand";
|
|
205
|
+
export * from "./UpdateTableOptimizerCommand";
|
|
200
206
|
export * from "./UpdateTriggerCommand";
|
|
201
207
|
export * from "./UpdateUserDefinedFunctionCommand";
|
|
202
208
|
export * from "./UpdateWorkflowCommand";
|
|
@@ -1551,6 +1551,67 @@ export declare class InvalidStateException extends __BaseException {
|
|
|
1551
1551
|
opts: __ExceptionOptionType<InvalidStateException, __BaseException>
|
|
1552
1552
|
);
|
|
1553
1553
|
}
|
|
1554
|
+
export declare const TableOptimizerType: {
|
|
1555
|
+
readonly COMPACTION: "compaction";
|
|
1556
|
+
};
|
|
1557
|
+
export type TableOptimizerType =
|
|
1558
|
+
(typeof TableOptimizerType)[keyof typeof TableOptimizerType];
|
|
1559
|
+
export interface BatchGetTableOptimizerEntry {
|
|
1560
|
+
catalogId?: string;
|
|
1561
|
+
databaseName?: string;
|
|
1562
|
+
tableName?: string;
|
|
1563
|
+
type?: TableOptimizerType;
|
|
1564
|
+
}
|
|
1565
|
+
export interface BatchGetTableOptimizerRequest {
|
|
1566
|
+
Entries: BatchGetTableOptimizerEntry[] | undefined;
|
|
1567
|
+
}
|
|
1568
|
+
export interface BatchGetTableOptimizerError {
|
|
1569
|
+
error?: ErrorDetail;
|
|
1570
|
+
catalogId?: string;
|
|
1571
|
+
databaseName?: string;
|
|
1572
|
+
tableName?: string;
|
|
1573
|
+
type?: TableOptimizerType;
|
|
1574
|
+
}
|
|
1575
|
+
export interface TableOptimizerConfiguration {
|
|
1576
|
+
roleArn?: string;
|
|
1577
|
+
enabled?: boolean;
|
|
1578
|
+
}
|
|
1579
|
+
export declare const TableOptimizerEventType: {
|
|
1580
|
+
readonly COMPLETED: "completed";
|
|
1581
|
+
readonly FAILED: "failed";
|
|
1582
|
+
readonly IN_PROGRESS: "in_progress";
|
|
1583
|
+
readonly STARTING: "starting";
|
|
1584
|
+
};
|
|
1585
|
+
export type TableOptimizerEventType =
|
|
1586
|
+
(typeof TableOptimizerEventType)[keyof typeof TableOptimizerEventType];
|
|
1587
|
+
export interface RunMetrics {
|
|
1588
|
+
NumberOfBytesCompacted?: string;
|
|
1589
|
+
NumberOfFilesCompacted?: string;
|
|
1590
|
+
NumberOfDpus?: string;
|
|
1591
|
+
JobDurationInHour?: string;
|
|
1592
|
+
}
|
|
1593
|
+
export interface TableOptimizerRun {
|
|
1594
|
+
eventType?: TableOptimizerEventType;
|
|
1595
|
+
startTimestamp?: Date;
|
|
1596
|
+
endTimestamp?: Date;
|
|
1597
|
+
metrics?: RunMetrics;
|
|
1598
|
+
error?: string;
|
|
1599
|
+
}
|
|
1600
|
+
export interface TableOptimizer {
|
|
1601
|
+
type?: TableOptimizerType;
|
|
1602
|
+
configuration?: TableOptimizerConfiguration;
|
|
1603
|
+
lastRun?: TableOptimizerRun;
|
|
1604
|
+
}
|
|
1605
|
+
export interface BatchTableOptimizer {
|
|
1606
|
+
catalogId?: string;
|
|
1607
|
+
databaseName?: string;
|
|
1608
|
+
tableName?: string;
|
|
1609
|
+
tableOptimizer?: TableOptimizer;
|
|
1610
|
+
}
|
|
1611
|
+
export interface BatchGetTableOptimizerResponse {
|
|
1612
|
+
TableOptimizers?: BatchTableOptimizer[];
|
|
1613
|
+
Failures?: BatchGetTableOptimizerError[];
|
|
1614
|
+
}
|
|
1554
1615
|
export interface BatchGetTriggersRequest {
|
|
1555
1616
|
TriggerNames: string[] | undefined;
|
|
1556
1617
|
}
|
|
@@ -2045,62 +2106,3 @@ export declare const Permission: {
|
|
|
2045
2106
|
readonly SELECT: "SELECT";
|
|
2046
2107
|
};
|
|
2047
2108
|
export type Permission = (typeof Permission)[keyof typeof Permission];
|
|
2048
|
-
export interface DataLakePrincipal {
|
|
2049
|
-
DataLakePrincipalIdentifier?: string;
|
|
2050
|
-
}
|
|
2051
|
-
export interface PrincipalPermissions {
|
|
2052
|
-
Principal?: DataLakePrincipal;
|
|
2053
|
-
Permissions?: Permission[];
|
|
2054
|
-
}
|
|
2055
|
-
export interface FederatedDatabase {
|
|
2056
|
-
Identifier?: string;
|
|
2057
|
-
ConnectionName?: string;
|
|
2058
|
-
}
|
|
2059
|
-
export interface DatabaseIdentifier {
|
|
2060
|
-
CatalogId?: string;
|
|
2061
|
-
DatabaseName?: string;
|
|
2062
|
-
Region?: string;
|
|
2063
|
-
}
|
|
2064
|
-
export interface DatabaseInput {
|
|
2065
|
-
Name: string | undefined;
|
|
2066
|
-
Description?: string;
|
|
2067
|
-
LocationUri?: string;
|
|
2068
|
-
Parameters?: Record<string, string>;
|
|
2069
|
-
CreateTableDefaultPermissions?: PrincipalPermissions[];
|
|
2070
|
-
TargetDatabase?: DatabaseIdentifier;
|
|
2071
|
-
FederatedDatabase?: FederatedDatabase;
|
|
2072
|
-
}
|
|
2073
|
-
export interface CreateDatabaseRequest {
|
|
2074
|
-
CatalogId?: string;
|
|
2075
|
-
DatabaseInput: DatabaseInput | undefined;
|
|
2076
|
-
Tags?: Record<string, string>;
|
|
2077
|
-
}
|
|
2078
|
-
export interface CreateDatabaseResponse {}
|
|
2079
|
-
export declare class FederatedResourceAlreadyExistsException extends __BaseException {
|
|
2080
|
-
readonly name: "FederatedResourceAlreadyExistsException";
|
|
2081
|
-
readonly $fault: "client";
|
|
2082
|
-
Message?: string;
|
|
2083
|
-
AssociatedGlueResource?: string;
|
|
2084
|
-
constructor(
|
|
2085
|
-
opts: __ExceptionOptionType<
|
|
2086
|
-
FederatedResourceAlreadyExistsException,
|
|
2087
|
-
__BaseException
|
|
2088
|
-
>
|
|
2089
|
-
);
|
|
2090
|
-
}
|
|
2091
|
-
export interface DataQualityTargetTable {
|
|
2092
|
-
TableName: string | undefined;
|
|
2093
|
-
DatabaseName: string | undefined;
|
|
2094
|
-
CatalogId?: string;
|
|
2095
|
-
}
|
|
2096
|
-
export interface CreateDataQualityRulesetRequest {
|
|
2097
|
-
Name: string | undefined;
|
|
2098
|
-
Description?: string;
|
|
2099
|
-
Ruleset: string | undefined;
|
|
2100
|
-
Tags?: Record<string, string>;
|
|
2101
|
-
TargetTable?: DataQualityTargetTable;
|
|
2102
|
-
ClientToken?: string;
|
|
2103
|
-
}
|
|
2104
|
-
export interface CreateDataQualityRulesetResponse {
|
|
2105
|
-
Name?: string;
|
|
2106
|
-
}
|
|
@@ -10,30 +10,87 @@ import {
|
|
|
10
10
|
Crawler,
|
|
11
11
|
CsvHeaderOption,
|
|
12
12
|
CsvSerdeOption,
|
|
13
|
-
DatabaseIdentifier,
|
|
14
13
|
DataFormat,
|
|
15
14
|
DataQualityRuleResult,
|
|
16
|
-
DataQualityTargetTable,
|
|
17
15
|
DataSource,
|
|
18
16
|
DevEndpoint,
|
|
19
17
|
ErrorDetail,
|
|
20
18
|
EventBatchingCondition,
|
|
21
|
-
FederatedDatabase,
|
|
22
19
|
GlueTable,
|
|
23
20
|
JobRun,
|
|
24
21
|
Partition,
|
|
25
22
|
PartitionInput,
|
|
26
23
|
PartitionValueList,
|
|
24
|
+
Permission,
|
|
27
25
|
PhysicalConnectionRequirements,
|
|
28
26
|
Predicate,
|
|
29
|
-
PrincipalPermissions,
|
|
30
27
|
SchemaId,
|
|
31
28
|
StorageDescriptor,
|
|
29
|
+
TableOptimizerConfiguration,
|
|
30
|
+
TableOptimizerType,
|
|
32
31
|
TaskStatusType,
|
|
33
|
-
Trigger,
|
|
34
32
|
TriggerType,
|
|
35
33
|
WorkerType,
|
|
36
34
|
} from "./models_0";
|
|
35
|
+
export interface DataLakePrincipal {
|
|
36
|
+
DataLakePrincipalIdentifier?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface PrincipalPermissions {
|
|
39
|
+
Principal?: DataLakePrincipal;
|
|
40
|
+
Permissions?: Permission[];
|
|
41
|
+
}
|
|
42
|
+
export interface FederatedDatabase {
|
|
43
|
+
Identifier?: string;
|
|
44
|
+
ConnectionName?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface DatabaseIdentifier {
|
|
47
|
+
CatalogId?: string;
|
|
48
|
+
DatabaseName?: string;
|
|
49
|
+
Region?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface DatabaseInput {
|
|
52
|
+
Name: string | undefined;
|
|
53
|
+
Description?: string;
|
|
54
|
+
LocationUri?: string;
|
|
55
|
+
Parameters?: Record<string, string>;
|
|
56
|
+
CreateTableDefaultPermissions?: PrincipalPermissions[];
|
|
57
|
+
TargetDatabase?: DatabaseIdentifier;
|
|
58
|
+
FederatedDatabase?: FederatedDatabase;
|
|
59
|
+
}
|
|
60
|
+
export interface CreateDatabaseRequest {
|
|
61
|
+
CatalogId?: string;
|
|
62
|
+
DatabaseInput: DatabaseInput | undefined;
|
|
63
|
+
Tags?: Record<string, string>;
|
|
64
|
+
}
|
|
65
|
+
export interface CreateDatabaseResponse {}
|
|
66
|
+
export declare class FederatedResourceAlreadyExistsException extends __BaseException {
|
|
67
|
+
readonly name: "FederatedResourceAlreadyExistsException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
Message?: string;
|
|
70
|
+
AssociatedGlueResource?: string;
|
|
71
|
+
constructor(
|
|
72
|
+
opts: __ExceptionOptionType<
|
|
73
|
+
FederatedResourceAlreadyExistsException,
|
|
74
|
+
__BaseException
|
|
75
|
+
>
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
export interface DataQualityTargetTable {
|
|
79
|
+
TableName: string | undefined;
|
|
80
|
+
DatabaseName: string | undefined;
|
|
81
|
+
CatalogId?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface CreateDataQualityRulesetRequest {
|
|
84
|
+
Name: string | undefined;
|
|
85
|
+
Description?: string;
|
|
86
|
+
Ruleset: string | undefined;
|
|
87
|
+
Tags?: Record<string, string>;
|
|
88
|
+
TargetTable?: DataQualityTargetTable;
|
|
89
|
+
ClientToken?: string;
|
|
90
|
+
}
|
|
91
|
+
export interface CreateDataQualityRulesetResponse {
|
|
92
|
+
Name?: string;
|
|
93
|
+
}
|
|
37
94
|
export interface CreateDevEndpointRequest {
|
|
38
95
|
EndpointName: string | undefined;
|
|
39
96
|
RoleArn: string | undefined;
|
|
@@ -382,6 +439,14 @@ export interface CreateTableRequest {
|
|
|
382
439
|
OpenTableFormatInput?: OpenTableFormatInput;
|
|
383
440
|
}
|
|
384
441
|
export interface CreateTableResponse {}
|
|
442
|
+
export interface CreateTableOptimizerRequest {
|
|
443
|
+
CatalogId: string | undefined;
|
|
444
|
+
DatabaseName: string | undefined;
|
|
445
|
+
TableName: string | undefined;
|
|
446
|
+
Type: TableOptimizerType | undefined;
|
|
447
|
+
TableOptimizerConfiguration: TableOptimizerConfiguration | undefined;
|
|
448
|
+
}
|
|
449
|
+
export interface CreateTableOptimizerResponse {}
|
|
385
450
|
export interface CreateTriggerRequest {
|
|
386
451
|
Name: string | undefined;
|
|
387
452
|
WorkflowName?: string;
|
|
@@ -608,6 +673,13 @@ export interface DeleteTableRequest {
|
|
|
608
673
|
TransactionId?: string;
|
|
609
674
|
}
|
|
610
675
|
export interface DeleteTableResponse {}
|
|
676
|
+
export interface DeleteTableOptimizerRequest {
|
|
677
|
+
CatalogId: string | undefined;
|
|
678
|
+
DatabaseName: string | undefined;
|
|
679
|
+
TableName: string | undefined;
|
|
680
|
+
Type: TableOptimizerType | undefined;
|
|
681
|
+
}
|
|
682
|
+
export interface DeleteTableOptimizerResponse {}
|
|
611
683
|
export interface DeleteTableVersionRequest {
|
|
612
684
|
CatalogId?: string;
|
|
613
685
|
DatabaseName: string | undefined;
|
|
@@ -1585,88 +1657,3 @@ export interface GetTableRequest {
|
|
|
1585
1657
|
TransactionId?: string;
|
|
1586
1658
|
QueryAsOfTime?: Date;
|
|
1587
1659
|
}
|
|
1588
|
-
export interface FederatedTable {
|
|
1589
|
-
Identifier?: string;
|
|
1590
|
-
DatabaseIdentifier?: string;
|
|
1591
|
-
ConnectionName?: string;
|
|
1592
|
-
}
|
|
1593
|
-
export interface Table {
|
|
1594
|
-
Name: string | undefined;
|
|
1595
|
-
DatabaseName?: string;
|
|
1596
|
-
Description?: string;
|
|
1597
|
-
Owner?: string;
|
|
1598
|
-
CreateTime?: Date;
|
|
1599
|
-
UpdateTime?: Date;
|
|
1600
|
-
LastAccessTime?: Date;
|
|
1601
|
-
LastAnalyzedTime?: Date;
|
|
1602
|
-
Retention?: number;
|
|
1603
|
-
StorageDescriptor?: StorageDescriptor;
|
|
1604
|
-
PartitionKeys?: Column[];
|
|
1605
|
-
ViewOriginalText?: string;
|
|
1606
|
-
ViewExpandedText?: string;
|
|
1607
|
-
TableType?: string;
|
|
1608
|
-
Parameters?: Record<string, string>;
|
|
1609
|
-
CreatedBy?: string;
|
|
1610
|
-
IsRegisteredWithLakeFormation?: boolean;
|
|
1611
|
-
TargetTable?: TableIdentifier;
|
|
1612
|
-
CatalogId?: string;
|
|
1613
|
-
VersionId?: string;
|
|
1614
|
-
FederatedTable?: FederatedTable;
|
|
1615
|
-
}
|
|
1616
|
-
export interface GetTableResponse {
|
|
1617
|
-
Table?: Table;
|
|
1618
|
-
}
|
|
1619
|
-
export interface GetTablesRequest {
|
|
1620
|
-
CatalogId?: string;
|
|
1621
|
-
DatabaseName: string | undefined;
|
|
1622
|
-
Expression?: string;
|
|
1623
|
-
NextToken?: string;
|
|
1624
|
-
MaxResults?: number;
|
|
1625
|
-
TransactionId?: string;
|
|
1626
|
-
QueryAsOfTime?: Date;
|
|
1627
|
-
}
|
|
1628
|
-
export interface GetTablesResponse {
|
|
1629
|
-
TableList?: Table[];
|
|
1630
|
-
NextToken?: string;
|
|
1631
|
-
}
|
|
1632
|
-
export interface GetTableVersionRequest {
|
|
1633
|
-
CatalogId?: string;
|
|
1634
|
-
DatabaseName: string | undefined;
|
|
1635
|
-
TableName: string | undefined;
|
|
1636
|
-
VersionId?: string;
|
|
1637
|
-
}
|
|
1638
|
-
export interface TableVersion {
|
|
1639
|
-
Table?: Table;
|
|
1640
|
-
VersionId?: string;
|
|
1641
|
-
}
|
|
1642
|
-
export interface GetTableVersionResponse {
|
|
1643
|
-
TableVersion?: TableVersion;
|
|
1644
|
-
}
|
|
1645
|
-
export interface GetTableVersionsRequest {
|
|
1646
|
-
CatalogId?: string;
|
|
1647
|
-
DatabaseName: string | undefined;
|
|
1648
|
-
TableName: string | undefined;
|
|
1649
|
-
NextToken?: string;
|
|
1650
|
-
MaxResults?: number;
|
|
1651
|
-
}
|
|
1652
|
-
export interface GetTableVersionsResponse {
|
|
1653
|
-
TableVersions?: TableVersion[];
|
|
1654
|
-
NextToken?: string;
|
|
1655
|
-
}
|
|
1656
|
-
export interface GetTagsRequest {
|
|
1657
|
-
ResourceArn: string | undefined;
|
|
1658
|
-
}
|
|
1659
|
-
export interface GetTagsResponse {
|
|
1660
|
-
Tags?: Record<string, string>;
|
|
1661
|
-
}
|
|
1662
|
-
export interface GetTriggerRequest {
|
|
1663
|
-
Name: string | undefined;
|
|
1664
|
-
}
|
|
1665
|
-
export interface GetTriggerResponse {
|
|
1666
|
-
Trigger?: Trigger;
|
|
1667
|
-
}
|
|
1668
|
-
export interface GetTriggersRequest {
|
|
1669
|
-
NextToken?: string;
|
|
1670
|
-
DependentJobName?: string;
|
|
1671
|
-
MaxResults?: number;
|
|
1672
|
-
}
|