GetTablesRequest
¶
Source code in docs_src/capo_glue/types/get_tables_request.py
attributes_to_get
instance-attribute
¶
attributes_to_get: NotRequired[TableAttributesList]
Specifies the table fields returned by the GetTables call. This parameter doesn’t accept an empty list. The request must include NAME.
The following are the valid combinations of values:
-
NAME- Names of all tables in the database. -
NAME,TABLE_TYPE- Names of all tables and the table types.
audit_context
instance-attribute
¶
audit_context: NotRequired[AuditContext]
A structure containing the Lake Formation audit context.
catalog_id
instance-attribute
¶
catalog_id: NotRequired[CatalogIdString]
The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.
database_name
instance-attribute
¶
database_name: NameString
The database in the catalog whose tables to list. For Hive compatibility, this name is entirely lowercase.
expression
instance-attribute
¶
expression: NotRequired[FilterString]
A regular expression pattern. If present, only those tables whose names match the pattern are returned.
include_status_details
instance-attribute
¶
include_status_details: NotRequired[BooleanNullable]
Specifies whether to include status details related to a request to create or update an Glue Data Catalog view.
max_results
instance-attribute
¶
max_results: NotRequired[CatalogGetterPageSize]
The maximum number of tables to return in a single response.
next_token
instance-attribute
¶
next_token: NotRequired[Token]
A continuation token, included if this is a continuation call.
query_as_of_time
instance-attribute
¶
query_as_of_time: NotRequired[Timestamp]
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.
resource_share_type
instance-attribute
¶
resource_share_type: NotRequired[TableResourceShareType]
Specifies which tables the GetTables call returns. The allowable values are FEDERATED or ALL.
-
If set to
FEDERATED, returns only federated tables, which reference an entity outside the Glue Data Catalog. -
If set to
ALL, returns all tables in the database, both federated and non-federated.
transaction_id
instance-attribute
¶
transaction_id: NotRequired[TransactionIdString]
The transaction ID at which to read the table contents.