@aws-sdk/client-s3tables 3.844.0 → 3.845.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.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;
3
+ exports.JobStatus = exports.TableMaintenanceJobType = exports.TableMaintenanceSettings = exports.IcebergCompactionStrategy = exports.TableMaintenanceType = exports.MaintenanceStatus = exports.TableBucketMaintenanceSettings = exports.TableBucketMaintenanceType = exports.TableBucketType = 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";
@@ -112,6 +112,10 @@ exports.TableType = {
112
112
  AWS: "aws",
113
113
  CUSTOMER: "customer",
114
114
  };
115
+ exports.TableBucketType = {
116
+ AWS: "aws",
117
+ CUSTOMER: "customer",
118
+ };
115
119
  exports.TableBucketMaintenanceType = {
116
120
  ICEBERG_UNREFERENCED_FILE_REMOVAL: "icebergUnreferencedFileRemoval",
117
121
  };
@@ -273,6 +273,7 @@ const se_ListTableBucketsCommand = async (input, context) => {
273
273
  [_p]: [, input[_p]],
274
274
  [_cT]: [, input[_cT]],
275
275
  [_mB]: [() => input.maxBuckets !== void 0, () => input[_mB].toString()],
276
+ [_t]: [, input[_t]],
276
277
  });
277
278
  let body;
278
279
  b.m("GET").h(headers).q(query).b(body);
@@ -590,6 +591,7 @@ const de_GetTableBucketCommand = async (output, context) => {
590
591
  name: smithy_client_1.expectString,
591
592
  ownerAccountId: smithy_client_1.expectString,
592
593
  tableBucketId: smithy_client_1.expectString,
594
+ type: smithy_client_1.expectString,
593
595
  });
594
596
  Object.assign(contents, doc);
595
597
  return contents;
@@ -1007,6 +1009,7 @@ const de_TableBucketSummary = (output, context) => {
1007
1009
  name: smithy_client_1.expectString,
1008
1010
  ownerAccountId: smithy_client_1.expectString,
1009
1011
  tableBucketId: smithy_client_1.expectString,
1012
+ type: smithy_client_1.expectString,
1010
1013
  });
1011
1014
  };
1012
1015
  const de_TableBucketSummaryList = (output, context) => {
@@ -1067,6 +1070,7 @@ const _mT = "maxTables";
1067
1070
  const _n = "namespace";
1068
1071
  const _na = "name";
1069
1072
  const _p = "prefix";
1073
+ const _t = "type";
1070
1074
  const _tA = "tableArn";
1071
1075
  const _tBARN = "tableBucketARN";
1072
1076
  const _vT = "versionToken";
@@ -102,6 +102,10 @@ export const TableType = {
102
102
  AWS: "aws",
103
103
  CUSTOMER: "customer",
104
104
  };
105
+ export const TableBucketType = {
106
+ AWS: "aws",
107
+ CUSTOMER: "customer",
108
+ };
105
109
  export const TableBucketMaintenanceType = {
106
110
  ICEBERG_UNREFERENCED_FILE_REMOVAL: "icebergUnreferencedFileRemoval",
107
111
  };
@@ -248,6 +248,7 @@ export const se_ListTableBucketsCommand = async (input, context) => {
248
248
  [_p]: [, input[_p]],
249
249
  [_cT]: [, input[_cT]],
250
250
  [_mB]: [() => input.maxBuckets !== void 0, () => input[_mB].toString()],
251
+ [_t]: [, input[_t]],
251
252
  });
252
253
  let body;
253
254
  b.m("GET").h(headers).q(query).b(body);
@@ -545,6 +546,7 @@ export const de_GetTableBucketCommand = async (output, context) => {
545
546
  name: __expectString,
546
547
  ownerAccountId: __expectString,
547
548
  tableBucketId: __expectString,
549
+ type: __expectString,
548
550
  });
549
551
  Object.assign(contents, doc);
550
552
  return contents;
@@ -943,6 +945,7 @@ const de_TableBucketSummary = (output, context) => {
943
945
  name: __expectString,
944
946
  ownerAccountId: __expectString,
945
947
  tableBucketId: __expectString,
948
+ type: __expectString,
946
949
  });
947
950
  };
