amazonka-lambda-1.2.0: Amazon Lambda SDK.

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

See: AWS API Reference for ListFunctions.

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:

Request Lenses

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.

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.

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:

Response Lenses

lfrsNextMarker :: Lens' ListFunctionsResponse (Maybe Text) Source

A string, present if there are more functions.

lfrsStatus :: Lens' ListFunctionsResponse Int Source

The response status code.