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 |
Disables the specified Contributor Insights rules. When rules are disabled, they do not analyze log groups and do not incur costs.
Synopsis
- data DisableInsightRules = DisableInsightRules' {}
- newDisableInsightRules :: DisableInsightRules
- disableInsightRules_ruleNames :: Lens' DisableInsightRules [Text]
- data DisableInsightRulesResponse = DisableInsightRulesResponse' {
- failures :: Maybe [PartialFailure]
- httpStatus :: Int
- newDisableInsightRulesResponse :: Int -> DisableInsightRulesResponse
- disableInsightRulesResponse_failures :: Lens' DisableInsightRulesResponse (Maybe [PartialFailure])
- disableInsightRulesResponse_httpStatus :: Lens' DisableInsightRulesResponse Int
Creating a Request
data DisableInsightRules Source #
See: newDisableInsightRules
smart constructor.
DisableInsightRules' | |
|
Instances
newDisableInsightRules :: DisableInsightRules Source #
Create a value of DisableInsightRules
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:ruleNames:DisableInsightRules'
, disableInsightRules_ruleNames
- An array of the rule names to disable. If you need to find out the names
of your rules, use
DescribeInsightRules.
Request Lenses
disableInsightRules_ruleNames :: Lens' DisableInsightRules [Text] Source #
An array of the rule names to disable. If you need to find out the names of your rules, use DescribeInsightRules.
Destructuring the Response
data DisableInsightRulesResponse Source #
See: newDisableInsightRulesResponse
smart constructor.
DisableInsightRulesResponse' | |
|
Instances
newDisableInsightRulesResponse Source #
Create a value of DisableInsightRulesResponse
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:failures:DisableInsightRulesResponse'
, disableInsightRulesResponse_failures
- An array listing the rules that could not be disabled. You cannot
disable built-in rules.
$sel:httpStatus:DisableInsightRulesResponse'
, disableInsightRulesResponse_httpStatus
- The response's http status code.
Response Lenses
disableInsightRulesResponse_failures :: Lens' DisableInsightRulesResponse (Maybe [PartialFailure]) Source #
An array listing the rules that could not be disabled. You cannot disable built-in rules.
disableInsightRulesResponse_httpStatus :: Lens' DisableInsightRulesResponse Int Source #
The response's http status code.