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 |
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.
DeleteArchiveRule' | |
|
Instances
:: Text | |
-> Text | |
-> DeleteArchiveRule |
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.
$sel:ruleName: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.
Instances
newDeleteArchiveRuleResponse :: DeleteArchiveRuleResponse Source #
Create a value of DeleteArchiveRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.