| 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.Config.DescribeConfigRules
Description
Returns details about your Config rules.
This operation returns paginated results.
Synopsis
- data DescribeConfigRules = DescribeConfigRules' {}
- newDescribeConfigRules :: DescribeConfigRules
- describeConfigRules_configRuleNames :: Lens' DescribeConfigRules (Maybe [Text])
- describeConfigRules_filters :: Lens' DescribeConfigRules (Maybe DescribeConfigRulesFilters)
- describeConfigRules_nextToken :: Lens' DescribeConfigRules (Maybe Text)
- data DescribeConfigRulesResponse = DescribeConfigRulesResponse' {
- configRules :: Maybe [ConfigRule]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeConfigRulesResponse :: Int -> DescribeConfigRulesResponse
- describeConfigRulesResponse_configRules :: Lens' DescribeConfigRulesResponse (Maybe [ConfigRule])
- describeConfigRulesResponse_nextToken :: Lens' DescribeConfigRulesResponse (Maybe Text)
- describeConfigRulesResponse_httpStatus :: Lens' DescribeConfigRulesResponse Int
Creating a Request
data DescribeConfigRules Source #
See: newDescribeConfigRules smart constructor.
Constructors
| DescribeConfigRules' | |
Fields
| |
Instances
newDescribeConfigRules :: DescribeConfigRules Source #
Create a value of DescribeConfigRules 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:
DescribeConfigRules, describeConfigRules_configRuleNames - The names of the Config rules for which you want details. If you do not
specify any names, Config returns details for all your rules.
$sel:filters:DescribeConfigRules', describeConfigRules_filters - Returns a list of Detecive or Proactive Config rules. By default, this
API returns an unfiltered list.
DescribeConfigRules, describeConfigRules_nextToken - The nextToken string returned on a previous page that you use to get
the next page of results in a paginated response.
Request Lenses
describeConfigRules_configRuleNames :: Lens' DescribeConfigRules (Maybe [Text]) Source #
The names of the Config rules for which you want details. If you do not specify any names, Config returns details for all your rules.
describeConfigRules_filters :: Lens' DescribeConfigRules (Maybe DescribeConfigRulesFilters) Source #
Returns a list of Detecive or Proactive Config rules. By default, this API returns an unfiltered list.
describeConfigRules_nextToken :: 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
data DescribeConfigRulesResponse Source #
See: newDescribeConfigRulesResponse smart constructor.
Constructors
| DescribeConfigRulesResponse' | |
Fields
| |
Instances
newDescribeConfigRulesResponse Source #
Create a value of DescribeConfigRulesResponse 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:configRules:DescribeConfigRulesResponse', describeConfigRulesResponse_configRules - The details about your Config rules.
DescribeConfigRules, describeConfigRulesResponse_nextToken - The string that you use in a subsequent request to get the next page of
results in a paginated response.
$sel:httpStatus:DescribeConfigRulesResponse', describeConfigRulesResponse_httpStatus - The response's http status code.
Response Lenses
describeConfigRulesResponse_configRules :: Lens' DescribeConfigRulesResponse (Maybe [ConfigRule]) Source #
The details about your Config rules.
describeConfigRulesResponse_nextToken :: 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.
describeConfigRulesResponse_httpStatus :: Lens' DescribeConfigRulesResponse Int Source #
The response's http status code.