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

Contents

Description

Retrieves a multiple function definitions from the Data Catalog.

Synopsis

Creating a Request

getUserDefinedFunctions Source #

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

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

  • gudfCatalogId - The ID of the Data Catalog where the functions to be retrieved are located. If none is supplied, the AWS account ID is used by default.
  • gudfNextToken - A continuation token, if this is a continuation call.
  • gudfMaxResults - The maximum number of functions to return in one response.
  • gudfDatabaseName - The name of the catalog database where the functions are located.
  • gudfPattern - An optional function-name pattern string that filters the function definitions returned.

data GetUserDefinedFunctions Source #

See: getUserDefinedFunctions smart constructor.

Instances

Eq GetUserDefinedFunctions Source # 
Data GetUserDefinedFunctions Source # 

Methods

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

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

toConstr :: GetUserDefinedFunctions -> Constr #

dataTypeOf :: GetUserDefinedFunctions -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetUserDefinedFunctions -> () #

AWSRequest GetUserDefinedFunctions Source # 
ToQuery GetUserDefinedFunctions Source # 
ToPath GetUserDefinedFunctions Source # 
ToHeaders GetUserDefinedFunctions Source # 
type Rep GetUserDefinedFunctions Source # 
type Rep GetUserDefinedFunctions = D1 (MetaData "GetUserDefinedFunctions" "Network.AWS.Glue.GetUserDefinedFunctions" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetUserDefinedFunctions'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gudfCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gudfNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gudfMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_gudfDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gudfPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs GetUserDefinedFunctions Source # 

Request Lenses

gudfCatalogId :: Lens' GetUserDefinedFunctions (Maybe Text) Source #

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

gudfNextToken :: Lens' GetUserDefinedFunctions (Maybe Text) Source #

A continuation token, if this is a continuation call.

gudfMaxResults :: Lens' GetUserDefinedFunctions (Maybe Natural) Source #

The maximum number of functions to return in one response.

gudfDatabaseName :: Lens' GetUserDefinedFunctions Text Source #

The name of the catalog database where the functions are located.

gudfPattern :: Lens' GetUserDefinedFunctions Text Source #

An optional function-name pattern string that filters the function definitions returned.

Destructuring the Response

getUserDefinedFunctionsResponse Source #

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

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

data GetUserDefinedFunctionsResponse Source #

See: getUserDefinedFunctionsResponse smart constructor.

Instances

Eq GetUserDefinedFunctionsResponse Source # 
Data GetUserDefinedFunctionsResponse Source # 

Methods

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

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

toConstr :: GetUserDefinedFunctionsResponse -> Constr #

dataTypeOf :: GetUserDefinedFunctionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetUserDefinedFunctionsResponse Source # 
Show GetUserDefinedFunctionsResponse Source # 
Generic GetUserDefinedFunctionsResponse Source # 
NFData GetUserDefinedFunctionsResponse Source # 
type Rep GetUserDefinedFunctionsResponse Source # 
type Rep GetUserDefinedFunctionsResponse = D1 (MetaData "GetUserDefinedFunctionsResponse" "Network.AWS.Glue.GetUserDefinedFunctions" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetUserDefinedFunctionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gudfrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gudfrsUserDefinedFunctions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserDefinedFunction]))) (S1 (MetaSel (Just Symbol "_gudfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gudfrsNextToken :: Lens' GetUserDefinedFunctionsResponse (Maybe Text) Source #

A continuation token, if the list of functions returned does not include the last requested function.