@aws-sdk/client-glue 3.1066.0 → 3.1068.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.
@@ -199,6 +199,65 @@ declare const GetUnfilteredTableMetadataCommand_base: {
199
199
  * // },
200
200
  * // IsMultiDialectView: true || false,
201
201
  * // IsMaterializedView: true || false,
202
+ * // IcebergTableMetadata: { // IcebergTableMetadata
203
+ * // FormatVersion: "STRING_VALUE",
204
+ * // TableUuid: "STRING_VALUE",
205
+ * // Location: "STRING_VALUE",
206
+ * // Properties: { // StringToStringMap
207
+ * // "<keys>": "STRING_VALUE",
208
+ * // },
209
+ * // Schemas: [ // IcebergSchemaList
210
+ * // { // IcebergSchema
211
+ * // SchemaId: Number("int"),
212
+ * // IdentifierFieldIds: [ // IntegerList
213
+ * // Number("int"),
214
+ * // ],
215
+ * // Type: "struct",
216
+ * // Fields: [ // IcebergStructFieldList // required
217
+ * // { // IcebergStructField
218
+ * // Id: Number("int"), // required
219
+ * // Name: "STRING_VALUE", // required
220
+ * // Type: "DOCUMENT_VALUE", // required
221
+ * // Required: true || false, // required
222
+ * // Doc: "STRING_VALUE",
223
+ * // InitialDefault: "DOCUMENT_VALUE",
224
+ * // WriteDefault: "DOCUMENT_VALUE",
225
+ * // },
226
+ * // ],
227
+ * // },
228
+ * // ],
229
+ * // CurrentSchemaId: Number("int"),
230
+ * // LastColumnId: Number("int"),
231
+ * // PartitionSpecs: [ // IcebergPartitionSpecList
232
+ * // { // IcebergPartitionSpec
233
+ * // Fields: [ // IcebergPartitionSpecFieldList // required
234
+ * // { // IcebergPartitionField
235
+ * // SourceId: Number("int"), // required
236
+ * // Transform: "STRING_VALUE", // required
237
+ * // Name: "STRING_VALUE", // required
238
+ * // FieldId: Number("int"),
239
+ * // },
240
+ * // ],
241
+ * // SpecId: Number("int"),
242
+ * // },
243
+ * // ],
244
+ * // DefaultSpecId: Number("int"),
245
+ * // LastPartitionId: Number("int"),
246
+ * // SortOrders: [ // IcebergSortOrderList
247
+ * // { // IcebergSortOrder
248
+ * // OrderId: Number("int"), // required
249
+ * // Fields: [ // IcebergSortOrderFieldList // required
250
+ * // { // IcebergSortField
251
+ * // SourceId: Number("int"), // required
252
+ * // Transform: "STRING_VALUE", // required
253
+ * // Direction: "asc" || "desc", // required
254
+ * // NullOrder: "nulls-first" || "nulls-last", // required
255
+ * // },
256
+ * // ],
257
+ * // },
258
+ * // ],
259
+ * // DefaultSortOrderId: Number("int"),
260
+ * // },
202
261
  * // Status: { // TableStatus
203
262
  * // RequestedBy: "STRING_VALUE",
204
263
  * // UpdatedBy: "STRING_VALUE",
@@ -311,6 +370,65 @@ declare const GetUnfilteredTableMetadataCommand_base: {
311
370
  * // },
312
371
  * // IsMultiDialectView: true || false,
313
372
  * // IsMaterializedView: true || false,
373
+ * // IcebergTableMetadata: {
374
+ * // FormatVersion: "STRING_VALUE",
375
+ * // TableUuid: "STRING_VALUE",
376
+ * // Location: "STRING_VALUE",
377
+ * // Properties: {
378
+ * // "<keys>": "STRING_VALUE",
379
+ * // },
380
+ * // Schemas: [
381
+ * // {
382
+ * // SchemaId: Number("int"),
383
+ * // IdentifierFieldIds: [
384
+ * // Number("int"),
385
+ * // ],
386
+ * // Type: "struct",
387
+ * // Fields: [ // required
388
+ * // {
389
+ * // Id: Number("int"), // required
390
+ * // Name: "STRING_VALUE", // required
391
+ * // Type: "DOCUMENT_VALUE", // required
392
+ * // Required: true || false, // required
393
+ * // Doc: "STRING_VALUE",
394
+ * // InitialDefault: "DOCUMENT_VALUE",
395
+ * // WriteDefault: "DOCUMENT_VALUE",
396
+ * // },
397
+ * // ],
398
+ * // },
399
+ * // ],
400
+ * // CurrentSchemaId: Number("int"),
401
+ * // LastColumnId: Number("int"),
402
+ * // PartitionSpecs: [
403
+ * // {
404
+ * // Fields: [ // required
405
+ * // {
406
+ * // SourceId: Number("int"), // required
407
+ * // Transform: "STRING_VALUE", // required
408
+ * // Name: "STRING_VALUE", // required
409
+ * // FieldId: Number("int"),
410
+ * // },
411
+ * // ],
412
+ * // SpecId: Number("int"),
413
+ * // },
414
+ * // ],
415
+ * // DefaultSpecId: Number("int"),
416
+ * // LastPartitionId: Number("int"),
417
+ * // SortOrders: [
418
+ * // {
419
+ * // OrderId: Number("int"), // required
420
+ * // Fields: [ // required
421
+ * // {
422
+ * // SourceId: Number("int"), // required
423
+ * // Transform: "STRING_VALUE", // required
424
+ * // Direction: "asc" || "desc", // required
425
+ * // NullOrder: "nulls-first" || "nulls-last", // required
426
+ * // },
427
+ * // ],
428
+ * // },
429
+ * // ],
430
+ * // DefaultSortOrderId: Number("int"),
431
+ * // },
314
432
  * // Status: {
315
433
  * // RequestedBy: "STRING_VALUE",
316
434
  * // UpdatedBy: "STRING_VALUE",
@@ -188,6 +188,65 @@ declare const SearchTablesCommand_base: {
188
188
  * // },
189
189
  * // IsMultiDialectView: true || false,
190
190
  * // IsMaterializedView: true || false,
191
+ * // IcebergTableMetadata: { // IcebergTableMetadata
192
+ * // FormatVersion: "STRING_VALUE",
193
+ * // TableUuid: "STRING_VALUE",
194
+ * // Location: "STRING_VALUE",
195
+ * // Properties: { // StringToStringMap
196
+ * // "<keys>": "STRING_VALUE",
197
+ * // },
198
+ * // Schemas: [ // IcebergSchemaList
199
+ * // { // IcebergSchema
200
+ * // SchemaId: Number("int"),
201
+ * // IdentifierFieldIds: [ // IntegerList
202
+ * // Number("int"),
203
+ * // ],
204
+ * // Type: "struct",
205
+ * // Fields: [ // IcebergStructFieldList // required
206
+ * // { // IcebergStructField
207
+ * // Id: Number("int"), // required
208
+ * // Name: "STRING_VALUE", // required
209
+ * // Type: "DOCUMENT_VALUE", // required
210
+ * // Required: true || false, // required
211
+ * // Doc: "STRING_VALUE",
212
+ * // InitialDefault: "DOCUMENT_VALUE",
213
+ * // WriteDefault: "DOCUMENT_VALUE",
214
+ * // },
215
+ * // ],
216
+ * // },
217
+ * // ],
218
+ * // CurrentSchemaId: Number("int"),
219
+ * // LastColumnId: Number("int"),
220
+ * // PartitionSpecs: [ // IcebergPartitionSpecList
221
+ * // { // IcebergPartitionSpec
222
+ * // Fields: [ // IcebergPartitionSpecFieldList // required
223
+ * // { // IcebergPartitionField
224
+ * // SourceId: Number("int"), // required
225
+ * // Transform: "STRING_VALUE", // required
226
+ * // Name: "STRING_VALUE", // required
227
+ * // FieldId: Number("int"),
228
+ * // },
229
+ * // ],
230
+ * // SpecId: Number("int"),
231
+ * // },
232
+ * // ],
233
+ * // DefaultSpecId: Number("int"),
234
+ * // LastPartitionId: Number("int"),
235
+ * // SortOrders: [ // IcebergSortOrderList
236
+ * // { // IcebergSortOrder
237
+ * // OrderId: Number("int"), // required
238
+ * // Fields: [ // IcebergSortOrderFieldList // required
239
+ * // { // IcebergSortField
240
+ * // SourceId: Number("int"), // required
241
+ * // Transform: "STRING_VALUE", // required
242
+ * // Direction: "asc" || "desc", // required
243
+ * // NullOrder: "nulls-first" || "nulls-last", // required
244
+ * // },
245
+ * // ],
246
+ * // },
247
+ * // ],
248
+ * // DefaultSortOrderId: Number("int"),
249
+ * // },
191
250
  * // Status: { // TableStatus
192
251
  * // RequestedBy: "STRING_VALUE",
193
252
  * // UpdatedBy: "STRING_VALUE",
@@ -300,6 +359,65 @@ declare const SearchTablesCommand_base: {
300
359
  * // },
301
360
  * // IsMultiDialectView: true || false,
302
361
  * // IsMaterializedView: true || false,
362
+ * // IcebergTableMetadata: {
363
+ * // FormatVersion: "STRING_VALUE",
364
+ * // TableUuid: "STRING_VALUE",
365
+ * // Location: "STRING_VALUE",
366
+ * // Properties: {
367
+ * // "<keys>": "STRING_VALUE",
368
+ * // },
369
+ * // Schemas: [
370
+ * // {
371
+ * // SchemaId: Number("int"),
372
+ * // IdentifierFieldIds: [
373
+ * // Number("int"),
374
+ * // ],
375
+ * // Type: "struct",
376
+ * // Fields: [ // required
377
+ * // {
378
+ * // Id: Number("int"), // required
379
+ * // Name: "STRING_VALUE", // required
380
+ * // Type: "DOCUMENT_VALUE", // required
381
+ * // Required: true || false, // required
382
+ * // Doc: "STRING_VALUE",
383
+ * // InitialDefault: "DOCUMENT_VALUE",
384
+ * // WriteDefault: "DOCUMENT_VALUE",
385
+ * // },
386
+ * // ],
387
+ * // },
388
+ * // ],
389
+ * // CurrentSchemaId: Number("int"),
390
+ * // LastColumnId: Number("int"),
391
+ * // PartitionSpecs: [
392
+ * // {
393
+ * // Fields: [ // required
394
+ * // {
395
+ * // SourceId: Number("int"), // required
396
+ * // Transform: "STRING_VALUE", // required
397
+ * // Name: "STRING_VALUE", // required
398
+ * // FieldId: Number("int"),
399
+ * // },
400
+ * // ],
401
+ * // SpecId: Number("int"),
402
+ * // },
403
+ * // ],
404
+ * // DefaultSpecId: Number("int"),
405
+ * // LastPartitionId: Number("int"),
406
+ * // SortOrders: [
407
+ * // {
408
+ * // OrderId: Number("int"), // required
409
+ * // Fields: [ // required
410
+ * // {
411
+ * // SourceId: Number("int"), // required
412
+ * // Transform: "STRING_VALUE", // required
413
+ * // Direction: "asc" || "desc", // required
414
+ * // NullOrder: "nulls-first" || "nulls-last", // required
415
+ * // },
416
+ * // ],
417
+ * // },
418
+ * // ],
419
+ * // DefaultSortOrderId: Number("int"),
420
+ * // },
303
421
  * // Status: {
304
422
  * // RequestedBy: "STRING_VALUE",
305
423
  * // UpdatedBy: "STRING_VALUE",
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
- import type { UpdateCrawlerScheduleRequest, UpdateCrawlerScheduleResponse } from "../models/models_2";
4
+ import type { UpdateCrawlerScheduleRequest } from "../models/models_2";
5
+ import type { UpdateCrawlerScheduleResponse } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1855,6 +1855,20 @@ export declare const StatementState: {
1855
1855
  * @public
1856
1856
  */
1857
1857
  export type StatementState = (typeof StatementState)[keyof typeof StatementState];
1858
+ /**
1859
+ * @public
1860
+ * @enum
1861
+ */
1862
+ export declare const TableAttributes: {
1863
+ readonly DEFAULT: "DEFAULT";
1864
+ readonly LATEST_ICEBERG_METADATA: "LATEST_ICEBERG_METADATA";
1865
+ readonly NAME: "NAME";
1866
+ readonly TABLE_TYPE: "TABLE_TYPE";
1867
+ };
1868
+ /**
1869
+ * @public
1870
+ */
1871
+ export type TableAttributes = (typeof TableAttributes)[keyof typeof TableAttributes];
1858
1872
  /**
1859
1873
  * @public
1860
1874
  * @enum
@@ -1882,18 +1896,6 @@ export declare const ResourceState: {
1882
1896
  * @public
1883
1897
  */
1884
1898
  export type ResourceState = (typeof ResourceState)[keyof typeof ResourceState];
1885
- /**
1886
- * @public
1887
- * @enum
1888
- */
1889
- export declare const TableAttributes: {
1890
- readonly NAME: "NAME";
1891
- readonly TABLE_TYPE: "TABLE_TYPE";
1892
- };
1893
- /**
1894
- * @public
1895
- */
1896
- export type TableAttributes = (typeof TableAttributes)[keyof typeof TableAttributes];
1897
1899
  /**
1898
1900
  * @public
1899
1901
  * @enum
@@ -1,6 +1,6 @@
1
1
  import type { AuthenticationType, BackfillErrorCode, Comparator, Compatibility, ConnectionPropertyKey, ConnectionType, ConnectorOAuth2GrantType, ContentType, CrawlerHistoryState, CsvHeaderOption, CsvSerdeOption, DataFormat, EnableHybridValues, ExecutionClass, ExistCondition, FieldName, FilterOperator, FunctionType, HTTPMethod, InclusionAnnotationValue, IntegrationStatus, IntegrationType, Language, LastRefreshType, PartitionIndexStatus, Permission, PermissionType, PrincipalType, RegistryStatus, ResourceShareType, ResourceState, SchemaDiffType, SchemaStatus, SchemaVersionStatus, Sort, SortDirectionType, StatementState, StatisticEvaluationLevel, TableAttributes, TableOptimizerType, TaskRunSortColumnType, TaskStatusType, TaskType, TransformSortColumnType, TransformStatusType, TransformType, ViewDialect, WorkerType } from "./enums";
2
2
  import type { AuditContext, AuthenticationConfigurationInput, CatalogInput, ConnectionInput, CrawlerTargets, CustomEntityType, DataQualityTargetTable, DataSource, ErrorDetail, GlueTable, LakeFormationConfiguration, LineageConfiguration, NotificationProperty, Partition, PartitionValueList, QuerySessionContext, RecrawlPolicy, SchemaChangePolicy, SchemaId, StatisticAnnotation, TableOptimizer, TableOptimizerRun, TimestampedInclusionAnnotation, Trigger, Workflow, WorkflowRun } from "./models_0";
3
- import type { Capabilities, CatalogEntry, ColumnStatistics, ConnectorProperty, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, EncryptionConfiguration, IntegrationConfig, IntegrationError, JobBookmarkEntry, Location, MappingEntry, MaterializedViewRefreshTaskRun, ProfileConfiguration, RegistryId, ResourceUri, RestConfiguration, Session, SourceProcessingProperties, Tag, TargetProcessingProperties, TransformEncryption, TransformParameters } from "./models_1";
3
+ import type { Capabilities, CatalogEntry, ColumnStatistics, ConnectorProperty, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, EncryptionConfiguration, IcebergPartitionSpec, IcebergSchema, IcebergSortOrder, IntegrationConfig, IntegrationError, JobBookmarkEntry, Location, MappingEntry, MaterializedViewRefreshTaskRun, ProfileConfiguration, RegistryId, ResourceUri, RestConfiguration, Session, SourceProcessingProperties, Tag, TargetProcessingProperties, TransformEncryption, TransformParameters } from "./models_1";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1984,6 +1984,26 @@ export interface GetTableRequest {
1984
1984
  * @public
1985
1985
  */
1986
1986
  IncludeStatusDetails?: boolean | undefined;
1987
+ /**
1988
+ * <p>Specifies the table fields returned by the <code>GetTable</code> call. This parameter doesn't accept an empty list.</p>
1989
+ * <p>The following are the valid combinations of values:</p>
1990
+ * <ul>
1991
+ * <li>
1992
+ * <p>
1993
+ * <code>DEFAULT</code> - Returns the Hive-style table definition only.</p>
1994
+ * </li>
1995
+ * <li>
1996
+ * <p>
1997
+ * <code>LATEST_ICEBERG_METADATA</code> - Returns only the latest Apache Iceberg table metadata.</p>
1998
+ * </li>
1999
+ * <li>
2000
+ * <p>
2001
+ * <code>DEFAULT</code>, <code>LATEST_ICEBERG_METADATA</code> - Returns both the Hive-style table definition and the latest Apache Iceberg table metadata.</p>
2002
+ * </li>
2003
+ * </ul>
2004
+ * @public
2005
+ */
2006
+ AttributesToGet?: TableAttributes[] | undefined;
1987
2007
  }
1988
2008
  /**
1989
2009
  * <p>A table that points to an entity outside the Glue Data Catalog.</p>
@@ -2011,6 +2031,72 @@ export interface FederatedTable {
2011
2031
  */
2012
2032
  ConnectionType?: string | undefined;
2013
2033
  }
2034
+ /**
2035
+ * <p>The Apache Iceberg table metadata, including format version, table identifier, schemas, partition specifications, sort orders, and table properties. This structure captures the current state of an Iceberg table's metadata as managed by the Glue Data Catalog.</p>
2036
+ * @public
2037
+ */
2038
+ export interface IcebergTableMetadata {
2039
+ /**
2040
+ * <p>The Apache Iceberg table format version, such as <code>1</code> or <code>2</code>. Determines the set of features and on-disk layout supported by the table.</p>
2041
+ * @public
2042
+ */
2043
+ FormatVersion?: string | undefined;
2044
+ /**
2045
+ * <p>The unique identifier (UUID) for the Iceberg table, assigned when the table is created and used to track the table across metadata updates.</p>
2046
+ * @public
2047
+ */
2048
+ TableUuid?: string | undefined;
2049
+ /**
2050
+ * <p>The base S3 location where the Iceberg table's data and metadata files are stored.</p>
2051
+ * @public
2052
+ */
2053
+ Location?: string | undefined;
2054
+ /**
2055
+ * <p>A map of key-value pairs that define table-level properties and configuration settings for the Iceberg table.</p>
2056
+ * @public
2057
+ */
2058
+ Properties?: Record<string, string> | undefined;
2059
+ /**
2060
+ * <p>The list of schemas that have been associated with the Iceberg table over its history, supporting schema evolution.</p>
2061
+ * @public
2062
+ */
2063
+ Schemas?: IcebergSchema[] | undefined;
2064
+ /**
2065
+ * <p>The identifier of the schema that is currently active for the Iceberg table. Matches an entry in <code>Schemas</code>.</p>
2066
+ * @public
2067
+ */
2068
+ CurrentSchemaId?: number | undefined;
2069
+ /**
2070
+ * <p>The highest column identifier that has been assigned in the Iceberg table's schema, used to ensure unique IDs as new columns are added.</p>
2071
+ * @public
2072
+ */
2073
+ LastColumnId?: number | undefined;
2074
+ /**
2075
+ * <p>The list of partition specifications that have been associated with the Iceberg table over its history, supporting partition evolution.</p>
2076
+ * @public
2077
+ */
2078
+ PartitionSpecs?: IcebergPartitionSpec[] | undefined;
2079
+ /**
2080
+ * <p>The identifier of the partition specification that is currently used by default when writing new data to the Iceberg table.</p>
2081
+ * @public
2082
+ */
2083
+ DefaultSpecId?: number | undefined;
2084
+ /**
2085
+ * <p>The highest partition field identifier that has been assigned across the table's partition specifications.</p>
2086
+ * @public
2087
+ */
2088
+ LastPartitionId?: number | undefined;
2089
+ /**
2090
+ * <p>The list of sort order specifications that have been associated with the Iceberg table over its history.</p>
2091
+ * @public
2092
+ */
2093
+ SortOrders?: IcebergSortOrder[] | undefined;
2094
+ /**
2095
+ * <p>The identifier of the sort order that is currently used by default when writing new data to the Iceberg table.</p>
2096
+ * @public
2097
+ */
2098
+ DefaultSortOrderId?: number | undefined;
2099
+ }
2014
2100
  /**
2015
2101
  * <p>A structure that contains information for an analytical engine to validate a view, prior to persisting the view metadata. Used in the case of direct <code>UpdateTable</code> or <code>CreateTable</code> API calls.</p>
2016
2102
  * @public
@@ -7206,8 +7292,3 @@ export interface UpdateCrawlerScheduleRequest {
7206
7292
  */
7207
7293
  Schedule?: string | undefined;
7208
7294
  }
7209
- /**
7210
- * @public
7211
- */
7212
- export interface UpdateCrawlerScheduleResponse {
7213
- }
@@ -1,7 +1,12 @@
1
1
  import type { Compatibility, ExecutionClass, IcebergUpdateAction, JobMode, Permission, ResourceAction, ResourceState, SourceControlAuthStrategy, SourceControlProvider, TableOptimizerType, ViewUpdateAction, WorkerType } from "./enums";
2
2
  import type { Action, Aggregate, AmazonRedshiftSource, AmazonRedshiftTarget, AthenaConnectorSource, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogIcebergSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, Column, ConnectionsList, ConnectorDataSource, ConnectorDataTarget, CustomCode, DatabaseInput, DirectJDBCSource, DirectKafkaSource, DirectKinesisSource, DropDuplicates, DropFields, DropNullFields, DynamicTransform, DynamoDBCatalogSource, DynamoDBELTConnectorSource, ErrorDetail, EvaluateDataQuality, EvaluateDataQualityMultiFrame, EventBatchingCondition, ExecutionProperty, FillMissingValues, Filter, GovernedCatalogSource, GovernedCatalogTarget, JDBCConnectorSource, JDBCConnectorTarget, JobCommand, Join, Merge, MicrosoftSQLServerCatalogSource, MicrosoftSQLServerCatalogTarget, MySQLCatalogSource, MySQLCatalogTarget, NotificationProperty, OracleSQLCatalogSource, OracleSQLCatalogTarget, PartitionInput, PIIDetection, PostgreSQLCatalogSource, PostgreSQLCatalogTarget, Predicate, Recipe, RedshiftSource, RedshiftTarget, RelationalCatalogSource, RenameField, Route, S3CatalogDeltaSource, S3CatalogHudiSource, S3CatalogIcebergSource, S3CatalogSource, S3CatalogTarget, S3CsvSource, S3DeltaCatalogTarget, S3DeltaDirectTarget, S3DeltaSource, S3DirectTarget, S3ExcelSource, S3GlueParquetTarget, S3HudiCatalogTarget, S3HudiDirectTarget, S3HudiSource, S3HyperDirectTarget, S3IcebergCatalogTarget, S3IcebergDirectTarget, S3JsonSource, S3ParquetSource, SchemaId, SelectFields, SelectFromCollection, SnowflakeSource, SnowflakeTarget, SourceControlDetails, SparkConnectorSource, SparkConnectorTarget, SparkSQL, Spigot, SplitFields, StorageDescriptor, TableOptimizerConfiguration, Trigger, Union } from "./models_0";
3
3
  import type { IcebergPartitionSpec, IcebergSchema, IcebergSortOrder, ProfileConfiguration, RegistryId, SourceProcessingProperties, SourceTableConfig, TableIdentifier, TableInput, TargetProcessingProperties, TargetTableConfig, TransformParameters, UserDefinedFunctionInput } from "./models_1";
4
- import type { ColumnRowFilter, FederatedTable, SchemaVersionNumber, ViewDefinition, ViewValidation } from "./models_2";
4
+ import type { ColumnRowFilter, FederatedTable, IcebergTableMetadata, SchemaVersionNumber, ViewDefinition, ViewValidation } from "./models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface UpdateCrawlerScheduleResponse {
9
+ }
5
10
  /**
6
11
  * @public
7
12
  */
@@ -1241,6 +1246,11 @@ export interface Table {
1241
1246
  * @public
1242
1247
  */
1243
1248
  IsMaterializedView?: boolean | undefined;
1249
+ /**
1250
+ * <p>The latest Apache Iceberg table metadata for the table, including format version, schemas, partition specifications, and sort orders. This field is populated for Iceberg tables and reflects the current state of the table's Iceberg metadata.</p>
1251
+ * @public
1252
+ */
1253
+ IcebergTableMetadata?: IcebergTableMetadata | undefined;
1244
1254
  /**
1245
1255
  * <p>Indicates the the state of an asynchronous change to a table.</p>
1246
1256
  * @public
@@ -602,6 +602,7 @@ export declare var IcebergSchema$: StaticStructureSchema;
602
602
  export declare var IcebergSortField$: StaticStructureSchema;
603
603
  export declare var IcebergSortOrder$: StaticStructureSchema;
604
604
  export declare var IcebergStructField$: StaticStructureSchema;
605
+ export declare var IcebergTableMetadata$: StaticStructureSchema;
605
606
  export declare var IcebergTableUpdate$: StaticStructureSchema;
606
607
  export declare var IcebergTarget$: StaticStructureSchema;
607
608
  export declare var ImportCatalogToGlueRequest$: StaticStructureSchema;
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../GlueClient";
8
- import {
9
- UpdateCrawlerScheduleRequest,
10
- UpdateCrawlerScheduleResponse,
11
- } from "../models/models_2";
8
+ import { UpdateCrawlerScheduleRequest } from "../models/models_2";
9
+ import { UpdateCrawlerScheduleResponse } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface UpdateCrawlerScheduleCommandInput
@@ -1083,6 +1083,14 @@ export declare const StatementState: {
1083
1083
  };
1084
1084
  export type StatementState =
1085
1085
  (typeof StatementState)[keyof typeof StatementState];
1086
+ export declare const TableAttributes: {
1087
+ readonly DEFAULT: "DEFAULT";
1088
+ readonly LATEST_ICEBERG_METADATA: "LATEST_ICEBERG_METADATA";
1089
+ readonly NAME: "NAME";
1090
+ readonly TABLE_TYPE: "TABLE_TYPE";
1091
+ };
1092
+ export type TableAttributes =
1093
+ (typeof TableAttributes)[keyof typeof TableAttributes];
1086
1094
  export declare const ResourceAction: {
1087
1095
  readonly CREATE: "CREATE";
1088
1096
  readonly UPDATE: "UPDATE";
@@ -1097,12 +1105,6 @@ export declare const ResourceState: {
1097
1105
  readonly SUCCESS: "SUCCESS";
1098
1106
  };
1099
1107
  export type ResourceState = (typeof ResourceState)[keyof typeof ResourceState];
1100
- export declare const TableAttributes: {
1101
- readonly NAME: "NAME";
1102
- readonly TABLE_TYPE: "TABLE_TYPE";
1103
- };
1104
- export type TableAttributes =
1105
- (typeof TableAttributes)[keyof typeof TableAttributes];
1106
1108
  export declare const PermissionType: {
1107
1109
  readonly CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION";
1108
1110
  readonly COLUMN_PERMISSION: "COLUMN_PERMISSION";
@@ -84,6 +84,9 @@ import {
84
84
  DataCatalogEncryptionSettings,
85
85
  DataQualityEvaluationRunAdditionalRunOptions,
86
86
  EncryptionConfiguration,
87
+ IcebergPartitionSpec,
88
+ IcebergSchema,
89
+ IcebergSortOrder,
87
90
  IntegrationConfig,
88
91
  IntegrationError,
89
92
  JobBookmarkEntry,
@@ -500,6 +503,7 @@ export interface GetTableRequest {
500
503
  QueryAsOfTime?: Date | undefined;
501
504
  AuditContext?: AuditContext | undefined;
502
505
  IncludeStatusDetails?: boolean | undefined;
506
+ AttributesToGet?: TableAttributes[] | undefined;
503
507
  }
504
508
  export interface FederatedTable {
505
509
  Identifier?: string | undefined;
@@ -507,6 +511,20 @@ export interface FederatedTable {
507
511
  ConnectionName?: string | undefined;
508
512
  ConnectionType?: string | undefined;
509
513
  }
514
+ export interface IcebergTableMetadata {
515
+ FormatVersion?: string | undefined;
516
+ TableUuid?: string | undefined;
517
+ Location?: string | undefined;
518
+ Properties?: Record<string, string> | undefined;
519
+ Schemas?: IcebergSchema[] | undefined;
520
+ CurrentSchemaId?: number | undefined;
521
+ LastColumnId?: number | undefined;
522
+ PartitionSpecs?: IcebergPartitionSpec[] | undefined;
523
+ DefaultSpecId?: number | undefined;
524
+ LastPartitionId?: number | undefined;
525
+ SortOrders?: IcebergSortOrder[] | undefined;
526
+ DefaultSortOrderId?: number | undefined;
527
+ }
510
528
  export interface ViewValidation {
511
529
  Dialect?: ViewDialect | undefined;
512
530
  DialectVersion?: string | undefined;
@@ -1674,4 +1692,3 @@ export interface UpdateCrawlerScheduleRequest {
1674
1692
  CrawlerName: string | undefined;
1675
1693
  Schedule?: string | undefined;
1676
1694
  }
1677
- export interface UpdateCrawlerScheduleResponse {}
@@ -126,10 +126,12 @@ import {
126
126
  import {
127
127
  ColumnRowFilter,
128
128
  FederatedTable,
129
+ IcebergTableMetadata,
129
130
  SchemaVersionNumber,
130
131
  ViewDefinition,
131
132
  ViewValidation,
132
133
  } from "./models_2";
134
+ export interface UpdateCrawlerScheduleResponse {}
133
135
  export interface UpdateDatabaseRequest {
134
136
  CatalogId?: string | undefined;
135
137
  Name: string | undefined;
@@ -385,6 +387,7 @@ export interface Table {
385
387
  ViewDefinition?: ViewDefinition | undefined;
386
388
  IsMultiDialectView?: boolean | undefined;
387
389
  IsMaterializedView?: boolean | undefined;
390
+ IcebergTableMetadata?: IcebergTableMetadata | undefined;
388
391
  Status?: TableStatus | undefined;
389
392
  }
390
393
  export interface TableStatus {
@@ -602,6 +602,7 @@ export declare var IcebergSchema$: StaticStructureSchema;
602
602
  export declare var IcebergSortField$: StaticStructureSchema;
603
603
  export declare var IcebergSortOrder$: StaticStructureSchema;
604
604
  export declare var IcebergStructField$: StaticStructureSchema;
605
+ export declare var IcebergTableMetadata$: StaticStructureSchema;
605
606
  export declare var IcebergTableUpdate$: StaticStructureSchema;
606
607
  export declare var IcebergTarget$: StaticStructureSchema;
607
608
  export declare var ImportCatalogToGlueRequest$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-glue",
3
3
  "description": "AWS SDK for JavaScript Glue Client for Node.js, Browser and React Native",
4
- "version": "3.1066.0",
4
+ "version": "3.1068.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",