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 |
List multiple functions.
This operation returns paginated results.
Synopsis
- data ListFunctions = ListFunctions' {}
- newListFunctions :: Text -> ListFunctions
- listFunctions_nextToken :: Lens' ListFunctions (Maybe Text)
- listFunctions_maxResults :: Lens' ListFunctions (Maybe Natural)
- listFunctions_apiId :: Lens' ListFunctions Text
- data ListFunctionsResponse = ListFunctionsResponse' {}
- newListFunctionsResponse :: Int -> ListFunctionsResponse
- listFunctionsResponse_nextToken :: 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.
Instances
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:nextToken:ListFunctions'
, listFunctions_nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
$sel:maxResults:ListFunctions'
, listFunctions_maxResults
- The maximum number of results you want the request to return.
$sel:apiId:ListFunctions'
, listFunctions_apiId
- The GraphQL API ID.
Request Lenses
listFunctions_nextToken :: Lens' ListFunctions (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listFunctions_maxResults :: Lens' ListFunctions (Maybe Natural) Source #
The maximum number of results you want the request to return.
listFunctions_apiId :: Lens' ListFunctions Text Source #
The GraphQL API ID.
Destructuring the Response
data ListFunctionsResponse Source #
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:nextToken:ListFunctions'
, listFunctionsResponse_nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
$sel:functions:ListFunctionsResponse'
, listFunctionsResponse_functions
- A list of Function
objects.
$sel:httpStatus:ListFunctionsResponse'
, listFunctionsResponse_httpStatus
- The response's http status code.
Response Lenses
listFunctionsResponse_nextToken :: Lens' ListFunctionsResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listFunctionsResponse_functions :: Lens' ListFunctionsResponse (Maybe [FunctionConfiguration]) Source #
A list of Function
objects.
listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int Source #
The response's http status code.