You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::CreateUserDefinedFunctionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateUserDefinedFunctionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  catalog_id: "CatalogIdString",
  database_name: "NameString", # required
  function_input: { # required
    function_name: "NameString",
    class_name: "NameString",
    owner_name: "NameString",
    owner_type: "USER", # accepts USER, ROLE, GROUP
    resource_uris: [
      {
        resource_type: "JAR", # accepts JAR, FILE, ARCHIVE
        uri: "URI",
      },
    ],
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog in which to create the function. If none is provided, the AWS account ID is used by default.

Returns:

  • (String)

    The ID of the Data Catalog in which to create the function.

#database_nameString

The name of the catalog database in which to create the function.

Returns:

  • (String)

    The name of the catalog database in which to create the function.

#function_inputTypes::UserDefinedFunctionInput

A FunctionInput object that defines the function to create in the Data Catalog.

Returns: