createArchiveRule
inline suspend fun AccessAnalyzerClient.createArchiveRule(crossinline block: CreateArchiveRuleRequest.Builder.() -> Unit): CreateArchiveRuleResponse
Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet the criteria you define when you create the rule.
To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.