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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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",
      },
    ],
  },
}

Constant Summary collapse

SENSITIVE =
[]

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.



4602
4603
4604
4605
4606
4607
4608
# File 'lib/aws-sdk-glue/types.rb', line 4602

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

#database_nameString

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



4602
4603
4604
4605
4606
4607
4608
# File 'lib/aws-sdk-glue/types.rb', line 4602

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

#function_inputTypes::UserDefinedFunctionInput

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



4602
4603
4604
4605
4606
4607
4608
# File 'lib/aws-sdk-glue/types.rb', line 4602

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