Copyright | (c) 2013-2015 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 |
Returns details about your AWS Config rules.
See: AWS API Reference for DescribeConfigRules.
- describeConfigRules :: DescribeConfigRules
- data DescribeConfigRules
- dcrConfigRuleNames :: Lens' DescribeConfigRules [Text]
- dcrNextToken :: Lens' DescribeConfigRules (Maybe Text)
- describeConfigRulesResponse :: Int -> DescribeConfigRulesResponse
- data DescribeConfigRulesResponse
- dcrrsConfigRules :: Lens' DescribeConfigRulesResponse [ConfigRule]
- dcrrsNextToken :: Lens' DescribeConfigRulesResponse (Maybe Text)
- dcrrsResponseStatus :: Lens' DescribeConfigRulesResponse Int
Creating a Request
describeConfigRules :: DescribeConfigRules Source
Creates a value of DescribeConfigRules
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeConfigRules Source
See: describeConfigRules
smart constructor.
Request Lenses
dcrConfigRuleNames :: Lens' DescribeConfigRules [Text] Source
The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.
dcrNextToken :: Lens' DescribeConfigRules (Maybe Text) Source
The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
Destructuring the Response
describeConfigRulesResponse Source
Creates a value of DescribeConfigRulesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeConfigRulesResponse Source
See: describeConfigRulesResponse
smart constructor.
Response Lenses
dcrrsConfigRules :: Lens' DescribeConfigRulesResponse [ConfigRule] Source
The details about your AWS Config rules.
dcrrsNextToken :: Lens' DescribeConfigRulesResponse (Maybe Text) Source
The string that you use in a subsequent request to get the next page of results in a paginated response.
dcrrsResponseStatus :: Lens' DescribeConfigRulesResponse Int Source
The response status code.