Skip to content

ApplyArchiveRule

Source: src/AWS/AccessAnalyzer/ApplyArchiveRule.ts

Runtime binding for access-analyzer:ApplyArchiveRule.

Retroactively applies an archive rule to the analyzer’s existing findings. Provide the implementation with Effect.provide(AWS.AccessAnalyzer.ApplyArchiveRuleHttp).

const applyRule = yield* AWS.AccessAnalyzer.ApplyArchiveRule(analyzer);
yield* applyRule({ ruleName: rule.ruleName });