@aws-sdk/client-s3tables 3.1161.0 → 3.1162.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.
Files changed (47) hide show
  1. package/README.md +43 -1
  2. package/dist-cjs/index.js +399 -12
  3. package/dist-es/S3Tables.js +14 -0
  4. package/dist-es/commands/CompleteTableMigrationCommand.js +4 -0
  5. package/dist-es/commands/GetTableMigrationCommand.js +4 -0
  6. package/dist-es/commands/ListTableMigrationsCommand.js +4 -0
  7. package/dist-es/commands/StartTableMigrationCommand.js +4 -0
  8. package/dist-es/commands/SyncTableMigrationCommand.js +4 -0
  9. package/dist-es/commands/UpdateTableMigrationCommand.js +4 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/enums.js +63 -6
  12. package/dist-es/pagination/ListTableMigrationsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/runtimeConfig.js +2 -1
  15. package/dist-es/schemas/schemas_0.js +255 -4
  16. package/dist-types/S3Tables.d.ts +52 -1
  17. package/dist-types/S3TablesClient.d.ts +9 -3
  18. package/dist-types/commands/CompleteTableMigrationCommand.d.ts +90 -0
  19. package/dist-types/commands/GetTableMigrationCommand.d.ts +166 -0
  20. package/dist-types/commands/ListTableMigrationsCommand.d.ts +110 -0
  21. package/dist-types/commands/StartTableMigrationCommand.d.ts +174 -0
  22. package/dist-types/commands/SyncTableMigrationCommand.d.ts +103 -0
  23. package/dist-types/commands/UpdateTableMigrationCommand.d.ts +97 -0
  24. package/dist-types/commands/index.d.ts +6 -0
  25. package/dist-types/index.d.ts +1 -1
  26. package/dist-types/models/enums.d.ts +151 -14
  27. package/dist-types/models/models_0.d.ts +756 -1
  28. package/dist-types/pagination/ListTableMigrationsPaginator.d.ts +7 -0
  29. package/dist-types/pagination/index.d.ts +1 -0
  30. package/dist-types/runtimeConfig.d.ts +1 -0
  31. package/dist-types/schemas/schemas_0.d.ts +35 -0
  32. package/dist-types/ts3.4/S3Tables.d.ts +111 -0
  33. package/dist-types/ts3.4/S3TablesClient.d.ts +38 -2
  34. package/dist-types/ts3.4/commands/CompleteTableMigrationCommand.d.ts +38 -0
  35. package/dist-types/ts3.4/commands/GetTableMigrationCommand.d.ts +39 -0
  36. package/dist-types/ts3.4/commands/ListTableMigrationsCommand.d.ts +39 -0
  37. package/dist-types/ts3.4/commands/StartTableMigrationCommand.d.ts +39 -0
  38. package/dist-types/ts3.4/commands/SyncTableMigrationCommand.d.ts +39 -0
  39. package/dist-types/ts3.4/commands/UpdateTableMigrationCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  41. package/dist-types/ts3.4/models/enums.d.ts +78 -8
  42. package/dist-types/ts3.4/models/models_0.d.ts +196 -0
  43. package/dist-types/ts3.4/pagination/ListTableMigrationsPaginator.d.ts +11 -0
  44. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +35 -0
  47. package/package.json +3 -3
