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 |
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.
ApplyArchiveRule' | |
|
Instances
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.
$sel:analyzerArn:ApplyArchiveRule'
, applyArchiveRule_analyzerArn
- The Amazon resource name (ARN) of the analyzer.
$sel:ruleName: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.
Instances
Eq ApplyArchiveRuleResponse Source # | |
Read ApplyArchiveRuleResponse Source # | |
Show ApplyArchiveRuleResponse Source # | |
Defined in Amazonka.AccessAnalyzer.ApplyArchiveRule showsPrec :: Int -> ApplyArchiveRuleResponse -> ShowS # show :: ApplyArchiveRuleResponse -> String # showList :: [ApplyArchiveRuleResponse] -> ShowS # | |
Generic ApplyArchiveRuleResponse Source # | |
Defined in Amazonka.AccessAnalyzer.ApplyArchiveRule type Rep ApplyArchiveRuleResponse :: Type -> Type # | |
NFData ApplyArchiveRuleResponse Source # | |
Defined in Amazonka.AccessAnalyzer.ApplyArchiveRule rnf :: ApplyArchiveRuleResponse -> () # | |
type Rep ApplyArchiveRuleResponse Source # | |
Defined in Amazonka.AccessAnalyzer.ApplyArchiveRule |
newApplyArchiveRuleResponse :: ApplyArchiveRuleResponse Source #
Create a value of ApplyArchiveRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.