amazonka-glue-1.5.0: Amazon Glue SDK.

Copyright(c) 2013-2017 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.GetUserDefinedFunction

Contents

Description

Retrieves a specified function definition from the Data Catalog.

Synopsis

Creating a Request

getUserDefinedFunction Source #

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

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

  • getCatalogId - The ID of the Data Catalog where the function to be retrieved is located. If none is supplied, the AWS account ID is used by default.
  • getDatabaseName - The name of the catalog database where the function is located.
  • getFunctionName - The name of the function.

data GetUserDefinedFunction Source #

See: getUserDefinedFunction smart constructor.

Instances

Eq GetUserDefinedFunction Source # 
Data GetUserDefinedFunction Source # 

Methods

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

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

toConstr :: GetUserDefinedFunction -> Constr #

dataTypeOf :: GetUserDefinedFunction -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetUserDefinedFunction Source # 
Show GetUserDefinedFunction Source # 
Generic GetUserDefinedFunction Source # 
Hashable GetUserDefinedFunction Source # 
ToJSON GetUserDefinedFunction Source # 
NFData GetUserDefinedFunction Source # 

Methods

rnf :: GetUserDefinedFunction -> () #

AWSRequest GetUserDefinedFunction Source # 
ToQuery GetUserDefinedFunction Source # 
ToPath GetUserDefinedFunction Source # 
ToHeaders GetUserDefinedFunction Source # 
type Rep GetUserDefinedFunction Source # 
type Rep GetUserDefinedFunction = D1 (MetaData "GetUserDefinedFunction" "Network.AWS.Glue.GetUserDefinedFunction" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetUserDefinedFunction'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_getCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_getDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_getFunctionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetUserDefinedFunction Source # 

Request Lenses

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

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

getDatabaseName :: Lens' GetUserDefinedFunction Text Source #

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

Destructuring the Response

getUserDefinedFunctionResponse Source #

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

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

data GetUserDefinedFunctionResponse Source #

See: getUserDefinedFunctionResponse smart constructor.

Instances

Eq GetUserDefinedFunctionResponse Source # 
Data GetUserDefinedFunctionResponse Source # 

Methods

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

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

toConstr :: GetUserDefinedFunctionResponse -> Constr #

dataTypeOf :: GetUserDefinedFunctionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetUserDefinedFunctionResponse Source # 
Show GetUserDefinedFunctionResponse Source # 
Generic GetUserDefinedFunctionResponse Source # 
NFData GetUserDefinedFunctionResponse Source # 
type Rep GetUserDefinedFunctionResponse Source # 
type Rep GetUserDefinedFunctionResponse = D1 (MetaData "GetUserDefinedFunctionResponse" "Network.AWS.Glue.GetUserDefinedFunction" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetUserDefinedFunctionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gudfursUserDefinedFunction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserDefinedFunction))) (S1 (MetaSel (Just Symbol "_gudfursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses