Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.
- describeRules :: DescribeRules
- data DescribeRules
- drListenerARN :: Lens' DescribeRules (Maybe Text)
- drRuleARNs :: Lens' DescribeRules [Text]
- describeRulesResponse :: Int -> DescribeRulesResponse
- data DescribeRulesResponse
- drsrsRules :: Lens' DescribeRulesResponse [Rule]
- drsrsResponseStatus :: Lens' DescribeRulesResponse Int
Creating a Request
describeRules :: DescribeRules Source #
Creates a value of DescribeRules
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drListenerARN
- The Amazon Resource Name (ARN) of the listener.drRuleARNs
- The Amazon Resource Names (ARN) of the rules.
data DescribeRules Source #
Contains the parameters for DescribeRules.
See: describeRules
smart constructor.
Request Lenses
drListenerARN :: Lens' DescribeRules (Maybe Text) Source #
The Amazon Resource Name (ARN) of the listener.
drRuleARNs :: Lens' DescribeRules [Text] Source #
The Amazon Resource Names (ARN) of the rules.
Destructuring the Response
describeRulesResponse Source #
Creates a value of DescribeRulesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsrsRules
- Information about the rules.drsrsResponseStatus
- -- | The response status code.
data DescribeRulesResponse Source #
Contains the output of DescribeRules.
See: describeRulesResponse
smart constructor.
Response Lenses
drsrsRules :: Lens' DescribeRulesResponse [Rule] Source #
Information about the rules.
drsrsResponseStatus :: Lens' DescribeRulesResponse Int Source #
- - | The response status code.