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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass CreateUserDefinedFunctionRequest data as a 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 supplied, the AWS account ID is used by default.

Returns:

  • (String)


1855
1856
1857
1858
1859
1860
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1855

class CreateUserDefinedFunctionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :function_input)
  include Aws::Structure
end

#database_nameString

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

Returns:

  • (String)


1855
1856
1857
1858
1859
1860
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1855

class CreateUserDefinedFunctionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :function_input)
  include Aws::Structure
end

#function_inputTypes::UserDefinedFunctionInput

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



1855
1856
1857
1858
1859
1860
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1855

class CreateUserDefinedFunctionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :function_input)
  include Aws::Structure
end