get_user_defined_functions
¶
get_user_defined_functions(
pattern: NameString,
*,
config_overrides: Optional[GlueClientConfig] = 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/glue.py
12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 | |