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 |
Describes the specified listeners or the listeners for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load balancer or one or more listeners.
This operation returns paginated results.
Synopsis
- data DescribeListeners = DescribeListeners' {}
- newDescribeListeners :: DescribeListeners
- describeListeners_listenerArns :: Lens' DescribeListeners (Maybe [Text])
- describeListeners_loadBalancerArn :: Lens' DescribeListeners (Maybe Text)
- describeListeners_marker :: Lens' DescribeListeners (Maybe Text)
- describeListeners_pageSize :: Lens' DescribeListeners (Maybe Natural)
- data DescribeListenersResponse = DescribeListenersResponse' {
- nextMarker :: Maybe Text
- listeners :: Maybe [Listener]
- httpStatus :: Int
- newDescribeListenersResponse :: Int -> DescribeListenersResponse
- describeListenersResponse_nextMarker :: Lens' DescribeListenersResponse (Maybe Text)
- describeListenersResponse_listeners :: Lens' DescribeListenersResponse (Maybe [Listener])
- describeListenersResponse_httpStatus :: Lens' DescribeListenersResponse Int
Creating a Request
data DescribeListeners Source #
See: newDescribeListeners
smart constructor.
DescribeListeners' | |
|
Instances
newDescribeListeners :: DescribeListeners Source #
Create a value of DescribeListeners
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:listenerArns:DescribeListeners'
, describeListeners_listenerArns
- The Amazon Resource Names (ARN) of the listeners.
$sel:loadBalancerArn:DescribeListeners'
, describeListeners_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:marker:DescribeListeners'
, describeListeners_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:pageSize:DescribeListeners'
, describeListeners_pageSize
- The maximum number of results to return with this call.
Request Lenses
describeListeners_listenerArns :: Lens' DescribeListeners (Maybe [Text]) Source #
The Amazon Resource Names (ARN) of the listeners.
describeListeners_loadBalancerArn :: Lens' DescribeListeners (Maybe Text) Source #
The Amazon Resource Name (ARN) of the load balancer.
describeListeners_marker :: Lens' DescribeListeners (Maybe Text) Source #
The marker for the next set of results. (You received this marker from a previous call.)
describeListeners_pageSize :: Lens' DescribeListeners (Maybe Natural) Source #
The maximum number of results to return with this call.
Destructuring the Response
data DescribeListenersResponse Source #
See: newDescribeListenersResponse
smart constructor.
DescribeListenersResponse' | |
|
Instances
newDescribeListenersResponse Source #
Create a value of DescribeListenersResponse
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:nextMarker:DescribeListenersResponse'
, describeListenersResponse_nextMarker
- If there are additional results, this is the marker for the next set of
results. Otherwise, this is null.
$sel:listeners:DescribeListenersResponse'
, describeListenersResponse_listeners
- Information about the listeners.
$sel:httpStatus:DescribeListenersResponse'
, describeListenersResponse_httpStatus
- The response's http status code.
Response Lenses
describeListenersResponse_nextMarker :: Lens' DescribeListenersResponse (Maybe Text) Source #
If there are additional results, this is the marker for the next set of results. Otherwise, this is null.
describeListenersResponse_listeners :: Lens' DescribeListenersResponse (Maybe [Listener]) Source #
Information about the listeners.
describeListenersResponse_httpStatus :: Lens' DescribeListenersResponse Int Source #
The response's http status code.