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