amazonka-glue-1.6.0: Amazon Glue SDK.

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

Network.AWS.Glue.CreateUserDefinedFunction

Contents

Description

Creates a new function definition in the Data Catalog.

Synopsis

Creating a Request

createUserDefinedFunction Source #

Creates a value of CreateUserDefinedFunction with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cudfCatalogId - The ID of the Data Catalog in which to create the function. If none is supplied, the AWS account ID is used by default.
  • cudfDatabaseName - The name of the catalog database in which to create the function.
  • cudfFunctionInput - A FunctionInput object that defines the function to create in the Data Catalog.

data CreateUserDefinedFunction Source #

See: createUserDefinedFunction smart constructor.

Instances

Eq CreateUserDefinedFunction Source # 
Data CreateUserDefinedFunction Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateUserDefinedFunction -> c CreateUserDefinedFunction #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateUserDefinedFunction #

toConstr :: CreateUserDefinedFunction -> Constr #

dataTypeOf :: CreateUserDefinedFunction -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateUserDefinedFunction) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateUserDefinedFunction) #

gmapT :: (forall b. Data b => b -> b) -> CreateUserDefinedFunction -> CreateUserDefinedFunction #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateUserDefinedFunction -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateUserDefinedFunction -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateUserDefinedFunction -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateUserDefinedFunction -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateUserDefinedFunction -> m CreateUserDefinedFunction #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateUserDefinedFunction -> m CreateUserDefinedFunction #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateUserDefinedFunction -> m CreateUserDefinedFunction #

Read CreateUserDefinedFunction Source # 
Show CreateUserDefinedFunction Source # 
Generic CreateUserDefinedFunction Source # 
Hashable CreateUserDefinedFunction Source # 
ToJSON CreateUserDefinedFunction Source # 
NFData CreateUserDefinedFunction Source # 
AWSRequest CreateUserDefinedFunction Source # 
ToHeaders CreateUserDefinedFunction Source # 
ToPath CreateUserDefinedFunction Source # 
ToQuery CreateUserDefinedFunction Source # 
type Rep CreateUserDefinedFunction Source # 
type Rep CreateUserDefinedFunction = D1 * (MetaData "CreateUserDefinedFunction" "Network.AWS.Glue.CreateUserDefinedFunction" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "CreateUserDefinedFunction'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cudfCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cudfDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cudfFunctionInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * UserDefinedFunctionInput)))))
type Rs CreateUserDefinedFunction Source # 

Request Lenses

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

The ID of the Data Catalog in which to create the function. If none is supplied, the AWS account ID is used by default.

cudfDatabaseName :: Lens' CreateUserDefinedFunction Text Source #

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

cudfFunctionInput :: Lens' CreateUserDefinedFunction UserDefinedFunctionInput Source #

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

Destructuring the Response

createUserDefinedFunctionResponse Source #

Creates a value of CreateUserDefinedFunctionResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateUserDefinedFunctionResponse Source #

See: createUserDefinedFunctionResponse smart constructor.

Instances

Eq CreateUserDefinedFunctionResponse Source # 
Data CreateUserDefinedFunctionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateUserDefinedFunctionResponse -> c CreateUserDefinedFunctionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateUserDefinedFunctionResponse #

toConstr :: CreateUserDefinedFunctionResponse -> Constr #

dataTypeOf :: CreateUserDefinedFunctionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateUserDefinedFunctionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateUserDefinedFunctionResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateUserDefinedFunctionResponse -> CreateUserDefinedFunctionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateUserDefinedFunctionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateUserDefinedFunctionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateUserDefinedFunctionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateUserDefinedFunctionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateUserDefinedFunctionResponse -> m CreateUserDefinedFunctionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateUserDefinedFunctionResponse -> m CreateUserDefinedFunctionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateUserDefinedFunctionResponse -> m CreateUserDefinedFunctionResponse #

Read CreateUserDefinedFunctionResponse Source # 
Show CreateUserDefinedFunctionResponse Source # 
Generic CreateUserDefinedFunctionResponse Source # 
NFData CreateUserDefinedFunctionResponse Source # 
type Rep CreateUserDefinedFunctionResponse Source # 
type Rep CreateUserDefinedFunctionResponse = D1 * (MetaData "CreateUserDefinedFunctionResponse" "Network.AWS.Glue.CreateUserDefinedFunction" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" True) (C1 * (MetaCons "CreateUserDefinedFunctionResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_cudfrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses