asSend

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