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 |
Permanently deletes the specified Contributor Insights rules.
If you create a rule, delete it, and then re-create it with the same name, historical data from the first time the rule was created might not be available.
Synopsis
- data DeleteInsightRules = DeleteInsightRules' {}
- newDeleteInsightRules :: DeleteInsightRules
- deleteInsightRules_ruleNames :: Lens' DeleteInsightRules [Text]
- data DeleteInsightRulesResponse = DeleteInsightRulesResponse' {
- failures :: Maybe [PartialFailure]
- httpStatus :: Int
- newDeleteInsightRulesResponse :: Int -> DeleteInsightRulesResponse
- deleteInsightRulesResponse_failures :: Lens' DeleteInsightRulesResponse (Maybe [PartialFailure])
- deleteInsightRulesResponse_httpStatus :: Lens' DeleteInsightRulesResponse Int
Creating a Request
data DeleteInsightRules Source #
See: newDeleteInsightRules
smart constructor.
DeleteInsightRules' | |
|
Instances
newDeleteInsightRules :: DeleteInsightRules Source #
Create a value of DeleteInsightRules
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:DeleteInsightRules'
, deleteInsightRules_ruleNames
- An array of the rule names to delete. If you need to find out the names
of your rules, use
DescribeInsightRules.
Request Lenses
deleteInsightRules_ruleNames :: Lens' DeleteInsightRules [Text] Source #
An array of the rule names to delete. If you need to find out the names of your rules, use DescribeInsightRules.
Destructuring the Response
data DeleteInsightRulesResponse Source #
See: newDeleteInsightRulesResponse
smart constructor.
DeleteInsightRulesResponse' | |
|
Instances
newDeleteInsightRulesResponse Source #
Create a value of DeleteInsightRulesResponse
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:DeleteInsightRulesResponse'
, deleteInsightRulesResponse_failures
- An array listing the rules that could not be deleted. You cannot delete
built-in rules.
$sel:httpStatus:DeleteInsightRulesResponse'
, deleteInsightRulesResponse_httpStatus
- The response's http status code.
Response Lenses
deleteInsightRulesResponse_failures :: Lens' DeleteInsightRulesResponse (Maybe [PartialFailure]) Source #
An array listing the rules that could not be deleted. You cannot delete built-in rules.
deleteInsightRulesResponse_httpStatus :: Lens' DeleteInsightRulesResponse Int Source #
The response's http status code.