Skip to content

Create User Defined Function

glue_create_user_defined_function R Documentation

Creates a new function definition in the Data Catalog

Description

Creates a new function definition in the Data Catalog.

Usage

glue_create_user_defined_function(CatalogId, DatabaseName,
  FunctionInput)

Arguments

CatalogId

The 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 FunctionInput object 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",
    OwnerType = "USER"|"ROLE"|"GROUP",
    ResourceUris = list(
      list(
        ResourceType = "JAR"|"FILE"|"ARCHIVE",
        Uri = "string"
      )
    )
  )
)