948
951
  const de_TableBucketSummaryList = (output, context) => {
@@ -1003,6 +1006,7 @@ const _mT = "maxTables";
1003
1006
  const _n = "namespace";
1004
1007
  const _na = "name";
1005
1008
  const _p = "prefix";
1009
+ const _t = "type";
1006
1010
  const _tA = "tableArn";
1007
1011
  const _tBARN = "tableBucketARN";
1008
1012
  const _vT = "versionToken";
@@ -45,6 +45,7 @@ declare const GetTableBucketCommand_base: {
45
45
  * // ownerAccountId: "STRING_VALUE", // required
46
46
  * // createdAt: new Date("TIMESTAMP"), // required
47
47
  * // tableBucketId: "STRING_VALUE",
48
+ * // type: "customer" || "aws",
48
49
  * // };
49
50
  *
50
51
  * ```
@@ -38,6 +38,7 @@ declare const ListTableBucketsCommand_base: {
38
38
  * prefix: "STRING_VALUE",
39
39
  * continuationToken: "STRING_VALUE",
40
40
  * maxBuckets: Number("int"),
41
+ * type: "customer" || "aws",
41
42
  * };
42
43
  * const command = new ListTableBucketsCommand(input);
43
44
  * const response = await client.send(command);
@@ -49,6 +50,7 @@ declare const ListTableBucketsCommand_base: {
49
50
  * // ownerAccountId: "STRING_VALUE", // required
50
51
  * // createdAt: new Date("TIMESTAMP"), // required
51
52
  * // tableBucketId: "STRING_VALUE",
53
+ * // type: "customer" || "aws",
52
54
  * // },
53
55
  * // ],
54
56
  * // continuationToken: "STRING_VALUE",
@@ -573,6 +573,18 @@ export interface GetTableBucketRequest {
573
573
  */
574
574
  tableBucketARN: string | undefined;
575
575
  }
576
+ /**
577
+ * @public
578
+ * @enum
579
+ */
580
+ export declare const TableBucketType: {
581
+ readonly AWS: "aws";
582
+ readonly CUSTOMER: "customer";
583
+ };
584
+ /**
585
+ * @public
586
+ */
587
+ export type TableBucketType = (typeof TableBucketType)[keyof typeof TableBucketType];
576
588
  /**
577
589
  * @public
578
590
  */
@@ -602,6 +614,11 @@ export interface GetTableBucketResponse {
602
614
  * @public
603
615
  */
604
616
  tableBucketId?: string | undefined;
617
+ /**
618
+ * <p>The type of the table bucket.</p>
619
+ * @public
620
+ */
621
+ type?: TableBucketType | undefined;
605
622
  }
606
623
  /**
607
624
  * @public
@@ -1182,6 +1199,11 @@ export interface ListTableBucketsRequest {
1182
1199
  * @public
1183
1200
  */
1184
1201
  maxBuckets?: number | undefined;
1202
+ /**
1203
+ * <p>The type of table buckets to filter by in the list.</p>
1204
+ * @public
1205
+ */
1206
+ type?: TableBucketType | undefined;
1185
1207
  }
1186
1208
  /**
1187
1209
  * <p>Contains details about a table bucket.</p>
@@ -1213,6 +1235,11 @@ export interface TableBucketSummary {
1213
1235
  * @public
1214
1236
  */
1215
1237
  tableBucketId?: string | undefined;
1238
+ /**
1239
+ * <p>The type of the table bucket.</p>
1240
+ * @public
1241
+ */
1242
+ type?: TableBucketType | undefined;
1216
1243
  }
1217
1244
  /**
1218
1245
  * @public
@@ -181,12 +181,19 @@ export interface GetTableResponse {
181
181
  export interface GetTableBucketRequest {
182
182
  tableBucketARN: string | undefined;
183
183
  }
184
+ export declare const TableBucketType: {
185
+ readonly AWS: "aws";
186
+ readonly CUSTOMER: "customer";
187
+ };
188
+ export type TableBucketType =
189
+ (typeof TableBucketType)[keyof typeof TableBucketType];
184
190
  export interface GetTableBucketResponse {
185
191
  arn: string | undefined;
186
192
  name: string | undefined;
187
193
  ownerAccountId: string | undefined;
188
194
  createdAt: Date | undefined;
189
195
  tableBucketId?: string | undefined;
196
+ type?: TableBucketType | undefined;
190
197
  }
191
198
  export interface GetTableBucketEncryptionRequest {
192
199
  tableBucketARN: string | undefined;
@@ -398,6 +405,7 @@ export interface ListTableBucketsRequest {
398
405
  prefix?: string | undefined;
399
406
  continuationToken?: string | undefined;
400
407
  maxBuckets?: number | undefined;
408
+ type?: TableBucketType | undefined;
401
409
  }
402
410
  export interface TableBucketSummary {
403
411
  arn: string | undefined;
@@ -405,6 +413,7 @@ export interface TableBucketSummary {
405
413
  ownerAccountId: string | undefined;
406
414
  createdAt: Date | undefined;
407
415
  tableBucketId?: string | undefined;
416
+ type?: TableBucketType | undefined;
408
417
  }
409
418
  export interface ListTableBucketsResponse {
410
419
  tableBuckets: TableBucketSummary[] | 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.844.0",
4
+ "version": "3.845.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,38 +20,38 @@
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.844.0",
24
- "@aws-sdk/credential-provider-node": "3.844.0",
23
+ "@aws-sdk/core": "3.845.0",
24
+ "@aws-sdk/credential-provider-node": "3.845.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.844.0",
28
+ "@aws-sdk/middleware-user-agent": "3.845.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
- "@aws-sdk/util-endpoints": "3.844.0",
31
+ "@aws-sdk/util-endpoints": "3.845.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.844.0",
33
+ "@aws-sdk/util-user-agent-node": "3.845.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.7.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",
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.14",
41
- "@smithy/middleware-retry": "^4.1.15",
40
+ "@smithy/middleware-endpoint": "^4.1.15",
41
+ "@smithy/middleware-retry": "^4.1.16",
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.1.0",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.6",
47
+ "@smithy/smithy-client": "^4.4.7",
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.22",
54
- "@smithy/util-defaults-mode-node": "^4.0.22",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.23",
54
+ "@smithy/util-defaults-mode-node": "^4.0.23",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.6",