@aws-sdk/client-s3tables 3.986.0 → 3.988.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 +78 -1370
- package/dist-cjs/models/S3TablesServiceException.js +12 -0
- package/dist-cjs/models/errors.js +108 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1108 -0
- package/dist-es/models/enums.js +8 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +110 -55
- package/dist-types/commands/CreateTableCommand.d.ts +23 -0
- package/dist-types/models/enums.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +101 -2
- package/dist-types/schemas/schemas_0.d.ts +17 -6
- package/dist-types/ts3.4/models/enums.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -6
- package/package.json +13 -13
package/dist-es/models/enums.js
CHANGED
|
@@ -5,6 +5,14 @@ export const SSEAlgorithm = {
|
|
|
5
5
|
export const OpenTableFormat = {
|
|
6
6
|
ICEBERG: "ICEBERG",
|
|
7
7
|
};
|
|
8
|
+
export const IcebergSortDirection = {
|
|
9
|
+
ASC: "asc",
|
|
10
|
+
DESC: "desc",
|
|
11
|
+
};
|
|
12
|
+
export const IcebergNullOrder = {
|
|
13
|
+
NULLS_FIRST: "nulls-first",
|
|
14
|
+
NULLS_LAST: "nulls-last",
|
|
15
|
+
};
|
|
8
16
|
export const StorageClass = {
|
|
9
17
|
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
10
18
|
STANDARD: "STANDARD",
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultS3TablesHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-05-10",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.s3tables",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-05-10",
|
|
30
32
|
serviceTarget: "S3TableBuckets",
|
|
31
33
|
},
|
|
@@ -89,9 +89,15 @@ const _GTSCR = "GetTableStorageClassRequest";
|
|
|
89
89
|
const _GTSCRe = "GetTableStorageClassResponse";
|
|
90
90
|
const _ICS = "IcebergCompactionSettings";
|
|
91
91
|
const _IM = "IcebergMetadata";
|
|
92
|
+
const _IPF = "IcebergPartitionField";
|
|
93
|
+
const _IPFL = "IcebergPartitionFieldList";
|
|
94
|
+
const _IPS = "IcebergPartitionSpec";
|
|
92
95
|
const _IS = "IcebergSchema";
|
|
93
96
|
const _ISEE = "InternalServerErrorException";
|
|
97
|
+
const _ISF = "IcebergSortField";
|
|
98
|
+
const _ISFL = "IcebergSortFieldList";
|
|
94
99
|
const _ISMS = "IcebergSnapshotManagementSettings";
|
|
100
|
+
const _ISO = "IcebergSortOrder";
|
|
95
101
|
const _IUFRS = "IcebergUnreferencedFileRemovalSettings";
|
|
96
102
|
const _LN = "ListNamespaces";
|
|
97
103
|
const _LNR = "ListNamespacesRequest";
|
|
@@ -188,11 +194,14 @@ const _dTA = "destinationTableArn";
|
|
|
188
194
|
const _dTBA = "destinationTableBucketArn";
|
|
189
195
|
const _dTBARN = "destinationTableBucketARN";
|
|
190
196
|
const _da = "days";
|
|
197
|
+
const _di = "direction";
|
|
191
198
|
const _e = "error";
|
|
192
199
|
const _eC = "encryptionConfiguration";
|
|
193
200
|
const _f = "format";
|
|
201
|
+
const _fI = "fieldId";
|
|
194
202
|
const _fM = "failureMessage";
|
|
195
|
-
const _fi = "
|
|
203
|
+
const _fi = "field-id";
|
|
204
|
+
const _fie = "fields";
|
|
196
205
|
const _h = "http";
|
|
197
206
|
const _hE = "httpError";
|
|
198
207
|
const _hQ = "httpQuery";
|
|
@@ -201,6 +210,7 @@ const _iC = "icebergCompaction";
|
|
|
201
210
|
const _iSM = "icebergSnapshotManagement";
|
|
202
211
|
const _iUFR = "icebergUnreferencedFileRemoval";
|
|
203
212
|
const _ic = "iceberg";
|
|
213
|
+
const _jN = "jsonName";
|
|
204
214
|
const _kKA = "kmsKeyArn";
|
|
205
215
|
const _lRT = "lastRunTimestamp";
|
|
206
216
|
const _lSRU = "lastSuccessfulReplicatedUpdate";
|
|
@@ -222,10 +232,15 @@ const _nCD = "nonCurrentDays";
|
|
|
222
232
|
const _nI = "namespaceId";
|
|
223
233
|
const _nN = "newName";
|
|
224
234
|
const _nNN = "newNamespaceName";
|
|
235
|
+
const _nO = "nullOrder";
|
|
225
236
|
const _na = "name";
|
|
226
237
|
const _nam = "namespaces";
|
|
238
|
+
const _no = "null-order";
|
|
227
239
|
const _oAI = "ownerAccountId";
|
|
240
|
+
const _oI = "orderId";
|
|
241
|
+
const _oi = "order-id";
|
|
228
242
|
const _p = "properties";
|
|
243
|
+
const _pS = "partitionSpec";
|
|
229
244
|
const _pr = "prefix";
|
|
230
245
|
const _r = "required";
|
|
231
246
|
const _rA = "resourceArn";
|
|
@@ -235,17 +250,21 @@ const _rP = "resourcePolicy";
|
|
|
235
250
|
const _rS = "replicationStatus";
|
|
236
251
|
const _ro = "role";
|
|
237
252
|
const _ru = "rules";
|
|
238
|
-
const _s = "
|
|
253
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.s3tables";
|
|
239
254
|
const _sA = "sseAlgorithm";
|
|
240
255
|
const _sC = "storageClass";
|
|
241
256
|
const _sCC = "storageClassConfiguration";
|
|
257
|
+
const _sI = "sourceId";
|
|
258
|
+
const _sIp = "specId";
|
|
242
259
|
const _sTA = "sourceTableArn";
|
|
243
260
|
const _sTARN = "sourceTableARN";
|
|
244
261
|
const _sc = "schema";
|
|
245
262
|
const _se = "server";
|
|
246
263
|
const _set = "settings";
|
|
247
|
-
const
|
|
248
|
-
const
|
|
264
|
+
const _si = "source-id";
|
|
265
|
+
const _si_ = "spec-id";
|
|
266
|
+
const _st = "status";
|
|
267
|
+
const _str = "strategy";
|
|
249
268
|
const _t = "tags";
|
|
250
269
|
const _tA = "tableArn";
|
|
251
270
|
const _tARN = "tableARN";
|
|
@@ -256,33 +275,73 @@ const _tFSMB = "targetFileSizeMB";
|
|
|
256
275
|
const _tK = "tagKeys";
|
|
257
276
|
const _ta = "tables";
|
|
258
277
|
const _ti = "timestamp";
|
|
278
|
+
const _tr = "transform";
|
|
259
279
|
const _ty = "type";
|
|
260
280
|
const _uD = "unreferencedDays";
|
|
261
281
|
const _v = "value";
|
|
262
282
|
const _vT = "versionToken";
|
|
263
283
|
const _wL = "warehouseLocation";
|
|
284
|
+
const _wO = "writeOrder";
|
|
264
285
|
const n0 = "com.amazonaws.s3tables";
|
|
265
286
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
266
287
|
import { AccessDeniedException, BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, MethodNotAllowedException, NotFoundException, TooManyRequestsException, } from "../models/errors";
|
|
267
288
|
import { S3TablesServiceException } from "../models/S3TablesServiceException";
|
|
289
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
290
|
+
export var S3TablesServiceException$ = [-3, _s, "S3TablesServiceException", 0, [], []];
|
|
291
|
+
_s_registry.registerError(S3TablesServiceException$, S3TablesServiceException);
|
|
292
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
268
293
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
269
294
|
{ [_e]: _c, [_hE]: 403 },
|
|
270
295
|
[_m],
|
|
271
296
|
[0]
|
|
272
297
|
];
|
|
273
|
-
|
|
298
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
274
299
|
export var BadRequestException$ = [-3, n0, _BRE,
|
|
275
300
|
{ [_e]: _c, [_hE]: 400 },
|
|
276
301
|
[_m],
|
|
277
302
|
[0]
|
|
278
303
|
];
|
|
279
|
-
|
|
304
|
+
n0_registry.registerError(BadRequestException$, BadRequestException);
|
|
280
305
|
export var ConflictException$ = [-3, n0, _CE,
|
|
281
306
|
{ [_e]: _c, [_hE]: 409 },
|
|
282
307
|
[_m],
|
|
283
308
|
[0]
|
|
284
309
|
];
|
|
285
|
-
|
|
310
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
311
|
+
export var ForbiddenException$ = [-3, n0, _FE,
|
|
312
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
313
|
+
[_m],
|
|
314
|
+
[0]
|
|
315
|
+
];
|
|
316
|
+
n0_registry.registerError(ForbiddenException$, ForbiddenException);
|
|
317
|
+
export var InternalServerErrorException$ = [-3, n0, _ISEE,
|
|
318
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
319
|
+
[_m],
|
|
320
|
+
[0]
|
|
321
|
+
];
|
|
322
|
+
n0_registry.registerError(InternalServerErrorException$, InternalServerErrorException);
|
|
323
|
+
export var MethodNotAllowedException$ = [-3, n0, _MNAE,
|
|
324
|
+
{ [_e]: _c, [_hE]: 405 },
|
|
325
|
+
[_m],
|
|
326
|
+
[0]
|
|
327
|
+
];
|
|
328
|
+
n0_registry.registerError(MethodNotAllowedException$, MethodNotAllowedException);
|
|
329
|
+
export var NotFoundException$ = [-3, n0, _NFE,
|
|
330
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
331
|
+
[_m],
|
|
332
|
+
[0]
|
|
333
|
+
];
|
|
334
|
+
n0_registry.registerError(NotFoundException$, NotFoundException);
|
|
335
|
+
export var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
336
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
337
|
+
[_m],
|
|
338
|
+
[0]
|
|
339
|
+
];
|
|
340
|
+
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
341
|
+
export const errorTypeRegistries = [
|
|
342
|
+
_s_registry,
|
|
343
|
+
n0_registry,
|
|
344
|
+
];
|
|
286
345
|
export var CreateNamespaceRequest$ = [3, n0, _CNR,
|
|
287
346
|
0,
|
|
288
347
|
[_tBARN, _n],
|
|
@@ -306,7 +365,7 @@ export var CreateTableBucketResponse$ = [3, n0, _CTBRr,
|
|
|
306
365
|
export var CreateTableRequest$ = [3, n0, _CTR,
|
|
307
366
|
0,
|
|
308
367
|
[_tBARN, _n, _na, _f, _me, _eC, _sCC, _t],
|
|
309
|
-
[[0, 1], [0, 1], 0, 0, () => TableMetadata$, () => EncryptionConfiguration$, () => StorageClassConfiguration$, 128 | 0], 4
|
|
368
|
+
[[0, 1], [0, 1], 0, 0, [() => TableMetadata$, 0], () => EncryptionConfiguration$, () => StorageClassConfiguration$, 128 | 0], 4
|
|
310
369
|
];
|
|
311
370
|
export var CreateTableResponse$ = [3, n0, _CTRr,
|
|
312
371
|
0,
|
|
@@ -363,12 +422,6 @@ export var EncryptionConfiguration$ = [3, n0, _EC,
|
|
|
363
422
|
[_sA, _kKA],
|
|
364
423
|
[0, 0], 1
|
|
365
424
|
];
|
|
366
|
-
export var ForbiddenException$ = [-3, n0, _FE,
|
|
367
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
368
|
-
[_m],
|
|
369
|
-
[0]
|
|
370
|
-
];
|
|
371
|
-
TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
372
425
|
export var GetNamespaceRequest$ = [3, n0, _GNR,
|
|
373
426
|
0,
|
|
374
427
|
[_tBARN, _n],
|
|
@@ -476,7 +529,7 @@ export var GetTableMaintenanceJobStatusRequest$ = [3, n0, _GTMJSR,
|
|
|
476
529
|
];
|
|
477
530
|
export var GetTableMaintenanceJobStatusResponse$ = [3, n0, _GTMJSRe,
|
|
478
531
|
0,
|
|
479
|
-
[_tARN,
|
|
532
|
+
[_tARN, _st],
|
|
480
533
|
[0, () => TableMaintenanceJobStatus], 2
|
|
481
534
|
];
|
|
482
535
|
export var GetTableMetadataLocationRequest$ = [3, n0, _GTMLR,
|
|
@@ -516,7 +569,7 @@ export var GetTableRecordExpirationJobStatusRequest$ = [3, n0, _GTREJSR,
|
|
|
516
569
|
];
|
|
517
570
|
export var GetTableRecordExpirationJobStatusResponse$ = [3, n0, _GTREJSRe,
|
|
518
571
|
0,
|
|
519
|
-
[
|
|
572
|
+
[_st, _lRT, _fM, _met],
|
|
520
573
|
[0, 5, 0, () => TableRecordExpirationJobMetrics$], 1
|
|
521
574
|
];
|
|
522
575
|
export var GetTableReplicationRequest$ = [3, n0, _GTRR,
|
|
@@ -561,17 +614,27 @@ export var GetTableStorageClassResponse$ = [3, n0, _GTSCRe,
|
|
|
561
614
|
];
|
|
562
615
|
export var IcebergCompactionSettings$ = [3, n0, _ICS,
|
|
563
616
|
0,
|
|
564
|
-
[_tFSMB,
|
|
617
|
+
[_tFSMB, _str],
|
|
565
618
|
[1, 0]
|
|
566
619
|
];
|
|
567
620
|
export var IcebergMetadata$ = [3, n0, _IM,
|
|
568
621
|
0,
|
|
569
|
-
[_sc, _p],
|
|
570
|
-
[() => IcebergSchema$, 128 | 0], 1
|
|
622
|
+
[_sc, _pS, _wO, _p],
|
|
623
|
+
[() => IcebergSchema$, [() => IcebergPartitionSpec$, 0], [() => IcebergSortOrder$, 0], 128 | 0], 1
|
|
624
|
+
];
|
|
625
|
+
export var IcebergPartitionField$ = [3, n0, _IPF,
|
|
626
|
+
0,
|
|
627
|
+
[_sI, _tr, _na, _fI],
|
|
628
|
+
[[1, { [_jN]: _si }], 0, 0, [1, { [_jN]: _fi }]], 3
|
|
629
|
+
];
|
|
630
|
+
export var IcebergPartitionSpec$ = [3, n0, _IPS,
|
|
631
|
+
0,
|
|
632
|
+
[_fie, _sIp],
|
|
633
|
+
[[() => IcebergPartitionFieldList, 0], [1, { [_jN]: _si_ }]], 1
|
|
571
634
|
];
|
|
572
635
|
export var IcebergSchema$ = [3, n0, _IS,
|
|
573
636
|
0,
|
|
574
|
-
[
|
|
637
|
+
[_fie],
|
|
575
638
|
[() => SchemaFieldList], 1
|
|
576
639
|
];
|
|
577
640
|
export var IcebergSnapshotManagementSettings$ = [3, n0, _ISMS,
|
|
@@ -579,17 +642,21 @@ export var IcebergSnapshotManagementSettings$ = [3, n0, _ISMS,
|
|
|
579
642
|
[_mSTK, _mSAH],
|
|
580
643
|
[1, 1]
|
|
581
644
|
];
|
|
645
|
+
export var IcebergSortField$ = [3, n0, _ISF,
|
|
646
|
+
0,
|
|
647
|
+
[_sI, _tr, _di, _nO],
|
|
648
|
+
[[1, { [_jN]: _si }], 0, 0, [0, { [_jN]: _no }]], 4
|
|
649
|
+
];
|
|
650
|
+
export var IcebergSortOrder$ = [3, n0, _ISO,
|
|
651
|
+
0,
|
|
652
|
+
[_oI, _fie],
|
|
653
|
+
[[1, { [_jN]: _oi }], [() => IcebergSortFieldList, 0]], 2
|
|
654
|
+
];
|
|
582
655
|
export var IcebergUnreferencedFileRemovalSettings$ = [3, n0, _IUFRS,
|
|
583
656
|
0,
|
|
584
657
|
[_uD, _nCD],
|
|
585
658
|
[1, 1]
|
|
586
659
|
];
|
|
587
|
-
export var InternalServerErrorException$ = [-3, n0, _ISEE,
|
|
588
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
589
|
-
[_m],
|
|
590
|
-
[0]
|
|
591
|
-
];
|
|
592
|
-
TypeRegistry.for(n0).registerError(InternalServerErrorException$, InternalServerErrorException);
|
|
593
660
|
export var LastSuccessfulReplicatedUpdate$ = [3, n0, _LSRU,
|
|
594
661
|
0,
|
|
595
662
|
[_mL, _ti],
|
|
@@ -640,23 +707,11 @@ export var ManagedTableInformation$ = [3, n0, _MTI,
|
|
|
640
707
|
[_rI],
|
|
641
708
|
[() => ReplicationInformation$]
|
|
642
709
|
];
|
|
643
|
-
export var MethodNotAllowedException$ = [-3, n0, _MNAE,
|
|
644
|
-
{ [_e]: _c, [_hE]: 405 },
|
|
645
|
-
[_m],
|
|
646
|
-
[0]
|
|
647
|
-
];
|
|
648
|
-
TypeRegistry.for(n0).registerError(MethodNotAllowedException$, MethodNotAllowedException);
|
|
649
710
|
export var NamespaceSummary$ = [3, n0, _NS,
|
|
650
711
|
0,
|
|
651
712
|
[_n, _cA, _cB, _oAI, _nI, _tBI],
|
|
652
713
|
[64 | 0, 5, 0, 0, 0, 0], 4
|
|
653
714
|
];
|
|
654
|
-
export var NotFoundException$ = [-3, n0, _NFE,
|
|
655
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
656
|
-
[_m],
|
|
657
|
-
[0]
|
|
658
|
-
];
|
|
659
|
-
TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
|
|
660
715
|
export var PutTableBucketEncryptionRequest$ = [3, n0, _PTBER,
|
|
661
716
|
0,
|
|
662
717
|
[_tBARN, _eC],
|
|
@@ -684,7 +739,7 @@ export var PutTableBucketReplicationRequest$ = [3, n0, _PTBRR,
|
|
|
684
739
|
];
|
|
685
740
|
export var PutTableBucketReplicationResponse$ = [3, n0, _PTBRRu,
|
|
686
741
|
0,
|
|
687
|
-
[_vT,
|
|
742
|
+
[_vT, _st],
|
|
688
743
|
[0, 0], 2
|
|
689
744
|
];
|
|
690
745
|
export var PutTableBucketStorageClassRequest$ = [3, n0, _PTBSCR,
|
|
@@ -714,7 +769,7 @@ export var PutTableReplicationRequest$ = [3, n0, _PTRR,
|
|
|
714
769
|
];
|
|
715
770
|
export var PutTableReplicationResponse$ = [3, n0, _PTRRu,
|
|
716
771
|
0,
|
|
717
|
-
[_vT,
|
|
772
|
+
[_vT, _st],
|
|
718
773
|
[0, 0], 2
|
|
719
774
|
];
|
|
720
775
|
export var RenameTableRequest$ = [3, n0, _RTR,
|
|
@@ -739,8 +794,8 @@ export var ReplicationInformation$ = [3, n0, _RI,
|
|
|
739
794
|
];
|
|
740
795
|
export var SchemaField$ = [3, n0, _SF,
|
|
741
796
|
0,
|
|
742
|
-
[_na, _ty, _r],
|
|
743
|
-
[0, 0, 2], 2
|
|
797
|
+
[_na, _ty, _i, _r],
|
|
798
|
+
[0, 0, 1, 2], 2
|
|
744
799
|
];
|
|
745
800
|
export var StorageClassConfiguration$ = [3, n0, _SCC,
|
|
746
801
|
0,
|
|
@@ -749,7 +804,7 @@ export var StorageClassConfiguration$ = [3, n0, _SCC,
|
|
|
749
804
|
];
|
|
750
805
|
export var TableBucketMaintenanceConfigurationValue$ = [3, n0, _TBMCV,
|
|
751
806
|
0,
|
|
752
|
-
[
|
|
807
|
+
[_st, _set],
|
|
753
808
|
[0, () => TableBucketMaintenanceSettings$]
|
|
754
809
|
];
|
|
755
810
|
export var TableBucketReplicationConfiguration$ = [3, n0, _TBRC,
|
|
@@ -769,17 +824,17 @@ export var TableBucketSummary$ = [3, n0, _TBS,
|
|
|
769
824
|
];
|
|
770
825
|
export var TableMaintenanceConfigurationValue$ = [3, n0, _TMCV,
|
|
771
826
|
0,
|
|
772
|
-
[
|
|
827
|
+
[_st, _set],
|
|
773
828
|
[0, () => TableMaintenanceSettings$]
|
|
774
829
|
];
|
|
775
830
|
export var TableMaintenanceJobStatusValue$ = [3, n0, _TMJSV,
|
|
776
831
|
0,
|
|
777
|
-
[
|
|
832
|
+
[_st, _lRT, _fM],
|
|
778
833
|
[0, 5, 0], 1
|
|
779
834
|
];
|
|
780
835
|
export var TableRecordExpirationConfigurationValue$ = [3, n0, _TRECV,
|
|
781
836
|
0,
|
|
782
|
-
[
|
|
837
|
+
[_st, _set],
|
|
783
838
|
[0, () => TableRecordExpirationSettings$]
|
|
784
839
|
];
|
|
785
840
|
export var TableRecordExpirationJobMetrics$ = [3, n0, _TREJM,
|
|
@@ -817,12 +872,6 @@ export var TagResourceResponse$ = [3, n0, _TRRag,
|
|
|
817
872
|
[],
|
|
818
873
|
[]
|
|
819
874
|
];
|
|
820
|
-
export var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
821
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
822
|
-
[_m],
|
|
823
|
-
[0]
|
|
824
|
-
];
|
|
825
|
-
TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
826
875
|
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
827
876
|
0,
|
|
828
877
|
[_rA, _tK],
|
|
@@ -844,8 +893,14 @@ export var UpdateTableMetadataLocationResponse$ = [3, n0, _UTMLRp,
|
|
|
844
893
|
[0, 0, 64 | 0, 0, 0], 5
|
|
845
894
|
];
|
|
846
895
|
var __Unit = "unit";
|
|
847
|
-
|
|
848
|
-
|
|
896
|
+
var IcebergPartitionFieldList = [1, n0, _IPFL,
|
|
897
|
+
0, [() => IcebergPartitionField$,
|
|
898
|
+
0]
|
|
899
|
+
];
|
|
900
|
+
var IcebergSortFieldList = [1, n0, _ISFL,
|
|
901
|
+
0, [() => IcebergSortField$,
|
|
902
|
+
0]
|
|
903
|
+
];
|
|
849
904
|
var NamespaceList = 64 | 0;
|
|
850
905
|
var NamespaceSummaryList = [1, n0, _NSL,
|
|
851
906
|
0, () => NamespaceSummary$
|
|
@@ -896,7 +951,7 @@ export var TableMaintenanceSettings$ = [4, n0, _TMS,
|
|
|
896
951
|
export var TableMetadata$ = [4, n0, _TM,
|
|
897
952
|
0,
|
|
898
953
|
[_ic],
|
|
899
|
-
[() => IcebergMetadata
|
|
954
|
+
[[() => IcebergMetadata$, 0]]
|
|
900
955
|
];
|
|
901
956
|
export var CreateNamespace$ = [9, n0, _CN,
|
|
902
957
|
{ [_h]: ["PUT", "/namespaces/{tableBucketARN}", 200] }, () => CreateNamespaceRequest$, () => CreateNamespaceResponse$
|
|
@@ -46,12 +46,35 @@ declare const CreateTableCommand_base: {
|
|
|
46
46
|
* schema: { // IcebergSchema
|
|
47
47
|
* fields: [ // SchemaFieldList // required
|
|
48
48
|
* { // SchemaField
|
|
49
|
+
* id: Number("int"),
|
|
49
50
|
* name: "STRING_VALUE", // required
|
|
50
51
|
* type: "STRING_VALUE", // required
|
|
51
52
|
* required: true || false,
|
|
52
53
|
* },
|
|
53
54
|
* ],
|
|
54
55
|
* },
|
|
56
|
+
* partitionSpec: { // IcebergPartitionSpec
|
|
57
|
+
* fields: [ // IcebergPartitionFieldList // required
|
|
58
|
+
* { // IcebergPartitionField
|
|
59
|
+
* sourceId: Number("int"), // required
|
|
60
|
+
* transform: "STRING_VALUE", // required
|
|
61
|
+
* name: "STRING_VALUE", // required
|
|
62
|
+
* fieldId: Number("int"),
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* specId: Number("int"),
|
|
66
|
+
* },
|
|
67
|
+
* writeOrder: { // IcebergSortOrder
|
|
68
|
+
* orderId: Number("int"), // required
|
|
69
|
+
* fields: [ // IcebergSortFieldList // required
|
|
70
|
+
* { // IcebergSortField
|
|
71
|
+
* sourceId: Number("int"), // required
|
|
72
|
+
* transform: "STRING_VALUE", // required
|
|
73
|
+
* direction: "asc" || "desc", // required
|
|
74
|
+
* nullOrder: "nulls-first" || "nulls-last", // required
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
55
78
|
* properties: { // TableProperties
|
|
56
79
|
* "<keys>": "STRING_VALUE",
|
|
57
80
|
* },
|
|
@@ -21,6 +21,30 @@ export declare const OpenTableFormat: {
|
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
23
|
export type OpenTableFormat = (typeof OpenTableFormat)[keyof typeof OpenTableFormat];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const IcebergSortDirection: {
|
|
29
|
+
readonly ASC: "asc";
|
|
30
|
+
readonly DESC: "desc";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type IcebergSortDirection = (typeof IcebergSortDirection)[keyof typeof IcebergSortDirection];
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
* @enum
|
|
39
|
+
*/
|
|
40
|
+
export declare const IcebergNullOrder: {
|
|
41
|
+
readonly NULLS_FIRST: "nulls-first";
|
|
42
|
+
readonly NULLS_LAST: "nulls-last";
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export type IcebergNullOrder = (typeof IcebergNullOrder)[keyof typeof IcebergNullOrder];
|
|
24
48
|
/**
|
|
25
49
|
* @public
|
|
26
50
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IcebergCompactionStrategy, JobStatus, MaintenanceStatus, OpenTableFormat, ReplicationStatus, SSEAlgorithm, StorageClass, TableBucketMaintenanceType, TableBucketType, TableMaintenanceJobType, TableMaintenanceType, TableRecordExpirationJobStatus, TableRecordExpirationStatus, TableType } from "./enums";
|
|
1
|
+
import { IcebergCompactionStrategy, IcebergNullOrder, IcebergSortDirection, JobStatus, MaintenanceStatus, OpenTableFormat, ReplicationStatus, SSEAlgorithm, StorageClass, TableBucketMaintenanceType, TableBucketType, TableMaintenanceJobType, TableMaintenanceType, TableRecordExpirationJobStatus, TableRecordExpirationStatus, TableType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -45,11 +45,58 @@ export interface EncryptionConfiguration {
|
|
|
45
45
|
*/
|
|
46
46
|
kmsKeyArn?: string | undefined;
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* <p>Defines a single partition field in an Iceberg partition specification.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export interface IcebergPartitionField {
|
|
53
|
+
/**
|
|
54
|
+
* <p>The ID of the source schema field to partition by. This must reference a valid field ID from the table schema.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
sourceId: number | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>The partition transform to apply to the source field. Supported transforms include <code>identity</code>, <code>year</code>, <code>month</code>, <code>day</code>, <code>hour</code>, <code>bucket</code>, and <code>truncate</code>. For more information, see the <a href="https://iceberg.apache.org/spec/#partition-transforms">Apache Iceberg partition transforms documentation</a>.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
transform: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>The name for this partition field. This name is used in the partitioned file paths.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
name: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>An optional unique identifier for this partition field. If not specified, S3 Tables automatically assigns a field ID.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
fieldId?: number | undefined;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>Defines how data in an Iceberg table is partitioned. Partitioning helps optimize query performance by organizing data into separate files based on field values. Each partition field specifies a transform to apply to a source field.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export interface IcebergPartitionSpec {
|
|
79
|
+
/**
|
|
80
|
+
* <p>The list of partition fields that define how the table data is partitioned. Each field specifies a source field and a transform to apply. This field is required if <code>partitionSpec</code> is provided.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
fields: IcebergPartitionField[] | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The unique identifier for this partition specification. If not specified, defaults to <code>0</code>.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
specId?: number | undefined;
|
|
89
|
+
}
|
|
48
90
|
/**
|
|
49
91
|
* <p>Contains details about a schema field.</p>
|
|
50
92
|
* @public
|
|
51
93
|
*/
|
|
52
94
|
export interface SchemaField {
|
|
95
|
+
/**
|
|
96
|
+
* <p>An optional unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes. If not specified, S3 Tables automatically assigns field IDs.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
id?: number | undefined;
|
|
53
100
|
/**
|
|
54
101
|
* <p>The name of the field.</p>
|
|
55
102
|
* @public
|
|
@@ -77,6 +124,48 @@ export interface IcebergSchema {
|
|
|
77
124
|
*/
|
|
78
125
|
fields: SchemaField[] | undefined;
|
|
79
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* <p>Defines a single sort field in an Iceberg sort order specification.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export interface IcebergSortField {
|
|
132
|
+
/**
|
|
133
|
+
* <p>The ID of the source schema field to sort by. This must reference a valid field ID from the table schema.</p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
sourceId: number | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* <p>The transform to apply to the source field before sorting. Use <code>identity</code> to sort by the field value directly, or specify other transforms as needed.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
transform: string | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* <p>The sort direction. Valid values are <code>asc</code> for ascending order or <code>desc</code> for descending order.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
direction: IcebergSortDirection | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* <p>Specifies how null values are ordered. Valid values are <code>nulls-first</code> to place nulls before non-null values, or <code>nulls-last</code> to place nulls after non-null values.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
nullOrder: IcebergNullOrder | undefined;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* <p>Defines the sort order for data within an Iceberg table. Sorting data can improve query performance by enabling more efficient data skipping.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export interface IcebergSortOrder {
|
|
158
|
+
/**
|
|
159
|
+
* <p>The unique identifier for this sort order. If not specified, defaults to <code>1</code>. The order ID is used by Apache Iceberg to track sort order evolution.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
orderId: number | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* <p>The list of sort fields that define how data is sorted within files. Each field specifies a source field, sort direction, and null ordering. This field is required if <code>writeOrder</code> is provided.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
fields: IcebergSortField[] | undefined;
|
|
168
|
+
}
|
|
80
169
|
/**
|
|
81
170
|
* <p>Contains details about the metadata for an Iceberg table.</p>
|
|
82
171
|
* @public
|
|
@@ -88,7 +177,17 @@ export interface IcebergMetadata {
|
|
|
88
177
|
*/
|
|
89
178
|
schema: IcebergSchema | undefined;
|
|
90
179
|
/**
|
|
91
|
-
* <p>
|
|
180
|
+
* <p>The partition specification for the Iceberg table. Partitioning organizes data into separate files based on the values of one or more fields, which can improve query performance by reducing the amount of data scanned. Each partition field applies a transform (such as identity, year, month, or bucket) to a single field.</p>
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
partitionSpec?: IcebergPartitionSpec | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* <p>The sort order for the Iceberg table. Sort order defines how data is sorted within data files, which can improve query performance by enabling more efficient data skipping and filtering.</p>
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
writeOrder?: IcebergSortOrder | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* <p>A map of custom configuration properties for the Iceberg table.</p>
|
|
92
191
|
* @public
|
|
93
192
|
*/
|
|
94
193
|
properties?: Record<string, string> | undefined;
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
|
+
export declare var S3TablesServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
3
5
|
export declare var BadRequestException$: StaticErrorSchema;
|
|
4
6
|
export declare var ConflictException$: StaticErrorSchema;
|
|
7
|
+
export declare var ForbiddenException$: StaticErrorSchema;
|
|
8
|
+
export declare var InternalServerErrorException$: StaticErrorSchema;
|
|
9
|
+
export declare var MethodNotAllowedException$: StaticErrorSchema;
|
|
10
|
+
export declare var NotFoundException$: StaticErrorSchema;
|
|
11
|
+
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
12
|
+
/**
|
|
13
|
+
* TypeRegistry instances containing modeled errors.
|
|
14
|
+
* @internal
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
5
18
|
export declare var CreateNamespaceRequest$: StaticStructureSchema;
|
|
6
19
|
export declare var CreateNamespaceResponse$: StaticStructureSchema;
|
|
7
20
|
export declare var CreateTableBucketRequest$: StaticStructureSchema;
|
|
@@ -18,7 +31,6 @@ export declare var DeleteTablePolicyRequest$: StaticStructureSchema;
|
|
|
18
31
|
export declare var DeleteTableReplicationRequest$: StaticStructureSchema;
|
|
19
32
|
export declare var DeleteTableRequest$: StaticStructureSchema;
|
|
20
33
|
export declare var EncryptionConfiguration$: StaticStructureSchema;
|
|
21
|
-
export declare var ForbiddenException$: StaticErrorSchema;
|
|
22
34
|
export declare var GetNamespaceRequest$: StaticStructureSchema;
|
|
23
35
|
export declare var GetNamespaceResponse$: StaticStructureSchema;
|
|
24
36
|
export declare var GetTableBucketEncryptionRequest$: StaticStructureSchema;
|
|
@@ -59,10 +71,13 @@ export declare var GetTableStorageClassRequest$: StaticStructureSchema;
|
|
|
59
71
|
export declare var GetTableStorageClassResponse$: StaticStructureSchema;
|
|
60
72
|
export declare var IcebergCompactionSettings$: StaticStructureSchema;
|
|
61
73
|
export declare var IcebergMetadata$: StaticStructureSchema;
|
|
74
|
+
export declare var IcebergPartitionField$: StaticStructureSchema;
|
|
75
|
+
export declare var IcebergPartitionSpec$: StaticStructureSchema;
|
|
62
76
|
export declare var IcebergSchema$: StaticStructureSchema;
|
|
63
77
|
export declare var IcebergSnapshotManagementSettings$: StaticStructureSchema;
|
|
78
|
+
export declare var IcebergSortField$: StaticStructureSchema;
|
|
79
|
+
export declare var IcebergSortOrder$: StaticStructureSchema;
|
|
64
80
|
export declare var IcebergUnreferencedFileRemovalSettings$: StaticStructureSchema;
|
|
65
|
-
export declare var InternalServerErrorException$: StaticErrorSchema;
|
|
66
81
|
export declare var LastSuccessfulReplicatedUpdate$: StaticStructureSchema;
|
|
67
82
|
export declare var ListNamespacesRequest$: StaticStructureSchema;
|
|
68
83
|
export declare var ListNamespacesResponse$: StaticStructureSchema;
|
|
@@ -73,9 +88,7 @@ export declare var ListTablesResponse$: StaticStructureSchema;
|
|
|
73
88
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
74
89
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
75
90
|
export declare var ManagedTableInformation$: StaticStructureSchema;
|
|
76
|
-
export declare var MethodNotAllowedException$: StaticErrorSchema;
|
|
77
91
|
export declare var NamespaceSummary$: StaticStructureSchema;
|
|
78
|
-
export declare var NotFoundException$: StaticErrorSchema;
|
|
79
92
|
export declare var PutTableBucketEncryptionRequest$: StaticStructureSchema;
|
|
80
93
|
export declare var PutTableBucketMaintenanceConfigurationRequest$: StaticStructureSchema;
|
|
81
94
|
export declare var PutTableBucketMetricsConfigurationRequest$: StaticStructureSchema;
|
|
@@ -108,12 +121,10 @@ export declare var TableReplicationRule$: StaticStructureSchema;
|
|
|
108
121
|
export declare var TableSummary$: StaticStructureSchema;
|
|
109
122
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
110
123
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
111
|
-
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
112
124
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
113
125
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
114
126
|
export declare var UpdateTableMetadataLocationRequest$: StaticStructureSchema;
|
|
115
127
|
export declare var UpdateTableMetadataLocationResponse$: StaticStructureSchema;
|
|
116
|
-
export declare var S3TablesServiceException$: StaticErrorSchema;
|
|
117
128
|
export declare var TableBucketMaintenanceSettings$: StaticUnionSchema;
|
|
118
129
|
export declare var TableMaintenanceSettings$: StaticUnionSchema;
|
|
119
130
|
export declare var TableMetadata$: StaticUnionSchema;
|