Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns details about your AWS Config rules.
This operation returns paginated results.
- 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:
dcrConfigRuleNames
- 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
- ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.
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:
dcrrsConfigRules
- The details about your AWS Config rules.dcrrsNextToken
- The string that you use in a subsequent request to get the next page of results in a paginated response.dcrrsResponseStatus
- -- | The response status code.
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.