| 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.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
- data DescribeRules = DescribeRules' {}
- newDescribeRules :: DescribeRules
- describeRules_listenerArn :: Lens' DescribeRules (Maybe Text)
- describeRules_marker :: Lens' DescribeRules (Maybe Text)
- describeRules_pageSize :: Lens' DescribeRules (Maybe Natural)
- describeRules_ruleArns :: Lens' DescribeRules (Maybe [Text])
- data DescribeRulesResponse = DescribeRulesResponse' {
- nextMarker :: Maybe Text
- rules :: Maybe [Rule]
- httpStatus :: Int
- newDescribeRulesResponse :: Int -> DescribeRulesResponse
- describeRulesResponse_nextMarker :: Lens' DescribeRulesResponse (Maybe Text)
- describeRulesResponse_rules :: Lens' DescribeRulesResponse (Maybe [Rule])
- describeRulesResponse_httpStatus :: Lens' DescribeRulesResponse Int
Creating a Request
data DescribeRules Source #
See: newDescribeRules smart constructor.
Constructors
| DescribeRules' | |
Fields
| |
Instances
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
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.
describeRulesResponse_rules :: Lens' DescribeRulesResponse (Maybe [Rule]) Source #
Information about the rules.
describeRulesResponse_httpStatus :: Lens' DescribeRulesResponse Int Source #
The response's http status code.