@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.
- 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
package/dist-types/S3Tables.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
|
+
import { type CompleteTableMigrationCommandInput, type CompleteTableMigrationCommandOutput } from "./commands/CompleteTableMigrationCommand";
|
|
2
3
|
import { type CreateNamespaceCommandInput, type CreateNamespaceCommandOutput } from "./commands/CreateNamespaceCommand";
|
|
3
4
|
import { type CreateTableBucketCommandInput, type CreateTableBucketCommandOutput } from "./commands/CreateTableBucketCommand";
|
|
4
5
|
import { type CreateTableCommandInput, type CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
@@ -24,6 +25,7 @@ import { type GetTableEncryptionCommandInput, type GetTableEncryptionCommandOutp
|
|
|
24
25
|
import { type GetTableMaintenanceConfigurationCommandInput, type GetTableMaintenanceConfigurationCommandOutput } from "./commands/GetTableMaintenanceConfigurationCommand";
|
|
25
26
|
import { type GetTableMaintenanceJobStatusCommandInput, type GetTableMaintenanceJobStatusCommandOutput } from "./commands/GetTableMaintenanceJobStatusCommand";
|
|
26
27
|
import { type GetTableMetadataLocationCommandInput, type GetTableMetadataLocationCommandOutput } from "./commands/GetTableMetadataLocationCommand";
|
|
28
|
+
import { type GetTableMigrationCommandInput, type GetTableMigrationCommandOutput } from "./commands/GetTableMigrationCommand";
|
|
27
29
|
import { type GetTablePolicyCommandInput, type GetTablePolicyCommandOutput } from "./commands/GetTablePolicyCommand";
|
|
28
30
|
import { type GetTableRecordExpirationConfigurationCommandInput, type GetTableRecordExpirationConfigurationCommandOutput } from "./commands/GetTableRecordExpirationConfigurationCommand";
|
|
29
31
|
import { type GetTableRecordExpirationJobStatusCommandInput, type GetTableRecordExpirationJobStatusCommandOutput } from "./commands/GetTableRecordExpirationJobStatusCommand";
|
|
@@ -32,6 +34,7 @@ import { type GetTableReplicationStatusCommandInput, type GetTableReplicationSta
|
|
|
32
34
|
import { type GetTableStorageClassCommandInput, type GetTableStorageClassCommandOutput } from "./commands/GetTableStorageClassCommand";
|
|
33
35
|
import { type ListNamespacesCommandInput, type ListNamespacesCommandOutput } from "./commands/ListNamespacesCommand";
|
|
34
36
|
import { type ListTableBucketsCommandInput, type ListTableBucketsCommandOutput } from "./commands/ListTableBucketsCommand";
|
|
37
|
+
import { type ListTableMigrationsCommandInput, type ListTableMigrationsCommandOutput } from "./commands/ListTableMigrationsCommand";
|
|
35
38
|
import { type ListTablesCommandInput, type ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
36
39
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
37
40
|
import { type PutTableBucketEncryptionCommandInput, type PutTableBucketEncryptionCommandOutput } from "./commands/PutTableBucketEncryptionCommand";
|
|
@@ -45,9 +48,12 @@ import { type PutTablePolicyCommandInput, type PutTablePolicyCommandOutput } fro
|
|
|
45
48
|
import { type PutTableRecordExpirationConfigurationCommandInput, type PutTableRecordExpirationConfigurationCommandOutput } from "./commands/PutTableRecordExpirationConfigurationCommand";
|
|
46
49
|
import { type PutTableReplicationCommandInput, type PutTableReplicationCommandOutput } from "./commands/PutTableReplicationCommand";
|
|
47
50
|
import { type RenameTableCommandInput, type RenameTableCommandOutput } from "./commands/RenameTableCommand";
|
|
51
|
+
import { type StartTableMigrationCommandInput, type StartTableMigrationCommandOutput } from "./commands/StartTableMigrationCommand";
|
|
52
|
+
import { type SyncTableMigrationCommandInput, type SyncTableMigrationCommandOutput } from "./commands/SyncTableMigrationCommand";
|
|
48
53
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
49
54
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
50
55
|
import { type UpdateTableMetadataLocationCommandInput, type UpdateTableMetadataLocationCommandOutput } from "./commands/UpdateTableMetadataLocationCommand";
|
|
56
|
+
import { type UpdateTableMigrationCommandInput, type UpdateTableMigrationCommandOutput } from "./commands/UpdateTableMigrationCommand";
|
|
51
57
|
import { S3TablesClient } from "./S3TablesClient";
|
|
52
58
|
/**
|
|
53
59
|
* @public
|
|
@@ -56,6 +62,12 @@ export interface S3TablesRequestOptions extends __HttpHandlerOptions {
|
|
|
56
62
|
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
57
63
|
}
|
|
58
64
|
export interface S3Tables {
|
|
65
|
+
/**
|
|
66
|
+
* @see {@link CompleteTableMigrationCommand}
|
|
67
|
+
*/
|
|
68
|
+
completeTableMigration(args: CompleteTableMigrationCommandInput, options?: S3TablesRequestOptions): Promise<CompleteTableMigrationCommandOutput>;
|
|
69
|
+
completeTableMigration(args: CompleteTableMigrationCommandInput, cb: (err: any, data?: CompleteTableMigrationCommandOutput) => void): void;
|
|
70
|
+
completeTableMigration(args: CompleteTableMigrationCommandInput, options: S3TablesRequestOptions, cb: (err: any, data?: CompleteTableMigrationCommandOutput) => void): void;
|
|
59
71
|
/**
|
|
60
72
|
* @see {@link CreateNamespaceCommand}
|
|
61
73
|
*/
|
|
@@ -207,6 +219,13 @@ export interface S3Tables {
|
|
|
207
219
|
getTableMetadataLocation(args: GetTableMetadataLocationCommandInput, options?: S3TablesRequestOptions): Promise<GetTableMetadataLocationCommandOutput>;
|
|
208
220
|
getTableMetadataLocation(args: GetTableMetadataLocationCommandInput, cb: (err: any, data?: GetTableMetadataLocationCommandOutput) => void): void;
|
|
209
221
|
getTableMetadataLocation(args: GetTableMetadataLocationCommandInput, options: S3TablesRequestOptions, cb: (err: any, data?: GetTableMetadataLocationCommandOutput) => void): void;
|
|
222
|
+
/**
|
|
223
|
+
* @see {@link GetTableMigrationCommand}
|
|
224
|
+
*/
|
|
225
|
+
getTableMigration(): Promise<GetTableMigrationCommandOutput>;
|
|
226
|
+
getTableMigration(args: GetTableMigrationCommandInput, options?: S3TablesRequestOptions): Promise<GetTableMigrationCommandOutput>;
|
|
227
|
+
getTableMigration(args: GetTableMigrationCommandInput, cb: (err: any, data?: GetTableMigrationCommandOutput) => void): void;
|
|
228
|
+
getTableMigration(args: GetTableMigrationCommandInput, options: S3TablesRequestOptions, cb: (err: any, data?: GetTableMigrationCommandOutput) => void): void;
|
|
210
229
|
/**
|
|
211
230
|
* @see {@link GetTablePolicyCommand}
|
|
212
231
|
*/
|
|
@@ -256,6 +275,13 @@ export interface S3Tables {
|
|
|
256
275
|
listTableBuckets(args: ListTableBucketsCommandInput, options?: S3TablesRequestOptions): Promise<ListTableBucketsCommandOutput>;
|
|
257
276
|
listTableBuckets(args: ListTableBucketsCommandInput, cb: (err: any, data?: ListTableBucketsCommandOutput) => void): void;
|
|
258
277
|
listTableBuckets(args: ListTableBucketsCommandInput, options: S3TablesRequestOptions, cb: (err: any, data?: ListTableBucketsCommandOutput) => void): void;
|
|
278
|
+
/**
|
|
279
|
+
* @see {@link ListTableMigrationsCommand}
|
|
280
|
+
*/
|
|
281
|
+
listTableMigrations(): Promise<ListTableMigrationsCommandOutput>;
|
|
282
|
+
listTableMigrations(args: ListTableMigrationsCommandInput, options?: S3TablesRequestOptions): Promise<ListTableMigrationsCommandOutput>;
|
|
283
|
+
listTableMigrations(args: ListTableMigrationsCommandInput, cb: (err: any, data?: ListTableMigrationsCommandOutput) => void): void;
|
|
284
|
+
listTableMigrations(args: ListTableMigrationsCommandInput, options: S3TablesRequestOptions, cb: (err: any, data?: ListTableMigrationsCommandOutput) => void): void;
|
|
259
285
|
/**
|
|
260
286
|
* @see {@link ListTablesCommand}
|
|
261
287
|
*/
|
|
@@ -334,6 +360,18 @@ export interface S3Tables {
|
|
|
334
360
|
renameTable(args: RenameTableCommandInput, options?: S3TablesRequestOptions): Promise<RenameTableCommandOutput>;
|
|
335
361
|
renameTable(args: RenameTableCommandInput, cb: (err: any, data?: RenameTableCommandOutput) => void): void;
|
|
336
362
|
renameTable(args: RenameTableCommandInput, options: S3TablesRequestOptions, cb: (err: any, data?: RenameTableCommandOutput) => void): void;
|
|
363
|
+
/**
|
|
364
|
+
* @see {@link StartTableMigrationCommand}
|
|
365
|
+
*/
|
|
366
|
+
startTableMigration(args: StartTableMigrationCommandInput, options?: S3TablesRequestOptions): Promise<StartTableMigrationCommandOutput>;
|
|
367
|
+
startTableMigration(args: StartTableMigrationCommandInput, cb: (err: any, data?: StartTableMigrationCommandOutput) => void): void;
|
|
368
|
+
startTableMigration(args: StartTableMigrationCommandInput, options: S3TablesRequestOptions, cb: (err: any, data?: StartTableMigrationCommandOutput) => void): void;
|
|
369
|
+
/**
|
|
370
|
+
* @see {@link SyncTableMigrationCommand}
|
|
371
|
+
*/
|
|
372
|
+
syncTableMigration(args: SyncTableMigrationCommandInput, options?: S3TablesRequestOptions): Promise<SyncTableMigrationCommandOutput>;
|
|
373
|
+
syncTableMigration(args: SyncTableMigrationCommandInput, cb: (err: any, data?: SyncTableMigrationCommandOutput) => void): void;
|
|
374
|
+
syncTableMigration(args: SyncTableMigrationCommandInput, options: S3TablesRequestOptions, cb: (err: any, data?: SyncTableMigrationCommandOutput) => void): void;
|
|
337
375
|
/**
|
|
338
376
|
* @see {@link TagResourceCommand}
|
|
339
377
|
*/
|
|
@@ -352,6 +390,12 @@ export interface S3Tables {
|
|
|
352
390
|
updateTableMetadataLocation(args: UpdateTableMetadataLocationCommandInput, options?: S3TablesRequestOptions): Promise<UpdateTableMetadataLocationCommandOutput>;
|
|
353
391
|
updateTableMetadataLocation(args: UpdateTableMetadataLocationCommandInput, cb: (err: any, data?: UpdateTableMetadataLocationCommandOutput) => void): void;
|
|
354
392
|
updateTableMetadataLocation(args: UpdateTableMetadataLocationCommandInput, options: S3TablesRequestOptions, cb: (err: any, data?: UpdateTableMetadataLocationCommandOutput) => void): void;
|
|
393
|
+
/**
|
|
394
|
+
* @see {@link UpdateTableMigrationCommand}
|
|
395
|
+
*/
|
|
396
|
+
updateTableMigration(args: UpdateTableMigrationCommandInput, options?: S3TablesRequestOptions): Promise<UpdateTableMigrationCommandOutput>;
|
|
397
|
+
updateTableMigration(args: UpdateTableMigrationCommandInput, cb: (err: any, data?: UpdateTableMigrationCommandOutput) => void): void;
|
|
398
|
+
updateTableMigration(args: UpdateTableMigrationCommandInput, options: S3TablesRequestOptions, cb: (err: any, data?: UpdateTableMigrationCommandOutput) => void): void;
|
|
355
399
|
/**
|
|
356
400
|
* @see {@link ListNamespacesCommand}
|
|
357
401
|
* @param args - command input.
|
|
@@ -366,6 +410,13 @@ export interface S3Tables {
|
|
|
366
410
|
* @returns AsyncIterable of {@link ListTableBucketsCommandOutput}.
|
|
367
411
|
*/
|
|
368
412
|
paginateListTableBuckets(args?: ListTableBucketsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTableBucketsCommandOutput>;
|
|
413
|
+
/**
|
|
414
|
+
* @see {@link ListTableMigrationsCommand}
|
|
415
|
+
* @param args - command input.
|
|
416
|
+
* @param paginationConfig - optional pagination config.
|
|
417
|
+
* @returns AsyncIterable of {@link ListTableMigrationsCommandOutput}.
|
|
418
|
+
*/
|
|
419
|
+
paginateListTableMigrations(args?: ListTableMigrationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTableMigrationsCommandOutput>;
|
|
369
420
|
/**
|
|
370
421
|
* @see {@link ListTablesCommand}
|
|
371
422
|
* @param args - command input.
|
|
@@ -375,7 +426,7 @@ export interface S3Tables {
|
|
|
375
426
|
paginateListTables(args: ListTablesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTablesCommandOutput>;
|
|
376
427
|
}
|
|
377
428
|
/**
|
|
378
|
-
* <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/
|
|
429
|
+
* <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>
|
|
379
430
|
* @public
|
|
380
431
|
*/
|
|
381
432
|
export declare class S3Tables extends S3TablesClient implements S3Tables {
|
|
@@ -6,6 +6,7 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
|
|
|
6
6
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
7
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
8
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { CompleteTableMigrationCommandInput, CompleteTableMigrationCommandOutput } from "./commands/CompleteTableMigrationCommand";
|
|
9
10
|
import type { CreateNamespaceCommandInput, CreateNamespaceCommandOutput } from "./commands/CreateNamespaceCommand";
|
|
10
11
|
import type { CreateTableBucketCommandInput, CreateTableBucketCommandOutput } from "./commands/CreateTableBucketCommand";
|
|
11
12
|
import type { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
@@ -31,6 +32,7 @@ import type { GetTableEncryptionCommandInput, GetTableEncryptionCommandOutput }
|
|
|
31
32
|
import type { GetTableMaintenanceConfigurationCommandInput, GetTableMaintenanceConfigurationCommandOutput } from "./commands/GetTableMaintenanceConfigurationCommand";
|
|
32
33
|
import type { GetTableMaintenanceJobStatusCommandInput, GetTableMaintenanceJobStatusCommandOutput } from "./commands/GetTableMaintenanceJobStatusCommand";
|
|
33
34
|
import type { GetTableMetadataLocationCommandInput, GetTableMetadataLocationCommandOutput } from "./commands/GetTableMetadataLocationCommand";
|
|
35
|
+
import type { GetTableMigrationCommandInput, GetTableMigrationCommandOutput } from "./commands/GetTableMigrationCommand";
|
|
34
36
|
import type { GetTablePolicyCommandInput, GetTablePolicyCommandOutput } from "./commands/GetTablePolicyCommand";
|
|
35
37
|
import type { GetTableRecordExpirationConfigurationCommandInput, GetTableRecordExpirationConfigurationCommandOutput } from "./commands/GetTableRecordExpirationConfigurationCommand";
|
|
36
38
|
import type { GetTableRecordExpirationJobStatusCommandInput, GetTableRecordExpirationJobStatusCommandOutput } from "./commands/GetTableRecordExpirationJobStatusCommand";
|
|
@@ -39,6 +41,7 @@ import type { GetTableReplicationStatusCommandInput, GetTableReplicationStatusCo
|
|
|
39
41
|
import type { GetTableStorageClassCommandInput, GetTableStorageClassCommandOutput } from "./commands/GetTableStorageClassCommand";
|
|
40
42
|
import type { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "./commands/ListNamespacesCommand";
|
|
41
43
|
import type { ListTableBucketsCommandInput, ListTableBucketsCommandOutput } from "./commands/ListTableBucketsCommand";
|
|
44
|
+
import type { ListTableMigrationsCommandInput, ListTableMigrationsCommandOutput } from "./commands/ListTableMigrationsCommand";
|
|
42
45
|
import type { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
43
46
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
44
47
|
import type { PutTableBucketEncryptionCommandInput, PutTableBucketEncryptionCommandOutput } from "./commands/PutTableBucketEncryptionCommand";
|
|
@@ -52,20 +55,23 @@ import type { PutTablePolicyCommandInput, PutTablePolicyCommandOutput } from "./
|
|
|
52
55
|
import type { PutTableRecordExpirationConfigurationCommandInput, PutTableRecordExpirationConfigurationCommandOutput } from "./commands/PutTableRecordExpirationConfigurationCommand";
|
|
53
56
|
import type { PutTableReplicationCommandInput, PutTableReplicationCommandOutput } from "./commands/PutTableReplicationCommand";
|
|
54
57
|
import type { RenameTableCommandInput, RenameTableCommandOutput } from "./commands/RenameTableCommand";
|
|
58
|
+
import type { StartTableMigrationCommandInput, StartTableMigrationCommandOutput } from "./commands/StartTableMigrationCommand";
|
|
59
|
+
import type { SyncTableMigrationCommandInput, SyncTableMigrationCommandOutput } from "./commands/SyncTableMigrationCommand";
|
|
55
60
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
56
61
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
57
62
|
import type { UpdateTableMetadataLocationCommandInput, UpdateTableMetadataLocationCommandOutput } from "./commands/UpdateTableMetadataLocationCommand";
|
|
63
|
+
import type { UpdateTableMigrationCommandInput, UpdateTableMigrationCommandOutput } from "./commands/UpdateTableMigrationCommand";
|
|
58
64
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
59
65
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
60
66
|
export { __Client };
|
|
61
67
|
/**
|
|
62
68
|
* @public
|
|
63
69
|
*/
|
|
64
|
-
export type ServiceInputTypes = CreateNamespaceCommandInput | CreateTableBucketCommandInput | CreateTableCommandInput | DeleteNamespaceCommandInput | DeleteTableBucketCommandInput | DeleteTableBucketEncryptionCommandInput | DeleteTableBucketMetricsConfigurationCommandInput | DeleteTableBucketPolicyCommandInput | DeleteTableBucketReplicationCommandInput | DeleteTableCommandInput | DeleteTablePolicyCommandInput | DeleteTableReplicationCommandInput | GetNamespaceCommandInput | GetTableBucketCommandInput | GetTableBucketEncryptionCommandInput | GetTableBucketMaintenanceConfigurationCommandInput | GetTableBucketMetricsConfigurationCommandInput | GetTableBucketPolicyCommandInput | GetTableBucketReplicationCommandInput | GetTableBucketStorageClassCommandInput | GetTableCommandInput | GetTableEncryptionCommandInput | GetTableMaintenanceConfigurationCommandInput | GetTableMaintenanceJobStatusCommandInput | GetTableMetadataLocationCommandInput | GetTablePolicyCommandInput | GetTableRecordExpirationConfigurationCommandInput | GetTableRecordExpirationJobStatusCommandInput | GetTableReplicationCommandInput | GetTableReplicationStatusCommandInput | GetTableStorageClassCommandInput | ListNamespacesCommandInput | ListTableBucketsCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | PutTableBucketEncryptionCommandInput | PutTableBucketMaintenanceConfigurationCommandInput | PutTableBucketMetricsConfigurationCommandInput | PutTableBucketPolicyCommandInput | PutTableBucketReplicationCommandInput | PutTableBucketStorageClassCommandInput | PutTableMaintenanceConfigurationCommandInput | PutTablePolicyCommandInput | PutTableRecordExpirationConfigurationCommandInput | PutTableReplicationCommandInput | RenameTableCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateTableMetadataLocationCommandInput;
|
|
70
|
+
export type ServiceInputTypes = CompleteTableMigrationCommandInput | CreateNamespaceCommandInput | CreateTableBucketCommandInput | CreateTableCommandInput | DeleteNamespaceCommandInput | DeleteTableBucketCommandInput | DeleteTableBucketEncryptionCommandInput | DeleteTableBucketMetricsConfigurationCommandInput | DeleteTableBucketPolicyCommandInput | DeleteTableBucketReplicationCommandInput | DeleteTableCommandInput | DeleteTablePolicyCommandInput | DeleteTableReplicationCommandInput | GetNamespaceCommandInput | GetTableBucketCommandInput | GetTableBucketEncryptionCommandInput | GetTableBucketMaintenanceConfigurationCommandInput | GetTableBucketMetricsConfigurationCommandInput | GetTableBucketPolicyCommandInput | GetTableBucketReplicationCommandInput | GetTableBucketStorageClassCommandInput | GetTableCommandInput | GetTableEncryptionCommandInput | GetTableMaintenanceConfigurationCommandInput | GetTableMaintenanceJobStatusCommandInput | GetTableMetadataLocationCommandInput | GetTableMigrationCommandInput | GetTablePolicyCommandInput | GetTableRecordExpirationConfigurationCommandInput | GetTableRecordExpirationJobStatusCommandInput | GetTableReplicationCommandInput | GetTableReplicationStatusCommandInput | GetTableStorageClassCommandInput | ListNamespacesCommandInput | ListTableBucketsCommandInput | ListTableMigrationsCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | PutTableBucketEncryptionCommandInput | PutTableBucketMaintenanceConfigurationCommandInput | PutTableBucketMetricsConfigurationCommandInput | PutTableBucketPolicyCommandInput | PutTableBucketReplicationCommandInput | PutTableBucketStorageClassCommandInput | PutTableMaintenanceConfigurationCommandInput | PutTablePolicyCommandInput | PutTableRecordExpirationConfigurationCommandInput | PutTableReplicationCommandInput | RenameTableCommandInput | StartTableMigrationCommandInput | SyncTableMigrationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateTableMetadataLocationCommandInput | UpdateTableMigrationCommandInput;
|
|
65
71
|
/**
|
|
66
72
|
* @public
|
|
67
73
|
*/
|
|
68
|
-
export type ServiceOutputTypes = CreateNamespaceCommandOutput | CreateTableBucketCommandOutput | CreateTableCommandOutput | DeleteNamespaceCommandOutput | DeleteTableBucketCommandOutput | DeleteTableBucketEncryptionCommandOutput | DeleteTableBucketMetricsConfigurationCommandOutput | DeleteTableBucketPolicyCommandOutput | DeleteTableBucketReplicationCommandOutput | DeleteTableCommandOutput | DeleteTablePolicyCommandOutput | DeleteTableReplicationCommandOutput | GetNamespaceCommandOutput | GetTableBucketCommandOutput | GetTableBucketEncryptionCommandOutput | GetTableBucketMaintenanceConfigurationCommandOutput | GetTableBucketMetricsConfigurationCommandOutput | GetTableBucketPolicyCommandOutput | GetTableBucketReplicationCommandOutput | GetTableBucketStorageClassCommandOutput | GetTableCommandOutput | GetTableEncryptionCommandOutput | GetTableMaintenanceConfigurationCommandOutput | GetTableMaintenanceJobStatusCommandOutput | GetTableMetadataLocationCommandOutput | GetTablePolicyCommandOutput | GetTableRecordExpirationConfigurationCommandOutput | GetTableRecordExpirationJobStatusCommandOutput | GetTableReplicationCommandOutput | GetTableReplicationStatusCommandOutput | GetTableStorageClassCommandOutput | ListNamespacesCommandOutput | ListTableBucketsCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | PutTableBucketEncryptionCommandOutput | PutTableBucketMaintenanceConfigurationCommandOutput | PutTableBucketMetricsConfigurationCommandOutput | PutTableBucketPolicyCommandOutput | PutTableBucketReplicationCommandOutput | PutTableBucketStorageClassCommandOutput | PutTableMaintenanceConfigurationCommandOutput | PutTablePolicyCommandOutput | PutTableRecordExpirationConfigurationCommandOutput | PutTableReplicationCommandOutput | RenameTableCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateTableMetadataLocationCommandOutput;
|
|
74
|
+
export type ServiceOutputTypes = CompleteTableMigrationCommandOutput | CreateNamespaceCommandOutput | CreateTableBucketCommandOutput | CreateTableCommandOutput | DeleteNamespaceCommandOutput | DeleteTableBucketCommandOutput | DeleteTableBucketEncryptionCommandOutput | DeleteTableBucketMetricsConfigurationCommandOutput | DeleteTableBucketPolicyCommandOutput | DeleteTableBucketReplicationCommandOutput | DeleteTableCommandOutput | DeleteTablePolicyCommandOutput | DeleteTableReplicationCommandOutput | GetNamespaceCommandOutput | GetTableBucketCommandOutput | GetTableBucketEncryptionCommandOutput | GetTableBucketMaintenanceConfigurationCommandOutput | GetTableBucketMetricsConfigurationCommandOutput | GetTableBucketPolicyCommandOutput | GetTableBucketReplicationCommandOutput | GetTableBucketStorageClassCommandOutput | GetTableCommandOutput | GetTableEncryptionCommandOutput | GetTableMaintenanceConfigurationCommandOutput | GetTableMaintenanceJobStatusCommandOutput | GetTableMetadataLocationCommandOutput | GetTableMigrationCommandOutput | GetTablePolicyCommandOutput | GetTableRecordExpirationConfigurationCommandOutput | GetTableRecordExpirationJobStatusCommandOutput | GetTableReplicationCommandOutput | GetTableReplicationStatusCommandOutput | GetTableStorageClassCommandOutput | ListNamespacesCommandOutput | ListTableBucketsCommandOutput | ListTableMigrationsCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | PutTableBucketEncryptionCommandOutput | PutTableBucketMaintenanceConfigurationCommandOutput | PutTableBucketMetricsConfigurationCommandOutput | PutTableBucketPolicyCommandOutput | PutTableBucketReplicationCommandOutput | PutTableBucketStorageClassCommandOutput | PutTableMaintenanceConfigurationCommandOutput | PutTablePolicyCommandOutput | PutTableRecordExpirationConfigurationCommandOutput | PutTableReplicationCommandOutput | RenameTableCommandOutput | StartTableMigrationCommandOutput | SyncTableMigrationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateTableMetadataLocationCommandOutput | UpdateTableMigrationCommandOutput;
|
|
69
75
|
/**
|
|
70
76
|
* @public
|
|
71
77
|
*/
|
|
@@ -218,7 +224,7 @@ export type S3TablesClientResolvedConfigType = __SmithyResolvedConfiguration<__H
|
|
|
218
224
|
export interface S3TablesClientResolvedConfig extends S3TablesClientResolvedConfigType {
|
|
219
225
|
}
|
|
220
226
|
/**
|
|
221
|
-
* <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/
|
|
227
|
+
* <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>
|
|
222
228
|
* @public
|
|
223
229
|
*/
|
|
224
230
|
export declare class S3TablesClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, S3TablesClientResolvedConfig> {
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CompleteTableMigrationRequest } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CompleteTableMigrationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CompleteTableMigrationCommandInput extends CompleteTableMigrationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CompleteTableMigrationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CompleteTableMigrationCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CompleteTableMigrationCommand_base: {
|
|
22
|
+
new (input: CompleteTableMigrationCommandInput): import("@smithy/core/client").CommandImpl<CompleteTableMigrationCommandInput, CompleteTableMigrationCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CompleteTableMigrationCommandInput): import("@smithy/core/client").CommandImpl<CompleteTableMigrationCommandInput, CompleteTableMigrationCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Completes the migration of a table. The table's most recent migration must be in the <code>succeeded</code>, <code>failed</code> or <code>cancelled</code> state. After you complete the migration, you can't sync the table again, and you can write to and maintain the table as you do any other table: compaction starts, and unreferenced file removal follows the table bucket's configuration. You can't undo this operation. Calling it again for the same table returns a <code>ConflictException</code>.</p> <dl> <dt>Permissions</dt> <dd> <ul> <li> <p>You must have the <code>s3tables:CompleteTableMigration</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, CompleteTableMigrationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
32
|
+
* // const { S3TablesClient, CompleteTableMigrationCommand } = 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 = { // CompleteTableMigrationRequest
|
|
37
|
+
* tableARN: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new CompleteTableMigrationCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param CompleteTableMigrationCommandInput - {@link CompleteTableMigrationCommandInput}
|
|
46
|
+
* @returns {@link CompleteTableMigrationCommandOutput}
|
|
47
|
+
* @see {@link CompleteTableMigrationCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link CompleteTableMigrationCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>The action cannot be performed because you do not have the required permission.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link BadRequestException} (client fault)
|
|
55
|
+
* <p>The request is invalid or malformed.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
61
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
64
|
+
* <p>The request failed due to an internal server error.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NotFoundException} (client fault)
|
|
67
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
70
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link S3TablesServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class CompleteTableMigrationCommand extends CompleteTableMigrationCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: CompleteTableMigrationRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: CompleteTableMigrationCommandInput;
|
|
87
|
+
output: CompleteTableMigrationCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetTableMigrationRequest, GetTableMigrationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetTableMigrationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetTableMigrationCommandInput extends GetTableMigrationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetTableMigrationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetTableMigrationCommandOutput extends GetTableMigrationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetTableMigrationCommand_base: {
|
|
22
|
+
new (input: GetTableMigrationCommandInput): import("@smithy/core/client").CommandImpl<GetTableMigrationCommandInput, GetTableMigrationCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetTableMigrationCommandInput]): import("@smithy/core/client").CommandImpl<GetTableMigrationCommandInput, GetTableMigrationCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Gets the details of a migration, including its state, the reason it failed, its statistics and the location of its reports. Identify the migration by its <code>migrationId</code>, or specify the <code>tableARN</code> of a destination table to get that table's most recent migration.</p> <dl> <dt>Permissions</dt> <dd> <ul> <li> <p>You must have the <code>s3tables:GetTableMigration</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, GetTableMigrationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
32
|
+
* // const { S3TablesClient, GetTableMigrationCommand } = 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 = { // GetTableMigrationRequest
|
|
37
|
+
* migrationId: "STRING_VALUE",
|
|
38
|
+
* tableARN: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetTableMigrationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetTableMigrationResponse
|
|
43
|
+
* // migrationId: "STRING_VALUE", // required
|
|
44
|
+
* // tableBucketARN: "STRING_VALUE", // required
|
|
45
|
+
* // namespace: "STRING_VALUE", // required
|
|
46
|
+
* // tableARN: "STRING_VALUE",
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // type: "start" || "sync", // required
|
|
49
|
+
* // state: "new" || "planning" || "pendingReview" || "queued" || "migrating" || "succeeded" || "failed" || "cancelling" || "cancelled", // required
|
|
50
|
+
* // roleARN: "STRING_VALUE", // required
|
|
51
|
+
* // reviewMigrationPlan: true || false, // required
|
|
52
|
+
* // hasValidPlan: true || false,
|
|
53
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // stateUpdatedAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // failureReason: { // MigrationFailureReason
|
|
56
|
+
* // code: "rolePermissions" || "sourcePermissions" || "destinationPermissions" || "resourceNotFound" || "sourceNotSupported" || "objectMigrationReport" || "objectCompatibilityReport" || "tableCompatibilityReport" || "internalError" || "reportBucketNotSupported", // required
|
|
57
|
+
* // detail: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // planningStats: { // PlanningStats
|
|
60
|
+
* // objectsScanned: Number("long"),
|
|
61
|
+
* // objectsPlanned: Number("long"),
|
|
62
|
+
* // partitionCount: Number("long"),
|
|
63
|
+
* // },
|
|
64
|
+
* // migrationStats: { // MigrationStats
|
|
65
|
+
* // objectsMigrated: Number("long"),
|
|
66
|
+
* // objectsFailedMigration: Number("long"),
|
|
67
|
+
* // objectsPendingMigration: Number("long"),
|
|
68
|
+
* // },
|
|
69
|
+
* // sourceType: "glueTable", // required
|
|
70
|
+
* // source: { // SourceConfiguration Union: only one key present
|
|
71
|
+
* // glueTable: { // GlueTableSource
|
|
72
|
+
* // catalogId: "STRING_VALUE", // required
|
|
73
|
+
* // databaseName: "STRING_VALUE", // required
|
|
74
|
+
* // tableName: "STRING_VALUE", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // dataMigration: { // DataMigrationOverview
|
|
78
|
+
* // maintenanceSettings: { // MaintenanceSettings
|
|
79
|
+
* // icebergCompaction: { // MigrationCompactionSettings
|
|
80
|
+
* // targetFileSizeMB: Number("int"),
|
|
81
|
+
* // strategy: "auto" || "binpack" || "sort" || "z-order",
|
|
82
|
+
* // },
|
|
83
|
+
* // icebergSnapshotManagement: { // MigrationSnapshotManagementSettings
|
|
84
|
+
* // minSnapshotsToKeep: Number("int"),
|
|
85
|
+
* // maxSnapshotAgeHours: Number("int"),
|
|
86
|
+
* // },
|
|
87
|
+
* // },
|
|
88
|
+
* // migrationPolicies: { // MigrationPolicies
|
|
89
|
+
* // unmatchedSourceFieldsPolicy: "fail" || "drop",
|
|
90
|
+
* // incompatibleValuesPolicy: "fail" || "setNull",
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // migrationOutput: { // MigrationOutputOverview
|
|
94
|
+
* // bucket: "STRING_VALUE", // required
|
|
95
|
+
* // tableCompatibilityReport: { // ReportOverview
|
|
96
|
+
* // prefix: "STRING_VALUE",
|
|
97
|
+
* // key: "STRING_VALUE",
|
|
98
|
+
* // checksumCRC64NVME: "STRING_VALUE",
|
|
99
|
+
* // invalidFindings: { // FindingCategoryCounts
|
|
100
|
+
* // "<keys>": Number("long"),
|
|
101
|
+
* // },
|
|
102
|
+
* // },
|
|
103
|
+
* // objectCompatibilityReport: {
|
|
104
|
+
* // prefix: "STRING_VALUE",
|
|
105
|
+
* // key: "STRING_VALUE",
|
|
106
|
+
* // checksumCRC64NVME: "STRING_VALUE",
|
|
107
|
+
* // invalidFindings: {
|
|
108
|
+
* // "<keys>": Number("long"),
|
|
109
|
+
* // },
|
|
110
|
+
* // },
|
|
111
|
+
* // objectMigrationReport: {
|
|
112
|
+
* // prefix: "STRING_VALUE",
|
|
113
|
+
* // key: "STRING_VALUE",
|
|
114
|
+
* // checksumCRC64NVME: "STRING_VALUE",
|
|
115
|
+
* // invalidFindings: {
|
|
116
|
+
* // "<keys>": Number("long"),
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // },
|
|
120
|
+
* // };
|
|
121
|
+
*
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* @param GetTableMigrationCommandInput - {@link GetTableMigrationCommandInput}
|
|
125
|
+
* @returns {@link GetTableMigrationCommandOutput}
|
|
126
|
+
* @see {@link GetTableMigrationCommandInput} for command's `input` shape.
|
|
127
|
+
* @see {@link GetTableMigrationCommandOutput} for command's `response` shape.
|
|
128
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
131
|
+
* <p>The action cannot be performed because you do not have the required permission.</p>
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link BadRequestException} (client fault)
|
|
134
|
+
* <p>The request is invalid or malformed.</p>
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
137
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
140
|
+
* <p>The request failed due to an internal server error.</p>
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link NotFoundException} (client fault)
|
|
143
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
146
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link S3TablesServiceException}
|
|
149
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
150
|
+
*
|
|
151
|
+
*
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export declare class GetTableMigrationCommand extends GetTableMigrationCommand_base {
|
|
155
|
+
/** @internal type navigation helper, not in runtime. */
|
|
156
|
+
protected static __types: {
|
|
157
|
+
api: {
|
|
158
|
+
input: GetTableMigrationRequest;
|
|
159
|
+
output: GetTableMigrationResponse;
|
|
160
|
+
};
|
|
161
|
+
sdk: {
|
|
162
|
+
input: GetTableMigrationCommandInput;
|
|
163
|
+
output: GetTableMigrationCommandOutput;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListTableMigrationsRequest, ListTableMigrationsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListTableMigrationsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListTableMigrationsCommandInput extends ListTableMigrationsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListTableMigrationsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListTableMigrationsCommandOutput extends ListTableMigrationsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListTableMigrationsCommand_base: {
|
|
22
|
+
new (input: ListTableMigrationsCommandInput): import("@smithy/core/client").CommandImpl<ListTableMigrationsCommandInput, ListTableMigrationsCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListTableMigrationsCommandInput]): import("@smithy/core/client").CommandImpl<ListTableMigrationsCommandInput, ListTableMigrationsCommandOutput, import("..").S3TablesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the migrations whose destination is in a table bucket, a namespace or a table. Specify a <code>tableBucketARN</code> to list the migrations into a table bucket, and add a <code>namespace</code>, or a <code>namespace</code> and a <code>name</code>, to narrow the list. Or specify a <code>tableARN</code> to list the migrations into a table.</p> <p>Migrations are listed newest first. Results are paginated: use <code>maxResults</code> to set the page size, and pass the <code>nextToken</code> from a response to retrieve the next page of results. A page can contain fewer migrations than <code>maxResults</code>, or none, and still return a <code>nextToken</code>. Continue until a response has no <code>nextToken</code>.</p> <dl> <dt>Permissions</dt> <dd> <ul> <li> <p>You must have the <code>s3tables:ListTableMigrations</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, ListTableMigrationsCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
32
|
+
* // const { S3TablesClient, ListTableMigrationsCommand } = 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 = { // ListTableMigrationsRequest
|
|
37
|
+
* tableBucketARN: "STRING_VALUE",
|
|
38
|
+
* namespace: "STRING_VALUE",
|
|
39
|
+
* name: "STRING_VALUE",
|
|
40
|
+
* tableARN: "STRING_VALUE",
|
|
41
|
+
* state: "new" || "planning" || "pendingReview" || "queued" || "migrating" || "succeeded" || "failed" || "cancelling" || "cancelled",
|
|
42
|
+
* hasValidPlan: true || false,
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListTableMigrationsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListTableMigrationsResponse
|
|
49
|
+
* // migrations: [ // MigrationSummaryList // required
|
|
50
|
+
* // { // MigrationSummary
|
|
51
|
+
* // migrationId: "STRING_VALUE", // required
|
|
52
|
+
* // tableBucketARN: "STRING_VALUE", // required
|
|
53
|
+
* // namespace: "STRING_VALUE", // required
|
|
54
|
+
* // tableARN: "STRING_VALUE",
|
|
55
|
+
* // name: "STRING_VALUE", // required
|
|
56
|
+
* // type: "start" || "sync", // required
|
|
57
|
+
* // state: "new" || "planning" || "pendingReview" || "queued" || "migrating" || "succeeded" || "failed" || "cancelling" || "cancelled", // required
|
|
58
|
+
* // hasValidPlan: true || false,
|
|
59
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // stateUpdatedAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // nextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param ListTableMigrationsCommandInput - {@link ListTableMigrationsCommandInput}
|
|
69
|
+
* @returns {@link ListTableMigrationsCommandOutput}
|
|
70
|
+
* @see {@link ListTableMigrationsCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link ListTableMigrationsCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>The action cannot be performed because you do not have the required permission.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link BadRequestException} (client fault)
|
|
78
|
+
* <p>The request is invalid or malformed.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
81
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
84
|
+
* <p>The request failed due to an internal server error.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link NotFoundException} (client fault)
|
|
87
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
90
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link S3TablesServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class ListTableMigrationsCommand extends ListTableMigrationsCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: ListTableMigrationsRequest;
|
|
103
|
+
output: ListTableMigrationsResponse;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: ListTableMigrationsCommandInput;
|
|
107
|
+
output: ListTableMigrationsCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|