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

Contents

Description

Updates an existing function definition in the Data Catalog.

Synopsis

Creating a Request

updateUserDefinedFunction Source #

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

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

  • uudfCatalogId - The ID of the Data Catalog where the function to be updated is located. If none is supplied, the AWS account ID is used by default.
  • uudfDatabaseName - The name of the catalog database where the function to be updated is located.
  • uudfFunctionName - The name of the function.
  • uudfFunctionInput - A FunctionInput object that re-defines the function in the Data Catalog.

data UpdateUserDefinedFunction Source #

See: updateUserDefinedFunction smart constructor.

Instances

Eq UpdateUserDefinedFunction Source # 
Data UpdateUserDefinedFunction Source # 

Methods

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

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

toConstr :: UpdateUserDefinedFunction -> Constr #

dataTypeOf :: UpdateUserDefinedFunction -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

uudfCatalogId :: Lens' UpdateUserDefinedFunction (Maybe Text) Source #

The ID of the Data Catalog where the function to be updated is located. If none is supplied, the AWS account ID is used by default.

uudfDatabaseName :: Lens' UpdateUserDefinedFunction Text Source #

The name of the catalog database where the function to be updated is located.

uudfFunctionInput :: Lens' UpdateUserDefinedFunction UserDefinedFunctionInput Source #

A FunctionInput object that re-defines the function in the Data Catalog.

Destructuring the Response

updateUserDefinedFunctionResponse Source #

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

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

data UpdateUserDefinedFunctionResponse Source #

See: updateUserDefinedFunctionResponse smart constructor.

Instances

Eq UpdateUserDefinedFunctionResponse Source # 
Data UpdateUserDefinedFunctionResponse Source # 

Methods

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

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

toConstr :: UpdateUserDefinedFunctionResponse -> Constr #

dataTypeOf :: UpdateUserDefinedFunctionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses