get_user_defined_function
async
¶
get_user_defined_function(
database_name: NameString,
function_name: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> GetUserDefinedFunctionResponse
Retrieves a specified function definition from the Data Catalog.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog where the function to be retrieved is located. If none is provided, the Amazon Web Services account ID is used by default.
-
database_name(NameString) –The name of the catalog database where the function is located.
-
function_name(NameString) –The name of the function.
Raises:
-
EntityNotFoundException–A specified entity does not exist
-
GlueEncryptionException–An encryption operation failed.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
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
13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 | |