-record(retry_policy, { max_attempts :: integer(), backoff :: aion@activity:backoff() }).