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 the resolvers that are associated with a specific function.
This operation returns paginated results.
Synopsis
- data ListResolversByFunction = ListResolversByFunction' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- apiId :: Text
- functionId :: Text
- newListResolversByFunction :: Text -> Text -> ListResolversByFunction
- listResolversByFunction_nextToken :: Lens' ListResolversByFunction (Maybe Text)
- listResolversByFunction_maxResults :: Lens' ListResolversByFunction (Maybe Natural)
- listResolversByFunction_apiId :: Lens' ListResolversByFunction Text
- listResolversByFunction_functionId :: Lens' ListResolversByFunction Text
- data ListResolversByFunctionResponse = ListResolversByFunctionResponse' {}
- newListResolversByFunctionResponse :: Int -> ListResolversByFunctionResponse
- listResolversByFunctionResponse_nextToken :: Lens' ListResolversByFunctionResponse (Maybe Text)
- listResolversByFunctionResponse_resolvers :: Lens' ListResolversByFunctionResponse (Maybe [Resolver])
- listResolversByFunctionResponse_httpStatus :: Lens' ListResolversByFunctionResponse Int
Creating a Request
data ListResolversByFunction Source #
See: newListResolversByFunction
smart constructor.
ListResolversByFunction' | |
|
Instances
newListResolversByFunction Source #
:: Text | |
-> Text | |
-> ListResolversByFunction |
Create a value of ListResolversByFunction
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:ListResolversByFunction'
, listResolversByFunction_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:maxResults:ListResolversByFunction'
, listResolversByFunction_maxResults
- The maximum number of results you want the request to return.
$sel:apiId:ListResolversByFunction'
, listResolversByFunction_apiId
- The API ID.
$sel:functionId:ListResolversByFunction'
, listResolversByFunction_functionId
- The Function ID.
Request Lenses
listResolversByFunction_nextToken :: Lens' ListResolversByFunction (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.
listResolversByFunction_maxResults :: Lens' ListResolversByFunction (Maybe Natural) Source #
The maximum number of results you want the request to return.
listResolversByFunction_apiId :: Lens' ListResolversByFunction Text Source #
The API ID.
listResolversByFunction_functionId :: Lens' ListResolversByFunction Text Source #
The Function ID.
Destructuring the Response
data ListResolversByFunctionResponse Source #
See: newListResolversByFunctionResponse
smart constructor.
Instances
newListResolversByFunctionResponse Source #
Create a value of ListResolversByFunctionResponse
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:ListResolversByFunction'
, listResolversByFunctionResponse_nextToken
- An identifier that can be used to return the next set of items in the
list.
$sel:resolvers:ListResolversByFunctionResponse'
, listResolversByFunctionResponse_resolvers
- The list of resolvers.
$sel:httpStatus:ListResolversByFunctionResponse'
, listResolversByFunctionResponse_httpStatus
- The response's http status code.
Response Lenses
listResolversByFunctionResponse_nextToken :: Lens' ListResolversByFunctionResponse (Maybe Text) Source #
An identifier that can be used to return the next set of items in the list.
listResolversByFunctionResponse_resolvers :: Lens' ListResolversByFunctionResponse (Maybe [Resolver]) Source #
The list of resolvers.
listResolversByFunctionResponse_httpStatus :: Lens' ListResolversByFunctionResponse Int Source #
The response's http status code.