batch_get_partition
async
¶
batch_get_partition(
database_name: NameString,
table_name: NameString,
partitions_to_get: BatchGetPartitionValueList,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
audit_context: Optional[AuditContext] = None,
query_session_context: Optional[QuerySessionContext] = None,
) -> BatchGetPartitionResponse
Retrieves partitions in a batch request.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.
-
database_name(NameString) –The name of the catalog database where the partitions reside.
-
table_name(NameString) –The name of the partitions' table.
-
partitions_to_get(BatchGetPartitionValueList) –A list of partition values identifying the partitions to retrieve.
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.
-
InvalidStateException–An error that indicates your data is in an invalid state.
-
OperationTimeoutException–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
1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 | |