update_user_defined_function
async
¶
update_user_defined_function(
database_name: NameString,
function_name: NameString,
function_input: UserDefinedFunctionInput,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> UpdateUserDefinedFunctionResponse
Updates an existing function definition in the Data Catalog.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog where the function to be updated 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 to be updated is located.
-
function_name(NameString) –The name of the function.
-
function_input(UserDefinedFunctionInput) –A
FunctionInputobject that redefines the function in the Data Catalog.
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
22286 22287 22288 22289 22290 22291 22292 22293 22294 22295 22296 22297 22298 22299 22300 22301 22302 22303 22304 22305 22306 22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 22321 22322 22323 22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 | |