Copyright | (c) 2013-2016 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.
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.
- listFunctions :: ListFunctions
- data ListFunctions
- lfMarker :: Lens' ListFunctions (Maybe Text)
- lfMaxItems :: Lens' ListFunctions (Maybe Natural)
- listFunctionsResponse :: Int -> ListFunctionsResponse
- data ListFunctionsResponse
- lfrsNextMarker :: Lens' ListFunctionsResponse (Maybe Text)
- lfrsFunctions :: Lens' ListFunctionsResponse [FunctionConfiguration]
- lfrsResponseStatus :: 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:
lfMarker
- Optional string. An opaque pagination token returned from a previousListFunctions
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.
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:
lfrsNextMarker
- A string, present if there are more functions.lfrsFunctions
- A list of Lambda functions.lfrsResponseStatus
- -- | The response status code.
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.
lfrsResponseStatus :: Lens' ListFunctionsResponse Int Source #
- - | The response status code.