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 |
Returns details about your Config rules.
This operation returns paginated results.
Synopsis
- data DescribeConfigRules = DescribeConfigRules' {}
- newDescribeConfigRules :: DescribeConfigRules
- describeConfigRules_configRuleNames :: Lens' DescribeConfigRules (Maybe [Text])
- 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.
DescribeConfigRules' | |
|
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:
$sel:configRuleNames: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:nextToken: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_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.
DescribeConfigRulesResponse' | |
|
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.
$sel:nextToken: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.