get_unfiltered_partition_metadata
¶
get_unfiltered_partition_metadata(
catalog_id: CatalogIdString,
database_name: NameString,
table_name: NameString,
partition_values: ValueStringList,
supported_permission_types: PermissionTypeList,
*,
config_overrides: Optional[GlueClientConfig] = None,
region: Optional[ValueString] = None,
audit_context: Optional[AuditContext] = None,
query_session_context: Optional[QuerySessionContext] = None,
) -> GetUnfilteredPartitionMetadataResponse
Retrieves partition metadata from the Data Catalog that contains unfiltered metadata.
For IAM authorization, the public IAM action associated with this API is glue:GetPartition.
Parameters:
-
region(Optional[ValueString], default:None) –Specified only if the base tables belong to a different Amazon Web Services Region.
-
catalog_id(CatalogIdString) –The catalog ID where the partition resides.
-
database_name(NameString) –(Required) Specifies the name of a database that contains the partition.
-
table_name(NameString) –(Required) Specifies the name of a table that contains the partition.
-
partition_values(ValueStringList) –(Required) A list of partition key values.
-
audit_context(Optional[AuditContext], default:None) –A structure containing Lake Formation audit context information.
-
supported_permission_types(PermissionTypeList) –(Required) A list of supported permission types.
-
query_session_context(Optional[QuerySessionContext], default:None) –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.
Raises:
-
EntityNotFoundException–A specified entity does not exist
-
FederationSourceException–A federation source failed.
-
FederationSourceRetryableException–A federation source failed, but the operation may be retried.
-
GlueEncryptionException–An encryption operation failed.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
PermissionTypeMismatchException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 | |