Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- listFunctions :: ListFunctions
- data ListFunctions
- lfMaxItems :: Lens' ListFunctions (Maybe Natural)
- lfMarker :: Lens' ListFunctions (Maybe Text)
- listFunctionsResponse :: Int -> ListFunctionsResponse
- data ListFunctionsResponse
- lfrsNextMarker :: Lens' ListFunctionsResponse (Maybe Text)
- lfrsFunctions :: Lens' ListFunctionsResponse [FunctionConfiguration]
- lfrsStatus :: Lens' ListFunctionsResponse Int
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:
data ListFunctions Source
See: listFunctions
smart constructor.
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
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.
Response Lenses
lfrsNextMarker :: Lens' ListFunctionsResponse (Maybe Text) Source
A string, present if there are more functions.
lfrsFunctions :: Lens' ListFunctionsResponse [FunctionConfiguration] Source
A list of Lambda functions.
lfrsStatus :: Lens' ListFunctionsResponse Int Source
The response status code.