CmdID / aws / aws accessanalyzer
aws accessanalyzer delete-archive-rule
Deletes the specified archive rule. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To delete the specified archive rule
The following delete-archive-rule example deletes the specified archive rule in your AWS account.
aws accessanalyzer delete-archive-rule --analyzer-name UnusedAccess-ConsoleAnalyzer-organization --rule-name MyRuleIdentify--analyzer-nameThe name of the analyzer that associated with the archive rule to delete.--rule-nameThe name of the rule to delete.This command produces no output.
For more information, see Archive rules in the AWS IAM User Guide.
Options
--analyzer-nameThe name of the analyzer that associated with the archive rule to delete.--client-tokenA client token.--rule-nameThe name of the rule to delete.