Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.
Set FunctionVersion
to ALL
to include all published versions of each
function in addition to the unpublished version.
The ListFunctions
action returns a subset of the FunctionConfiguration
fields. To get the additional fields (State, StateReasonCode,
StateReason, LastUpdateStatus, LastUpdateStatusReason,
LastUpdateStatusReasonCode) for a function or version, use GetFunction.
This operation returns paginated results.
Synopsis
- data ListFunctions = ListFunctions' {}
- newListFunctions :: ListFunctions
- listFunctions_masterRegion :: Lens' ListFunctions (Maybe Text)
- listFunctions_marker :: Lens' ListFunctions (Maybe Text)
- listFunctions_maxItems :: Lens' ListFunctions (Maybe Natural)
- listFunctions_functionVersion :: Lens' ListFunctions (Maybe FunctionVersion)
- data ListFunctionsResponse = ListFunctionsResponse' {}
- newListFunctionsResponse :: Int -> ListFunctionsResponse
- listFunctionsResponse_nextMarker :: Lens' ListFunctionsResponse (Maybe Text)
- listFunctionsResponse_functions :: Lens' ListFunctionsResponse (Maybe [FunctionConfiguration])
- listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int
Creating a Request
data ListFunctions Source #
See: newListFunctions
smart constructor.
ListFunctions' | |
|
Instances
newListFunctions :: ListFunctions Source #
Create a value of ListFunctions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:masterRegion:ListFunctions'
, listFunctions_masterRegion
- For Lambda@Edge functions, the Amazon Web Services Region of the master
function. For example, us-east-1
filters the list of functions to only
include Lambda@Edge functions replicated from a master function in US
East (N. Virginia). If specified, you must set FunctionVersion
to
ALL
.
$sel:marker:ListFunctions'
, listFunctions_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListFunctions'
, listFunctions_maxItems
- The maximum number of functions to return in the response. Note that
ListFunctions
returns a maximum of 50 items in each response, even if
you set the number higher.
$sel:functionVersion:ListFunctions'
, listFunctions_functionVersion
- Set to ALL
to include entries for all published versions of each
function.
Request Lenses
listFunctions_masterRegion :: Lens' ListFunctions (Maybe Text) Source #
For Lambda@Edge functions, the Amazon Web Services Region of the master
function. For example, us-east-1
filters the list of functions to only
include Lambda@Edge functions replicated from a master function in US
East (N. Virginia). If specified, you must set FunctionVersion
to
ALL
.
listFunctions_marker :: Lens' ListFunctions (Maybe Text) Source #
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
listFunctions_maxItems :: Lens' ListFunctions (Maybe Natural) Source #
The maximum number of functions to return in the response. Note that
ListFunctions
returns a maximum of 50 items in each response, even if
you set the number higher.
listFunctions_functionVersion :: Lens' ListFunctions (Maybe FunctionVersion) Source #
Set to ALL
to include entries for all published versions of each
function.
Destructuring the Response
data ListFunctionsResponse Source #
A list of Lambda functions.
See: newListFunctionsResponse
smart constructor.
ListFunctionsResponse' | |
|
Instances
newListFunctionsResponse Source #
Create a value of ListFunctionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextMarker:ListFunctionsResponse'
, listFunctionsResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:functions:ListFunctionsResponse'
, listFunctionsResponse_functions
- A list of Lambda functions.
$sel:httpStatus:ListFunctionsResponse'
, listFunctionsResponse_httpStatus
- The response's http status code.
Response Lenses
listFunctionsResponse_nextMarker :: Lens' ListFunctionsResponse (Maybe Text) Source #
The pagination token that's included if more results are available.
listFunctionsResponse_functions :: Lens' ListFunctionsResponse (Maybe [FunctionConfiguration]) Source #
A list of Lambda functions.
listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int Source #
The response's http status code.