get_unfiltered_partition_metadata
async
¶
get_unfiltered_partition_metadata(
catalog_id: CatalogIdString,
database_name: NameString,
table_name: NameString,
partition_values: ValueStringList,
supported_permission_types: PermissionTypeList,
*,
config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 | |