Creates a new function definition in the Data Catalog¶
Description¶
Creates a new function definition in the Data Catalog.
Usage¶
Arguments¶
-
CatalogIdThe ID of the Data Catalog in which to create the function. If none is provided, the Amazon Web Services account ID is used by default.
-
DatabaseName[required] The name of the catalog database in which to create the function.
-
FunctionInput[required] A
FunctionInputobject that defines the function to create in the Data Catalog.
Value¶
An empty list.
Request syntax¶
svc$create_user_defined_function(
CatalogId = "string",
DatabaseName = "string",
FunctionInput = list(
FunctionName = "string",
ClassName = "string",
OwnerName = "string",
FunctionType = "REGULAR_FUNCTION"|"AGGREGATE_FUNCTION"|"STORED_PROCEDURE",
OwnerType = "USER"|"ROLE"|"GROUP",
ResourceUris = list(
list(
ResourceType = "JAR"|"FILE"|"ARCHIVE",
Uri = "string"
)
)
)
)