| 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.UpdateArchiveRule
Description
Updates the criteria and values for the specified archive rule.
Synopsis
- data UpdateArchiveRule = UpdateArchiveRule' {}
- newUpdateArchiveRule :: Text -> Text -> UpdateArchiveRule
- updateArchiveRule_clientToken :: Lens' UpdateArchiveRule (Maybe Text)
- updateArchiveRule_analyzerName :: Lens' UpdateArchiveRule Text
- updateArchiveRule_ruleName :: Lens' UpdateArchiveRule Text
- updateArchiveRule_filter :: Lens' UpdateArchiveRule (HashMap Text Criterion)
- data UpdateArchiveRuleResponse = UpdateArchiveRuleResponse' {
- newUpdateArchiveRuleResponse :: UpdateArchiveRuleResponse
Creating a Request
data UpdateArchiveRule Source #
Updates the specified archive rule.
See: newUpdateArchiveRule smart constructor.
Constructors
| UpdateArchiveRule' | |
Instances
Create a value of UpdateArchiveRule 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:UpdateArchiveRule', updateArchiveRule_clientToken - A client token.
$sel:analyzerName:UpdateArchiveRule', updateArchiveRule_analyzerName - The name of the analyzer to update the archive rules for.
UpdateArchiveRule, updateArchiveRule_ruleName - The name of the rule to update.
UpdateArchiveRule, updateArchiveRule_filter - A filter to match for the rules to update. Only rules that match the
filter are updated.
Request Lenses
updateArchiveRule_clientToken :: Lens' UpdateArchiveRule (Maybe Text) Source #
A client token.
updateArchiveRule_analyzerName :: Lens' UpdateArchiveRule Text Source #
The name of the analyzer to update the archive rules for.
updateArchiveRule_ruleName :: Lens' UpdateArchiveRule Text Source #
The name of the rule to update.
updateArchiveRule_filter :: Lens' UpdateArchiveRule (HashMap Text Criterion) Source #
A filter to match for the rules to update. Only rules that match the filter are updated.
Destructuring the Response
data UpdateArchiveRuleResponse Source #
See: newUpdateArchiveRuleResponse smart constructor.
Constructors
| UpdateArchiveRuleResponse' | |
Instances
newUpdateArchiveRuleResponse :: UpdateArchiveRuleResponse Source #
Create a value of UpdateArchiveRuleResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.