create_user_defined_function
(**kwargs)¶Creates a new function definition in the Data Catalog.
See also: AWS API Documentation
Request Syntax
response = client.create_user_defined_function(
CatalogId='string',
DatabaseName='string',
FunctionInput={
'FunctionName': 'string',
'ClassName': 'string',
'OwnerName': 'string',
'OwnerType': 'USER'|'ROLE'|'GROUP',
'ResourceUris': [
{
'ResourceType': 'JAR'|'FILE'|'ARCHIVE',
'Uri': 'string'
},
]
}
)
[REQUIRED]
The name of the catalog database in which to create the function.
[REQUIRED]
A FunctionInput
object that defines the function to create in the Data Catalog.
The name of the function.
The Java class that contains the function code.
The owner of the function.
The owner type.
The resource URIs for the function.
The URIs for function resources.
The type of the resource.
The URI for accessing the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
Glue.Client.exceptions.AlreadyExistsException
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.ResourceNumberLimitExceededException
Glue.Client.exceptions.GlueEncryptionException