libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.GetUserDefinedFunction

Description

Retrieves a specified function definition from the Data Catalog.

Synopsis

Creating a Request

data GetUserDefinedFunction Source #

See: newGetUserDefinedFunction smart constructor.

Constructors

GetUserDefinedFunction' 

Fields

  • catalogId :: Maybe Text

    The ID of the Data Catalog where the function to be retrieved is located. If none is provided, the Amazon Web Services account ID is used by default.

  • databaseName :: Text

    The name of the catalog database where the function is located.

  • functionName :: Text

    The name of the function.

Instances

Instances details
Eq GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

Read GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

Show GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

Generic GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

Associated Types

type Rep GetUserDefinedFunction :: Type -> Type #

NFData GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

Methods

rnf :: GetUserDefinedFunction -> () #

Hashable GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

ToJSON GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

AWSRequest GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

Associated Types

type AWSResponse GetUserDefinedFunction #

ToHeaders GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

ToPath GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

ToQuery GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

type Rep GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

type Rep GetUserDefinedFunction = D1 ('MetaData "GetUserDefinedFunction" "Amazonka.Glue.GetUserDefinedFunction" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetUserDefinedFunction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

newGetUserDefinedFunction Source #

Create a value of GetUserDefinedFunction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:catalogId:GetUserDefinedFunction', getUserDefinedFunction_catalogId - The ID of the Data Catalog where the function to be retrieved is located. If none is provided, the Amazon Web Services account ID is used by default.

$sel:databaseName:GetUserDefinedFunction', getUserDefinedFunction_databaseName - The name of the catalog database where the function is located.

$sel:functionName:GetUserDefinedFunction', getUserDefinedFunction_functionName - The name of the function.

Request Lenses

getUserDefinedFunction_catalogId :: Lens' GetUserDefinedFunction (Maybe Text) Source #

The ID of the Data Catalog where the function to be retrieved is located. If none is provided, the Amazon Web Services account ID is used by default.

getUserDefinedFunction_databaseName :: Lens' GetUserDefinedFunction Text Source #

The name of the catalog database where the function is located.

Destructuring the Response

data GetUserDefinedFunctionResponse Source #

See: newGetUserDefinedFunctionResponse smart constructor.

Constructors

GetUserDefinedFunctionResponse' 

Fields

Instances

Instances details
Eq GetUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

Read GetUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

Show GetUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

Generic GetUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

Associated Types

type Rep GetUserDefinedFunctionResponse :: Type -> Type #

NFData GetUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

type Rep GetUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunction

type Rep GetUserDefinedFunctionResponse = D1 ('MetaData "GetUserDefinedFunctionResponse" "Amazonka.Glue.GetUserDefinedFunction" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetUserDefinedFunctionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userDefinedFunction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserDefinedFunction)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetUserDefinedFunctionResponse Source #

Create a value of GetUserDefinedFunctionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:userDefinedFunction:GetUserDefinedFunctionResponse', getUserDefinedFunctionResponse_userDefinedFunction - The requested function definition.

$sel:httpStatus:GetUserDefinedFunctionResponse', getUserDefinedFunctionResponse_httpStatus - The response's http status code.

Response Lenses