@aws-sdk/client-s3tables 3.828.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.
@@ -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"),
@@ -3,12 +3,12 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
- useFipsEndpoint?: boolean | Provider<boolean>;
6
+ region?: string | undefined | Provider<string | undefined>;
7
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
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;
@@ -31,8 +31,8 @@ export declare const commonParams: {
31
31
  };
32
32
  };
33
33
  export interface EndpointParameters extends __EndpointParameters {
34
- Region?: string;
35
- UseDualStack?: boolean;
36
- UseFIPS?: boolean;
37
- Endpoint?: string;
34
+ Region?: string | undefined;
35
+ UseDualStack?: boolean | undefined;
36
+ UseFIPS?: boolean | undefined;
37
+ Endpoint?: string | undefined;
38
38
  }
@@ -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>
@@ -15,8 +15,8 @@ export declare const getRuntimeConfig: (config: S3TablesClientConfig) => {
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
20
  apiVersion: string;
21
21
  cacheMiddleware?: boolean | undefined;
22
22
  urlParser: import("@smithy/types").UrlParser;
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: S3TablesClientConfig) => {
17
17
  utf8Encoder: (input: Uint8Array | string) => string;
18
18
  disableHostPrefix: boolean;
19
19
  serviceId: string;
20
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
@@ -5,9 +5,9 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
- region?: string | Provider<string>;
9
- useDualstackEndpoint?: boolean | Provider<boolean>;
10
- useFipsEndpoint?: boolean | Provider<boolean>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
10
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
11
11
  endpoint?:
12
12
  | string
13
13
  | Provider<string>
@@ -16,7 +16,10 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
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>(
@@ -41,8 +44,8 @@ export declare const commonParams: {
41
44
  };
42
45
  };
43
46
  export interface EndpointParameters extends __EndpointParameters {
44
- Region?: string;
45
- UseDualStack?: boolean;
46
- UseFIPS?: boolean;
47
- Endpoint?: string;
47
+ Region?: string | undefined;
48
+ UseDualStack?: boolean | undefined;
49
+ UseFIPS?: boolean | undefined;
50
+ Endpoint?: string | undefined;
48
51
  }
@@ -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;
@@ -22,8 +22,10 @@ export declare const getRuntimeConfig: (config: S3TablesClientConfig) => {
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
24
24
  streamCollector: import("@smithy/types").StreamCollector;
25
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
29
  apiVersion: string;
28
30
  cacheMiddleware?: boolean | undefined;
29
31
  urlParser: import("@smithy/types").UrlParser;
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: S3TablesClientConfig) => {
19
19
  utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
26
  region: string | import("@smithy/types").Provider<any>;
25
27
  profile?: string;
26
28
  defaultUserAgentProvider: (
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.828.0",
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.826.0",
24
- "@aws-sdk/credential-provider-node": "3.828.0",
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.828.0",
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.828.0",
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.11",
41
- "@smithy/middleware-retry": "^4.1.12",
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.3",
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.19",
54
- "@smithy/util-defaults-mode-node": "^4.0.19",
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.5",
57
+ "@smithy/util-retry": "^4.0.6",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "tslib": "^2.6.2"
60
60
  },