| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.ListFunctionDefinitions
Description
Retrieves a list of Lambda function definitions.
This operation returns paginated results.
Synopsis
- data ListFunctionDefinitions = ListFunctionDefinitions' {}
- newListFunctionDefinitions :: ListFunctionDefinitions
- listFunctionDefinitions_maxResults :: Lens' ListFunctionDefinitions (Maybe Text)
- listFunctionDefinitions_nextToken :: Lens' ListFunctionDefinitions (Maybe Text)
- data ListFunctionDefinitionsResponse = ListFunctionDefinitionsResponse' {}
- newListFunctionDefinitionsResponse :: Int -> ListFunctionDefinitionsResponse
- listFunctionDefinitionsResponse_definitions :: Lens' ListFunctionDefinitionsResponse (Maybe [DefinitionInformation])
- listFunctionDefinitionsResponse_nextToken :: Lens' ListFunctionDefinitionsResponse (Maybe Text)
- listFunctionDefinitionsResponse_httpStatus :: Lens' ListFunctionDefinitionsResponse Int
Creating a Request
data ListFunctionDefinitions Source #
See: newListFunctionDefinitions smart constructor.
Constructors
| ListFunctionDefinitions' | |
Instances
newListFunctionDefinitions :: ListFunctionDefinitions Source #
Create a value of ListFunctionDefinitions 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:maxResults:ListFunctionDefinitions', listFunctionDefinitions_maxResults - The maximum number of results to be returned per request.
ListFunctionDefinitions, listFunctionDefinitions_nextToken - The token for the next set of results, or ''null'' if there are no
additional results.
Request Lenses
listFunctionDefinitions_maxResults :: Lens' ListFunctionDefinitions (Maybe Text) Source #
The maximum number of results to be returned per request.
listFunctionDefinitions_nextToken :: Lens' ListFunctionDefinitions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
Destructuring the Response
data ListFunctionDefinitionsResponse Source #
See: newListFunctionDefinitionsResponse smart constructor.
Constructors
| ListFunctionDefinitionsResponse' | |
Fields
| |
Instances
newListFunctionDefinitionsResponse Source #
Create a value of ListFunctionDefinitionsResponse 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:definitions:ListFunctionDefinitionsResponse', listFunctionDefinitionsResponse_definitions - Information about a definition.
ListFunctionDefinitions, listFunctionDefinitionsResponse_nextToken - The token for the next set of results, or ''null'' if there are no
additional results.
$sel:httpStatus:ListFunctionDefinitionsResponse', listFunctionDefinitionsResponse_httpStatus - The response's http status code.
Response Lenses
listFunctionDefinitionsResponse_definitions :: Lens' ListFunctionDefinitionsResponse (Maybe [DefinitionInformation]) Source #
Information about a definition.
listFunctionDefinitionsResponse_nextToken :: Lens' ListFunctionDefinitionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listFunctionDefinitionsResponse_httpStatus :: Lens' ListFunctionDefinitionsResponse Int Source #
The response's http status code.