asArchive

Casts this RuleAction as a Archive and retrieves its aws.sdk.kotlin.services.mailmanager.model.ArchiveAction value. Throws an exception if the RuleAction is not a Archive.