How to get the on-call roster in an alarm notification pipeline

I’m trying to modify an alarm notification module. In the example of slack alarm notification, it show how to get the slackContactInfos. But how can I get the on-call roster in an alarm notification pipeline?
Many thanks in advance.

This isn’t really how Notification Profiles work. If you implement a Notification Profile type you’re generally only concerned with how to deliver notifications by whatever method this profile provides.

The profile implementation is told to deliver a notification to a certain contact in the sendNotification call. The roster is chosen “above” the profile, by the configuration the Notification Block in the Alarm Pipeline.