Skip to content

UserDefinedFunction

Source code in docs_src/capo_glue/types/user_defined_function.py
class UserDefinedFunction(TypedDict, closed=True):
    function_name: NotRequired["capo_glue.types.name_string.NameString"]
    """<p>The name of the function.</p>"""
    database_name: NotRequired["capo_glue.types.name_string.NameString"]
    """<p>The name of the catalog database that contains the function.</p>"""
    class_name: NotRequired["capo_glue.types.name_string.NameString"]
    """<p>The Java class that contains the function code.</p>"""
    owner_name: NotRequired["capo_glue.types.name_string.NameString"]
    """<p>The owner of the function.</p>"""
    function_type: NotRequired["capo_glue.types.function_type.FunctionType"]
    """<p>The type of the function.</p>"""
    owner_type: NotRequired["capo_glue.types.principal_type.PrincipalType"]
    """<p>The owner type.</p>"""
    create_time: NotRequired["capo_glue.types.timestamp.Timestamp"]
    """<p>The time at which the function was created.</p>"""
    resource_uris: NotRequired["capo_glue.types.resource_uri_list.ResourceUriList"]
    """<p>The resource URIs for the function.</p>"""
    artifact_location: NotRequired["capo_glue.types.uri.URI"]
    """<p>The Amazon S3 location that contains the function's artifacts. This location must be registered with Lake Formation. Glue returns this field only for functions whose <code>GovernanceMode</code> is <code>LAKE_FORMATION</code>.</p>"""
    governance_mode: NotRequired["capo_glue.types.governance_mode.GovernanceMode"]
    """<p>How access to the function is governed. <code>IAM_ONLY</code> means access is controlled by IAM permissions only. <code>LAKE_FORMATION</code> means Lake Formation permissions (<code>EXECUTE</code>, <code>DESCRIBE</code>, <code>ALTER</code>, and <code>DROP</code>) also control who can run, describe, update, and delete the function.</p>"""
    catalog_id: NotRequired["capo_glue.types.catalog_id_string.CatalogIdString"]
    """<p>The ID of the Data Catalog in which the function resides.</p>"""

artifact_location instance-attribute

artifact_location: NotRequired[URI]

The Amazon S3 location that contains the function's artifacts. This location must be registered with Lake Formation. Glue returns this field only for functions whose GovernanceMode is LAKE_FORMATION.

catalog_id instance-attribute

catalog_id: NotRequired[CatalogIdString]

The ID of the Data Catalog in which the function resides.

class_name instance-attribute

class_name: NotRequired[NameString]

The Java class that contains the function code.

create_time instance-attribute

create_time: NotRequired[Timestamp]

The time at which the function was created.

database_name instance-attribute

database_name: NotRequired[NameString]

The name of the catalog database that contains the function.

function_name instance-attribute

function_name: NotRequired[NameString]

The name of the function.

function_type instance-attribute

function_type: NotRequired[FunctionType]

The type of the function.

governance_mode instance-attribute

governance_mode: NotRequired[GovernanceMode]

How access to the function is governed. IAM_ONLY means access is controlled by IAM permissions only. LAKE_FORMATION means Lake Formation permissions (EXECUTE, DESCRIBE, ALTER, and DROP) also control who can run, describe, update, and delete the function.

owner_name instance-attribute

owner_name: NotRequired[NameString]

The owner of the function.

owner_type instance-attribute

owner_type: NotRequired[PrincipalType]

The owner type.

resource_uris instance-attribute

resource_uris: NotRequired[ResourceUriList]

The resource URIs for the function.