Class: Aws::Glue::Types::UserDefinedFunctionInput

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

Overview

A structure used to create or update a user-defined function.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#artifact_location ⇒ String

The Amazon S3 location that contains the function's artifacts. Required when GovernanceMode is LAKE_FORMATION. You must register the location with Lake Formation, and every resource URI must be under this location.

Returns:

  • (String)


35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 35859

class UserDefinedFunctionInput < Struct.new(
  :function_name,
  :class_name,
  :owner_name,
  :function_type,
  :owner_type,
  :resource_uris,
  :artifact_location,
  :governance_mode)
  SENSITIVE = []
  include Aws::Structure
end

#class_name ⇒ String

The Java class that contains the function code.

Returns:

  • (String)


35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 35859

class UserDefinedFunctionInput < Struct.new(
  :function_name,
  :class_name,
  :owner_name,
  :function_type,
  :owner_type,
  :resource_uris,
  :artifact_location,
  :governance_mode)
  SENSITIVE = []
  include Aws::Structure
end

#function_name ⇒ String

The name of the function.

Returns:

  • (String)


35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 35859

class UserDefinedFunctionInput < Struct.new(
  :function_name,
  :class_name,
  :owner_name,
  :function_type,
  :owner_type,
  :resource_uris,
  :artifact_location,
  :governance_mode)
  SENSITIVE = []
  include Aws::Structure
end

#function_type ⇒ String

The type of the function.

Returns:

  • (String)


35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 35859

class UserDefinedFunctionInput < Struct.new(
  :function_name,
  :class_name,
  :owner_name,
  :function_type,
  :owner_type,
  :resource_uris,
  :artifact_location,
  :governance_mode)
  SENSITIVE = []
  include Aws::Structure
end

#governance_mode ⇒ String

How access to the function is governed. Specify LAKE_FORMATION to manage access to the function with Lake Formation permissions. If you don't specify a value, the default is IAM_ONLY. You can't change the governance mode after the function is created.

When GovernanceMode is LAKE_FORMATION:

  • You must be a data lake administrator or have all permissions on the Data Catalog with the grant option.

  • You must have the DATA_LOCATION_ACCESS permission on the ArtifactLocation, unless you're a data lake administrator.

  • You must specify from 1 to 10 resource URIs, each under the ArtifactLocation.

  • You can't rename the function.

Returns:

  • (String)


35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 35859

class UserDefinedFunctionInput < Struct.new(
  :function_name,
  :class_name,
  :owner_name,
  :function_type,
  :owner_type,
  :resource_uris,
  :artifact_location,
  :governance_mode)
  SENSITIVE = []
  include Aws::Structure
end

#owner_name ⇒ String

The owner of the function.

Returns:

  • (String)


35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 35859

class UserDefinedFunctionInput < Struct.new(
  :function_name,
  :class_name,
  :owner_name,
  :function_type,
  :owner_type,
  :resource_uris,
  :artifact_location,
  :governance_mode)
  SENSITIVE = []
  include Aws::Structure
end

#owner_type ⇒ String

The owner type.

Returns:

  • (String)


35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 35859

class UserDefinedFunctionInput < Struct.new(
  :function_name,
  :class_name,
  :owner_name,
  :function_type,
  :owner_type,
  :resource_uris,
  :artifact_location,
  :governance_mode)
  SENSITIVE = []
  include Aws::Structure
end

#resource_uris ⇒ Array<Types::ResourceUri>

The resource URIs for the function.

Returns:



35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 35859

class UserDefinedFunctionInput < Struct.new(
  :function_name,
  :class_name,
  :owner_name,
  :function_type,
  :owner_type,
  :resource_uris,
  :artifact_location,
  :governance_mode)
  SENSITIVE = []
  include Aws::Structure
end