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 the resolvers for a given API and type.
This operation returns paginated results.
Synopsis
- data ListResolvers = ListResolvers' {}
- newListResolvers :: Text -> Text -> ListResolvers
- listResolvers_nextToken :: Lens' ListResolvers (Maybe Text)
- listResolvers_maxResults :: Lens' ListResolvers (Maybe Natural)
- listResolvers_apiId :: Lens' ListResolvers Text
- listResolvers_typeName :: Lens' ListResolvers Text
- data ListResolversResponse = ListResolversResponse' {}
- newListResolversResponse :: Int -> ListResolversResponse
- listResolversResponse_nextToken :: Lens' ListResolversResponse (Maybe Text)
- listResolversResponse_resolvers :: Lens' ListResolversResponse (Maybe [Resolver])
- listResolversResponse_httpStatus :: Lens' ListResolversResponse Int
Creating a Request
data ListResolvers Source #
See: newListResolvers
smart constructor.
ListResolvers' | |
|
Instances
Create a value of ListResolvers
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:ListResolvers'
, listResolvers_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:ListResolvers'
, listResolvers_maxResults
- The maximum number of results you want the request to return.
$sel:apiId:ListResolvers'
, listResolvers_apiId
- The API ID.
$sel:typeName:ListResolvers'
, listResolvers_typeName
- The type name.
Request Lenses
listResolvers_nextToken :: Lens' ListResolvers (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.
listResolvers_maxResults :: Lens' ListResolvers (Maybe Natural) Source #
The maximum number of results you want the request to return.
listResolvers_apiId :: Lens' ListResolvers Text Source #
The API ID.
listResolvers_typeName :: Lens' ListResolvers Text Source #
The type name.
Destructuring the Response
data ListResolversResponse Source #
See: newListResolversResponse
smart constructor.
Instances
newListResolversResponse Source #
Create a value of ListResolversResponse
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:ListResolvers'
, listResolversResponse_nextToken
- An identifier to be passed in the next request to this operation to
return the next set of items in the list.
$sel:resolvers:ListResolversResponse'
, listResolversResponse_resolvers
- The Resolver
objects.
$sel:httpStatus:ListResolversResponse'
, listResolversResponse_httpStatus
- The response's http status code.
Response Lenses
listResolversResponse_nextToken :: Lens' ListResolversResponse (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.
listResolversResponse_resolvers :: Lens' ListResolversResponse (Maybe [Resolver]) Source #
The Resolver
objects.
listResolversResponse_httpStatus :: Lens' ListResolversResponse Int Source #
The response's http status code.