@aws-sdk/client-s3tables 3.830.0 → 3.835.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +7 -1
- package/dist-es/models/models_0.js +6 -0
- package/dist-types/commands/GetTableMaintenanceConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutTableMaintenanceConfigurationCommand.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +19 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +11 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.JobStatus = exports.TableMaintenanceJobType = exports.TableMaintenanceSettings = exports.TableMaintenanceType = exports.MaintenanceStatus = exports.TableBucketMaintenanceSettings = exports.TableBucketMaintenanceType = exports.TableType = exports.TableMetadata = exports.OpenTableFormat = exports.SSEAlgorithm = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.JobStatus = exports.TableMaintenanceJobType = exports.TableMaintenanceSettings = exports.IcebergCompactionStrategy = exports.TableMaintenanceType = exports.MaintenanceStatus = exports.TableBucketMaintenanceSettings = exports.TableBucketMaintenanceType = exports.TableType = exports.TableMetadata = exports.OpenTableFormat = exports.SSEAlgorithm = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const S3TablesServiceException_1 = require("./S3TablesServiceException");
|
|
5
5
|
class AccessDeniedException extends S3TablesServiceException_1.S3TablesServiceException {
|
|
6
6
|
name = "AccessDeniedException";
|
|
@@ -131,6 +131,12 @@ exports.TableMaintenanceType = {
|
|
|
131
131
|
ICEBERG_COMPACTION: "icebergCompaction",
|
|
132
132
|
ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement",
|
|
133
133
|
};
|
|
134
|
+
exports.IcebergCompactionStrategy = {
|
|
135
|
+
AUTO: "auto",
|
|
136
|
+
BINPACK: "binpack",
|
|
137
|
+
SORT: "sort",
|
|
138
|
+
ZORDER: "z-order",
|
|
139
|
+
};
|
|
134
140
|
var TableMaintenanceSettings;
|
|
135
141
|
(function (TableMaintenanceSettings) {
|
|
136
142
|
TableMaintenanceSettings.visit = (value, visitor) => {
|
|
@@ -121,6 +121,12 @@ export const TableMaintenanceType = {
|
|
|
121
121
|
ICEBERG_COMPACTION: "icebergCompaction",
|
|
122
122
|
ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement",
|
|
123
123
|
};
|
|
124
|
+
export const IcebergCompactionStrategy = {
|
|
125
|
+
AUTO: "auto",
|
|
126
|
+
BINPACK: "binpack",
|
|
127
|
+
SORT: "sort",
|
|
128
|
+
ZORDER: "z-order",
|
|
129
|
+
};
|
|
124
130
|
export var TableMaintenanceSettings;
|
|
125
131
|
(function (TableMaintenanceSettings) {
|
|
126
132
|
TableMaintenanceSettings.visit = (value, visitor) => {
|
|
@@ -27,7 +27,7 @@ declare const GetTableMaintenanceConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Gets details about the maintenance configuration of a table. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-maintenance.html">S3 Tables maintenance</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:GetTableMaintenanceConfiguration</code> permission to use this operation. </p> </dd> </dl>
|
|
30
|
+
* <p>Gets details about the maintenance configuration of a table. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-maintenance.html">S3 Tables maintenance</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p> <dl> <dt>Permissions</dt> <dd> <ul> <li> <p>You must have the <code>s3tables:GetTableMaintenanceConfiguration</code> permission to use this operation. </p> </li> <li> <p>You must have the <code>s3tables:GetTableData</code> permission to use set the compaction strategy to <code>sort</code> or <code>zorder</code>.</p> </li> </ul> </dd> </dl>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -49,6 +49,7 @@ declare const GetTableMaintenanceConfigurationCommand_base: {
|
|
|
49
49
|
* // settings: { // TableMaintenanceSettings Union: only one key present
|
|
50
50
|
* // icebergCompaction: { // IcebergCompactionSettings
|
|
51
51
|
* // targetFileSizeMB: Number("int"),
|
|
52
|
+
* // strategy: "auto" || "binpack" || "sort" || "z-order",
|
|
52
53
|
* // },
|
|
53
54
|
* // icebergSnapshotManagement: { // IcebergSnapshotManagementSettings
|
|
54
55
|
* // minSnapshotsToKeep: Number("int"),
|
|
@@ -44,6 +44,7 @@ declare const PutTableMaintenanceConfigurationCommand_base: {
|
|
|
44
44
|
* settings: { // TableMaintenanceSettings Union: only one key present
|
|
45
45
|
* icebergCompaction: { // IcebergCompactionSettings
|
|
46
46
|
* targetFileSizeMB: Number("int"),
|
|
47
|
+
* strategy: "auto" || "binpack" || "sort" || "z-order",
|
|
47
48
|
* },
|
|
48
49
|
* icebergSnapshotManagement: { // IcebergSnapshotManagementSettings
|
|
49
50
|
* minSnapshotsToKeep: Number("int"),
|
|
@@ -8,7 +8,7 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
-
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
11
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
@@ -815,6 +815,20 @@ export declare const TableMaintenanceType: {
|
|
|
815
815
|
* @public
|
|
816
816
|
*/
|
|
817
817
|
export type TableMaintenanceType = (typeof TableMaintenanceType)[keyof typeof TableMaintenanceType];
|
|
818
|
+
/**
|
|
819
|
+
* @public
|
|
820
|
+
* @enum
|
|
821
|
+
*/
|
|
822
|
+
export declare const IcebergCompactionStrategy: {
|
|
823
|
+
readonly AUTO: "auto";
|
|
824
|
+
readonly BINPACK: "binpack";
|
|
825
|
+
readonly SORT: "sort";
|
|
826
|
+
readonly ZORDER: "z-order";
|
|
827
|
+
};
|
|
828
|
+
/**
|
|
829
|
+
* @public
|
|
830
|
+
*/
|
|
831
|
+
export type IcebergCompactionStrategy = (typeof IcebergCompactionStrategy)[keyof typeof IcebergCompactionStrategy];
|
|
818
832
|
/**
|
|
819
833
|
* <p>Contains details about the compaction settings for an Iceberg table.</p>
|
|
820
834
|
* @public
|
|
@@ -825,6 +839,11 @@ export interface IcebergCompactionSettings {
|
|
|
825
839
|
* @public
|
|
826
840
|
*/
|
|
827
841
|
targetFileSizeMB?: number | undefined;
|
|
842
|
+
/**
|
|
843
|
+
* <p>The compaction strategy to use for the table. This determines how files are selected and combined during compaction operations.</p>
|
|
844
|
+
* @public
|
|
845
|
+
*/
|
|
846
|
+
strategy?: IcebergCompactionStrategy | undefined;
|
|
828
847
|
}
|
|
829
848
|
/**
|
|
830
849
|
* <p>Contains details about the snapshot management settings for an Iceberg table. The oldest snapshot expires when its age exceeds the <code>maxSnapshotAgeHours</code> and the total number of snapshots exceeds the value for the minimum number of snapshots to keep <code>minSnapshotsToKeep</code>.</p>
|
|
@@ -16,7 +16,10 @@ export interface ClientInputEndpointParameters {
|
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
18
|
}
|
|
19
|
-
export type ClientResolvedEndpointParameters =
|
|
19
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
20
|
+
ClientInputEndpointParameters,
|
|
21
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
22
|
+
> & {
|
|
20
23
|
defaultSigningName: string;
|
|
21
24
|
};
|
|
22
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
@@ -275,8 +275,17 @@ export declare const TableMaintenanceType: {
|
|
|
275
275
|
};
|
|
276
276
|
export type TableMaintenanceType =
|
|
277
277
|
(typeof TableMaintenanceType)[keyof typeof TableMaintenanceType];
|
|
278
|
+
export declare const IcebergCompactionStrategy: {
|
|
279
|
+
readonly AUTO: "auto";
|
|
280
|
+
readonly BINPACK: "binpack";
|
|
281
|
+
readonly SORT: "sort";
|
|
282
|
+
readonly ZORDER: "z-order";
|
|
283
|
+
};
|
|
284
|
+
export type IcebergCompactionStrategy =
|
|
285
|
+
(typeof IcebergCompactionStrategy)[keyof typeof IcebergCompactionStrategy];
|
|
278
286
|
export interface IcebergCompactionSettings {
|
|
279
287
|
targetFileSizeMB?: number | undefined;
|
|
288
|
+
strategy?: IcebergCompactionStrategy | undefined;
|
|
280
289
|
}
|
|
281
290
|
export interface IcebergSnapshotManagementSettings {
|
|
282
291
|
minSnapshotsToKeep?: number | undefined;
|
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.835.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.835.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.835.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.835.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
30
|
"@aws-sdk/types": "3.821.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.828.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.835.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.5.3",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.4",
|
|
37
37
|
"@smithy/hash-node": "^4.0.4",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.13",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.8",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.4",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.3",
|
|
45
45
|
"@smithy/node-http-handler": "^4.0.6",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
-
"@smithy/smithy-client": "^4.4.
|
|
47
|
+
"@smithy/smithy-client": "^4.4.4",
|
|
48
48
|
"@smithy/types": "^4.3.1",
|
|
49
49
|
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.20",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.20",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.6",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.4",
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
57
|
+
"@smithy/util-retry": "^4.0.6",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|