AWS glue: Add AttributesToGet, Iceberg metadata, and RLSProperties to GetTable
Summary
Adds the AttributesToGet request parameter (DEFAULT / LATEST_ICEBERG_METADATA), expands the response syntax with IcebergTableMetadata, RLSProperties (DefaultRLSPolicy), and additional ViewDefinition fields such as IsManaged, SparkPipelineInfo, and SubObjectsStatistics.
Security assessment
The response now documents row-level security properties (RLSProperties/DefaultRLSPolicy) returned for a table, which is authorization-relevant metadata exposure; it is documentation of an existing feature rather than a fix for a specific vulnerability.
Evidence
+ "[RLSProperties](./API_Table.html#Glue-Type-Table-RLSProperties)": {
Diff
diff --git a/glue/latest/webapi/API_GetTable.md b/glue/latest/webapi/API_GetTable.md index 821ff9e..9f78481 100644 --- a//glue/latest/webapi/API_GetTable.md +++ b//glue/latest/webapi/API_GetTable.md @@ -16,0 +17 @@ Retrieves the `Table` definition in a Data Catalog for a specified table. + "AttributesToGet": [ "string" ], @@ -35,0 +37,22 @@ The request accepts the following data in JSON format. +**AttributesToGet ** + + +Specifies the table fields returned by the `GetTable` call. This parameter doesn't accept an empty list. + +The following are the valid combinations of values: + + * `DEFAULT` \- Returns the Hive-style table definition only. + + * `LATEST_ICEBERG_METADATA` \- Returns only the latest Apache Iceberg table metadata. + + * `DEFAULT`, `LATEST_ICEBERG_METADATA` \- Returns both the Hive-style table definition and the latest Apache Iceberg table metadata. + + + + +Type: Array of strings + +Valid Values: `NAME | TABLE_TYPE | DEFAULT | LATEST_ICEBERG_METADATA` + +Required: No + @@ -130,0 +154,57 @@ Required: No + "[IcebergTableMetadata](./API_Table.html#Glue-Type-Table-IcebergTableMetadata)": { + "[CurrentSchemaId](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-CurrentSchemaId)": **_number_** , + "[DefaultSortOrderId](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-DefaultSortOrderId)": **_number_** , + "[DefaultSpecId](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-DefaultSpecId)": **_number_** , + "[FormatVersion](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-FormatVersion)": "**_string_** ", + "[LastColumnId](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-LastColumnId)": **_number_** , + "[LastPartitionId](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-LastPartitionId)": **_number_** , + "[Location](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-Location)": "**_string_** ", + "[PartitionSpecs](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-PartitionSpecs)": [ + { + "[Fields](./API_IcebergPartitionSpec.html#Glue-Type-IcebergPartitionSpec-Fields)": [ + { + "[FieldId](./API_IcebergPartitionField.html#Glue-Type-IcebergPartitionField-FieldId)": **_number_** , + "[Name](./API_IcebergPartitionField.html#Glue-Type-IcebergPartitionField-Name)": "**_string_** ", + "[SourceId](./API_IcebergPartitionField.html#Glue-Type-IcebergPartitionField-SourceId)": **_number_** , + "[Transform](./API_IcebergPartitionField.html#Glue-Type-IcebergPartitionField-Transform)": "**_string_** " + } + ], + "[SpecId](./API_IcebergPartitionSpec.html#Glue-Type-IcebergPartitionSpec-SpecId)": **_number_** + } + ], + "[Properties](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-Properties)": { + "**_string_** " : "**_string_** " + }, + "[Schemas](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-Schemas)": [ + { + "[Fields](./API_IcebergSchema.html#Glue-Type-IcebergSchema-Fields)": [ + { + "[Doc](./API_IcebergStructField.html#Glue-Type-IcebergStructField-Doc)": "**_string_** ", + "[Id](./API_IcebergStructField.html#Glue-Type-IcebergStructField-Id)": **_number_** , + "[InitialDefault](./API_IcebergStructField.html#Glue-Type-IcebergStructField-InitialDefault)": **_JSON value_** , + "[Name](./API_IcebergStructField.html#Glue-Type-IcebergStructField-Name)": "**_string_** ", + "[Required](./API_IcebergStructField.html#Glue-Type-IcebergStructField-Required)": **_boolean_** , + "[Type](./API_IcebergStructField.html#Glue-Type-IcebergStructField-Type)": **_JSON value_** , + "[WriteDefault](./API_IcebergStructField.html#Glue-Type-IcebergStructField-WriteDefault)": **_JSON value_** + } + ], + "[IdentifierFieldIds](./API_IcebergSchema.html#Glue-Type-IcebergSchema-IdentifierFieldIds)": [ **_number_** ], + "[SchemaId](./API_IcebergSchema.html#Glue-Type-IcebergSchema-SchemaId)": **_number_** , + "[Type](./API_IcebergSchema.html#Glue-Type-IcebergSchema-Type)": "**_string_** " + } + ], + "[SortOrders](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-SortOrders)": [ + { + "[Fields](./API_IcebergSortOrder.html#Glue-Type-IcebergSortOrder-Fields)": [ + { + "[Direction](./API_IcebergSortField.html#Glue-Type-IcebergSortField-Direction)": "**_string_** ", + "[NullOrder](./API_IcebergSortField.html#Glue-Type-IcebergSortField-NullOrder)": "**_string_** ", + "[SourceId](./API_IcebergSortField.html#Glue-Type-IcebergSortField-SourceId)": **_number_** , + "[Transform](./API_IcebergSortField.html#Glue-Type-IcebergSortField-Transform)": "**_string_** " + } + ], + "[OrderId](./API_IcebergSortOrder.html#Glue-Type-IcebergSortOrder-OrderId)": **_number_** + } + ], + "[TableUuid](./API_IcebergTableMetadata.html#Glue-Type-IcebergTableMetadata-TableUuid)": "**_string_** " + }, @@ -151,0 +232,3 @@ Required: No + "[RLSProperties](./API_Table.html#Glue-Type-Table-RLSProperties)": { + "[DefaultRLSPolicy](./API_RLSProperties.html#Glue-Type-RLSProperties-DefaultRLSPolicy)": "**_string_** " + }, @@ -242,0 +326 @@ Required: No + "[IsManaged](./API_ViewDefinition.html#Glue-Type-ViewDefinition-IsManaged)": **_boolean_** , @@ -255,0 +340,3 @@ Required: No + "[SparkPipelineInfo](./API_ViewDefinition.html#Glue-Type-ViewDefinition-SparkPipelineInfo)": { + "**_string_** " : "**_string_** " + }, @@ -256,0 +344,9 @@ Required: No + "[SubObjectsStatistics](./API_ViewDefinition.html#Glue-Type-ViewDefinition-SubObjectsStatistics)": [ + { + "[FileCount](./API_SubObjectStatistics.html#Glue-Type-SubObjectStatistics-FileCount)": **_number_** , + "[GlueVersionId](./API_SubObjectStatistics.html#Glue-Type-SubObjectStatistics-GlueVersionId)": "**_string_** ", + "[PartitionCount](./API_SubObjectStatistics.html#Glue-Type-SubObjectStatistics-PartitionCount)": **_number_** , + "[SourceType](./API_SubObjectStatistics.html#Glue-Type-SubObjectStatistics-SourceType)": "**_string_** ", + "[TotalFileBytes](./API_SubObjectStatistics.html#Glue-Type-SubObjectStatistics-TotalFileBytes)": **_number_** + } + ], @@ -427 +523 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please -GetStatement +GetSystemLogsForSession