@aws-sdk/client-glue 3.834.0 → 3.835.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 +21 -13
- package/dist-es/models/models_0.js +5 -7
- package/dist-es/models/models_1.js +7 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/BatchGetTableOptimizerCommand.d.ts +6 -0
- package/dist-types/commands/CreateTableOptimizerCommand.d.ts +5 -0
- package/dist-types/commands/GetColumnStatisticsForTableCommand.d.ts +2 -1
- package/dist-types/commands/GetColumnStatisticsTaskRunCommand.d.ts +1 -2
- package/dist-types/commands/GetTableOptimizerCommand.d.ts +6 -0
- package/dist-types/commands/ListTableOptimizerRunsCommand.d.ts +1 -0
- package/dist-types/commands/RemoveSchemaVersionMetadataCommand.d.ts +1 -1
- package/dist-types/commands/ResetJobBookmarkCommand.d.ts +1 -2
- package/dist-types/commands/UpdateTableOptimizerCommand.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +93 -123
- package/dist-types/models/models_1.d.ts +124 -38
- package/dist-types/models/models_2.d.ts +39 -87
- package/dist-types/models/models_3.d.ts +86 -1
- package/dist-types/ts3.4/commands/GetColumnStatisticsForTableCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetColumnStatisticsTaskRunCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RemoveSchemaVersionMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetJobBookmarkCommand.d.ts +4 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/dist-types/ts3.4/models/models_0.d.ts +15 -32
- package/dist-types/ts3.4/models/models_1.d.ts +33 -14
- package/dist-types/ts3.4/models/models_2.d.ts +16 -22
- package/dist-types/ts3.4/models/models_3.d.ts +21 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -65,6 +65,7 @@ __export(index_exports, {
|
|
|
65
65
|
ColumnStatisticsTaskRunningException: () => ColumnStatisticsTaskRunningException,
|
|
66
66
|
ColumnStatisticsTaskStoppingException: () => ColumnStatisticsTaskStoppingException,
|
|
67
67
|
ColumnStatisticsType: () => ColumnStatisticsType,
|
|
68
|
+
CompactionStrategy: () => CompactionStrategy,
|
|
68
69
|
Comparator: () => Comparator,
|
|
69
70
|
Compatibility: () => Compatibility,
|
|
70
71
|
CompressionType: () => CompressionType,
|
|
@@ -1318,6 +1319,11 @@ var TableOptimizerType = {
|
|
|
1318
1319
|
ORPHAN_FILE_DELETION: "orphan_file_deletion",
|
|
1319
1320
|
RETENTION: "retention"
|
|
1320
1321
|
};
|
|
1322
|
+
var CompactionStrategy = {
|
|
1323
|
+
BINPACK: "binpack",
|
|
1324
|
+
SORT: "sort",
|
|
1325
|
+
ZORDER: "z-order"
|
|
1326
|
+
};
|
|
1321
1327
|
var TableOptimizerVpcConfiguration;
|
|
1322
1328
|
((TableOptimizerVpcConfiguration3) => {
|
|
1323
1329
|
TableOptimizerVpcConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -1403,13 +1409,6 @@ var NodeType = {
|
|
|
1403
1409
|
JOB: "JOB",
|
|
1404
1410
|
TRIGGER: "TRIGGER"
|
|
1405
1411
|
};
|
|
1406
|
-
var WorkflowRunStatus = {
|
|
1407
|
-
COMPLETED: "COMPLETED",
|
|
1408
|
-
ERROR: "ERROR",
|
|
1409
|
-
RUNNING: "RUNNING",
|
|
1410
|
-
STOPPED: "STOPPED",
|
|
1411
|
-
STOPPING: "STOPPING"
|
|
1412
|
-
};
|
|
1413
1412
|
var BasicAuthenticationCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1414
1413
|
...obj,
|
|
1415
1414
|
...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1475,6 +1474,13 @@ var BatchGetDataQualityResultResponseFilterSensitiveLog = /* @__PURE__ */ __name
|
|
|
1475
1474
|
}), "BatchGetDataQualityResultResponseFilterSensitiveLog");
|
|
1476
1475
|
|
|
1477
1476
|
// src/models/models_1.ts
|
|
1477
|
+
var WorkflowRunStatus = {
|
|
1478
|
+
COMPLETED: "COMPLETED",
|
|
1479
|
+
ERROR: "ERROR",
|
|
1480
|
+
RUNNING: "RUNNING",
|
|
1481
|
+
STOPPED: "STOPPED",
|
|
1482
|
+
STOPPING: "STOPPING"
|
|
1483
|
+
};
|
|
1478
1484
|
var TaskStatusType = {
|
|
1479
1485
|
FAILED: "FAILED",
|
|
1480
1486
|
RUNNING: "RUNNING",
|
|
@@ -2201,10 +2207,6 @@ var ColumnStatisticsType = {
|
|
|
2201
2207
|
LONG: "LONG",
|
|
2202
2208
|
STRING: "STRING"
|
|
2203
2209
|
};
|
|
2204
|
-
var ComputationType = {
|
|
2205
|
-
FULL: "FULL",
|
|
2206
|
-
INCREMENTAL: "INCREMENTAL"
|
|
2207
|
-
};
|
|
2208
2210
|
var ConnectionInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2209
2211
|
...obj,
|
|
2210
2212
|
...obj.AuthenticationConfiguration && {
|
|
@@ -2218,6 +2220,10 @@ var CreateConnectionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
|
|
|
2218
2220
|
|
|
2219
2221
|
// src/models/models_2.ts
|
|
2220
2222
|
|
|
2223
|
+
var ComputationType = {
|
|
2224
|
+
FULL: "FULL",
|
|
2225
|
+
INCREMENTAL: "INCREMENTAL"
|
|
2226
|
+
};
|
|
2221
2227
|
var ColumnStatisticsState = {
|
|
2222
2228
|
FAILED: "FAILED",
|
|
2223
2229
|
RUNNING: "RUNNING",
|
|
@@ -10957,6 +10963,7 @@ var de_TableOptimizer = /* @__PURE__ */ __name((output, context) => {
|
|
|
10957
10963
|
var de_TableOptimizerRun = /* @__PURE__ */ __name((output, context) => {
|
|
10958
10964
|
return (0, import_smithy_client.take)(output, {
|
|
10959
10965
|
compactionMetrics: /* @__PURE__ */ __name((_) => de_CompactionMetrics(_, context), "compactionMetrics"),
|
|
10966
|
+
compactionStrategy: import_smithy_client.expectString,
|
|
10960
10967
|
endTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTimestamp"),
|
|
10961
10968
|
error: import_smithy_client.expectString,
|
|
10962
10969
|
eventType: import_smithy_client.expectString,
|
|
@@ -15788,6 +15795,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
|
|
|
15788
15795
|
FederationSourceRetryableException,
|
|
15789
15796
|
InvalidStateException,
|
|
15790
15797
|
TableOptimizerType,
|
|
15798
|
+
CompactionStrategy,
|
|
15791
15799
|
TableOptimizerVpcConfiguration,
|
|
15792
15800
|
TableOptimizerEventType,
|
|
15793
15801
|
ThrottlingException,
|
|
@@ -15798,7 +15806,6 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
|
|
|
15798
15806
|
TriggerState,
|
|
15799
15807
|
TriggerType,
|
|
15800
15808
|
NodeType,
|
|
15801
|
-
WorkflowRunStatus,
|
|
15802
15809
|
BasicAuthenticationCredentialsFilterSensitiveLog,
|
|
15803
15810
|
AuthorizationCodePropertiesFilterSensitiveLog,
|
|
15804
15811
|
OAuth2CredentialsFilterSensitiveLog,
|
|
@@ -15809,6 +15816,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
|
|
|
15809
15816
|
DataQualityRuleResultFilterSensitiveLog,
|
|
15810
15817
|
DataQualityResultFilterSensitiveLog,
|
|
15811
15818
|
BatchGetDataQualityResultResponseFilterSensitiveLog,
|
|
15819
|
+
WorkflowRunStatus,
|
|
15812
15820
|
TaskStatusType,
|
|
15813
15821
|
IllegalSessionStateException,
|
|
15814
15822
|
DataFormat,
|
|
@@ -15859,9 +15867,9 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
|
|
|
15859
15867
|
TargetResourceNotFound,
|
|
15860
15868
|
BlueprintRunState,
|
|
15861
15869
|
ColumnStatisticsType,
|
|
15862
|
-
ComputationType,
|
|
15863
15870
|
ConnectionInputFilterSensitiveLog,
|
|
15864
15871
|
CreateConnectionRequestFilterSensitiveLog,
|
|
15872
|
+
ComputationType,
|
|
15865
15873
|
ColumnStatisticsState,
|
|
15866
15874
|
ExecutionStatus,
|
|
15867
15875
|
ScheduleType,
|
|
@@ -497,6 +497,11 @@ export const TableOptimizerType = {
|
|
|
497
497
|
ORPHAN_FILE_DELETION: "orphan_file_deletion",
|
|
498
498
|
RETENTION: "retention",
|
|
499
499
|
};
|
|
500
|
+
export const CompactionStrategy = {
|
|
501
|
+
BINPACK: "binpack",
|
|
502
|
+
SORT: "sort",
|
|
503
|
+
ZORDER: "z-order",
|
|
504
|
+
};
|
|
500
505
|
export var TableOptimizerVpcConfiguration;
|
|
501
506
|
(function (TableOptimizerVpcConfiguration) {
|
|
502
507
|
TableOptimizerVpcConfiguration.visit = (value, visitor) => {
|
|
@@ -573,13 +578,6 @@ export const NodeType = {
|
|
|
573
578
|
JOB: "JOB",
|
|
574
579
|
TRIGGER: "TRIGGER",
|
|
575
580
|
};
|
|
576
|
-
export const WorkflowRunStatus = {
|
|
577
|
-
COMPLETED: "COMPLETED",
|
|
578
|
-
ERROR: "ERROR",
|
|
579
|
-
RUNNING: "RUNNING",
|
|
580
|
-
STOPPED: "STOPPED",
|
|
581
|
-
STOPPING: "STOPPING",
|
|
582
|
-
};
|
|
583
581
|
export const BasicAuthenticationCredentialsFilterSensitiveLog = (obj) => ({
|
|
584
582
|
...obj,
|
|
585
583
|
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
2
2
|
import { AuthenticationConfigurationInputFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const WorkflowRunStatus = {
|
|
4
|
+
COMPLETED: "COMPLETED",
|
|
5
|
+
ERROR: "ERROR",
|
|
6
|
+
RUNNING: "RUNNING",
|
|
7
|
+
STOPPED: "STOPPED",
|
|
8
|
+
STOPPING: "STOPPING",
|
|
9
|
+
};
|
|
3
10
|
export const TaskStatusType = {
|
|
4
11
|
FAILED: "FAILED",
|
|
5
12
|
RUNNING: "RUNNING",
|
|
@@ -532,10 +539,6 @@ export const ColumnStatisticsType = {
|
|
|
532
539
|
LONG: "LONG",
|
|
533
540
|
STRING: "STRING",
|
|
534
541
|
};
|
|
535
|
-
export const ComputationType = {
|
|
536
|
-
FULL: "FULL",
|
|
537
|
-
INCREMENTAL: "INCREMENTAL",
|
|
538
|
-
};
|
|
539
542
|
export const ConnectionInputFilterSensitiveLog = (obj) => ({
|
|
540
543
|
...obj,
|
|
541
544
|
...(obj.AuthenticationConfiguration && {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
3
|
import { DataQualityAnalyzerResultFilterSensitiveLog, DataQualityObservationFilterSensitiveLog, DataQualityRuleResultFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export const ComputationType = {
|
|
5
|
+
FULL: "FULL",
|
|
6
|
+
INCREMENTAL: "INCREMENTAL",
|
|
7
|
+
};
|
|
4
8
|
export const ColumnStatisticsState = {
|
|
5
9
|
FAILED: "FAILED",
|
|
6
10
|
RUNNING: "RUNNING",
|
|
@@ -8289,6 +8289,7 @@ const de_TableOptimizer = (output, context) => {
|
|
|
8289
8289
|
const de_TableOptimizerRun = (output, context) => {
|
|
8290
8290
|
return take(output, {
|
|
8291
8291
|
compactionMetrics: (_) => de_CompactionMetrics(_, context),
|
|
8292
|
+
compactionStrategy: __expectString,
|
|
8292
8293
|
endTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
8293
8294
|
error: __expectString,
|
|
8294
8295
|
eventType: __expectString,
|
|
@@ -60,6 +60,11 @@ declare const BatchGetTableOptimizerCommand_base: {
|
|
|
60
60
|
* // vpcConfiguration: { // TableOptimizerVpcConfiguration Union: only one key present
|
|
61
61
|
* // glueConnectionName: "STRING_VALUE",
|
|
62
62
|
* // },
|
|
63
|
+
* // compactionConfiguration: { // CompactionConfiguration
|
|
64
|
+
* // icebergConfiguration: { // IcebergCompactionConfiguration
|
|
65
|
+
* // strategy: "binpack" || "sort" || "z-order",
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
63
68
|
* // retentionConfiguration: { // RetentionConfiguration
|
|
64
69
|
* // icebergConfiguration: { // IcebergRetentionConfiguration
|
|
65
70
|
* // snapshotRetentionPeriodInDays: Number("int"),
|
|
@@ -94,6 +99,7 @@ declare const BatchGetTableOptimizerCommand_base: {
|
|
|
94
99
|
* // JobDurationInHour: Number("double"),
|
|
95
100
|
* // },
|
|
96
101
|
* // },
|
|
102
|
+
* // compactionStrategy: "binpack" || "sort" || "z-order",
|
|
97
103
|
* // retentionMetrics: { // RetentionMetrics
|
|
98
104
|
* // IcebergMetrics: { // IcebergRetentionMetrics
|
|
99
105
|
* // NumberOfDataFilesDeleted: Number("long"),
|
|
@@ -45,6 +45,11 @@ declare const CreateTableOptimizerCommand_base: {
|
|
|
45
45
|
* vpcConfiguration: { // TableOptimizerVpcConfiguration Union: only one key present
|
|
46
46
|
* glueConnectionName: "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
|
+
* compactionConfiguration: { // CompactionConfiguration
|
|
49
|
+
* icebergConfiguration: { // IcebergCompactionConfiguration
|
|
50
|
+
* strategy: "binpack" || "sort" || "z-order",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
48
53
|
* retentionConfiguration: { // RetentionConfiguration
|
|
49
54
|
* icebergConfiguration: { // IcebergRetentionConfiguration
|
|
50
55
|
* snapshotRetentionPeriodInDays: Number("int"),
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { GetColumnStatisticsForTableRequest
|
|
4
|
+
import { GetColumnStatisticsForTableRequest } from "../models/models_1";
|
|
5
|
+
import { GetColumnStatisticsForTableResponse } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { GetColumnStatisticsTaskRunRequest } from "../models/
|
|
5
|
-
import { GetColumnStatisticsTaskRunResponse } from "../models/models_2";
|
|
4
|
+
import { GetColumnStatisticsTaskRunRequest, GetColumnStatisticsTaskRunResponse } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -54,6 +54,11 @@ declare const GetTableOptimizerCommand_base: {
|
|
|
54
54
|
* // vpcConfiguration: { // TableOptimizerVpcConfiguration Union: only one key present
|
|
55
55
|
* // glueConnectionName: "STRING_VALUE",
|
|
56
56
|
* // },
|
|
57
|
+
* // compactionConfiguration: { // CompactionConfiguration
|
|
58
|
+
* // icebergConfiguration: { // IcebergCompactionConfiguration
|
|
59
|
+
* // strategy: "binpack" || "sort" || "z-order",
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
57
62
|
* // retentionConfiguration: { // RetentionConfiguration
|
|
58
63
|
* // icebergConfiguration: { // IcebergRetentionConfiguration
|
|
59
64
|
* // snapshotRetentionPeriodInDays: Number("int"),
|
|
@@ -88,6 +93,7 @@ declare const GetTableOptimizerCommand_base: {
|
|
|
88
93
|
* // JobDurationInHour: Number("double"),
|
|
89
94
|
* // },
|
|
90
95
|
* // },
|
|
96
|
+
* // compactionStrategy: "binpack" || "sort" || "z-order",
|
|
91
97
|
* // retentionMetrics: { // RetentionMetrics
|
|
92
98
|
* // IcebergMetrics: { // IcebergRetentionMetrics
|
|
93
99
|
* // NumberOfDataFilesDeleted: Number("long"),
|
|
@@ -70,6 +70,7 @@ declare const ListTableOptimizerRunsCommand_base: {
|
|
|
70
70
|
* // JobDurationInHour: Number("double"),
|
|
71
71
|
* // },
|
|
72
72
|
* // },
|
|
73
|
+
* // compactionStrategy: "binpack" || "sort" || "z-order",
|
|
73
74
|
* // retentionMetrics: { // RetentionMetrics
|
|
74
75
|
* // IcebergMetrics: { // IcebergRetentionMetrics
|
|
75
76
|
* // NumberOfDataFilesDeleted: Number("long"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { RemoveSchemaVersionMetadataInput, RemoveSchemaVersionMetadataResponse } from "../models/
|
|
4
|
+
import { RemoveSchemaVersionMetadataInput, RemoveSchemaVersionMetadataResponse } from "../models/models_3";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { ResetJobBookmarkRequest } from "../models/
|
|
5
|
-
import { ResetJobBookmarkResponse } from "../models/models_3";
|
|
4
|
+
import { ResetJobBookmarkRequest, ResetJobBookmarkResponse } from "../models/models_3";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -45,6 +45,11 @@ declare const UpdateTableOptimizerCommand_base: {
|
|
|
45
45
|
* vpcConfiguration: { // TableOptimizerVpcConfiguration Union: only one key present
|
|
46
46
|
* glueConnectionName: "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
|
+
* compactionConfiguration: { // CompactionConfiguration
|
|
49
|
+
* icebergConfiguration: { // IcebergCompactionConfiguration
|
|
50
|
+
* strategy: "binpack" || "sort" || "z-order",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
48
53
|
* retentionConfiguration: { // RetentionConfiguration
|
|
49
54
|
* icebergConfiguration: { // IcebergRetentionConfiguration
|
|
50
55
|
* snapshotRetentionPeriodInDays: Number("int"),
|
|
@@ -8,7 +8,7 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
-
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
11
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
@@ -6941,6 +6941,65 @@ export interface BatchGetTableOptimizerError {
|
|
|
6941
6941
|
*/
|
|
6942
6942
|
type?: TableOptimizerType | undefined;
|
|
6943
6943
|
}
|
|
6944
|
+
/**
|
|
6945
|
+
* @public
|
|
6946
|
+
* @enum
|
|
6947
|
+
*/
|
|
6948
|
+
export declare const CompactionStrategy: {
|
|
6949
|
+
readonly BINPACK: "binpack";
|
|
6950
|
+
readonly SORT: "sort";
|
|
6951
|
+
readonly ZORDER: "z-order";
|
|
6952
|
+
};
|
|
6953
|
+
/**
|
|
6954
|
+
* @public
|
|
6955
|
+
*/
|
|
6956
|
+
export type CompactionStrategy = (typeof CompactionStrategy)[keyof typeof CompactionStrategy];
|
|
6957
|
+
/**
|
|
6958
|
+
* <p>The configuration for an Iceberg compaction optimizer. This configuration defines parameters for optimizing the layout of data files in Iceberg tables.</p>
|
|
6959
|
+
* @public
|
|
6960
|
+
*/
|
|
6961
|
+
export interface IcebergCompactionConfiguration {
|
|
6962
|
+
/**
|
|
6963
|
+
* <p>The strategy to use for compaction. Valid values are:</p>
|
|
6964
|
+
* <ul>
|
|
6965
|
+
* <li>
|
|
6966
|
+
* <p>
|
|
6967
|
+
* <code>binpack</code>: Combines small files into larger files, typically targeting sizes over 100MB, while applying any pending deletes.
|
|
6968
|
+
* This is the recommended compaction strategy for most use cases.
|
|
6969
|
+
* </p>
|
|
6970
|
+
* </li>
|
|
6971
|
+
* <li>
|
|
6972
|
+
* <p>
|
|
6973
|
+
* <code>sort</code>: Organizes data based on specified columns which are sorted hierarchically during compaction, improving query
|
|
6974
|
+
* performance for filtered operations. This strategy is recommended when your queries frequently filter on specific columns. To use this strategy,
|
|
6975
|
+
* you must first define a sort order in your Iceberg table properties using the <code>sort_order</code> table property.</p>
|
|
6976
|
+
* </li>
|
|
6977
|
+
* <li>
|
|
6978
|
+
* <p>
|
|
6979
|
+
* <code>z-order</code>: Optimizes data organization by blending multiple attributes into a single scalar value that can be used for sorting,
|
|
6980
|
+
* allowing efficient querying across multiple dimensions. This strategy is recommended when you need to query data across multiple dimensions
|
|
6981
|
+
* simultaneously. To use this strategy, you must first define a sort order in your Iceberg table properties using the
|
|
6982
|
+
* <code>sort_order</code> table property.
|
|
6983
|
+
* </p>
|
|
6984
|
+
* </li>
|
|
6985
|
+
* </ul>
|
|
6986
|
+
* <p>If an input is not provided, the default value 'binpack' will be used.</p>
|
|
6987
|
+
* @public
|
|
6988
|
+
*/
|
|
6989
|
+
strategy?: CompactionStrategy | undefined;
|
|
6990
|
+
}
|
|
6991
|
+
/**
|
|
6992
|
+
* <p>The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve
|
|
6993
|
+
* query performance and reduce storage costs.</p>
|
|
6994
|
+
* @public
|
|
6995
|
+
*/
|
|
6996
|
+
export interface CompactionConfiguration {
|
|
6997
|
+
/**
|
|
6998
|
+
* <p>The configuration for an Iceberg compaction optimizer.</p>
|
|
6999
|
+
* @public
|
|
7000
|
+
*/
|
|
7001
|
+
icebergConfiguration?: IcebergCompactionConfiguration | undefined;
|
|
7002
|
+
}
|
|
6944
7003
|
/**
|
|
6945
7004
|
* <p>The configuration for an Iceberg orphan file deletion optimizer.</p>
|
|
6946
7005
|
* @public
|
|
@@ -7052,6 +7111,12 @@ export interface TableOptimizerConfiguration {
|
|
|
7052
7111
|
* @public
|
|
7053
7112
|
*/
|
|
7054
7113
|
vpcConfiguration?: TableOptimizerVpcConfiguration | undefined;
|
|
7114
|
+
/**
|
|
7115
|
+
* <p>The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to
|
|
7116
|
+
* improve query performance and reduce storage costs.</p>
|
|
7117
|
+
* @public
|
|
7118
|
+
*/
|
|
7119
|
+
compactionConfiguration?: CompactionConfiguration | undefined;
|
|
7055
7120
|
/**
|
|
7056
7121
|
* <p>The configuration for a snapshot retention optimizer.</p>
|
|
7057
7122
|
* @public
|
|
@@ -7268,6 +7333,34 @@ export interface TableOptimizerRun {
|
|
|
7268
7333
|
* @public
|
|
7269
7334
|
*/
|
|
7270
7335
|
compactionMetrics?: CompactionMetrics | undefined;
|
|
7336
|
+
/**
|
|
7337
|
+
* <p>The strategy used for the compaction run. Indicates which algorithm was applied to determine how files were selected and combined during the
|
|
7338
|
+
* compaction process. Valid values are:</p>
|
|
7339
|
+
* <ul>
|
|
7340
|
+
* <li>
|
|
7341
|
+
* <p>
|
|
7342
|
+
* <code>binpack</code>: Combines small files into larger files, typically targeting sizes over 100MB, while applying any pending deletes.
|
|
7343
|
+
* This is the recommended compaction strategy for most use cases.
|
|
7344
|
+
* </p>
|
|
7345
|
+
* </li>
|
|
7346
|
+
* <li>
|
|
7347
|
+
* <p>
|
|
7348
|
+
* <code>sort</code>: Organizes data based on specified columns which are sorted hierarchically during compaction, improving query
|
|
7349
|
+
* performance for filtered operations. This strategy is recommended when your queries frequently filter on specific columns. To use this strategy,
|
|
7350
|
+
* you must first define a sort order in your Iceberg table properties using the <code>sort_order</code> table property.</p>
|
|
7351
|
+
* </li>
|
|
7352
|
+
* <li>
|
|
7353
|
+
* <p>
|
|
7354
|
+
* <code>z-order</code>: Optimizes data organization by blending multiple attributes into a single scalar value that can be used for sorting,
|
|
7355
|
+
* allowing efficient querying across multiple dimensions. This strategy is recommended when you need to query data across multiple dimensions
|
|
7356
|
+
* simultaneously. To use this strategy, you must first define a sort order in your Iceberg table properties using the
|
|
7357
|
+
* <code>sort_order</code> table property.
|
|
7358
|
+
* </p>
|
|
7359
|
+
* </li>
|
|
7360
|
+
* </ul>
|
|
7361
|
+
* @public
|
|
7362
|
+
*/
|
|
7363
|
+
compactionStrategy?: CompactionStrategy | undefined;
|
|
7271
7364
|
/**
|
|
7272
7365
|
* <p>A <code>RetentionMetrics</code> object containing metrics for the optimizer run.</p>
|
|
7273
7366
|
* @public
|
|
@@ -8085,129 +8178,6 @@ export interface StartingEventBatchCondition {
|
|
|
8085
8178
|
*/
|
|
8086
8179
|
BatchWindow?: number | undefined;
|
|
8087
8180
|
}
|
|
8088
|
-
/**
|
|
8089
|
-
* <p>Workflow run statistics provides statistics about the workflow run.</p>
|
|
8090
|
-
* @public
|
|
8091
|
-
*/
|
|
8092
|
-
export interface WorkflowRunStatistics {
|
|
8093
|
-
/**
|
|
8094
|
-
* <p>Total number of Actions in the workflow run.</p>
|
|
8095
|
-
* @public
|
|
8096
|
-
*/
|
|
8097
|
-
TotalActions?: number | undefined;
|
|
8098
|
-
/**
|
|
8099
|
-
* <p>Total number of Actions that timed out.</p>
|
|
8100
|
-
* @public
|
|
8101
|
-
*/
|
|
8102
|
-
TimeoutActions?: number | undefined;
|
|
8103
|
-
/**
|
|
8104
|
-
* <p>Total number of Actions that have failed.</p>
|
|
8105
|
-
* @public
|
|
8106
|
-
*/
|
|
8107
|
-
FailedActions?: number | undefined;
|
|
8108
|
-
/**
|
|
8109
|
-
* <p>Total number of Actions that have stopped.</p>
|
|
8110
|
-
* @public
|
|
8111
|
-
*/
|
|
8112
|
-
StoppedActions?: number | undefined;
|
|
8113
|
-
/**
|
|
8114
|
-
* <p>Total number of Actions that have succeeded.</p>
|
|
8115
|
-
* @public
|
|
8116
|
-
*/
|
|
8117
|
-
SucceededActions?: number | undefined;
|
|
8118
|
-
/**
|
|
8119
|
-
* <p>Total number Actions in running state.</p>
|
|
8120
|
-
* @public
|
|
8121
|
-
*/
|
|
8122
|
-
RunningActions?: number | undefined;
|
|
8123
|
-
/**
|
|
8124
|
-
* <p>Indicates the count of job runs in the ERROR state in the workflow run.</p>
|
|
8125
|
-
* @public
|
|
8126
|
-
*/
|
|
8127
|
-
ErroredActions?: number | undefined;
|
|
8128
|
-
/**
|
|
8129
|
-
* <p>Indicates the count of job runs in WAITING state in the workflow run.</p>
|
|
8130
|
-
* @public
|
|
8131
|
-
*/
|
|
8132
|
-
WaitingActions?: number | undefined;
|
|
8133
|
-
}
|
|
8134
|
-
/**
|
|
8135
|
-
* @public
|
|
8136
|
-
* @enum
|
|
8137
|
-
*/
|
|
8138
|
-
export declare const WorkflowRunStatus: {
|
|
8139
|
-
readonly COMPLETED: "COMPLETED";
|
|
8140
|
-
readonly ERROR: "ERROR";
|
|
8141
|
-
readonly RUNNING: "RUNNING";
|
|
8142
|
-
readonly STOPPED: "STOPPED";
|
|
8143
|
-
readonly STOPPING: "STOPPING";
|
|
8144
|
-
};
|
|
8145
|
-
/**
|
|
8146
|
-
* @public
|
|
8147
|
-
*/
|
|
8148
|
-
export type WorkflowRunStatus = (typeof WorkflowRunStatus)[keyof typeof WorkflowRunStatus];
|
|
8149
|
-
/**
|
|
8150
|
-
* <p>A workflow run is an execution of a workflow providing all the runtime information.</p>
|
|
8151
|
-
* @public
|
|
8152
|
-
*/
|
|
8153
|
-
export interface WorkflowRun {
|
|
8154
|
-
/**
|
|
8155
|
-
* <p>Name of the workflow that was run.</p>
|
|
8156
|
-
* @public
|
|
8157
|
-
*/
|
|
8158
|
-
Name?: string | undefined;
|
|
8159
|
-
/**
|
|
8160
|
-
* <p>The ID of this workflow run.</p>
|
|
8161
|
-
* @public
|
|
8162
|
-
*/
|
|
8163
|
-
WorkflowRunId?: string | undefined;
|
|
8164
|
-
/**
|
|
8165
|
-
* <p>The ID of the previous workflow run.</p>
|
|
8166
|
-
* @public
|
|
8167
|
-
*/
|
|
8168
|
-
PreviousRunId?: string | undefined;
|
|
8169
|
-
/**
|
|
8170
|
-
* <p>The workflow run properties which were set during the run.</p>
|
|
8171
|
-
* @public
|
|
8172
|
-
*/
|
|
8173
|
-
WorkflowRunProperties?: Record<string, string> | undefined;
|
|
8174
|
-
/**
|
|
8175
|
-
* <p>The date and time when the workflow run was started.</p>
|
|
8176
|
-
* @public
|
|
8177
|
-
*/
|
|
8178
|
-
StartedOn?: Date | undefined;
|
|
8179
|
-
/**
|
|
8180
|
-
* <p>The date and time when the workflow run completed.</p>
|
|
8181
|
-
* @public
|
|
8182
|
-
*/
|
|
8183
|
-
CompletedOn?: Date | undefined;
|
|
8184
|
-
/**
|
|
8185
|
-
* <p>The status of the workflow run.</p>
|
|
8186
|
-
* @public
|
|
8187
|
-
*/
|
|
8188
|
-
Status?: WorkflowRunStatus | undefined;
|
|
8189
|
-
/**
|
|
8190
|
-
* <p>This error message describes any error that may have occurred in starting the workflow run. Currently the only error message is "Concurrent runs exceeded for workflow: <code>foo</code>."</p>
|
|
8191
|
-
* @public
|
|
8192
|
-
*/
|
|
8193
|
-
ErrorMessage?: string | undefined;
|
|
8194
|
-
/**
|
|
8195
|
-
* <p>The statistics of the run.</p>
|
|
8196
|
-
* @public
|
|
8197
|
-
*/
|
|
8198
|
-
Statistics?: WorkflowRunStatistics | undefined;
|
|
8199
|
-
/**
|
|
8200
|
-
* <p>The graph representing all the Glue components that belong to the workflow as nodes and directed
|
|
8201
|
-
* connections between them as edges.</p>
|
|
8202
|
-
* @public
|
|
8203
|
-
*/
|
|
8204
|
-
Graph?: WorkflowGraph | undefined;
|
|
8205
|
-
/**
|
|
8206
|
-
* <p>The batch condition that started the workflow run.</p>
|
|
8207
|
-
* @public
|
|
8208
|
-
*/
|
|
8209
|
-
StartingEventBatchCondition?: StartingEventBatchCondition | undefined;
|
|
8210
|
-
}
|
|
8211
8181
|
/**
|
|
8212
8182
|
* @internal
|
|
8213
8183
|
*/
|