amazonka-lambda-1.4.5: Amazon Lambda SDK.

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

Network.AWS.Lambda.ListFunctions

Contents

Description

Returns a list of your Lambda functions. For each function, the response includes the function configuration information. You must use GetFunction to retrieve the code for your function.

This operation requires permission for the lambda:ListFunctions action.

If you are using versioning feature, the response returns list of $LATEST versions of your functions. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases .

This operation returns paginated results.

Synopsis

Creating a Request

listFunctions :: ListFunctions Source #

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

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

  • lfMarker - Optional string. An opaque pagination token returned from a previous ListFunctions operation. If present, indicates where to continue the listing.
  • lfMaxItems - Optional integer. Specifies the maximum number of AWS Lambda functions to return in response. This parameter value must be greater than 0.

data ListFunctions Source #

See: listFunctions smart constructor.

Instances

Eq ListFunctions Source # 
Data ListFunctions Source # 

Methods

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

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

toConstr :: ListFunctions -> Constr #

dataTypeOf :: ListFunctions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFunctions Source # 
Show ListFunctions Source # 
Generic ListFunctions Source # 

Associated Types

type Rep ListFunctions :: * -> * #

Hashable ListFunctions Source # 
NFData ListFunctions Source # 

Methods

rnf :: ListFunctions -> () #

AWSPager ListFunctions Source # 
AWSRequest ListFunctions Source # 
ToPath ListFunctions Source # 
ToHeaders ListFunctions Source # 
ToQuery ListFunctions Source # 
type Rep ListFunctions Source # 
type Rep ListFunctions = D1 (MetaData "ListFunctions" "Network.AWS.Lambda.ListFunctions" "amazonka-lambda-1.4.5-K0Zcc9dQTk78nHWncyJsNe" False) (C1 (MetaCons "ListFunctions'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lfMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lfMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListFunctions Source # 

Request Lenses

lfMarker :: Lens' ListFunctions (Maybe Text) Source #

Optional string. An opaque pagination token returned from a previous ListFunctions operation. If present, indicates where to continue the listing.

lfMaxItems :: Lens' ListFunctions (Maybe Natural) Source #

Optional integer. Specifies the maximum number of AWS Lambda functions to return in response. This parameter value must be greater than 0.

Destructuring the Response

listFunctionsResponse Source #

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

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

data ListFunctionsResponse Source #

Contains a list of AWS Lambda function configurations (see FunctionConfiguration .

See: listFunctionsResponse smart constructor.

Instances

Eq ListFunctionsResponse Source # 
Data ListFunctionsResponse Source # 

Methods

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

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

toConstr :: ListFunctionsResponse -> Constr #

dataTypeOf :: ListFunctionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFunctionsResponse Source # 
Show ListFunctionsResponse Source # 
Generic ListFunctionsResponse Source # 
NFData ListFunctionsResponse Source # 

Methods

rnf :: ListFunctionsResponse -> () #

type Rep ListFunctionsResponse Source # 
type Rep ListFunctionsResponse = D1 (MetaData "ListFunctionsResponse" "Network.AWS.Lambda.ListFunctions" "amazonka-lambda-1.4.5-K0Zcc9dQTk78nHWncyJsNe" False) (C1 (MetaCons "ListFunctionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lfrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lfrsFunctions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FunctionConfiguration]))) (S1 (MetaSel (Just Symbol "_lfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lfrsNextMarker :: Lens' ListFunctionsResponse (Maybe Text) Source #

A string, present if there are more functions.

lfrsResponseStatus :: Lens' ListFunctionsResponse Int Source #

  • - | The response status code.