GlueClient.get_unfiltered_partitions_metadata
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves partition metadata from the Data Catalog that contains unfiltered metadata. For IAM authorization, the public IAM action associated with this API is glue:GetPartitions .
Install and imports
from rboto import GlueClient
from collections.abc import Sequence
from rboto_glue.types import (
AuditContext,
GetUnfilteredPartitionsMetadataOutput,
PermissionType,
QuerySessionContext,
Segment,
)
Signature
async def get_unfiltered_partitions_metadata(
*,
catalog_id: str,
database_name: str,
table_name: str,
supported_permission_types: Sequence[PermissionType],
region: str | None = None,
expression: str | None = None,
audit_context: AuditContext | None = None,
next_token: str | None = None,
segment: Segment | None = None,
max_results: int | None = None,
query_session_context: QuerySessionContext | None = None,
) -> GetUnfilteredPartitionsMetadataOutput: ...
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) |
|---|---|---|
catalog_id |
Yes | The ID of the Data Catalog where the partitions in question reside. If none is provided, the AWS account ID is used by default. |
database_name |
Yes | The name of the catalog database where the partitions reside. |
table_name |
Yes | The name of the table that contains the partition. |
supported_permission_types |
Yes | A list of supported permission types. |
region |
No | Specified only if the base tables belong to a different Amazon Web Services Region. |
expression |
No | An expression that filters the partitions to be returned. The expression uses SQL syntax similar to the SQL WHERE filter clause. The SQL statement parser JSQLParser parses the expression. Operators : The following are the operators that you can use in the Expression API call: = Checks whether the values of the two operands are equal; if yes, then the condition becomes true. Example: Assume... |
audit_context |
No | A structure containing Lake Formation audit context information. |
next_token |
No | A continuation token, if this is not the first call to retrieve these partitions. |
segment |
No | The segment of the table's partitions to scan in this request. |
max_results |
No | The maximum number of partitions to return in a single response. |
query_session_context |
No | A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context. |
Output
GetUnfilteredPartitionsMetadataOutput.
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 |
|---|---|---|---|
unfiltered_partitions |
list[UnfilteredPartitionOutput] | None |
Always present | UnfilteredPartitionOutput |
next_token |
str | None |
Always present | — |
| 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, GetUnfilteredPartitionsMetadataOutput, PermissionType, QuerySessionContext, Segment
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.get_unfiltered_partitions_metadata(...) accepts the same arguments and returns AsyncIterator[GetUnfilteredPartitionsMetadataOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: max_results.
No output stream.
Errors
Import from rboto_glue.exceptions:
EntityNotFoundError, FederationSourceError, FederationSourceRetryableError, GlueEncryptionError, InternalServiceError, InvalidInputError, OperationTimeoutError, PermissionTypeMismatchError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.