| 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.DeleteArchiveRule
Description
Deletes the specified archive rule.
Synopsis
- data DeleteArchiveRule = DeleteArchiveRule' {
- clientToken :: Maybe Text
- analyzerName :: Text
- ruleName :: Text
- newDeleteArchiveRule :: Text -> Text -> DeleteArchiveRule
- deleteArchiveRule_clientToken :: Lens' DeleteArchiveRule (Maybe Text)
- deleteArchiveRule_analyzerName :: Lens' DeleteArchiveRule Text
- deleteArchiveRule_ruleName :: Lens' DeleteArchiveRule Text
- data DeleteArchiveRuleResponse = DeleteArchiveRuleResponse' {
- newDeleteArchiveRuleResponse :: DeleteArchiveRuleResponse
Creating a Request
data DeleteArchiveRule Source #
Deletes an archive rule.
See: newDeleteArchiveRule smart constructor.
Constructors
| DeleteArchiveRule' | |
Fields
| |
Instances
Create a value of DeleteArchiveRule 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:DeleteArchiveRule', deleteArchiveRule_clientToken - A client token.
$sel:analyzerName:DeleteArchiveRule', deleteArchiveRule_analyzerName - The name of the analyzer that associated with the archive rule to
delete.
DeleteArchiveRule, deleteArchiveRule_ruleName - The name of the rule to delete.
Request Lenses
deleteArchiveRule_clientToken :: Lens' DeleteArchiveRule (Maybe Text) Source #
A client token.
deleteArchiveRule_analyzerName :: Lens' DeleteArchiveRule Text Source #
The name of the analyzer that associated with the archive rule to delete.
deleteArchiveRule_ruleName :: Lens' DeleteArchiveRule Text Source #
The name of the rule to delete.
Destructuring the Response
data DeleteArchiveRuleResponse Source #
See: newDeleteArchiveRuleResponse smart constructor.
Constructors
| DeleteArchiveRuleResponse' | |
Instances
newDeleteArchiveRuleResponse :: DeleteArchiveRuleResponse Source #
Create a value of DeleteArchiveRuleResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.