Retrieves multiple function definitions from the Data Catalog¶
Description¶
Retrieves multiple function definitions from the Data Catalog.
Usage¶
glue_get_user_defined_functions(CatalogId, DatabaseName, Pattern,
FunctionType, NextToken, MaxResults)
Arguments¶
-
CatalogIdThe 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.
-
DatabaseNameThe 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[required] An optional function-name pattern string that filters the function definitions returned.
-
FunctionTypeAn 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. -
NextTokenA continuation token, if this is a continuation call.
-
MaxResultsThe maximum number of functions to return in one response.
Value¶
A list with the following syntax:
list(
UserDefinedFunctions = list(
list(
FunctionName = "string",
DatabaseName = "string",
ClassName = "string",
OwnerName = "string",
FunctionType = "REGULAR_FUNCTION"|"AGGREGATE_FUNCTION"|"STORED_PROCEDURE",
OwnerType = "USER"|"ROLE"|"GROUP",
CreateTime = as.POSIXct(
"2015-01-01"
),
ResourceUris = list(
list(
ResourceType = "JAR"|"FILE"|"ARCHIVE",
Uri = "string"
)
),
CatalogId = "string"
)
),
NextToken = "string"
)