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 |
Lists your GraphQL APIs.
This operation returns paginated results.
Synopsis
- data ListGraphqlApis = ListGraphqlApis' {}
- newListGraphqlApis :: ListGraphqlApis
- listGraphqlApis_maxResults :: Lens' ListGraphqlApis (Maybe Natural)
- listGraphqlApis_nextToken :: Lens' ListGraphqlApis (Maybe Text)
- data ListGraphqlApisResponse = ListGraphqlApisResponse' {
- graphqlApis :: Maybe [GraphqlApi]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListGraphqlApisResponse :: Int -> ListGraphqlApisResponse
- listGraphqlApisResponse_graphqlApis :: Lens' ListGraphqlApisResponse (Maybe [GraphqlApi])
- listGraphqlApisResponse_nextToken :: Lens' ListGraphqlApisResponse (Maybe Text)
- listGraphqlApisResponse_httpStatus :: Lens' ListGraphqlApisResponse Int
Creating a Request
data ListGraphqlApis Source #
See: newListGraphqlApis
smart constructor.
Instances
newListGraphqlApis :: ListGraphqlApis Source #
Create a value of ListGraphqlApis
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:ListGraphqlApis'
, listGraphqlApis_maxResults
- The maximum number of results that you want the request to return.
ListGraphqlApis
, listGraphqlApis_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.
Request Lenses
listGraphqlApis_maxResults :: Lens' ListGraphqlApis (Maybe Natural) Source #
The maximum number of results that you want the request to return.
listGraphqlApis_nextToken :: Lens' ListGraphqlApis (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.
Destructuring the Response
data ListGraphqlApisResponse Source #
See: newListGraphqlApisResponse
smart constructor.
ListGraphqlApisResponse' | |
|
Instances
newListGraphqlApisResponse Source #
Create a value of ListGraphqlApisResponse
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:graphqlApis:ListGraphqlApisResponse'
, listGraphqlApisResponse_graphqlApis
- The GraphqlApi
objects.
ListGraphqlApis
, listGraphqlApisResponse_nextToken
- An identifier to pass in the next request to this operation to return
the next set of items in the list.
$sel:httpStatus:ListGraphqlApisResponse'
, listGraphqlApisResponse_httpStatus
- The response's http status code.
Response Lenses
listGraphqlApisResponse_graphqlApis :: Lens' ListGraphqlApisResponse (Maybe [GraphqlApi]) Source #
The GraphqlApi
objects.
listGraphqlApisResponse_nextToken :: Lens' ListGraphqlApisResponse (Maybe Text) Source #
An identifier to pass in the next request to this operation to return the next set of items in the list.
listGraphqlApisResponse_httpStatus :: Lens' ListGraphqlApisResponse Int Source #
The response's http status code.