@aws-sdk/client-s3tables 3.1161.0 → 3.1163.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 +43 -1
- package/dist-cjs/index.js +399 -12
- package/dist-es/S3Tables.js +14 -0
- package/dist-es/commands/CompleteTableMigrationCommand.js +4 -0
- package/dist-es/commands/GetTableMigrationCommand.js +4 -0
- package/dist-es/commands/ListTableMigrationsCommand.js +4 -0
- package/dist-es/commands/StartTableMigrationCommand.js +4 -0
- package/dist-es/commands/SyncTableMigrationCommand.js +4 -0
- package/dist-es/commands/UpdateTableMigrationCommand.js +4 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/enums.js +63 -6
- package/dist-es/pagination/ListTableMigrationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/schemas/schemas_0.js +255 -4
- package/dist-types/S3Tables.d.ts +52 -1
- package/dist-types/S3TablesClient.d.ts +9 -3
- package/dist-types/commands/CompleteTableMigrationCommand.d.ts +90 -0
- package/dist-types/commands/GetTableMigrationCommand.d.ts +166 -0
- package/dist-types/commands/ListTableMigrationsCommand.d.ts +110 -0
- package/dist-types/commands/StartTableMigrationCommand.d.ts +174 -0
- package/dist-types/commands/SyncTableMigrationCommand.d.ts +103 -0
- package/dist-types/commands/UpdateTableMigrationCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +151 -14
- package/dist-types/models/models_0.d.ts +756 -1
- package/dist-types/pagination/ListTableMigrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +35 -0
- package/dist-types/ts3.4/S3Tables.d.ts +111 -0
- package/dist-types/ts3.4/S3TablesClient.d.ts +38 -2
- package/dist-types/ts3.4/commands/CompleteTableMigrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetTableMigrationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTableMigrationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartTableMigrationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SyncTableMigrationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateTableMigrationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +78 -8
- package/dist-types/ts3.4/models/models_0.d.ts +196 -0
- package/dist-types/ts3.4/pagination/ListTableMigrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +35 -0
- package/package.json +3 -3
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { UpdateTableMigrationRequest, UpdateTableMigrationResponse } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface UpdateTableMigrationCommandInput extends UpdateTableMigrationRequest {}
|
|
5
|
+
export interface UpdateTableMigrationCommandOutput
|
|
6
|
+
extends UpdateTableMigrationResponse, __MetadataBearer {}
|
|
7
|
+
declare const UpdateTableMigrationCommand_base: {
|
|
8
|
+
new (
|
|
9
|
+
input: UpdateTableMigrationCommandInput,
|
|
10
|
+
): import("@smithy/core/client").CommandImpl<
|
|
11
|
+
UpdateTableMigrationCommandInput,
|
|
12
|
+
UpdateTableMigrationCommandOutput,
|
|
13
|
+
import("..").S3TablesClientResolvedConfig,
|
|
14
|
+
import("..").ServiceInputTypes,
|
|
15
|
+
import("..").ServiceOutputTypes
|
|
16
|
+
>;
|
|
17
|
+
new (
|
|
18
|
+
input: UpdateTableMigrationCommandInput,
|
|
19
|
+
): import("@smithy/core/client").CommandImpl<
|
|
20
|
+
UpdateTableMigrationCommandInput,
|
|
21
|
+
UpdateTableMigrationCommandOutput,
|
|
22
|
+
import("..").S3TablesClientResolvedConfig,
|
|
23
|
+
import("..").ServiceInputTypes,
|
|
24
|
+
import("..").ServiceOutputTypes
|
|
25
|
+
>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
export declare class UpdateTableMigrationCommand extends UpdateTableMigrationCommand_base {
|
|
29
|
+
protected static __types: {
|
|
30
|
+
api: {
|
|
31
|
+
input: UpdateTableMigrationRequest;
|
|
32
|
+
output: UpdateTableMigrationResponse;
|
|
33
|
+
};
|
|
34
|
+
sdk: {
|
|
35
|
+
input: UpdateTableMigrationCommandInput;
|
|
36
|
+
output: UpdateTableMigrationCommandOutput;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./CompleteTableMigrationCommand";
|
|
1
2
|
export * from "./CreateNamespaceCommand";
|
|
2
3
|
export * from "./CreateTableBucketCommand";
|
|
3
4
|
export * from "./CreateTableCommand";
|
|
@@ -23,6 +24,7 @@ export * from "./GetTableEncryptionCommand";
|
|
|
23
24
|
export * from "./GetTableMaintenanceConfigurationCommand";
|
|
24
25
|
export * from "./GetTableMaintenanceJobStatusCommand";
|
|
25
26
|
export * from "./GetTableMetadataLocationCommand";
|
|
27
|
+
export * from "./GetTableMigrationCommand";
|
|
26
28
|
export * from "./GetTablePolicyCommand";
|
|
27
29
|
export * from "./GetTableRecordExpirationConfigurationCommand";
|
|
28
30
|
export * from "./GetTableRecordExpirationJobStatusCommand";
|
|
@@ -31,6 +33,7 @@ export * from "./GetTableReplicationStatusCommand";
|
|
|
31
33
|
export * from "./GetTableStorageClassCommand";
|
|
32
34
|
export * from "./ListNamespacesCommand";
|
|
33
35
|
export * from "./ListTableBucketsCommand";
|
|
36
|
+
export * from "./ListTableMigrationsCommand";
|
|
34
37
|
export * from "./ListTablesCommand";
|
|
35
38
|
export * from "./ListTagsForResourceCommand";
|
|
36
39
|
export * from "./PutTableBucketEncryptionCommand";
|
|
@@ -44,6 +47,9 @@ export * from "./PutTablePolicyCommand";
|
|
|
44
47
|
export * from "./PutTableRecordExpirationConfigurationCommand";
|
|
45
48
|
export * from "./PutTableReplicationCommand";
|
|
46
49
|
export * from "./RenameTableCommand";
|
|
50
|
+
export * from "./StartTableMigrationCommand";
|
|
51
|
+
export * from "./SyncTableMigrationCommand";
|
|
47
52
|
export * from "./TagResourceCommand";
|
|
48
53
|
export * from "./UntagResourceCommand";
|
|
49
54
|
export * from "./UpdateTableMetadataLocationCommand";
|
|
55
|
+
export * from "./UpdateTableMigrationCommand";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
export declare const CompressionCodec: {
|
|
2
|
+
readonly GZIP: "gzip";
|
|
3
|
+
readonly SNAPPY: "snappy";
|
|
4
|
+
readonly UNCOMPRESSED: "uncompressed";
|
|
5
|
+
readonly ZSTD: "zstd";
|
|
6
|
+
};
|
|
7
|
+
export type CompressionCodec = (typeof CompressionCodec)[keyof typeof CompressionCodec];
|
|
1
8
|
export declare const SSEAlgorithm: {
|
|
2
9
|
readonly AES256: "AES256";
|
|
3
10
|
readonly AWS_KMS: "aws:kms";
|
|
@@ -26,6 +33,37 @@ export declare const StorageClass: {
|
|
|
26
33
|
readonly STANDARD: "STANDARD";
|
|
27
34
|
};
|
|
28
35
|
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
36
|
+
export declare const DataFileFormat: {
|
|
37
|
+
readonly PARQUET: "parquet";
|
|
38
|
+
};
|
|
39
|
+
export type DataFileFormat = (typeof DataFileFormat)[keyof typeof DataFileFormat];
|
|
40
|
+
export declare const IcebergCompactionStrategy: {
|
|
41
|
+
readonly AUTO: "auto";
|
|
42
|
+
readonly BINPACK: "binpack";
|
|
43
|
+
readonly SORT: "sort";
|
|
44
|
+
readonly ZORDER: "z-order";
|
|
45
|
+
};
|
|
46
|
+
export type IcebergCompactionStrategy =
|
|
47
|
+
(typeof IcebergCompactionStrategy)[keyof typeof IcebergCompactionStrategy];
|
|
48
|
+
export declare const IncompatibleValuesPolicy: {
|
|
49
|
+
readonly FAIL: "fail";
|
|
50
|
+
readonly SET_NULL: "setNull";
|
|
51
|
+
};
|
|
52
|
+
export type IncompatibleValuesPolicy =
|
|
53
|
+
(typeof IncompatibleValuesPolicy)[keyof typeof IncompatibleValuesPolicy];
|
|
54
|
+
export declare const UnmatchedSourceFieldsPolicy: {
|
|
55
|
+
readonly DROP: "drop";
|
|
56
|
+
readonly FAIL: "fail";
|
|
57
|
+
};
|
|
58
|
+
export type UnmatchedSourceFieldsPolicy =
|
|
59
|
+
(typeof UnmatchedSourceFieldsPolicy)[keyof typeof UnmatchedSourceFieldsPolicy];
|
|
60
|
+
export declare const FindingCategory: {
|
|
61
|
+
readonly ACCESS: "access";
|
|
62
|
+
readonly DATA: "data";
|
|
63
|
+
readonly INTERNAL: "internal";
|
|
64
|
+
readonly METADATA: "metadata";
|
|
65
|
+
};
|
|
66
|
+
export type FindingCategory = (typeof FindingCategory)[keyof typeof FindingCategory];
|
|
29
67
|
export declare const TableType: {
|
|
30
68
|
readonly AWS: "aws";
|
|
31
69
|
readonly CUSTOMER: "customer";
|
|
@@ -51,14 +89,6 @@ export declare const TableMaintenanceType: {
|
|
|
51
89
|
readonly ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement";
|
|
52
90
|
};
|
|
53
91
|
export type TableMaintenanceType = (typeof TableMaintenanceType)[keyof typeof TableMaintenanceType];
|
|
54
|
-
export declare const IcebergCompactionStrategy: {
|
|
55
|
-
readonly AUTO: "auto";
|
|
56
|
-
readonly BINPACK: "binpack";
|
|
57
|
-
readonly SORT: "sort";
|
|
58
|
-
readonly ZORDER: "z-order";
|
|
59
|
-
};
|
|
60
|
-
export type IcebergCompactionStrategy =
|
|
61
|
-
(typeof IcebergCompactionStrategy)[keyof typeof IcebergCompactionStrategy];
|
|
62
92
|
export declare const TableMaintenanceJobType: {
|
|
63
93
|
readonly ICEBERG_COMPACTION: "icebergCompaction";
|
|
64
94
|
readonly ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement";
|
|
@@ -73,6 +103,40 @@ export declare const JobStatus: {
|
|
|
73
103
|
readonly SUCCESSFUL: "Successful";
|
|
74
104
|
};
|
|
75
105
|
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
106
|
+
export declare const MigrationFailureCode: {
|
|
107
|
+
readonly DESTINATION_PERMISSIONS: "destinationPermissions";
|
|
108
|
+
readonly INTERNAL_ERROR: "internalError";
|
|
109
|
+
readonly OBJECT_COMPATIBILITY_REPORT: "objectCompatibilityReport";
|
|
110
|
+
readonly OBJECT_MIGRATION_REPORT: "objectMigrationReport";
|
|
111
|
+
readonly REPORT_BUCKET_NOT_SUPPORTED: "reportBucketNotSupported";
|
|
112
|
+
readonly RESOURCE_NOT_FOUND: "resourceNotFound";
|
|
113
|
+
readonly ROLE_PERMISSIONS: "rolePermissions";
|
|
114
|
+
readonly SOURCE_NOT_SUPPORTED: "sourceNotSupported";
|
|
115
|
+
readonly SOURCE_PERMISSIONS: "sourcePermissions";
|
|
116
|
+
readonly TABLE_COMPATIBILITY_REPORT: "tableCompatibilityReport";
|
|
117
|
+
};
|
|
118
|
+
export type MigrationFailureCode = (typeof MigrationFailureCode)[keyof typeof MigrationFailureCode];
|
|
119
|
+
export declare const MigrationSourceType: {
|
|
120
|
+
readonly GLUE_TABLE: "glueTable";
|
|
121
|
+
};
|
|
122
|
+
export type MigrationSourceType = (typeof MigrationSourceType)[keyof typeof MigrationSourceType];
|
|
123
|
+
export declare const MigrationState: {
|
|
124
|
+
readonly CANCELLED: "cancelled";
|
|
125
|
+
readonly CANCELLING: "cancelling";
|
|
126
|
+
readonly FAILED: "failed";
|
|
127
|
+
readonly MIGRATING: "migrating";
|
|
128
|
+
readonly NEW: "new";
|
|
129
|
+
readonly PENDING_REVIEW: "pendingReview";
|
|
130
|
+
readonly PLANNING: "planning";
|
|
131
|
+
readonly QUEUED: "queued";
|
|
132
|
+
readonly SUCCEEDED: "succeeded";
|
|
133
|
+
};
|
|
134
|
+
export type MigrationState = (typeof MigrationState)[keyof typeof MigrationState];
|
|
135
|
+
export declare const MigrationType: {
|
|
136
|
+
readonly START: "start";
|
|
137
|
+
readonly SYNC: "sync";
|
|
138
|
+
};
|
|
139
|
+
export type MigrationType = (typeof MigrationType)[keyof typeof MigrationType];
|
|
76
140
|
export declare const TableRecordExpirationStatus: {
|
|
77
141
|
readonly DISABLED: "disabled";
|
|
78
142
|
readonly ENABLED: "enabled";
|
|
@@ -93,3 +157,9 @@ export declare const ReplicationStatus: {
|
|
|
93
157
|
readonly PENDING: "pending";
|
|
94
158
|
};
|
|
95
159
|
export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
|
|
160
|
+
export declare const MigrationRequestedState: {
|
|
161
|
+
readonly CANCELLED: "cancelled";
|
|
162
|
+
readonly QUEUED: "queued";
|
|
163
|
+
};
|
|
164
|
+
export type MigrationRequestedState =
|
|
165
|
+
(typeof MigrationRequestedState)[keyof typeof MigrationRequestedState];
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import {
|
|
3
|
+
CompressionCodec,
|
|
4
|
+
DataFileFormat,
|
|
5
|
+
FindingCategory,
|
|
3
6
|
IcebergCompactionStrategy,
|
|
4
7
|
IcebergNullOrder,
|
|
5
8
|
IcebergSortDirection,
|
|
9
|
+
IncompatibleValuesPolicy,
|
|
6
10
|
JobStatus,
|
|
7
11
|
MaintenanceStatus,
|
|
12
|
+
MigrationFailureCode,
|
|
13
|
+
MigrationRequestedState,
|
|
14
|
+
MigrationSourceType,
|
|
15
|
+
MigrationState,
|
|
16
|
+
MigrationType,
|
|
8
17
|
OpenTableFormat,
|
|
9
18
|
ReplicationStatus,
|
|
10
19
|
SchemaV2FieldType,
|
|
@@ -17,7 +26,11 @@ import {
|
|
|
17
26
|
TableRecordExpirationJobStatus,
|
|
18
27
|
TableRecordExpirationStatus,
|
|
19
28
|
TableType,
|
|
29
|
+
UnmatchedSourceFieldsPolicy,
|
|
20
30
|
} from "./enums";
|
|
31
|
+
export interface CompleteTableMigrationRequest {
|
|
32
|
+
tableARN: string | undefined;
|
|
33
|
+
}
|
|
21
34
|
export interface CreateNamespaceRequest {
|
|
22
35
|
tableBucketARN: string | undefined;
|
|
23
36
|
namespace: string[] | undefined;
|
|
@@ -120,6 +133,30 @@ export interface CreateTableBucketRequest {
|
|
|
120
133
|
export interface CreateTableBucketResponse {
|
|
121
134
|
arn: string | undefined;
|
|
122
135
|
}
|
|
136
|
+
export interface MigrationCompactionSettings {
|
|
137
|
+
targetFileSizeMB?: number | undefined;
|
|
138
|
+
strategy?: IcebergCompactionStrategy | undefined;
|
|
139
|
+
}
|
|
140
|
+
export interface MigrationSnapshotManagementSettings {
|
|
141
|
+
minSnapshotsToKeep?: number | undefined;
|
|
142
|
+
maxSnapshotAgeHours?: number | undefined;
|
|
143
|
+
}
|
|
144
|
+
export interface MaintenanceSettings {
|
|
145
|
+
icebergCompaction?: MigrationCompactionSettings | undefined;
|
|
146
|
+
icebergSnapshotManagement?: MigrationSnapshotManagementSettings | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface MigrationPolicies {
|
|
149
|
+
unmatchedSourceFieldsPolicy?: UnmatchedSourceFieldsPolicy | undefined;
|
|
150
|
+
incompatibleValuesPolicy?: IncompatibleValuesPolicy | undefined;
|
|
151
|
+
}
|
|
152
|
+
export interface DataMigrationOverview {
|
|
153
|
+
maintenanceSettings: MaintenanceSettings | undefined;
|
|
154
|
+
migrationPolicies: MigrationPolicies | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface DataMigrationSettings {
|
|
157
|
+
maintenanceSettings?: MaintenanceSettings | undefined;
|
|
158
|
+
migrationPolicies?: MigrationPolicies | undefined;
|
|
159
|
+
}
|
|
123
160
|
export interface DeleteNamespaceRequest {
|
|
124
161
|
tableBucketARN: string | undefined;
|
|
125
162
|
namespace: string | undefined;
|
|
@@ -155,6 +192,23 @@ export interface DeleteTableReplicationRequest {
|
|
|
155
192
|
tableArn: string | undefined;
|
|
156
193
|
versionToken: string | undefined;
|
|
157
194
|
}
|
|
195
|
+
export interface MigrationTableProperties {
|
|
196
|
+
writeFormat?: DataFileFormat | undefined;
|
|
197
|
+
icebergFormatVersion?: number | undefined;
|
|
198
|
+
compressionCodec?: CompressionCodec | undefined;
|
|
199
|
+
dictionaryEncoding?: boolean | undefined;
|
|
200
|
+
}
|
|
201
|
+
export interface DestinationTable {
|
|
202
|
+
tableBucketARN: string | undefined;
|
|
203
|
+
namespace: string | undefined;
|
|
204
|
+
name: string | undefined;
|
|
205
|
+
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
206
|
+
storageClassConfiguration?: StorageClassConfiguration | undefined;
|
|
207
|
+
tags?: Record<string, string> | undefined;
|
|
208
|
+
properties?: MigrationTableProperties | undefined;
|
|
209
|
+
schema?: IcebergSchemaV2 | undefined;
|
|
210
|
+
icebergSortOrder?: IcebergSortOrder | undefined;
|
|
211
|
+
}
|
|
158
212
|
export interface GetNamespaceRequest {
|
|
159
213
|
tableBucketARN: string | undefined;
|
|
160
214
|
namespace: string | undefined;
|
|
@@ -366,6 +420,79 @@ export interface GetTableMetadataLocationResponse {
|
|
|
366
420
|
metadataLocation?: string | undefined;
|
|
367
421
|
warehouseLocation: string | undefined;
|
|
368
422
|
}
|
|
423
|
+
export interface GetTableMigrationRequest {
|
|
424
|
+
migrationId?: string | undefined;
|
|
425
|
+
tableARN?: string | undefined;
|
|
426
|
+
}
|
|
427
|
+
export interface MigrationFailureReason {
|
|
428
|
+
code: MigrationFailureCode | undefined;
|
|
429
|
+
detail?: string | undefined;
|
|
430
|
+
}
|
|
431
|
+
export interface ReportOverview {
|
|
432
|
+
prefix?: string | undefined;
|
|
433
|
+
key?: string | undefined;
|
|
434
|
+
checksumCRC64NVME?: string | undefined;
|
|
435
|
+
invalidFindings?: Partial<Record<FindingCategory, number>> | undefined;
|
|
436
|
+
}
|
|
437
|
+
export interface MigrationOutputOverview {
|
|
438
|
+
bucket: string | undefined;
|
|
439
|
+
tableCompatibilityReport: ReportOverview | undefined;
|
|
440
|
+
objectCompatibilityReport: ReportOverview | undefined;
|
|
441
|
+
objectMigrationReport: ReportOverview | undefined;
|
|
442
|
+
}
|
|
443
|
+
export interface MigrationStats {
|
|
444
|
+
objectsMigrated?: number | undefined;
|
|
445
|
+
objectsFailedMigration?: number | undefined;
|
|
446
|
+
objectsPendingMigration?: number | undefined;
|
|
447
|
+
}
|
|
448
|
+
export interface PlanningStats {
|
|
449
|
+
objectsScanned?: number | undefined;
|
|
450
|
+
objectsPlanned?: number | undefined;
|
|
451
|
+
partitionCount?: number | undefined;
|
|
452
|
+
}
|
|
453
|
+
export interface GlueTableSource {
|
|
454
|
+
catalogId: string | undefined;
|
|
455
|
+
databaseName: string | undefined;
|
|
456
|
+
tableName: string | undefined;
|
|
457
|
+
}
|
|
458
|
+
export type SourceConfiguration =
|
|
459
|
+
| SourceConfiguration.GlueTableMember
|
|
460
|
+
| SourceConfiguration.$UnknownMember;
|
|
461
|
+
export declare namespace SourceConfiguration {
|
|
462
|
+
interface GlueTableMember {
|
|
463
|
+
glueTable: GlueTableSource;
|
|
464
|
+
$unknown?: never;
|
|
465
|
+
}
|
|
466
|
+
interface $UnknownMember {
|
|
467
|
+
glueTable?: never;
|
|
468
|
+
$unknown: [string, any];
|
|
469
|
+
}
|
|
470
|
+
interface Visitor<T> {
|
|
471
|
+
glueTable: (value: GlueTableSource) => T;
|
|
472
|
+
_: (name: string, value: any) => T;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
export interface GetTableMigrationResponse {
|
|
476
|
+
migrationId: string | undefined;
|
|
477
|
+
tableBucketARN: string | undefined;
|
|
478
|
+
namespace: string | undefined;
|
|
479
|
+
tableARN?: string | undefined;
|
|
480
|
+
name: string | undefined;
|
|
481
|
+
type: MigrationType | undefined;
|
|
482
|
+
state: MigrationState | undefined;
|
|
483
|
+
roleARN: string | undefined;
|
|
484
|
+
reviewMigrationPlan: boolean | undefined;
|
|
485
|
+
hasValidPlan?: boolean | undefined;
|
|
486
|
+
createdAt: Date | undefined;
|
|
487
|
+
stateUpdatedAt: Date | undefined;
|
|
488
|
+
failureReason?: MigrationFailureReason | undefined;
|
|
489
|
+
planningStats?: PlanningStats | undefined;
|
|
490
|
+
migrationStats?: MigrationStats | undefined;
|
|
491
|
+
sourceType: MigrationSourceType | undefined;
|
|
492
|
+
source: SourceConfiguration | undefined;
|
|
493
|
+
dataMigration: DataMigrationOverview | undefined;
|
|
494
|
+
migrationOutput: MigrationOutputOverview | undefined;
|
|
495
|
+
}
|
|
369
496
|
export interface GetTablePolicyRequest {
|
|
370
497
|
tableBucketARN: string | undefined;
|
|
371
498
|
namespace: string | undefined;
|
|
@@ -477,6 +604,32 @@ export interface ListTableBucketsResponse {
|
|
|
477
604
|
tableBuckets: TableBucketSummary[] | undefined;
|
|
478
605
|
continuationToken?: string | undefined;
|
|
479
606
|
}
|
|
607
|
+
export interface ListTableMigrationsRequest {
|
|
608
|
+
tableBucketARN?: string | undefined;
|
|
609
|
+
namespace?: string | undefined;
|
|
610
|
+
name?: string | undefined;
|
|
611
|
+
tableARN?: string | undefined;
|
|
612
|
+
state?: MigrationState | undefined;
|
|
613
|
+
hasValidPlan?: boolean | undefined;
|
|
614
|
+
maxResults?: number | undefined;
|
|
615
|
+
nextToken?: string | undefined;
|
|
616
|
+
}
|
|
617
|
+
export interface MigrationSummary {
|
|
618
|
+
migrationId: string | undefined;
|
|
619
|
+
tableBucketARN: string | undefined;
|
|
620
|
+
namespace: string | undefined;
|
|
621
|
+
tableARN?: string | undefined;
|
|
622
|
+
name: string | undefined;
|
|
623
|
+
type: MigrationType | undefined;
|
|
624
|
+
state: MigrationState | undefined;
|
|
625
|
+
hasValidPlan?: boolean | undefined;
|
|
626
|
+
createdAt: Date | undefined;
|
|
627
|
+
stateUpdatedAt: Date | undefined;
|
|
628
|
+
}
|
|
629
|
+
export interface ListTableMigrationsResponse {
|
|
630
|
+
migrations: MigrationSummary[] | undefined;
|
|
631
|
+
nextToken?: string | undefined;
|
|
632
|
+
}
|
|
480
633
|
export interface ListTablesRequest {
|
|
481
634
|
tableBucketARN: string | undefined;
|
|
482
635
|
namespace?: string | undefined;
|
|
@@ -505,6 +658,15 @@ export interface ListTagsForResourceRequest {
|
|
|
505
658
|
export interface ListTagsForResourceResponse {
|
|
506
659
|
tags?: Record<string, string> | undefined;
|
|
507
660
|
}
|
|
661
|
+
export interface MigrationReportPrefixes {
|
|
662
|
+
tableCompatibilityReport?: string | undefined;
|
|
663
|
+
objectCompatibilityReport?: string | undefined;
|
|
664
|
+
objectMigrationReport?: string | undefined;
|
|
665
|
+
}
|
|
666
|
+
export interface MigrationOutputConfiguration {
|
|
667
|
+
bucket: string | undefined;
|
|
668
|
+
prefixes?: MigrationReportPrefixes | undefined;
|
|
669
|
+
}
|
|
508
670
|
export interface PutTableBucketEncryptionRequest {
|
|
509
671
|
tableBucketARN: string | undefined;
|
|
510
672
|
encryptionConfiguration: EncryptionConfiguration | undefined;
|
|
@@ -568,6 +730,29 @@ export interface RenameTableRequest {
|
|
|
568
730
|
newName?: string | undefined;
|
|
569
731
|
versionToken?: string | undefined;
|
|
570
732
|
}
|
|
733
|
+
export interface StartTableMigrationRequest {
|
|
734
|
+
roleARN: string | undefined;
|
|
735
|
+
destinationTable: DestinationTable | undefined;
|
|
736
|
+
sourceType: MigrationSourceType | undefined;
|
|
737
|
+
source: SourceConfiguration | undefined;
|
|
738
|
+
dataMigration?: DataMigrationSettings | undefined;
|
|
739
|
+
reviewMigrationPlan?: boolean | undefined;
|
|
740
|
+
migrationOutput: MigrationOutputConfiguration | undefined;
|
|
741
|
+
}
|
|
742
|
+
export interface StartTableMigrationResponse {
|
|
743
|
+
migrationId: string | undefined;
|
|
744
|
+
state: MigrationState | undefined;
|
|
745
|
+
}
|
|
746
|
+
export interface SyncTableMigrationRequest {
|
|
747
|
+
roleARN: string | undefined;
|
|
748
|
+
tableARN: string | undefined;
|
|
749
|
+
reviewMigrationPlan?: boolean | undefined;
|
|
750
|
+
migrationOutput: MigrationOutputConfiguration | undefined;
|
|
751
|
+
}
|
|
752
|
+
export interface SyncTableMigrationResponse {
|
|
753
|
+
migrationId: string | undefined;
|
|
754
|
+
state: MigrationState | undefined;
|
|
755
|
+
}
|
|
571
756
|
export interface UpdateTableMetadataLocationRequest {
|
|
572
757
|
tableBucketARN: string | undefined;
|
|
573
758
|
namespace: string | undefined;
|
|
@@ -582,6 +767,17 @@ export interface UpdateTableMetadataLocationResponse {
|
|
|
582
767
|
versionToken: string | undefined;
|
|
583
768
|
metadataLocation: string | undefined;
|
|
584
769
|
}
|
|
770
|
+
export interface UpdateTableMigrationRequest {
|
|
771
|
+
tableARN?: string | undefined;
|
|
772
|
+
migrationId?: string | undefined;
|
|
773
|
+
requestedState: MigrationRequestedState | undefined;
|
|
774
|
+
updateDescription?: string | undefined;
|
|
775
|
+
}
|
|
776
|
+
export interface UpdateTableMigrationResponse {
|
|
777
|
+
migrationId: string | undefined;
|
|
778
|
+
state: MigrationState | undefined;
|
|
779
|
+
tableARN?: string | undefined;
|
|
780
|
+
}
|
|
585
781
|
export interface TagResourceRequest {
|
|
586
782
|
resourceArn: string | undefined;
|
|
587
783
|
tags: Record<string, string> | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTableMigrationsCommandInput,
|
|
4
|
+
ListTableMigrationsCommandOutput,
|
|
5
|
+
} from "../commands/ListTableMigrationsCommand";
|
|
6
|
+
import { S3TablesPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListTableMigrations: (
|
|
8
|
+
config: S3TablesPaginationConfiguration,
|
|
9
|
+
input: ListTableMigrationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTableMigrationsCommandOutput>;
|
|
@@ -78,6 +78,7 @@ export declare const getRuntimeConfig: (config: S3TablesClientConfig) => {
|
|
|
78
78
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
79
79
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
80
80
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
81
|
+
defaultSocketTimeout: number | undefined;
|
|
81
82
|
defaultUserAgentProvider: (
|
|
82
83
|
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
83
84
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -15,12 +15,15 @@ export declare var MethodNotAllowedException$: StaticErrorSchema;
|
|
|
15
15
|
export declare var NotFoundException$: StaticErrorSchema;
|
|
16
16
|
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
17
17
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
18
|
+
export declare var CompleteTableMigrationRequest$: StaticStructureSchema;
|
|
18
19
|
export declare var CreateNamespaceRequest$: StaticStructureSchema;
|
|
19
20
|
export declare var CreateNamespaceResponse$: StaticStructureSchema;
|
|
20
21
|
export declare var CreateTableBucketRequest$: StaticStructureSchema;
|
|
21
22
|
export declare var CreateTableBucketResponse$: StaticStructureSchema;
|
|
22
23
|
export declare var CreateTableRequest$: StaticStructureSchema;
|
|
23
24
|
export declare var CreateTableResponse$: StaticStructureSchema;
|
|
25
|
+
export declare var DataMigrationOverview$: StaticStructureSchema;
|
|
26
|
+
export declare var DataMigrationSettings$: StaticStructureSchema;
|
|
24
27
|
export declare var DeleteNamespaceRequest$: StaticStructureSchema;
|
|
25
28
|
export declare var DeleteTableBucketEncryptionRequest$: StaticStructureSchema;
|
|
26
29
|
export declare var DeleteTableBucketMetricsConfigurationRequest$: StaticStructureSchema;
|
|
@@ -30,6 +33,7 @@ export declare var DeleteTableBucketRequest$: StaticStructureSchema;
|
|
|
30
33
|
export declare var DeleteTablePolicyRequest$: StaticStructureSchema;
|
|
31
34
|
export declare var DeleteTableReplicationRequest$: StaticStructureSchema;
|
|
32
35
|
export declare var DeleteTableRequest$: StaticStructureSchema;
|
|
36
|
+
export declare var DestinationTable$: StaticStructureSchema;
|
|
33
37
|
export declare var EncryptionConfiguration$: StaticStructureSchema;
|
|
34
38
|
export declare var GetNamespaceRequest$: StaticStructureSchema;
|
|
35
39
|
export declare var GetNamespaceResponse$: StaticStructureSchema;
|
|
@@ -55,6 +59,8 @@ export declare var GetTableMaintenanceJobStatusRequest$: StaticStructureSchema;
|
|
|
55
59
|
export declare var GetTableMaintenanceJobStatusResponse$: StaticStructureSchema;
|
|
56
60
|
export declare var GetTableMetadataLocationRequest$: StaticStructureSchema;
|
|
57
61
|
export declare var GetTableMetadataLocationResponse$: StaticStructureSchema;
|
|
62
|
+
export declare var GetTableMigrationRequest$: StaticStructureSchema;
|
|
63
|
+
export declare var GetTableMigrationResponse$: StaticStructureSchema;
|
|
58
64
|
export declare var GetTablePolicyRequest$: StaticStructureSchema;
|
|
59
65
|
export declare var GetTablePolicyResponse$: StaticStructureSchema;
|
|
60
66
|
export declare var GetTableRecordExpirationConfigurationRequest$: StaticStructureSchema;
|
|
@@ -69,6 +75,7 @@ export declare var GetTableRequest$: StaticStructureSchema;
|
|
|
69
75
|
export declare var GetTableResponse$: StaticStructureSchema;
|
|
70
76
|
export declare var GetTableStorageClassRequest$: StaticStructureSchema;
|
|
71
77
|
export declare var GetTableStorageClassResponse$: StaticStructureSchema;
|
|
78
|
+
export declare var GlueTableSource$: StaticStructureSchema;
|
|
72
79
|
export declare var IcebergCompactionSettings$: StaticStructureSchema;
|
|
73
80
|
export declare var IcebergMetadata$: StaticStructureSchema;
|
|
74
81
|
export declare var IcebergPartitionField$: StaticStructureSchema;
|
|
@@ -84,12 +91,26 @@ export declare var ListNamespacesRequest$: StaticStructureSchema;
|
|
|
84
91
|
export declare var ListNamespacesResponse$: StaticStructureSchema;
|
|
85
92
|
export declare var ListTableBucketsRequest$: StaticStructureSchema;
|
|
86
93
|
export declare var ListTableBucketsResponse$: StaticStructureSchema;
|
|
94
|
+
export declare var ListTableMigrationsRequest$: StaticStructureSchema;
|
|
95
|
+
export declare var ListTableMigrationsResponse$: StaticStructureSchema;
|
|
87
96
|
export declare var ListTablesRequest$: StaticStructureSchema;
|
|
88
97
|
export declare var ListTablesResponse$: StaticStructureSchema;
|
|
89
98
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
90
99
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
100
|
+
export declare var MaintenanceSettings$: StaticStructureSchema;
|
|
91
101
|
export declare var ManagedTableInformation$: StaticStructureSchema;
|
|
102
|
+
export declare var MigrationCompactionSettings$: StaticStructureSchema;
|
|
103
|
+
export declare var MigrationFailureReason$: StaticStructureSchema;
|
|
104
|
+
export declare var MigrationOutputConfiguration$: StaticStructureSchema;
|
|
105
|
+
export declare var MigrationOutputOverview$: StaticStructureSchema;
|
|
106
|
+
export declare var MigrationPolicies$: StaticStructureSchema;
|
|
107
|
+
export declare var MigrationReportPrefixes$: StaticStructureSchema;
|
|
108
|
+
export declare var MigrationSnapshotManagementSettings$: StaticStructureSchema;
|
|
109
|
+
export declare var MigrationStats$: StaticStructureSchema;
|
|
110
|
+
export declare var MigrationSummary$: StaticStructureSchema;
|
|
111
|
+
export declare var MigrationTableProperties$: StaticStructureSchema;
|
|
92
112
|
export declare var NamespaceSummary$: StaticStructureSchema;
|
|
113
|
+
export declare var PlanningStats$: StaticStructureSchema;
|
|
93
114
|
export declare var PutTableBucketEncryptionRequest$: StaticStructureSchema;
|
|
94
115
|
export declare var PutTableBucketMaintenanceConfigurationRequest$: StaticStructureSchema;
|
|
95
116
|
export declare var PutTableBucketMetricsConfigurationRequest$: StaticStructureSchema;
|
|
@@ -106,9 +127,14 @@ export declare var RenameTableRequest$: StaticStructureSchema;
|
|
|
106
127
|
export declare var ReplicationDestination$: StaticStructureSchema;
|
|
107
128
|
export declare var ReplicationDestinationStatusModel$: StaticStructureSchema;
|
|
108
129
|
export declare var ReplicationInformation$: StaticStructureSchema;
|
|
130
|
+
export declare var ReportOverview$: StaticStructureSchema;
|
|
109
131
|
export declare var SchemaField$: StaticStructureSchema;
|
|
110
132
|
export declare var SchemaV2Field$: StaticStructureSchema;
|
|
133
|
+
export declare var StartTableMigrationRequest$: StaticStructureSchema;
|
|
134
|
+
export declare var StartTableMigrationResponse$: StaticStructureSchema;
|
|
111
135
|
export declare var StorageClassConfiguration$: StaticStructureSchema;
|
|
136
|
+
export declare var SyncTableMigrationRequest$: StaticStructureSchema;
|
|
137
|
+
export declare var SyncTableMigrationResponse$: StaticStructureSchema;
|
|
112
138
|
export declare var TableBucketMaintenanceConfigurationValue$: StaticStructureSchema;
|
|
113
139
|
export declare var TableBucketReplicationConfiguration$: StaticStructureSchema;
|
|
114
140
|
export declare var TableBucketReplicationRule$: StaticStructureSchema;
|
|
@@ -127,9 +153,13 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
|
127
153
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
128
154
|
export declare var UpdateTableMetadataLocationRequest$: StaticStructureSchema;
|
|
129
155
|
export declare var UpdateTableMetadataLocationResponse$: StaticStructureSchema;
|
|
156
|
+
export declare var UpdateTableMigrationRequest$: StaticStructureSchema;
|
|
157
|
+
export declare var UpdateTableMigrationResponse$: StaticStructureSchema;
|
|
158
|
+
export declare var SourceConfiguration$: StaticUnionSchema;
|
|
130
159
|
export declare var TableBucketMaintenanceSettings$: StaticUnionSchema;
|
|
131
160
|
export declare var TableMaintenanceSettings$: StaticUnionSchema;
|
|
132
161
|
export declare var TableMetadata$: StaticUnionSchema;
|
|
162
|
+
export declare var CompleteTableMigration$: StaticOperationSchema;
|
|
133
163
|
export declare var CreateNamespace$: StaticOperationSchema;
|
|
134
164
|
export declare var CreateTable$: StaticOperationSchema;
|
|
135
165
|
export declare var CreateTableBucket$: StaticOperationSchema;
|
|
@@ -155,6 +185,7 @@ export declare var GetTableEncryption$: StaticOperationSchema;
|
|
|
155
185
|
export declare var GetTableMaintenanceConfiguration$: StaticOperationSchema;
|
|
156
186
|
export declare var GetTableMaintenanceJobStatus$: StaticOperationSchema;
|
|
157
187
|
export declare var GetTableMetadataLocation$: StaticOperationSchema;
|
|
188
|
+
export declare var GetTableMigration$: StaticOperationSchema;
|
|
158
189
|
export declare var GetTablePolicy$: StaticOperationSchema;
|
|
159
190
|
export declare var GetTableRecordExpirationConfiguration$: StaticOperationSchema;
|
|
160
191
|
export declare var GetTableRecordExpirationJobStatus$: StaticOperationSchema;
|
|
@@ -163,6 +194,7 @@ export declare var GetTableReplicationStatus$: StaticOperationSchema;
|
|
|
163
194
|
export declare var GetTableStorageClass$: StaticOperationSchema;
|
|
164
195
|
export declare var ListNamespaces$: StaticOperationSchema;
|
|
165
196
|
export declare var ListTableBuckets$: StaticOperationSchema;
|
|
197
|
+
export declare var ListTableMigrations$: StaticOperationSchema;
|
|
166
198
|
export declare var ListTables$: StaticOperationSchema;
|
|
167
199
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
168
200
|
export declare var PutTableBucketEncryption$: StaticOperationSchema;
|
|
@@ -176,6 +208,9 @@ export declare var PutTablePolicy$: StaticOperationSchema;
|
|
|
176
208
|
export declare var PutTableRecordExpirationConfiguration$: StaticOperationSchema;
|
|
177
209
|
export declare var PutTableReplication$: StaticOperationSchema;
|
|
178
210
|
export declare var RenameTable$: StaticOperationSchema;
|
|
211
|
+
export declare var StartTableMigration$: StaticOperationSchema;
|
|
212
|
+
export declare var SyncTableMigration$: StaticOperationSchema;
|
|
179
213
|
export declare var TagResource$: StaticOperationSchema;
|
|
180
214
|
export declare var UntagResource$: StaticOperationSchema;
|
|
181
215
|
export declare var UpdateTableMetadataLocation$: StaticOperationSchema;
|
|
216
|
+
export declare var UpdateTableMigration$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3tables",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1163.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript S3tables Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3tables",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/core": "^3.
|
|
54
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
53
|
+
"@aws-sdk/core": "^3.980.0",
|
|
54
|
+
"@aws-sdk/credential-provider-node": "^3.972.93",
|
|
55
55
|
"@aws-sdk/types": "^3.975.0",
|
|
56
56
|
"@smithy/core": "^3.38.0",
|
|
57
57
|
"@smithy/fetch-http-handler": "^5.8.0",
|