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.DescribeRules

Description

Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeRules Source #

See: newDescribeRules smart constructor.

Constructors

DescribeRules' 

Fields

Instances

Instances details
ToHeaders DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

ToPath DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

ToQuery DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

AWSPager DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

AWSRequest DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

Associated Types

type AWSResponse DescribeRules #

Generic DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

Associated Types

type Rep DescribeRules :: Type -> Type #

Read DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

Show DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

NFData DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

Methods

rnf :: DescribeRules -> () #

Eq DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

Hashable DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

type AWSResponse DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

type Rep DescribeRules Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

type Rep DescribeRules = D1 ('MetaData "DescribeRules" "Amazonka.ELBV2.DescribeRules" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" 'False) (C1 ('MetaCons "DescribeRules'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "listenerArn") '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)) :*: S1 ('MetaSel ('Just "ruleArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newDescribeRules :: DescribeRules Source #

Create a value of DescribeRules 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:

DescribeRules, describeRules_listenerArn - The Amazon Resource Name (ARN) of the listener.

$sel:marker:DescribeRules', describeRules_marker - The marker for the next set of results. (You received this marker from a previous call.)

$sel:pageSize:DescribeRules', describeRules_pageSize - The maximum number of results to return with this call.

$sel:ruleArns:DescribeRules', describeRules_ruleArns - The Amazon Resource Names (ARN) of the rules.

Request Lenses

describeRules_listenerArn :: Lens' DescribeRules (Maybe Text) Source #

The Amazon Resource Name (ARN) of the listener.

describeRules_marker :: Lens' DescribeRules (Maybe Text) Source #

The marker for the next set of results. (You received this marker from a previous call.)

describeRules_pageSize :: Lens' DescribeRules (Maybe Natural) Source #

The maximum number of results to return with this call.

describeRules_ruleArns :: Lens' DescribeRules (Maybe [Text]) Source #

The Amazon Resource Names (ARN) of the rules.

Destructuring the Response

data DescribeRulesResponse Source #

See: newDescribeRulesResponse smart constructor.

Constructors

DescribeRulesResponse' 

Fields

Instances

Instances details
Generic DescribeRulesResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

Associated Types

type Rep DescribeRulesResponse :: Type -> Type #

Read DescribeRulesResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

Show DescribeRulesResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

NFData DescribeRulesResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

Methods

rnf :: DescribeRulesResponse -> () #

Eq DescribeRulesResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

type Rep DescribeRulesResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeRules

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

newDescribeRulesResponse Source #

Create a value of DescribeRulesResponse 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:DescribeRulesResponse', describeRulesResponse_nextMarker - If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

$sel:rules:DescribeRulesResponse', describeRulesResponse_rules - Information about the rules.

$sel:httpStatus:DescribeRulesResponse', describeRulesResponse_httpStatus - The response's http status code.

Response Lenses

describeRulesResponse_nextMarker :: Lens' DescribeRulesResponse (Maybe Text) Source #

If there are additional results, this is the marker for the next set of results. Otherwise, this is null.