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 listeners for an accelerator.
This operation returns paginated results.
Synopsis
- data ListListeners = ListListeners' {}
- newListListeners :: Text -> ListListeners
- listListeners_nextToken :: Lens' ListListeners (Maybe Text)
- listListeners_maxResults :: Lens' ListListeners (Maybe Natural)
- listListeners_acceleratorArn :: Lens' ListListeners Text
- data ListListenersResponse = ListListenersResponse' {}
- newListListenersResponse :: Int -> ListListenersResponse
- listListenersResponse_nextToken :: Lens' ListListenersResponse (Maybe Text)
- listListenersResponse_listeners :: Lens' ListListenersResponse (Maybe [Listener])
- listListenersResponse_httpStatus :: Lens' ListListenersResponse Int
Creating a Request
data ListListeners Source #
See: newListListeners
smart constructor.
ListListeners' | |
|
Instances
Create a value of ListListeners
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:ListListeners'
, listListeners_nextToken
- The token for the next set of results. You receive this token from a
previous call.
$sel:maxResults:ListListeners'
, listListeners_maxResults
- The number of listener objects that you want to return with this call.
The default value is 10.
$sel:acceleratorArn:ListListeners'
, listListeners_acceleratorArn
- The Amazon Resource Name (ARN) of the accelerator for which you want to
list listener objects.
Request Lenses
listListeners_nextToken :: Lens' ListListeners (Maybe Text) Source #
The token for the next set of results. You receive this token from a previous call.
listListeners_maxResults :: Lens' ListListeners (Maybe Natural) Source #
The number of listener objects that you want to return with this call. The default value is 10.
listListeners_acceleratorArn :: Lens' ListListeners Text Source #
The Amazon Resource Name (ARN) of the accelerator for which you want to list listener objects.
Destructuring the Response
data ListListenersResponse Source #
See: newListListenersResponse
smart constructor.
Instances
newListListenersResponse Source #
Create a value of ListListenersResponse
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:ListListeners'
, listListenersResponse_nextToken
- The token for the next set of results. You receive this token from a
previous call.
$sel:listeners:ListListenersResponse'
, listListenersResponse_listeners
- The list of listeners for an accelerator.
$sel:httpStatus:ListListenersResponse'
, listListenersResponse_httpStatus
- The response's http status code.
Response Lenses
listListenersResponse_nextToken :: Lens' ListListenersResponse (Maybe Text) Source #
The token for the next set of results. You receive this token from a previous call.
listListenersResponse_listeners :: Lens' ListListenersResponse (Maybe [Listener]) Source #
The list of listeners for an accelerator.
listListenersResponse_httpStatus :: Lens' ListListenersResponse Int Source #
The response's http status code.