AccessAnalyzer.Client.apply_archive_rule(**kwargs)¶Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
See also: AWS API Documentation
Request Syntax
response = client.apply_archive_rule(
analyzerArn='string',
ruleName='string',
clientToken='string'
)
[REQUIRED]
The Amazon resource name (ARN) of the analyzer.
[REQUIRED]
The name of the rule to apply.
A client token.
This field is autopopulated if not provided.
None
Exceptions
AccessAnalyzer.Client.exceptions.ResourceNotFoundExceptionAccessAnalyzer.Client.exceptions.ValidationExceptionAccessAnalyzer.Client.exceptions.InternalServerExceptionAccessAnalyzer.Client.exceptions.ThrottlingExceptionAccessAnalyzer.Client.exceptions.AccessDeniedException