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 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_ruleArns :: Lens' DescribeRules (Maybe [Text])
- describeRules_pageSize :: Lens' DescribeRules (Maybe Natural)
- data DescribeRulesResponse = DescribeRulesResponse' {
- rules :: Maybe [Rule]
- nextMarker :: Maybe Text
- httpStatus :: Int
- newDescribeRulesResponse :: Int -> DescribeRulesResponse
- describeRulesResponse_rules :: Lens' DescribeRulesResponse (Maybe [Rule])
- describeRulesResponse_nextMarker :: Lens' DescribeRulesResponse (Maybe Text)
- describeRulesResponse_httpStatus :: Lens' DescribeRulesResponse Int
Creating a Request
data DescribeRules Source #
See: newDescribeRules
smart constructor.
DescribeRules' | |
|
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:
$sel:listenerArn: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:ruleArns:DescribeRules'
, describeRules_ruleArns
- The Amazon Resource Names (ARN) of the rules.
$sel:pageSize:DescribeRules'
, describeRules_pageSize
- The maximum number of results to return with this call.
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_ruleArns :: Lens' DescribeRules (Maybe [Text]) Source #
The Amazon Resource Names (ARN) of the rules.
describeRules_pageSize :: Lens' DescribeRules (Maybe Natural) Source #
The maximum number of results to return with this call.
Destructuring the Response
data DescribeRulesResponse Source #
See: newDescribeRulesResponse
smart constructor.
DescribeRulesResponse' | |
|
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:rules:DescribeRulesResponse'
, describeRulesResponse_rules
- Information about the rules.
$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:httpStatus:DescribeRulesResponse'
, describeRulesResponse_httpStatus
- The response's http status code.
Response Lenses
describeRulesResponse_rules :: Lens' DescribeRulesResponse (Maybe [Rule]) Source #
Information about the rules.
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_httpStatus :: Lens' DescribeRulesResponse Int Source #
The response's http status code.