| 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.AccessAnalyzer.ApplyArchiveRule
Description
Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
Synopsis
- data ApplyArchiveRule = ApplyArchiveRule' {
- clientToken :: Maybe Text
- analyzerArn :: Text
- ruleName :: Text
- newApplyArchiveRule :: Text -> Text -> ApplyArchiveRule
- applyArchiveRule_clientToken :: Lens' ApplyArchiveRule (Maybe Text)
- applyArchiveRule_analyzerArn :: Lens' ApplyArchiveRule Text
- applyArchiveRule_ruleName :: Lens' ApplyArchiveRule Text
- data ApplyArchiveRuleResponse = ApplyArchiveRuleResponse' {
- newApplyArchiveRuleResponse :: ApplyArchiveRuleResponse
Creating a Request
data ApplyArchiveRule Source #
Retroactively applies an archive rule.
See: newApplyArchiveRule smart constructor.
Constructors
| ApplyArchiveRule' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> ApplyArchiveRule |
Create a value of ApplyArchiveRule 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:clientToken:ApplyArchiveRule', applyArchiveRule_clientToken - A client token.
ApplyArchiveRule, applyArchiveRule_analyzerArn - The Amazon resource name (ARN) of the analyzer.
ApplyArchiveRule, applyArchiveRule_ruleName - The name of the rule to apply.
Request Lenses
applyArchiveRule_clientToken :: Lens' ApplyArchiveRule (Maybe Text) Source #
A client token.
applyArchiveRule_analyzerArn :: Lens' ApplyArchiveRule Text Source #
The Amazon resource name (ARN) of the analyzer.
applyArchiveRule_ruleName :: Lens' ApplyArchiveRule Text Source #
The name of the rule to apply.
Destructuring the Response
data ApplyArchiveRuleResponse Source #
See: newApplyArchiveRuleResponse smart constructor.
Constructors
| ApplyArchiveRuleResponse' | |
Instances
newApplyArchiveRuleResponse :: ApplyArchiveRuleResponse Source #
Create a value of ApplyArchiveRuleResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.