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