| 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 |
Amazonka.GlobalAccelerator.ListCustomRoutingListeners
Description
List the listeners for a custom routing accelerator.
This operation returns paginated results.
Synopsis
- data ListCustomRoutingListeners = ListCustomRoutingListeners' {}
- newListCustomRoutingListeners :: Text -> ListCustomRoutingListeners
- listCustomRoutingListeners_maxResults :: Lens' ListCustomRoutingListeners (Maybe Natural)
- listCustomRoutingListeners_nextToken :: Lens' ListCustomRoutingListeners (Maybe Text)
- listCustomRoutingListeners_acceleratorArn :: Lens' ListCustomRoutingListeners Text
- data ListCustomRoutingListenersResponse = ListCustomRoutingListenersResponse' {}
- newListCustomRoutingListenersResponse :: Int -> ListCustomRoutingListenersResponse
- listCustomRoutingListenersResponse_listeners :: Lens' ListCustomRoutingListenersResponse (Maybe [CustomRoutingListener])
- listCustomRoutingListenersResponse_nextToken :: Lens' ListCustomRoutingListenersResponse (Maybe Text)
- listCustomRoutingListenersResponse_httpStatus :: Lens' ListCustomRoutingListenersResponse Int
Creating a Request
data ListCustomRoutingListeners Source #
See: newListCustomRoutingListeners smart constructor.
Constructors
| ListCustomRoutingListeners' | |
Fields
| |
Instances
newListCustomRoutingListeners Source #
Arguments
| :: Text | |
| -> ListCustomRoutingListeners |
Create a value of ListCustomRoutingListeners 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:ListCustomRoutingListeners', listCustomRoutingListeners_maxResults - The number of listener objects that you want to return with this call.
The default value is 10.
ListCustomRoutingListeners, listCustomRoutingListeners_nextToken - The token for the next set of results. You receive this token from a
previous call.
ListCustomRoutingListeners, listCustomRoutingListeners_acceleratorArn - The Amazon Resource Name (ARN) of the accelerator to list listeners for.
Request Lenses
listCustomRoutingListeners_maxResults :: Lens' ListCustomRoutingListeners (Maybe Natural) Source #
The number of listener objects that you want to return with this call. The default value is 10.
listCustomRoutingListeners_nextToken :: Lens' ListCustomRoutingListeners (Maybe Text) Source #
The token for the next set of results. You receive this token from a previous call.
listCustomRoutingListeners_acceleratorArn :: Lens' ListCustomRoutingListeners Text Source #
The Amazon Resource Name (ARN) of the accelerator to list listeners for.
Destructuring the Response
data ListCustomRoutingListenersResponse Source #
See: newListCustomRoutingListenersResponse smart constructor.
Constructors
| ListCustomRoutingListenersResponse' | |
Fields
| |
Instances
newListCustomRoutingListenersResponse Source #
Arguments
| :: Int | |
| -> ListCustomRoutingListenersResponse |
Create a value of ListCustomRoutingListenersResponse 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:listeners:ListCustomRoutingListenersResponse', listCustomRoutingListenersResponse_listeners - The list of listeners for a custom routing accelerator.
ListCustomRoutingListeners, listCustomRoutingListenersResponse_nextToken - The token for the next set of results. You receive this token from a
previous call.
$sel:httpStatus:ListCustomRoutingListenersResponse', listCustomRoutingListenersResponse_httpStatus - The response's http status code.
Response Lenses
listCustomRoutingListenersResponse_listeners :: Lens' ListCustomRoutingListenersResponse (Maybe [CustomRoutingListener]) Source #
The list of listeners for a custom routing accelerator.
listCustomRoutingListenersResponse_nextToken :: Lens' ListCustomRoutingListenersResponse (Maybe Text) Source #
The token for the next set of results. You receive this token from a previous call.
listCustomRoutingListenersResponse_httpStatus :: Lens' ListCustomRoutingListenersResponse Int Source #
The response's http status code.