def get_schedules(profile='pagerduty', subdomain=None, api_key=None):
 return _list_items('schedules', 'id', profile=profile, subdomain=subdomain, api_key=api_key)

def get_schedules ( profile = 'pagerduty' , subdomain = None , api_key = None ) : return _list_items ( 'schedules' , 'id' , profile = profile , subdomain = subdomain , api_key = api_key )
list schedules belonging to this account cli example: salt myminion pagerduty .