@aws-sdk/client-s3tables 3.1020.0 → 3.1021.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 CHANGED
@@ -774,6 +774,9 @@ const SSEAlgorithm = {
774
774
  const OpenTableFormat = {
775
775
  ICEBERG: "ICEBERG",
776
776
  };
777
+ const SchemaV2FieldType = {
778
+ STRUCT: "struct",
779
+ };
777
780
  const IcebergSortDirection = {
778
781
  ASC: "asc",
779
782
  DESC: "desc",
@@ -897,6 +900,7 @@ exports.ReplicationStatus = ReplicationStatus;
897
900
  exports.S3Tables = S3Tables;
898
901
  exports.S3TablesClient = S3TablesClient;
899
902
  exports.SSEAlgorithm = SSEAlgorithm;
903
+ exports.SchemaV2FieldType = SchemaV2FieldType;
900
904
  exports.StorageClass = StorageClass;
901
905
  exports.TableBucketMaintenanceType = TableBucketMaintenanceType;
902
906
  exports.TableBucketType = TableBucketType;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetTableMetadataLocationResponse$ = exports.GetTableMetadataLocationRequest$ = exports.GetTableMaintenanceJobStatusResponse$ = exports.GetTableMaintenanceJobStatusRequest$ = exports.GetTableMaintenanceConfigurationResponse$ = exports.GetTableMaintenanceConfigurationRequest$ = exports.GetTableEncryptionResponse$ = exports.GetTableEncryptionRequest$ = exports.GetTableBucketStorageClassResponse$ = exports.GetTableBucketStorageClassRequest$ = exports.GetTableBucketResponse$ = exports.GetTableBucketRequest$ = exports.GetTableBucketReplicationResponse$ = exports.GetTableBucketReplicationRequest$ = exports.GetTableBucketPolicyResponse$ = exports.GetTableBucketPolicyRequest$ = exports.GetTableBucketMetricsConfigurationResponse$ = exports.GetTableBucketMetricsConfigurationRequest$ = exports.GetTableBucketMaintenanceConfigurationResponse$ = exports.GetTableBucketMaintenanceConfigurationRequest$ = exports.GetTableBucketEncryptionResponse$ = exports.GetTableBucketEncryptionRequest$ = exports.GetNamespaceResponse$ = exports.GetNamespaceRequest$ = exports.EncryptionConfiguration$ = exports.DeleteTableRequest$ = exports.DeleteTableReplicationRequest$ = exports.DeleteTablePolicyRequest$ = exports.DeleteTableBucketRequest$ = exports.DeleteTableBucketReplicationRequest$ = exports.DeleteTableBucketPolicyRequest$ = exports.DeleteTableBucketMetricsConfigurationRequest$ = exports.DeleteTableBucketEncryptionRequest$ = exports.DeleteNamespaceRequest$ = exports.CreateTableResponse$ = exports.CreateTableRequest$ = exports.CreateTableBucketResponse$ = exports.CreateTableBucketRequest$ = exports.CreateNamespaceResponse$ = exports.CreateNamespaceRequest$ = exports.errorTypeRegistries = exports.TooManyRequestsException$ = exports.NotFoundException$ = exports.MethodNotAllowedException$ = exports.InternalServerErrorException$ = exports.ForbiddenException$ = exports.ConflictException$ = exports.BadRequestException$ = exports.AccessDeniedException$ = exports.S3TablesServiceException$ = void 0;
4
- exports.ReplicationInformation$ = exports.ReplicationDestinationStatusModel$ = exports.ReplicationDestination$ = exports.RenameTableRequest$ = exports.PutTableReplicationResponse$ = exports.PutTableReplicationRequest$ = exports.PutTableRecordExpirationConfigurationRequest$ = exports.PutTablePolicyRequest$ = exports.PutTableMaintenanceConfigurationRequest$ = exports.PutTableBucketStorageClassRequest$ = exports.PutTableBucketReplicationResponse$ = exports.PutTableBucketReplicationRequest$ = exports.PutTableBucketPolicyRequest$ = exports.PutTableBucketMetricsConfigurationRequest$ = exports.PutTableBucketMaintenanceConfigurationRequest$ = exports.PutTableBucketEncryptionRequest$ = exports.NamespaceSummary$ = exports.ManagedTableInformation$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListTablesResponse$ = exports.ListTablesRequest$ = exports.ListTableBucketsResponse$ = exports.ListTableBucketsRequest$ = exports.ListNamespacesResponse$ = exports.ListNamespacesRequest$ = exports.LastSuccessfulReplicatedUpdate$ = exports.IcebergUnreferencedFileRemovalSettings$ = exports.IcebergSortOrder$ = exports.IcebergSortField$ = exports.IcebergSnapshotManagementSettings$ = exports.IcebergSchema$ = exports.IcebergPartitionSpec$ = exports.IcebergPartitionField$ = exports.IcebergMetadata$ = exports.IcebergCompactionSettings$ = exports.GetTableStorageClassResponse$ = exports.GetTableStorageClassRequest$ = exports.GetTableResponse$ = exports.GetTableRequest$ = exports.GetTableReplicationStatusResponse$ = exports.GetTableReplicationStatusRequest$ = exports.GetTableReplicationResponse$ = exports.GetTableReplicationRequest$ = exports.GetTableRecordExpirationJobStatusResponse$ = exports.GetTableRecordExpirationJobStatusRequest$ = exports.GetTableRecordExpirationConfigurationResponse$ = exports.GetTableRecordExpirationConfigurationRequest$ = exports.GetTablePolicyResponse$ = exports.GetTablePolicyRequest$ = void 0;
5
- exports.GetTableRecordExpirationConfiguration$ = exports.GetTablePolicy$ = exports.GetTableMetadataLocation$ = exports.GetTableMaintenanceJobStatus$ = exports.GetTableMaintenanceConfiguration$ = exports.GetTableEncryption$ = exports.GetTableBucketStorageClass$ = exports.GetTableBucketReplication$ = exports.GetTableBucketPolicy$ = exports.GetTableBucketMetricsConfiguration$ = exports.GetTableBucketMaintenanceConfiguration$ = exports.GetTableBucketEncryption$ = exports.GetTableBucket$ = exports.GetTable$ = exports.GetNamespace$ = exports.DeleteTableReplication$ = exports.DeleteTablePolicy$ = exports.DeleteTableBucketReplication$ = exports.DeleteTableBucketPolicy$ = exports.DeleteTableBucketMetricsConfiguration$ = exports.DeleteTableBucketEncryption$ = exports.DeleteTableBucket$ = exports.DeleteTable$ = exports.DeleteNamespace$ = exports.CreateTableBucket$ = exports.CreateTable$ = exports.CreateNamespace$ = exports.TableMetadata$ = exports.TableMaintenanceSettings$ = exports.TableBucketMaintenanceSettings$ = exports.UpdateTableMetadataLocationResponse$ = exports.UpdateTableMetadataLocationRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.TableSummary$ = exports.TableReplicationRule$ = exports.TableReplicationConfiguration$ = exports.TableRecordExpirationSettings$ = exports.TableRecordExpirationJobMetrics$ = exports.TableRecordExpirationConfigurationValue$ = exports.TableMaintenanceJobStatusValue$ = exports.TableMaintenanceConfigurationValue$ = exports.TableBucketSummary$ = exports.TableBucketReplicationRule$ = exports.TableBucketReplicationConfiguration$ = exports.TableBucketMaintenanceConfigurationValue$ = exports.StorageClassConfiguration$ = exports.SchemaField$ = void 0;
6
- exports.UpdateTableMetadataLocation$ = exports.UntagResource$ = exports.TagResource$ = exports.RenameTable$ = exports.PutTableReplication$ = exports.PutTableRecordExpirationConfiguration$ = exports.PutTablePolicy$ = exports.PutTableMaintenanceConfiguration$ = exports.PutTableBucketStorageClass$ = exports.PutTableBucketReplication$ = exports.PutTableBucketPolicy$ = exports.PutTableBucketMetricsConfiguration$ = exports.PutTableBucketMaintenanceConfiguration$ = exports.PutTableBucketEncryption$ = exports.ListTagsForResource$ = exports.ListTables$ = exports.ListTableBuckets$ = exports.ListNamespaces$ = exports.GetTableStorageClass$ = exports.GetTableReplicationStatus$ = exports.GetTableReplication$ = exports.GetTableRecordExpirationJobStatus$ = void 0;
4
+ exports.ReplicationDestinationStatusModel$ = exports.ReplicationDestination$ = exports.RenameTableRequest$ = exports.PutTableReplicationResponse$ = exports.PutTableReplicationRequest$ = exports.PutTableRecordExpirationConfigurationRequest$ = exports.PutTablePolicyRequest$ = exports.PutTableMaintenanceConfigurationRequest$ = exports.PutTableBucketStorageClassRequest$ = exports.PutTableBucketReplicationResponse$ = exports.PutTableBucketReplicationRequest$ = exports.PutTableBucketPolicyRequest$ = exports.PutTableBucketMetricsConfigurationRequest$ = exports.PutTableBucketMaintenanceConfigurationRequest$ = exports.PutTableBucketEncryptionRequest$ = exports.NamespaceSummary$ = exports.ManagedTableInformation$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListTablesResponse$ = exports.ListTablesRequest$ = exports.ListTableBucketsResponse$ = exports.ListTableBucketsRequest$ = exports.ListNamespacesResponse$ = exports.ListNamespacesRequest$ = exports.LastSuccessfulReplicatedUpdate$ = exports.IcebergUnreferencedFileRemovalSettings$ = exports.IcebergSortOrder$ = exports.IcebergSortField$ = exports.IcebergSnapshotManagementSettings$ = exports.IcebergSchemaV2$ = exports.IcebergSchema$ = exports.IcebergPartitionSpec$ = exports.IcebergPartitionField$ = exports.IcebergMetadata$ = exports.IcebergCompactionSettings$ = exports.GetTableStorageClassResponse$ = exports.GetTableStorageClassRequest$ = exports.GetTableResponse$ = exports.GetTableRequest$ = exports.GetTableReplicationStatusResponse$ = exports.GetTableReplicationStatusRequest$ = exports.GetTableReplicationResponse$ = exports.GetTableReplicationRequest$ = exports.GetTableRecordExpirationJobStatusResponse$ = exports.GetTableRecordExpirationJobStatusRequest$ = exports.GetTableRecordExpirationConfigurationResponse$ = exports.GetTableRecordExpirationConfigurationRequest$ = exports.GetTablePolicyResponse$ = exports.GetTablePolicyRequest$ = void 0;
5
+ exports.GetTableMetadataLocation$ = exports.GetTableMaintenanceJobStatus$ = exports.GetTableMaintenanceConfiguration$ = exports.GetTableEncryption$ = exports.GetTableBucketStorageClass$ = exports.GetTableBucketReplication$ = exports.GetTableBucketPolicy$ = exports.GetTableBucketMetricsConfiguration$ = exports.GetTableBucketMaintenanceConfiguration$ = exports.GetTableBucketEncryption$ = exports.GetTableBucket$ = exports.GetTable$ = exports.GetNamespace$ = exports.DeleteTableReplication$ = exports.DeleteTablePolicy$ = exports.DeleteTableBucketReplication$ = exports.DeleteTableBucketPolicy$ = exports.DeleteTableBucketMetricsConfiguration$ = exports.DeleteTableBucketEncryption$ = exports.DeleteTableBucket$ = exports.DeleteTable$ = exports.DeleteNamespace$ = exports.CreateTableBucket$ = exports.CreateTable$ = exports.CreateNamespace$ = exports.TableMetadata$ = exports.TableMaintenanceSettings$ = exports.TableBucketMaintenanceSettings$ = exports.UpdateTableMetadataLocationResponse$ = exports.UpdateTableMetadataLocationRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.TableSummary$ = exports.TableReplicationRule$ = exports.TableReplicationConfiguration$ = exports.TableRecordExpirationSettings$ = exports.TableRecordExpirationJobMetrics$ = exports.TableRecordExpirationConfigurationValue$ = exports.TableMaintenanceJobStatusValue$ = exports.TableMaintenanceConfigurationValue$ = exports.TableBucketSummary$ = exports.TableBucketReplicationRule$ = exports.TableBucketReplicationConfiguration$ = exports.TableBucketMaintenanceConfigurationValue$ = exports.StorageClassConfiguration$ = exports.SchemaV2Field$ = exports.SchemaField$ = exports.ReplicationInformation$ = void 0;
6
+ exports.UpdateTableMetadataLocation$ = exports.UntagResource$ = exports.TagResource$ = exports.RenameTable$ = exports.PutTableReplication$ = exports.PutTableRecordExpirationConfiguration$ = exports.PutTablePolicy$ = exports.PutTableMaintenanceConfiguration$ = exports.PutTableBucketStorageClass$ = exports.PutTableBucketReplication$ = exports.PutTableBucketPolicy$ = exports.PutTableBucketMetricsConfiguration$ = exports.PutTableBucketMaintenanceConfiguration$ = exports.PutTableBucketEncryption$ = exports.ListTagsForResource$ = exports.ListTables$ = exports.ListTableBuckets$ = exports.ListNamespaces$ = exports.GetTableStorageClass$ = exports.GetTableReplicationStatus$ = exports.GetTableReplication$ = exports.GetTableRecordExpirationJobStatus$ = exports.GetTableRecordExpirationConfiguration$ = exports.GetTablePolicy$ = void 0;
7
7
  const _ADE = "AccessDeniedException";
8
8
  const _BRE = "BadRequestException";
9
9
  const _CE = "ConflictException";
@@ -104,6 +104,7 @@ const _ISF = "IcebergSortField";
104
104
  const _ISFL = "IcebergSortFieldList";
105
105
  const _ISMS = "IcebergSnapshotManagementSettings";
106
106
  const _ISO = "IcebergSortOrder";
107
+ const _ISV = "IcebergSchemaV2";
107
108
  const _IUFRS = "IcebergUnreferencedFileRemovalSettings";
108
109
  const _LN = "ListNamespaces";
109
110
  const _LNR = "ListNamespacesRequest";
@@ -155,6 +156,8 @@ const _RTR = "RenameTableRequest";
155
156
  const _SCC = "StorageClassConfiguration";
156
157
  const _SF = "SchemaField";
157
158
  const _SFL = "SchemaFieldList";
159
+ const _SVF = "SchemaV2Field";
160
+ const _SVFL = "SchemaV2FieldList";
158
161
  const _TBMC = "TableBucketMaintenanceConfiguration";
159
162
  const _TBMCV = "TableBucketMaintenanceConfigurationValue";
160
163
  const _TBMS = "TableBucketMaintenanceSettings";
@@ -201,6 +204,7 @@ const _dTBA = "destinationTableBucketArn";
201
204
  const _dTBARN = "destinationTableBucketARN";
202
205
  const _da = "days";
203
206
  const _di = "direction";
207
+ const _do = "doc";
204
208
  const _e = "error";
205
209
  const _eC = "encryptionConfiguration";
206
210
  const _f = "format";
@@ -213,9 +217,11 @@ const _hE = "httpError";
213
217
  const _hQ = "httpQuery";
214
218
  const _i = "id";
215
219
  const _iC = "icebergCompaction";
220
+ const _iFI = "identifierFieldIds";
216
221
  const _iSM = "icebergSnapshotManagement";
217
222
  const _iUFR = "icebergUnreferencedFileRemoval";
218
223
  const _ic = "iceberg";
224
+ const _ifi = "identifier-field-ids";
219
225
  const _jN = "jsonName";
220
226
  const _kKA = "kmsKeyArn";
221
227
  const _lRT = "lastRunTimestamp";
@@ -261,14 +267,17 @@ const _sA = "sseAlgorithm";
261
267
  const _sC = "storageClass";
262
268
  const _sCC = "storageClassConfiguration";
263
269
  const _sI = "sourceId";
270
+ const _sIc = "schemaId";
264
271
  const _sIp = "specId";
265
272
  const _sTA = "sourceTableArn";
266
273
  const _sTARN = "sourceTableARN";
274
+ const _sV = "schemaV2";
267
275
  const _sc = "schema";
268
276
  const _se = "server";
269
277
  const _set = "settings";
270
278
  const _si = "source-id";
271
279
  const _si_ = "spec-id";
280
+ const _si__ = "schema-id";
272
281
  const _st = "status";
273
282
  const _str = "strategy";
274
283
  const _t = "tags";
@@ -625,8 +634,8 @@ exports.IcebergCompactionSettings$ = [3, n0, _ICS,
625
634
  ];
626
635
  exports.IcebergMetadata$ = [3, n0, _IM,
627
636
  0,
628
- [_sc, _pS, _wO, _p],
629
- [() => exports.IcebergSchema$, [() => exports.IcebergPartitionSpec$, 0], [() => exports.IcebergSortOrder$, 0], 128 | 0], 1
637
+ [_sc, _sV, _pS, _wO, _p],
638
+ [() => exports.IcebergSchema$, [() => exports.IcebergSchemaV2$, 0], [() => exports.IcebergPartitionSpec$, 0], [() => exports.IcebergSortOrder$, 0], 128 | 0]
630
639
  ];
631
640
  exports.IcebergPartitionField$ = [3, n0, _IPF,
632
641
  0,
@@ -643,6 +652,11 @@ exports.IcebergSchema$ = [3, n0, _IS,
643
652
  [_fie],
644
653
  [() => SchemaFieldList], 1
645
654
  ];
655
+ exports.IcebergSchemaV2$ = [3, n0, _ISV,
656
+ 0,
657
+ [_ty, _fie, _sIc, _iFI],
658
+ [0, () => SchemaV2FieldList, [1, { [_jN]: _si__ }], [64 | 1, { [_jN]: _ifi }]], 2
659
+ ];
646
660
  exports.IcebergSnapshotManagementSettings$ = [3, n0, _ISMS,
647
661
  0,
648
662
  [_mSTK, _mSAH],
@@ -803,6 +817,11 @@ exports.SchemaField$ = [3, n0, _SF,
803
817
  [_na, _ty, _i, _r],
804
818
  [0, 0, 1, 2], 2
805
819
  ];
820
+ exports.SchemaV2Field$ = [3, n0, _SVF,
821
+ 0,
822
+ [_i, _na, _ty, _r, _do],
823
+ [1, 0, 15, 2, 0], 4
824
+ ];
806
825
  exports.StorageClassConfiguration$ = [3, n0, _SCC,
807
826
  0,
808
827
  [_sC],
@@ -907,6 +926,7 @@ var IcebergSortFieldList = [1, n0, _ISFL,
907
926
  0, [() => exports.IcebergSortField$,
908
927
  0]
909
928
  ];
929
+ var IntegerList = 64 | 1;
910
930
  var NamespaceList = 64 | 0;
911
931
  var NamespaceSummaryList = [1, n0, _NSL,
912
932
  0, () => exports.NamespaceSummary$
@@ -920,6 +940,9 @@ var ReplicationDestinationStatuses = [1, n0, _RDS,
920
940
  var SchemaFieldList = [1, n0, _SFL,
921
941
  0, () => exports.SchemaField$
922
942
  ];
943
+ var SchemaV2FieldList = [1, n0, _SVFL,
944
+ 0, () => exports.SchemaV2Field$
945
+ ];
923
946
  var TableBucketReplicationRules = [1, n0, _TBRRa,
924
947
  0, () => exports.TableBucketReplicationRule$
925
948
  ];
@@ -5,6 +5,9 @@ export const SSEAlgorithm = {
5
5
  export const OpenTableFormat = {
6
6
  ICEBERG: "ICEBERG",
7
7
  };
8
+ export const SchemaV2FieldType = {
9
+ STRUCT: "struct",
10
+ };
8
11
  export const IcebergSortDirection = {
9
12
  ASC: "asc",
10
13
  DESC: "desc",
@@ -98,6 +98,7 @@ const _ISF = "IcebergSortField";
98
98
  const _ISFL = "IcebergSortFieldList";
99
99
  const _ISMS = "IcebergSnapshotManagementSettings";
100
100
  const _ISO = "IcebergSortOrder";
101
+ const _ISV = "IcebergSchemaV2";
101
102
  const _IUFRS = "IcebergUnreferencedFileRemovalSettings";
102
103
  const _LN = "ListNamespaces";
103
104
  const _LNR = "ListNamespacesRequest";
@@ -149,6 +150,8 @@ const _RTR = "RenameTableRequest";
149
150
  const _SCC = "StorageClassConfiguration";
150
151
  const _SF = "SchemaField";
151
152
  const _SFL = "SchemaFieldList";
153
+ const _SVF = "SchemaV2Field";
154
+ const _SVFL = "SchemaV2FieldList";
152
155
  const _TBMC = "TableBucketMaintenanceConfiguration";
153
156
  const _TBMCV = "TableBucketMaintenanceConfigurationValue";
154
157
  const _TBMS = "TableBucketMaintenanceSettings";
@@ -195,6 +198,7 @@ const _dTBA = "destinationTableBucketArn";
195
198
  const _dTBARN = "destinationTableBucketARN";
196
199
  const _da = "days";
197
200
  const _di = "direction";
201
+ const _do = "doc";
198
202
  const _e = "error";
199
203
  const _eC = "encryptionConfiguration";
200
204
  const _f = "format";
@@ -207,9 +211,11 @@ const _hE = "httpError";
207
211
  const _hQ = "httpQuery";
208
212
  const _i = "id";
209
213
  const _iC = "icebergCompaction";
214
+ const _iFI = "identifierFieldIds";
210
215
  const _iSM = "icebergSnapshotManagement";
211
216
  const _iUFR = "icebergUnreferencedFileRemoval";
212
217
  const _ic = "iceberg";
218
+ const _ifi = "identifier-field-ids";
213
219
  const _jN = "jsonName";
214
220
  const _kKA = "kmsKeyArn";
215
221
  const _lRT = "lastRunTimestamp";
@@ -255,14 +261,17 @@ const _sA = "sseAlgorithm";
255
261
  const _sC = "storageClass";
256
262
  const _sCC = "storageClassConfiguration";
257
263
  const _sI = "sourceId";
264
+ const _sIc = "schemaId";
258
265
  const _sIp = "specId";
259
266
  const _sTA = "sourceTableArn";
260
267
  const _sTARN = "sourceTableARN";
268
+ const _sV = "schemaV2";
261
269
  const _sc = "schema";
262
270
  const _se = "server";
263
271
  const _set = "settings";
264
272
  const _si = "source-id";
265
273
  const _si_ = "spec-id";
274
+ const _si__ = "schema-id";
266
275
  const _st = "status";
267
276
  const _str = "strategy";
268
277
  const _t = "tags";
@@ -619,8 +628,8 @@ export var IcebergCompactionSettings$ = [3, n0, _ICS,
619
628
  ];
620
629
  export var IcebergMetadata$ = [3, n0, _IM,
621
630
  0,
622
- [_sc, _pS, _wO, _p],
623
- [() => IcebergSchema$, [() => IcebergPartitionSpec$, 0], [() => IcebergSortOrder$, 0], 128 | 0], 1
631
+ [_sc, _sV, _pS, _wO, _p],
632
+ [() => IcebergSchema$, [() => IcebergSchemaV2$, 0], [() => IcebergPartitionSpec$, 0], [() => IcebergSortOrder$, 0], 128 | 0]
624
633
  ];
625
634
  export var IcebergPartitionField$ = [3, n0, _IPF,
626
635
  0,
@@ -637,6 +646,11 @@ export var IcebergSchema$ = [3, n0, _IS,
637
646
  [_fie],
638
647
  [() => SchemaFieldList], 1
639
648
  ];
649
+ export var IcebergSchemaV2$ = [3, n0, _ISV,
650
+ 0,
651
+ [_ty, _fie, _sIc, _iFI],
652
+ [0, () => SchemaV2FieldList, [1, { [_jN]: _si__ }], [64 | 1, { [_jN]: _ifi }]], 2
653
+ ];
640
654
  export var IcebergSnapshotManagementSettings$ = [3, n0, _ISMS,
641
655
  0,
642
656
  [_mSTK, _mSAH],
@@ -797,6 +811,11 @@ export var SchemaField$ = [3, n0, _SF,
797
811
  [_na, _ty, _i, _r],
798
812
  [0, 0, 1, 2], 2
799
813
  ];
814
+ export var SchemaV2Field$ = [3, n0, _SVF,
815
+ 0,
816
+ [_i, _na, _ty, _r, _do],
817
+ [1, 0, 15, 2, 0], 4
818
+ ];
800
819
  export var StorageClassConfiguration$ = [3, n0, _SCC,
801
820
  0,
802
821
  [_sC],
@@ -901,6 +920,7 @@ var IcebergSortFieldList = [1, n0, _ISFL,
901
920
  0, [() => IcebergSortField$,
902
921
  0]
903
922
  ];
923
+ var IntegerList = 64 | 1;
904
924
  var NamespaceList = 64 | 0;
905
925
  var NamespaceSummaryList = [1, n0, _NSL,
906
926
  0, () => NamespaceSummary$
@@ -914,6 +934,9 @@ var ReplicationDestinationStatuses = [1, n0, _RDS,
914
934
  var SchemaFieldList = [1, n0, _SFL,
915
935
  0, () => SchemaField$
916
936
  ];
937
+ var SchemaV2FieldList = [1, n0, _SVFL,
938
+ 0, () => SchemaV2Field$
939
+ ];
917
940
  var TableBucketReplicationRules = [1, n0, _TBRRa,
918
941
  0, () => TableBucketReplicationRule$
919
942
  ];
@@ -53,6 +53,22 @@ declare const CreateTableCommand_base: {
53
53
  * },
54
54
  * ],
55
55
  * },
56
+ * schemaV2: { // IcebergSchemaV2
57
+ * type: "struct", // required
58
+ * fields: [ // SchemaV2FieldList // required
59
+ * { // SchemaV2Field
60
+ * id: Number("int"), // required
61
+ * name: "STRING_VALUE", // required
62
+ * type: "DOCUMENT_VALUE", // required
63
+ * required: true || false, // required
64
+ * doc: "STRING_VALUE",
65
+ * },
66
+ * ],
67
+ * schemaId: Number("int"),
68
+ * identifierFieldIds: [ // IntegerList
69
+ * Number("int"),
70
+ * ],
71
+ * },
56
72
  * partitionSpec: { // IcebergPartitionSpec
57
73
  * fields: [ // IcebergPartitionFieldList // required
58
74
  * { // IcebergPartitionField
@@ -21,6 +21,17 @@ 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 SchemaV2FieldType: {
29
+ readonly STRUCT: "struct";
30
+ };
31
+ /**
32
+ * @public
33
+ */
34
+ export type SchemaV2FieldType = (typeof SchemaV2FieldType)[keyof typeof SchemaV2FieldType];
24
35
  /**
25
36
  * @public
26
37
  * @enum
@@ -1,4 +1,5 @@
1
- import type { IcebergCompactionStrategy, IcebergNullOrder, IcebergSortDirection, JobStatus, MaintenanceStatus, OpenTableFormat, ReplicationStatus, SSEAlgorithm, StorageClass, TableBucketMaintenanceType, TableBucketType, TableMaintenanceJobType, TableMaintenanceType, TableRecordExpirationJobStatus, TableRecordExpirationStatus, TableType } from "./enums";
1
+ import type { DocumentType as __DocumentType } from "@smithy/types";
2
+ import type { IcebergCompactionStrategy, IcebergNullOrder, IcebergSortDirection, JobStatus, MaintenanceStatus, OpenTableFormat, ReplicationStatus, SchemaV2FieldType, SSEAlgorithm, StorageClass, TableBucketMaintenanceType, TableBucketType, TableMaintenanceJobType, TableMaintenanceType, TableRecordExpirationJobStatus, TableRecordExpirationStatus, TableType } from "./enums";
2
3
  /**
3
4
  * @public
4
5
  */
@@ -124,6 +125,63 @@ export interface IcebergSchema {
124
125
  */
125
126
  fields: SchemaField[] | undefined;
126
127
  }
128
+ /**
129
+ * <p>Contains details about a schema field in the V2 format. This field format supports nested and complex data types such as <code>struct</code>, <code>list</code>, and <code>map</code>, in addition to primitive types.</p>
130
+ * @public
131
+ */
132
+ export interface SchemaV2Field {
133
+ /**
134
+ * <p>The unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes.</p>
135
+ * @public
136
+ */
137
+ id: number | undefined;
138
+ /**
139
+ * <p>The name of the field.</p>
140
+ * @public
141
+ */
142
+ name: string | undefined;
143
+ /**
144
+ * <p>The data type of the field. This can be a primitive type string such as <code>boolean</code>, <code>int</code>, <code>long</code>, <code>float</code>, <code>double</code>, <code>string</code>, <code>binary</code>, <code>date</code>, <code>timestamp</code>, or <code>timestamptz</code>, or a complex type represented as a JSON object for nested types such as <code>struct</code>, <code>list</code>, or <code>map</code>. For more information, see the <a href="https://iceberg.apache.org/spec/#schemas-and-data-types">Apache Iceberg schemas and data types documentation</a>.</p>
145
+ * @public
146
+ */
147
+ type: __DocumentType | undefined;
148
+ /**
149
+ * <p>A Boolean value that specifies whether values are required for each row in this field. If this is <code>true</code>, the field does not allow null values.</p>
150
+ * @public
151
+ */
152
+ required: boolean | undefined;
153
+ /**
154
+ * <p>An optional description of the field.</p>
155
+ * @public
156
+ */
157
+ doc?: string | undefined;
158
+ }
159
+ /**
160
+ * <p>Contains details about the schema for an Iceberg table using the V2 format. This schema format supports nested and complex data types such as <code>struct</code>, <code>list</code>, and <code>map</code>, in addition to primitive types.</p>
161
+ * @public
162
+ */
163
+ export interface IcebergSchemaV2 {
164
+ /**
165
+ * <p>The type of the top-level schema, which is always a <code>struct</code> type as defined in the <a href="https://iceberg.apache.org/spec/#schemas-and-data-types">Apache Iceberg specification</a>. This value must be <code>struct</code>.</p>
166
+ * @public
167
+ */
168
+ type: SchemaV2FieldType | undefined;
169
+ /**
170
+ * <p>The schema fields for the table. Each field defines a column in the table, including its name, type, and whether it is required.</p>
171
+ * @public
172
+ */
173
+ fields: SchemaV2Field[] | undefined;
174
+ /**
175
+ * <p>An optional unique identifier for the schema. Schema IDs are used by Apache Iceberg to track schema evolution.</p>
176
+ * @public
177
+ */
178
+ schemaId?: number | undefined;
179
+ /**
180
+ * <p>A list of field IDs that are used as the identifier fields for the table. Identifier fields uniquely identify a row in the table.</p>
181
+ * @public
182
+ */
183
+ identifierFieldIds?: number[] | undefined;
184
+ }
127
185
  /**
128
186
  * <p>Defines a single sort field in an Iceberg sort order specification.</p>
129
187
  * @public
@@ -172,10 +230,15 @@ export interface IcebergSortOrder {
172
230
  */
173
231
  export interface IcebergMetadata {
174
232
  /**
175
- * <p>The schema for an Iceberg table.</p>
233
+ * <p>The schema for an Iceberg table. Use this property to define table schemas with primitive types only. For schemas that include nested or complex types such as <code>struct</code>, <code>list</code>, or <code>map</code>, use <code>schemaV2</code> instead.</p>
234
+ * @public
235
+ */
236
+ schema?: IcebergSchema | undefined;
237
+ /**
238
+ * <p>The schema for an Iceberg table using the V2 format. Use this property to define table schemas that include nested or complex data types such as <code>struct</code>, <code>list</code>, or <code>map</code>, in addition to primitive types. For schemas with only primitive types, you can use either <code>schema</code> or <code>schemaV2</code>.</p>
176
239
  * @public
177
240
  */
178
- schema: IcebergSchema | undefined;
241
+ schemaV2?: IcebergSchemaV2 | undefined;
179
242
  /**
180
243
  * <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
244
  * @public
@@ -74,6 +74,7 @@ export declare var IcebergMetadata$: StaticStructureSchema;
74
74
  export declare var IcebergPartitionField$: StaticStructureSchema;
75
75
  export declare var IcebergPartitionSpec$: StaticStructureSchema;
76
76
  export declare var IcebergSchema$: StaticStructureSchema;
77
+ export declare var IcebergSchemaV2$: StaticStructureSchema;
77
78
  export declare var IcebergSnapshotManagementSettings$: StaticStructureSchema;
78
79
  export declare var IcebergSortField$: StaticStructureSchema;
79
80
  export declare var IcebergSortOrder$: StaticStructureSchema;
@@ -106,6 +107,7 @@ export declare var ReplicationDestination$: StaticStructureSchema;
106
107
  export declare var ReplicationDestinationStatusModel$: StaticStructureSchema;
107
108
  export declare var ReplicationInformation$: StaticStructureSchema;
108
109
  export declare var SchemaField$: StaticStructureSchema;
110
+ export declare var SchemaV2Field$: StaticStructureSchema;
109
111
  export declare var StorageClassConfiguration$: StaticStructureSchema;
110
112
  export declare var TableBucketMaintenanceConfigurationValue$: StaticStructureSchema;
111
113
  export declare var TableBucketReplicationConfiguration$: StaticStructureSchema;
@@ -8,6 +8,11 @@ export declare const OpenTableFormat: {
8
8
  };
9
9
  export type OpenTableFormat =
10
10
  (typeof OpenTableFormat)[keyof typeof OpenTableFormat];
11
+ export declare const SchemaV2FieldType: {
12
+ readonly STRUCT: "struct";
13
+ };
14
+ export type SchemaV2FieldType =
15
+ (typeof SchemaV2FieldType)[keyof typeof SchemaV2FieldType];
11
16
  export declare const IcebergSortDirection: {
12
17
  readonly ASC: "asc";
13
18
  readonly DESC: "desc";
@@ -1,3 +1,4 @@
1
+ import { DocumentType as __DocumentType } from "@smithy/types";
1
2
  import {
2
3
  IcebergCompactionStrategy,
3
4
  IcebergNullOrder,
@@ -6,6 +7,7 @@ import {
6
7
  MaintenanceStatus,
7
8
  OpenTableFormat,
8
9
  ReplicationStatus,
10
+ SchemaV2FieldType,
9
11
  SSEAlgorithm,
10
12
  StorageClass,
11
13
  TableBucketMaintenanceType,
@@ -47,6 +49,19 @@ export interface SchemaField {
47
49
  export interface IcebergSchema {
48
50
  fields: SchemaField[] | undefined;
49
51
  }
52
+ export interface SchemaV2Field {
53
+ id: number | undefined;
54
+ name: string | undefined;
55
+ type: __DocumentType | undefined;
56
+ required: boolean | undefined;
57
+ doc?: string | undefined;
58
+ }
59
+ export interface IcebergSchemaV2 {
60
+ type: SchemaV2FieldType | undefined;
61
+ fields: SchemaV2Field[] | undefined;
62
+ schemaId?: number | undefined;
63
+ identifierFieldIds?: number[] | undefined;
64
+ }
50
65
  export interface IcebergSortField {
51
66
  sourceId: number | undefined;
52
67
  transform: string | undefined;
@@ -58,7 +73,8 @@ export interface IcebergSortOrder {
58
73
  fields: IcebergSortField[] | undefined;
59
74
  }
60
75
  export interface IcebergMetadata {
61
- schema: IcebergSchema | undefined;
76
+ schema?: IcebergSchema | undefined;
77
+ schemaV2?: IcebergSchemaV2 | undefined;
62
78
  partitionSpec?: IcebergPartitionSpec | undefined;
63
79
  writeOrder?: IcebergSortOrder | undefined;
64
80
  properties?: Record<string, string> | undefined;
@@ -74,6 +74,7 @@ export declare var IcebergMetadata$: StaticStructureSchema;
74
74
  export declare var IcebergPartitionField$: StaticStructureSchema;
75
75
  export declare var IcebergPartitionSpec$: StaticStructureSchema;
76
76
  export declare var IcebergSchema$: StaticStructureSchema;
77
+ export declare var IcebergSchemaV2$: StaticStructureSchema;
77
78
  export declare var IcebergSnapshotManagementSettings$: StaticStructureSchema;
78
79
  export declare var IcebergSortField$: StaticStructureSchema;
79
80
  export declare var IcebergSortOrder$: StaticStructureSchema;
@@ -106,6 +107,7 @@ export declare var ReplicationDestination$: StaticStructureSchema;
106
107
  export declare var ReplicationDestinationStatusModel$: StaticStructureSchema;
107
108
  export declare var ReplicationInformation$: StaticStructureSchema;
108
109
  export declare var SchemaField$: StaticStructureSchema;
110
+ export declare var SchemaV2Field$: StaticStructureSchema;
109
111
  export declare var StorageClassConfiguration$: StaticStructureSchema;
110
112
  export declare var TableBucketMaintenanceConfigurationValue$: StaticStructureSchema;
111
113
  export declare var TableBucketReplicationConfiguration$: StaticStructureSchema;
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.1020.0",
4
+ "version": "3.1021.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",
@@ -26,16 +26,16 @@
26
26
  "@aws-crypto/sha256-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-js": "5.2.0",
28
28
  "@aws-sdk/core": "^3.973.26",
29
- "@aws-sdk/credential-provider-node": "^3.972.28",
29
+ "@aws-sdk/credential-provider-node": "^3.972.29",
30
30
  "@aws-sdk/middleware-host-header": "^3.972.8",
31
31
  "@aws-sdk/middleware-logger": "^3.972.8",
32
32
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
33
- "@aws-sdk/middleware-user-agent": "^3.972.27",
33
+ "@aws-sdk/middleware-user-agent": "^3.972.28",
34
34
  "@aws-sdk/region-config-resolver": "^3.972.10",
35
35
  "@aws-sdk/types": "^3.973.6",
36
36
  "@aws-sdk/util-endpoints": "^3.996.5",
37
37
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
38
- "@aws-sdk/util-user-agent-node": "^3.973.13",
38
+ "@aws-sdk/util-user-agent-node": "^3.973.14",
39
39
  "@smithy/config-resolver": "^4.4.13",
40
40
  "@smithy/core": "^3.23.13",
41
41
  "@smithy/fetch-http-handler": "^5.3.15",
@@ -43,7 +43,7 @@
43
43
  "@smithy/invalid-dependency": "^4.2.12",
44
44
  "@smithy/middleware-content-length": "^4.2.12",
45
45
  "@smithy/middleware-endpoint": "^4.4.28",
46
- "@smithy/middleware-retry": "^4.4.45",
46
+ "@smithy/middleware-retry": "^4.4.46",
47
47
  "@smithy/middleware-serde": "^4.2.16",
48
48
  "@smithy/middleware-stack": "^4.2.12",
49
49
  "@smithy/node-config-provider": "^4.3.12",
@@ -59,7 +59,7 @@
59
59
  "@smithy/util-defaults-mode-node": "^4.2.48",
60
60
  "@smithy/util-endpoints": "^3.3.3",
61
61
  "@smithy/util-middleware": "^4.2.12",
62
- "@smithy/util-retry": "^4.2.12",
62
+ "@smithy/util-retry": "^4.2.13",
63
63
  "@smithy/util-utf8": "^4.2.2",
64
64
  "tslib": "^2.6.2"
65
65
  },