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.CreateUserDefinedFunction

Description

Creates a new function definition in the Data Catalog.

Synopsis

Creating a Request

data CreateUserDefinedFunction Source #

See: newCreateUserDefinedFunction smart constructor.

Constructors

CreateUserDefinedFunction' 

Fields

  • catalogId :: Maybe Text

    The ID of the Data Catalog in which to create the function. If none is provided, the Amazon Web Services account ID is used by default.

  • databaseName :: Text

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

  • functionInput :: UserDefinedFunctionInput

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

Instances

Instances details
Eq CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

Read CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

Show CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

Generic CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

Associated Types

type Rep CreateUserDefinedFunction :: Type -> Type #

NFData CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

Hashable CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

ToJSON CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

AWSRequest CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

ToHeaders CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

ToPath CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

ToQuery CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

type Rep CreateUserDefinedFunction Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

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

Defined in Amazonka.Glue.CreateUserDefinedFunction

newCreateUserDefinedFunction Source #

Create a value of CreateUserDefinedFunction 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:CreateUserDefinedFunction', createUserDefinedFunction_catalogId - The ID of the Data Catalog in which to create the function. If none is provided, the Amazon Web Services account ID is used by default.

$sel:databaseName:CreateUserDefinedFunction', createUserDefinedFunction_databaseName - The name of the catalog database in which to create the function.

$sel:functionInput:CreateUserDefinedFunction', createUserDefinedFunction_functionInput - A FunctionInput object that defines the function to create in the Data Catalog.

Request Lenses

createUserDefinedFunction_catalogId :: Lens' CreateUserDefinedFunction (Maybe Text) Source #

The ID of the Data Catalog in which to create the function. If none is provided, the Amazon Web Services account ID is used by default.

createUserDefinedFunction_databaseName :: Lens' CreateUserDefinedFunction Text Source #

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

createUserDefinedFunction_functionInput :: Lens' CreateUserDefinedFunction UserDefinedFunctionInput Source #

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

Destructuring the Response

data CreateUserDefinedFunctionResponse Source #

See: newCreateUserDefinedFunctionResponse smart constructor.

Constructors

CreateUserDefinedFunctionResponse' 

Fields

Instances

Instances details
Eq CreateUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

Read CreateUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

Show CreateUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

Generic CreateUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

Associated Types

type Rep CreateUserDefinedFunctionResponse :: Type -> Type #

NFData CreateUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

type Rep CreateUserDefinedFunctionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateUserDefinedFunction

type Rep CreateUserDefinedFunctionResponse = D1 ('MetaData "CreateUserDefinedFunctionResponse" "Amazonka.Glue.CreateUserDefinedFunction" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CreateUserDefinedFunctionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateUserDefinedFunctionResponse Source #

Create a value of CreateUserDefinedFunctionResponse 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:httpStatus:CreateUserDefinedFunctionResponse', createUserDefinedFunctionResponse_httpStatus - The response's http status code.

Response Lenses