| 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 |
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_filter :: Lens' UpdateArchiveRule (HashMap Text Criterion)
- updateArchiveRule_ruleName :: Lens' UpdateArchiveRule Text
- data UpdateArchiveRuleResponse = UpdateArchiveRuleResponse' {
- newUpdateArchiveRuleResponse :: UpdateArchiveRuleResponse
Creating a Request
data UpdateArchiveRule Source #
Updates the specified archive rule.
See: newUpdateArchiveRule smart constructor.
Constructors
| UpdateArchiveRule' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateArchiveRule |
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.
$sel:filter':UpdateArchiveRule', updateArchiveRule_filter - A filter to match for the rules to update. Only rules that match the
filter are updated.
$sel:ruleName:UpdateArchiveRule', updateArchiveRule_ruleName - The name of the rule to update.
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_filter :: Lens' UpdateArchiveRule (HashMap Text Criterion) Source #
A filter to match for the rules to update. Only rules that match the filter are updated.
updateArchiveRule_ruleName :: Lens' UpdateArchiveRule Text Source #
The name of the rule to update.
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.