amazonka-elbv2-2.0: Amazon Elastic Load Balancing SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ELBV2.DescribeListeners

Description

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

Creating a Request

data DescribeListeners Source #

See: newDescribeListeners smart constructor.

Constructors

DescribeListeners' 

Fields

Instances

Instances details
ToHeaders DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

ToPath DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

ToQuery DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

AWSPager DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

AWSRequest DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

Associated Types

type AWSResponse DescribeListeners #

Generic DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

Associated Types

type Rep DescribeListeners :: Type -> Type #

Read DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

Show DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

NFData DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

Methods

rnf :: DescribeListeners -> () #

Eq DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

Hashable DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

type AWSResponse DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

type Rep DescribeListeners Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

type Rep DescribeListeners = D1 ('MetaData "DescribeListeners" "Amazonka.ELBV2.DescribeListeners" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" 'False) (C1 ('MetaCons "DescribeListeners'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "listenerArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "loadBalancerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

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.

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.

Constructors

DescribeListenersResponse' 

Fields

Instances

Instances details
Generic DescribeListenersResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

Associated Types

type Rep DescribeListenersResponse :: Type -> Type #

Read DescribeListenersResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

Show DescribeListenersResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

NFData DescribeListenersResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

Eq DescribeListenersResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

type Rep DescribeListenersResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeListeners

type Rep DescribeListenersResponse = D1 ('MetaData "DescribeListenersResponse" "Amazonka.ELBV2.DescribeListeners" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" 'False) (C1 ('MetaCons "DescribeListenersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "listeners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Listener])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:listeners:DescribeListenersResponse', describeListenersResponse_listeners - Information about the listeners.

$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: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.