get_user_defined_functions
async
¶
get_user_defined_functions(
pattern: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
database_name: Optional[NameString] = None,
function_type: Optional[FunctionType] = None,
next_token: Optional[Token] = None,
max_results: Optional[CatalogGetterPageSize] = None,
) -> GetUserDefinedFunctionsResponse
Retrieves multiple function definitions from the Data Catalog.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog where the functions to be retrieved are located. If none is provided, the Amazon Web Services account ID is used by default.
-
database_name(Optional[NameString], default:None) –The name of the catalog database where the functions are located. If none is provided, functions from all the databases across the catalog will be returned.
-
pattern(NameString) –An optional function-name pattern string that filters the function definitions returned.
-
function_type(Optional[FunctionType], default:None) –An optional function-type pattern string that filters the function definitions returned from Amazon Redshift Federated Permissions Catalog.
Specify a value of
REGULAR_FUNCTIONorSTORED_PROCEDURE. TheSTORED_PROCEDUREfunction type is only compatible with Amazon Redshift Federated Permissions Catalog. -
next_token(Optional[Token], default:None) –A continuation token, if this is a continuation call.
-
max_results(Optional[CatalogGetterPageSize], default:None) –The maximum number of functions to return in one response.
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
13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 | |