@@ -0,0 +1,174 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartTableMigrationRequest, StartTableMigrationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartTableMigrationCommand}.
11
+ */
12
+ export interface StartTableMigrationCommandInput extends StartTableMigrationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartTableMigrationCommand}.
18
+ */
19
+ export interface StartTableMigrationCommandOutput extends StartTableMigrationResponse, __MetadataBearer {
20
+ }
21
+ declare const StartTableMigrationCommand_base: {
22
+ new (input: StartTableMigrationCommandInput): import("@smithy/core/client").CommandImpl<StartTableMigrationCommandInput, StartTableMigrationCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartTableMigrationCommandInput): import("@smithy/core/client").CommandImpl<StartTableMigrationCommandInput, StartTableMigrationCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Starts migrating an Amazon Web Services Glue Data Catalog table into a new table in a table bucket. The migration runs asynchronously: this operation returns the migration ID and its initial state, and you track progress with <code>GetTableMigration</code>.</p> <p>The namespace must already exist, and a table with the specified name must not. The migration creates the table during planning and commits data to it as it runs. Until you call <code>CompleteTableMigration</code>, you can read the table but you can't write to it. If the migration fails or is cancelled, the table and the data already committed to it remain.</p> <p>The migration first checks the source and the destination, and writes the table compatibility and object compatibility reports to the bucket that you specify in <code>migrationOutput</code>. If you set <code>reviewMigrationPlan</code> to <code>true</code>, the migration waits in the <code>pendingReview</code> state so that you can review the reports, and continues only when you call <code>UpdateTableMigration</code> with <code>requestedState</code> set to <code>queued</code>. If you don't continue or cancel the migration within 30 days, the migration fails. Otherwise it continues to migrate the data, and writes the object migration report when the migration ends. If planning fails, the migration writes no object migration report.</p> <dl> <dt>Permissions</dt> <dd> <ul> <li> <p>You must have the <code>s3tables:StartTableMigration</code> permission to use this operation.</p> </li> <li> <p>You must have the <code>iam:PassRole</code> permission on the role that you specify in <code>roleARN</code>, with a condition that allows passing it to <code>migration.s3tables.amazonaws.com</code>. The associated resource is the table bucket.</p> </li> <li> <p>If <code>destinationTable</code> specifies SSE-KMS encryption, you must have the <code>kms:DescribeKey</code> and <code>kms:GenerateDataKey</code> permissions on the KMS key. You must also grant the S3 Tables maintenance principal access to the key. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-kms-permissions.html">Permissions requirements for S3 Tables SSE-KMS encryption</a>.</p> </li> </ul> </dd> </dl>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { S3TablesClient, StartTableMigrationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
32
+ * // const { S3TablesClient, StartTableMigrationCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
33
+ * // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
34
+ * const config = {}; // type is S3TablesClientConfig
35
+ * const client = new S3TablesClient(config);
36
+ * const input = { // StartTableMigrationRequest
37
+ * roleARN: "STRING_VALUE", // required
38
+ * destinationTable: { // DestinationTable
39
+ * tableBucketARN: "STRING_VALUE", // required
40
+ * namespace: "STRING_VALUE", // required
41
+ * name: "STRING_VALUE", // required
42
+ * encryptionConfiguration: { // EncryptionConfiguration
43
+ * sseAlgorithm: "AES256" || "aws:kms", // required
44
+ * kmsKeyArn: "STRING_VALUE",
45
+ * },
46
+ * storageClassConfiguration: { // StorageClassConfiguration
47
+ * storageClass: "STANDARD" || "INTELLIGENT_TIERING", // required
48
+ * },
49
+ * tags: { // Tags
50
+ * "<keys>": "STRING_VALUE",
51
+ * },
52
+ * properties: { // MigrationTableProperties
53
+ * writeFormat: "parquet",
54
+ * icebergFormatVersion: Number("int"),
55
+ * compressionCodec: "zstd" || "snappy" || "gzip" || "uncompressed",
56
+ * dictionaryEncoding: true || false,
57
+ * },
58
+ * schema: { // IcebergSchemaV2
59
+ * type: "struct", // required
60
+ * fields: [ // SchemaV2FieldList // required
61
+ * { // SchemaV2Field
62
+ * id: Number("int"), // required
63
+ * name: "STRING_VALUE", // required
64
+ * type: "DOCUMENT_VALUE", // required
65
+ * required: true || false, // required
66
+ * doc: "STRING_VALUE",
67
+ * },
68
+ * ],
69
+ * schemaId: Number("int"),
70
+ * identifierFieldIds: [ // IntegerList
71
+ * Number("int"),
72
+ * ],
73
+ * },
74
+ * icebergSortOrder: { // IcebergSortOrder
75
+ * orderId: Number("int"), // required
76
+ * fields: [ // IcebergSortFieldList // required
77
+ * { // IcebergSortField
78
+ * sourceId: Number("int"), // required
79
+ * transform: "STRING_VALUE", // required
80
+ * direction: "asc" || "desc", // required
81
+ * nullOrder: "nulls-first" || "nulls-last", // required
82
+ * },
83
+ * ],
84
+ * },
85
+ * },
86
+ * sourceType: "glueTable", // required
87
+ * source: { // SourceConfiguration Union: only one key present
88
+ * glueTable: { // GlueTableSource
89
+ * catalogId: "STRING_VALUE", // required
90
+ * databaseName: "STRING_VALUE", // required
91
+ * tableName: "STRING_VALUE", // required
92
+ * },
93
+ * },
94
+ * dataMigration: { // DataMigrationSettings
95
+ * maintenanceSettings: { // MaintenanceSettings
96
+ * icebergCompaction: { // MigrationCompactionSettings
97
+ * targetFileSizeMB: Number("int"),
98
+ * strategy: "auto" || "binpack" || "sort" || "z-order",
99
+ * },
100
+ * icebergSnapshotManagement: { // MigrationSnapshotManagementSettings
101
+ * minSnapshotsToKeep: Number("int"),
102
+ * maxSnapshotAgeHours: Number("int"),
103
+ * },
104
+ * },
105
+ * migrationPolicies: { // MigrationPolicies
106
+ * unmatchedSourceFieldsPolicy: "fail" || "drop",
107
+ * incompatibleValuesPolicy: "fail" || "setNull",
108
+ * },
109
+ * },
110
+ * reviewMigrationPlan: true || false,
111
+ * migrationOutput: { // MigrationOutputConfiguration
112
+ * bucket: "STRING_VALUE", // required
113
+ * prefixes: { // MigrationReportPrefixes
114
+ * tableCompatibilityReport: "STRING_VALUE",
115
+ * objectCompatibilityReport: "STRING_VALUE",
116
+ * objectMigrationReport: "STRING_VALUE",
117
+ * },
118
+ * },
119
+ * };
120
+ * const command = new StartTableMigrationCommand(input);
121
+ * const response = await client.send(command);
122
+ * // { // StartTableMigrationResponse
123
+ * // migrationId: "STRING_VALUE", // required
124
+ * // state: "new" || "planning" || "pendingReview" || "queued" || "migrating" || "succeeded" || "failed" || "cancelling" || "cancelled", // required
125
+ * // };
126
+ *
127
+ * ```
128
+ *
129
+ * @param StartTableMigrationCommandInput - {@link StartTableMigrationCommandInput}
130
+ * @returns {@link StartTableMigrationCommandOutput}
131
+ * @see {@link StartTableMigrationCommandInput} for command's `input` shape.
132
+ * @see {@link StartTableMigrationCommandOutput} for command's `response` shape.
133
+ * @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
134
+ *
135
+ * @throws {@link AccessDeniedException} (client fault)
136
+ * <p>The action cannot be performed because you do not have the required permission.</p>
137
+ *
138
+ * @throws {@link BadRequestException} (client fault)
139
+ * <p>The request is invalid or malformed.</p>
140
+ *
141
+ * @throws {@link ConflictException} (client fault)
142
+ * <p>The request failed because there is a conflict with a previous write. You can retry the request.</p>
143
+ *
144
+ * @throws {@link ForbiddenException} (client fault)
145
+ * <p>The caller isn't authorized to make the request.</p>
146
+ *
147
+ * @throws {@link InternalServerErrorException} (server fault)
148
+ * <p>The request failed due to an internal server error.</p>
149
+ *
150
+ * @throws {@link NotFoundException} (client fault)
151
+ * <p>The request was rejected because the specified resource could not be found.</p>
152
+ *
153
+ * @throws {@link TooManyRequestsException} (client fault)
154
+ * <p>The limit on the number of requests per second was exceeded.</p>
155
+ *
156
+ * @throws {@link S3TablesServiceException}
157
+ * <p>Base exception class for all service exceptions from S3Tables service.</p>
158
+ *
159
+ *
160
+ * @public
161
+ */
162
+ export declare class StartTableMigrationCommand extends StartTableMigrationCommand_base {
163
+ /** @internal type navigation helper, not in runtime. */
164
+ protected static __types: {
165
+ api: {
166
+ input: StartTableMigrationRequest;
167
+ output: StartTableMigrationResponse;
168
+ };
169
+ sdk: {
170
+ input: StartTableMigrationCommandInput;
171
+ output: StartTableMigrationCommandOutput;
172
+ };
173
+ };
174
+ }
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { SyncTableMigrationRequest, SyncTableMigrationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link SyncTableMigrationCommand}.
11
+ */
12
+ export interface SyncTableMigrationCommandInput extends SyncTableMigrationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link SyncTableMigrationCommand}.
18
+ */
19
+ export interface SyncTableMigrationCommandOutput extends SyncTableMigrationResponse, __MetadataBearer {
20
+ }
21
+ declare const SyncTableMigrationCommand_base: {
22
+ new (input: SyncTableMigrationCommandInput): import("@smithy/core/client").CommandImpl<SyncTableMigrationCommandInput, SyncTableMigrationCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: SyncTableMigrationCommandInput): import("@smithy/core/client").CommandImpl<SyncTableMigrationCommandInput, SyncTableMigrationCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Migrates the changes in the source table since the previous start or sync, such as added and deleted source objects, into the destination table. The sync runs asynchronously: this operation returns the migration ID of the sync and its initial state, and you track progress with <code>GetTableMigration</code>.</p> <p>A sync uses the source, destination and data migration settings of the table's migration, and plans the work and writes its reports in the same way as <code>StartTableMigration</code>. You can sync after a start or sync that succeeded, failed or was cancelled, if an earlier start or sync of the table has a valid plan (<code>hasValidPlan</code>). You can't sync a table while a start or sync is in progress for it, and you can sync a table until you call <code>CompleteTableMigration</code> for it. If a source object that an earlier migration migrated has since been overwritten, the sync fails.</p> <dl> <dt>Permissions</dt> <dd> <ul> <li> <p>You must have the <code>s3tables:SyncTableMigration</code> permission to use this operation.</p> </li> <li> <p>You must have the <code>iam:PassRole</code> permission on the role that you specify in <code>roleARN</code>, with a condition that allows passing it to <code>migration.s3tables.amazonaws.com</code>. The associated resource is the table.</p> </li> </ul> </dd> </dl>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { S3TablesClient, SyncTableMigrationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
32
+ * // const { S3TablesClient, SyncTableMigrationCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
33
+ * // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
34
+ * const config = {}; // type is S3TablesClientConfig
35
+ * const client = new S3TablesClient(config);
36
+ * const input = { // SyncTableMigrationRequest
37
+ * roleARN: "STRING_VALUE", // required
38
+ * tableARN: "STRING_VALUE", // required
39
+ * reviewMigrationPlan: true || false,
40
+ * migrationOutput: { // MigrationOutputConfiguration
41
+ * bucket: "STRING_VALUE", // required
42
+ * prefixes: { // MigrationReportPrefixes
43
+ * tableCompatibilityReport: "STRING_VALUE",
44
+ * objectCompatibilityReport: "STRING_VALUE",
45
+ * objectMigrationReport: "STRING_VALUE",
46
+ * },
47
+ * },
48
+ * };
49
+ * const command = new SyncTableMigrationCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // SyncTableMigrationResponse
52
+ * // migrationId: "STRING_VALUE", // required
53
+ * // state: "new" || "planning" || "pendingReview" || "queued" || "migrating" || "succeeded" || "failed" || "cancelling" || "cancelled", // required
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param SyncTableMigrationCommandInput - {@link SyncTableMigrationCommandInput}
59
+ * @returns {@link SyncTableMigrationCommandOutput}
60
+ * @see {@link SyncTableMigrationCommandInput} for command's `input` shape.
61
+ * @see {@link SyncTableMigrationCommandOutput} for command's `response` shape.
62
+ * @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>The action cannot be performed because you do not have the required permission.</p>
66
+ *
67
+ * @throws {@link BadRequestException} (client fault)
68
+ * <p>The request is invalid or malformed.</p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>The request failed because there is a conflict with a previous write. You can retry the request.</p>
72
+ *
73
+ * @throws {@link ForbiddenException} (client fault)
74
+ * <p>The caller isn't authorized to make the request.</p>
75
+ *
76
+ * @throws {@link InternalServerErrorException} (server fault)
77
+ * <p>The request failed due to an internal server error.</p>
78
+ *
79
+ * @throws {@link NotFoundException} (client fault)
80
+ * <p>The request was rejected because the specified resource could not be found.</p>
81
+ *
82
+ * @throws {@link TooManyRequestsException} (client fault)
83
+ * <p>The limit on the number of requests per second was exceeded.</p>
84
+ *
85
+ * @throws {@link S3TablesServiceException}
86
+ * <p>Base exception class for all service exceptions from S3Tables service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class SyncTableMigrationCommand extends SyncTableMigrationCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: SyncTableMigrationRequest;
96
+ output: SyncTableMigrationResponse;
97
+ };
98
+ sdk: {
99
+ input: SyncTableMigrationCommandInput;
100
+ output: SyncTableMigrationCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateTableMigrationRequest, UpdateTableMigrationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateTableMigrationCommand}.
11
+ */
12
+ export interface UpdateTableMigrationCommandInput extends UpdateTableMigrationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateTableMigrationCommand}.
18
+ */
19
+ export interface UpdateTableMigrationCommandOutput extends UpdateTableMigrationResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateTableMigrationCommand_base: {
22
+ new (input: UpdateTableMigrationCommandInput): import("@smithy/core/client").CommandImpl<UpdateTableMigrationCommandInput, UpdateTableMigrationCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateTableMigrationCommandInput): import("@smithy/core/client").CommandImpl<UpdateTableMigrationCommandInput, UpdateTableMigrationCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Requests a state change for a migration. Identify the migration by its <code>migrationId</code> or by the <code>tableARN</code> of its destination table.</p> <p>Set <code>requestedState</code> to <code>queued</code> to continue a migration in the <code>pendingReview</code> state; the migration moves to <code>queued</code> or <code>migrating</code>. Set it to <code>cancelled</code> to cancel a migration in the <code>new</code>, <code>planning</code>, <code>pendingReview</code>, <code>queued</code> or <code>migrating</code> state; the migration moves to <code>cancelling</code>, finishes the work in progress, and then ends in the <code>cancelled</code> state, or in the <code>failed</code> state if any objects failed to migrate. Data that the migration already committed stays in the destination table.</p> <dl> <dt>Permissions</dt> <dd> <ul> <li> <p>You must have the <code>s3tables:UpdateTableMigration</code> permission to use this operation.</p> </li> </ul> </dd> </dl>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { S3TablesClient, UpdateTableMigrationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
32
+ * // const { S3TablesClient, UpdateTableMigrationCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
33
+ * // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
34
+ * const config = {}; // type is S3TablesClientConfig
35
+ * const client = new S3TablesClient(config);
36
+ * const input = { // UpdateTableMigrationRequest
37
+ * tableARN: "STRING_VALUE",
38
+ * migrationId: "STRING_VALUE",
39
+ * requestedState: "queued" || "cancelled", // required
40
+ * updateDescription: "STRING_VALUE",
41
+ * };
42
+ * const command = new UpdateTableMigrationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // UpdateTableMigrationResponse
45
+ * // migrationId: "STRING_VALUE", // required
46
+ * // state: "new" || "planning" || "pendingReview" || "queued" || "migrating" || "succeeded" || "failed" || "cancelling" || "cancelled", // required
47
+ * // tableARN: "STRING_VALUE",
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param UpdateTableMigrationCommandInput - {@link UpdateTableMigrationCommandInput}
53
+ * @returns {@link UpdateTableMigrationCommandOutput}
54
+ * @see {@link UpdateTableMigrationCommandInput} for command's `input` shape.
55
+ * @see {@link UpdateTableMigrationCommandOutput} for command's `response` shape.
56
+ * @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>The action cannot be performed because you do not have the required permission.</p>
60
+ *
61
+ * @throws {@link BadRequestException} (client fault)
62
+ * <p>The request is invalid or malformed.</p>
63
+ *
64
+ * @throws {@link ConflictException} (client fault)
65
+ * <p>The request failed because there is a conflict with a previous write. You can retry the request.</p>
66
+ *
67
+ * @throws {@link ForbiddenException} (client fault)
68
+ * <p>The caller isn't authorized to make the request.</p>
69
+ *
70
+ * @throws {@link InternalServerErrorException} (server fault)
71
+ * <p>The request failed due to an internal server error.</p>
72
+ *
73
+ * @throws {@link NotFoundException} (client fault)
74
+ * <p>The request was rejected because the specified resource could not be found.</p>
75
+ *
76
+ * @throws {@link TooManyRequestsException} (client fault)
77
+ * <p>The limit on the number of requests per second was exceeded.</p>
78
+ *
79
+ * @throws {@link S3TablesServiceException}
80
+ * <p>Base exception class for all service exceptions from S3Tables service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class UpdateTableMigrationCommand extends UpdateTableMigrationCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: UpdateTableMigrationRequest;
90
+ output: UpdateTableMigrationResponse;
91
+ };
92
+ sdk: {
93
+ input: UpdateTableMigrationCommandInput;
94
+ output: UpdateTableMigrationCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -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,5 +1,5 @@
1
1
  /**
2
- * <p>An Amazon S3 table represents a structured dataset consisting of tabular data in <a href="https://parquet.apache.org/docs/">Apache Parquet</a> format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the <a href="https://iceberg.apache.org/docs/latest/">Apache Iceberg</a> table format. Through integration with the <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html">Amazon Web Services Glue Data Catalog</a> you can interact with your tables using Amazon Web Services analytics services, such as <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/athena/">Amazon Athena</a> and <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/redshift/">Amazon Redshift</a>. Amazon S3 manages maintenance of your tables through automatic file compaction and snapshot management. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets.html">Amazon S3 table buckets</a>.</p>
2
+ * <p>An Amazon S3 table represents a structured dataset consisting of tabular data in <a href="https://parquet.apache.org/docs/">Apache Parquet</a> format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the <a href="https://iceberg.apache.org/docs/latest/">Apache Iceberg</a> table format. Through integration with the <a href="https://docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html">Amazon Web Services Glue Data Catalog</a> you can interact with your tables using Amazon Web Services analytics services, such as <a href="https://docs.aws.amazon.com/athena/">Amazon Athena</a> and <a href="https://docs.aws.amazon.com/redshift/">Amazon Redshift</a>. Amazon S3 manages maintenance of your tables through automatic file compaction and snapshot management. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets.html">Amazon S3 table buckets</a>.</p>
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
@@ -1,3 +1,17 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const CompressionCodec: {
6
+ readonly GZIP: "gzip";
7
+ readonly SNAPPY: "snappy";
8
+ readonly UNCOMPRESSED: "uncompressed";
9
+ readonly ZSTD: "zstd";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type CompressionCodec = (typeof CompressionCodec)[keyof typeof CompressionCodec];
1
15
  /**
2
16
  * @public
3
17
  * @enum
@@ -68,6 +82,69 @@ export declare const StorageClass: {
68
82
  * @public
69
83
  */
70
84
  export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
85
+ /**
86
+ * @public
87
+ * @enum
88
+ */
89
+ export declare const DataFileFormat: {
90
+ readonly PARQUET: "parquet";
91
+ };
92
+ /**
93
+ * @public
94
+ */
95
+ export type DataFileFormat = (typeof DataFileFormat)[keyof typeof DataFileFormat];
96
+ /**
97
+ * @public
98
+ * @enum
99
+ */
100
+ export declare const IcebergCompactionStrategy: {
101
+ readonly AUTO: "auto";
102
+ readonly BINPACK: "binpack";
103
+ readonly SORT: "sort";
104
+ readonly ZORDER: "z-order";
105
+ };
106
+ /**
107
+ * @public
108
+ */
109
+ export type IcebergCompactionStrategy = (typeof IcebergCompactionStrategy)[keyof typeof IcebergCompactionStrategy];
110
+ /**
111
+ * @public
112
+ * @enum
113
+ */
114
+ export declare const IncompatibleValuesPolicy: {
115
+ readonly FAIL: "fail";
116
+ readonly SET_NULL: "setNull";
117
+ };
118
+ /**
119
+ * @public
120
+ */
121
+ export type IncompatibleValuesPolicy = (typeof IncompatibleValuesPolicy)[keyof typeof IncompatibleValuesPolicy];
122
+ /**
123
+ * @public
124
+ * @enum
125
+ */
126
+ export declare const UnmatchedSourceFieldsPolicy: {
127
+ readonly DROP: "drop";
128
+ readonly FAIL: "fail";
129
+ };
130
+ /**
131
+ * @public
132
+ */
133
+ export type UnmatchedSourceFieldsPolicy = (typeof UnmatchedSourceFieldsPolicy)[keyof typeof UnmatchedSourceFieldsPolicy];
134
+ /**
135
+ * @public
136
+ * @enum
137
+ */
138
+ export declare const FindingCategory: {
139
+ readonly ACCESS: "access";
140
+ readonly DATA: "data";
141
+ readonly INTERNAL: "internal";
142
+ readonly METADATA: "metadata";
143
+ };
144
+ /**
145
+ * @public
146
+ */
147
+ export type FindingCategory = (typeof FindingCategory)[keyof typeof FindingCategory];
71
148
  /**
72
149
  * @public
73
150
  * @enum
@@ -127,20 +204,6 @@ export declare const TableMaintenanceType: {
127
204
  * @public
128
205
  */
129
206
  export type TableMaintenanceType = (typeof TableMaintenanceType)[keyof typeof TableMaintenanceType];
130
- /**
131
- * @public
132
- * @enum
133
- */
134
- export declare const IcebergCompactionStrategy: {
135
- readonly AUTO: "auto";
136
- readonly BINPACK: "binpack";
137
- readonly SORT: "sort";
138
- readonly ZORDER: "z-order";
139
- };
140
- /**
141
- * @public
142
- */
143
- export type IcebergCompactionStrategy = (typeof IcebergCompactionStrategy)[keyof typeof IcebergCompactionStrategy];
144
207
  /**
145
208
  * @public
146
209
  * @enum
@@ -168,6 +231,68 @@ export declare const JobStatus: {
168
231
  * @public
169
232
  */
170
233
  export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
234
+ /**
235
+ * @public
236
+ * @enum
237
+ */
238
+ export declare const MigrationFailureCode: {
239
+ readonly DESTINATION_PERMISSIONS: "destinationPermissions";
240
+ readonly INTERNAL_ERROR: "internalError";
241
+ readonly OBJECT_COMPATIBILITY_REPORT: "objectCompatibilityReport";
242
+ readonly OBJECT_MIGRATION_REPORT: "objectMigrationReport";
243
+ readonly REPORT_BUCKET_NOT_SUPPORTED: "reportBucketNotSupported";
244
+ readonly RESOURCE_NOT_FOUND: "resourceNotFound";
245
+ readonly ROLE_PERMISSIONS: "rolePermissions";
246
+ readonly SOURCE_NOT_SUPPORTED: "sourceNotSupported";
247
+ readonly SOURCE_PERMISSIONS: "sourcePermissions";
248
+ readonly TABLE_COMPATIBILITY_REPORT: "tableCompatibilityReport";
249
+ };
250
+ /**
251
+ * @public
252
+ */
253
+ export type MigrationFailureCode = (typeof MigrationFailureCode)[keyof typeof MigrationFailureCode];
254
+ /**
255
+ * @public
256
+ * @enum
257
+ */
258
+ export declare const MigrationSourceType: {
259
+ readonly GLUE_TABLE: "glueTable";
260
+ };
261
+ /**
262
+ * @public
263
+ */
264
+ export type MigrationSourceType = (typeof MigrationSourceType)[keyof typeof MigrationSourceType];
265
+ /**
266
+ * @public
267
+ * @enum
268
+ */
269
+ export declare const MigrationState: {
270
+ readonly CANCELLED: "cancelled";
271
+ readonly CANCELLING: "cancelling";
272
+ readonly FAILED: "failed";
273
+ readonly MIGRATING: "migrating";
274
+ readonly NEW: "new";
275
+ readonly PENDING_REVIEW: "pendingReview";
276
+ readonly PLANNING: "planning";
277
+ readonly QUEUED: "queued";
278
+ readonly SUCCEEDED: "succeeded";
279
+ };
280
+ /**
281
+ * @public
282
+ */
283
+ export type MigrationState = (typeof MigrationState)[keyof typeof MigrationState];
284
+ /**
285
+ * @public
286
+ * @enum
287
+ */
288
+ export declare const MigrationType: {
289
+ readonly START: "start";
290
+ readonly SYNC: "sync";
291
+ };
292
+ /**
293
+ * @public
294
+ */
295
+ export type MigrationType = (typeof MigrationType)[keyof typeof MigrationType];
171
296
  /**
172
297
  * @public
173
298
  * @enum
@@ -207,3 +332,15 @@ export declare const ReplicationStatus: {
207
332
  * @public
208
333
  */
209
334
  export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
335
+ /**
336
+ * @public
337
+ * @enum
338
+ */
339
+ export declare const MigrationRequestedState: {
340
+ readonly CANCELLED: "cancelled";
341
+ readonly QUEUED: "queued";
342
+ };
343
+ /**
344
+ * @public
345
+ */
346
+ export type MigrationRequestedState = (typeof MigrationRequestedState)[keyof typeof MigrationRequestedState];