GlueClient.get_table
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves the Table definition in a Data Catalog for a specified table.
Install and imports
from rboto import GlueClient
from collections.abc import Sequence
from rboto_glue.types import (
AuditContext,
GetTableOutput,
TableAttributes,
)
Signature
async def get_table(
*,
database_name: str,
name: str,
catalog_id: str | None = None,
transaction_id: str | None = None,
query_as_of_time: str | None = None,
audit_context: AuditContext | None = None,
include_status_details: bool | None = None,
attributes_to_get: Sequence[TableAttributes] | None = None,
) -> GetTableOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
database_name |
Yes | The name of the database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase. |
name |
Yes | The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely lowercase. |
catalog_id |
No | The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default. |
transaction_id |
No | The transaction ID at which to read the table contents. |
query_as_of_time |
No | The time as of when to read the table contents. If not set, the most recent transaction commit time will be used. Cannot be specified along with TransactionId . |
audit_context |
No | A structure containing the Lake Formation audit context . |
include_status_details |
No | Specifies whether to include status details related to a request to create or update an Glue Data Catalog view. |
attributes_to_get |
No | 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... |
Output
GetTableOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
table |
TableOutput | None |
Always present | TableOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
AuditContext, GetTableOutput, TableAttributes
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_glue.exceptions:
EntityNotFoundError, FederationSourceError, FederationSourceRetryableError, GlueEncryptionError, InternalServiceError, InvalidInputError, OperationTimeoutError, ResourceNotReadyError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.