@aws-sdk/client-s3tables 3.975.0 → 3.980.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +12 -7
- package/dist-es/S3Tables.js +9 -1
- package/dist-types/S3Tables.d.ts +22 -1
- package/dist-types/ts3.4/S3Tables.d.ts +26 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -1843,6 +1843,12 @@ class UpdateTableMetadataLocationCommand extends smithyClient.Command
|
|
|
1843
1843
|
.build() {
|
|
1844
1844
|
}
|
|
1845
1845
|
|
|
1846
|
+
const paginateListNamespaces = core.createPaginator(S3TablesClient, ListNamespacesCommand, "continuationToken", "continuationToken", "maxNamespaces");
|
|
1847
|
+
|
|
1848
|
+
const paginateListTableBuckets = core.createPaginator(S3TablesClient, ListTableBucketsCommand, "continuationToken", "continuationToken", "maxBuckets");
|
|
1849
|
+
|
|
1850
|
+
const paginateListTables = core.createPaginator(S3TablesClient, ListTablesCommand, "continuationToken", "continuationToken", "maxTables");
|
|
1851
|
+
|
|
1846
1852
|
const commands = {
|
|
1847
1853
|
CreateNamespaceCommand,
|
|
1848
1854
|
CreateTableCommand,
|
|
@@ -1894,15 +1900,14 @@ const commands = {
|
|
|
1894
1900
|
UntagResourceCommand,
|
|
1895
1901
|
UpdateTableMetadataLocationCommand,
|
|
1896
1902
|
};
|
|
1903
|
+
const paginators = {
|
|
1904
|
+
paginateListNamespaces,
|
|
1905
|
+
paginateListTableBuckets,
|
|
1906
|
+
paginateListTables,
|
|
1907
|
+
};
|
|
1897
1908
|
class S3Tables extends S3TablesClient {
|
|
1898
1909
|
}
|
|
1899
|
-
smithyClient.createAggregatedClient(commands, S3Tables);
|
|
1900
|
-
|
|
1901
|
-
const paginateListNamespaces = core.createPaginator(S3TablesClient, ListNamespacesCommand, "continuationToken", "continuationToken", "maxNamespaces");
|
|
1902
|
-
|
|
1903
|
-
const paginateListTableBuckets = core.createPaginator(S3TablesClient, ListTableBucketsCommand, "continuationToken", "continuationToken", "maxBuckets");
|
|
1904
|
-
|
|
1905
|
-
const paginateListTables = core.createPaginator(S3TablesClient, ListTablesCommand, "continuationToken", "continuationToken", "maxTables");
|
|
1910
|
+
smithyClient.createAggregatedClient(commands, S3Tables, { paginators });
|
|
1906
1911
|
|
|
1907
1912
|
const SSEAlgorithm = {
|
|
1908
1913
|
AES256: "AES256",
|
package/dist-es/S3Tables.js
CHANGED
|
@@ -48,6 +48,9 @@ import { RenameTableCommand } from "./commands/RenameTableCommand";
|
|
|
48
48
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
49
49
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
50
50
|
import { UpdateTableMetadataLocationCommand, } from "./commands/UpdateTableMetadataLocationCommand";
|
|
51
|
+
import { paginateListNamespaces } from "./pagination/ListNamespacesPaginator";
|
|
52
|
+
import { paginateListTableBuckets } from "./pagination/ListTableBucketsPaginator";
|
|
53
|
+
import { paginateListTables } from "./pagination/ListTablesPaginator";
|
|
51
54
|
import { S3TablesClient } from "./S3TablesClient";
|
|
52
55
|
const commands = {
|
|
53
56
|
CreateNamespaceCommand,
|
|
@@ -100,6 +103,11 @@ const commands = {
|
|
|
100
103
|
UntagResourceCommand,
|
|
101
104
|
UpdateTableMetadataLocationCommand,
|
|
102
105
|
};
|
|
106
|
+
const paginators = {
|
|
107
|
+
paginateListNamespaces,
|
|
108
|
+
paginateListTableBuckets,
|
|
109
|
+
paginateListTables,
|
|
110
|
+
};
|
|
103
111
|
export class S3Tables extends S3TablesClient {
|
|
104
112
|
}
|
|
105
|
-
createAggregatedClient(commands, S3Tables);
|
|
113
|
+
createAggregatedClient(commands, S3Tables, { paginators });
|
package/dist-types/S3Tables.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateNamespaceCommandInput, CreateNamespaceCommandOutput } from "./commands/CreateNamespaceCommand";
|
|
3
3
|
import { CreateTableBucketCommandInput, CreateTableBucketCommandOutput } from "./commands/CreateTableBucketCommand";
|
|
4
4
|
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
@@ -346,6 +346,27 @@ export interface S3Tables {
|
|
|
346
346
|
updateTableMetadataLocation(args: UpdateTableMetadataLocationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTableMetadataLocationCommandOutput>;
|
|
347
347
|
updateTableMetadataLocation(args: UpdateTableMetadataLocationCommandInput, cb: (err: any, data?: UpdateTableMetadataLocationCommandOutput) => void): void;
|
|
348
348
|
updateTableMetadataLocation(args: UpdateTableMetadataLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTableMetadataLocationCommandOutput) => void): void;
|
|
349
|
+
/**
|
|
350
|
+
* @see {@link ListNamespacesCommand}
|
|
351
|
+
* @param args - command input.
|
|
352
|
+
* @param paginationConfig - optional pagination config.
|
|
353
|
+
* @returns AsyncIterable of {@link ListNamespacesCommandOutput}.
|
|
354
|
+
*/
|
|
355
|
+
paginateListNamespaces(args: ListNamespacesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListNamespacesCommandOutput>;
|
|
356
|
+
/**
|
|
357
|
+
* @see {@link ListTableBucketsCommand}
|
|
358
|
+
* @param args - command input.
|
|
359
|
+
* @param paginationConfig - optional pagination config.
|
|
360
|
+
* @returns AsyncIterable of {@link ListTableBucketsCommandOutput}.
|
|
361
|
+
*/
|
|
362
|
+
paginateListTableBuckets(args?: ListTableBucketsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTableBucketsCommandOutput>;
|
|
363
|
+
/**
|
|
364
|
+
* @see {@link ListTablesCommand}
|
|
365
|
+
* @param args - command input.
|
|
366
|
+
* @param paginationConfig - optional pagination config.
|
|
367
|
+
* @returns AsyncIterable of {@link ListTablesCommandOutput}.
|
|
368
|
+
*/
|
|
369
|
+
paginateListTables(args: ListTablesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTablesCommandOutput>;
|
|
349
370
|
}
|
|
350
371
|
/**
|
|
351
372
|
* <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>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateNamespaceCommandInput,
|
|
4
8
|
CreateNamespaceCommandOutput,
|
|
@@ -884,5 +888,26 @@ export interface S3Tables {
|
|
|
884
888
|
options: __HttpHandlerOptions,
|
|
885
889
|
cb: (err: any, data?: UpdateTableMetadataLocationCommandOutput) => void
|
|
886
890
|
): void;
|
|
891
|
+
paginateListNamespaces(
|
|
892
|
+
args: ListNamespacesCommandInput,
|
|
893
|
+
paginationConfig?: Pick<
|
|
894
|
+
PaginationConfiguration,
|
|
895
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
896
|
+
>
|
|
897
|
+
): Paginator<ListNamespacesCommandOutput>;
|
|
898
|
+
paginateListTableBuckets(
|
|
899
|
+
args?: ListTableBucketsCommandInput,
|
|
900
|
+
paginationConfig?: Pick<
|
|
901
|
+
PaginationConfiguration,
|
|
902
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
903
|
+
>
|
|
904
|
+
): Paginator<ListTableBucketsCommandOutput>;
|
|
905
|
+
paginateListTables(
|
|
906
|
+
args: ListTablesCommandInput,
|
|
907
|
+
paginationConfig?: Pick<
|
|
908
|
+
PaginationConfiguration,
|
|
909
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
910
|
+
>
|
|
911
|
+
): Paginator<ListTablesCommandOutput>;
|
|
887
912
|
}
|
|
888
913
|
export declare class S3Tables extends S3TablesClient implements S3Tables {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3tables",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3tables Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3tables",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|