def get_all_subscriptions_by_topic(name, region=None, key=None, keyid=None, profile=None):
 cache_key = _subscriptions_cache_key(name)
 try:
  return __context__[cache_key]
 except KeyError:
  pass
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 ret = conn.get_all_subscriptions_by_topic(get_arn(name, region, key, keyid, profile))
 __context__[cache_key] = ret['ListSubscriptionsByTopicResponse']['ListSubscriptionsByTopicResult']['Subscriptions']
 return __context__[cache_key]

def get_all_subscriptions_by_topic ( name , region = None , key = None , keyid = None , profile = None ) : cache_key = _subscriptions_cache_key ( name ) try : return __context__ [ cache_key ] except KeyError : pass conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) ret = conn . get_all_subscriptions_by_topic ( get_arn ( name , region , key , keyid , profile ) ) __context__ [ cache_key ] = ret [ 'ListSubscriptionsByTopicResponse' ] [ 'ListSubscriptionsByTopicResult' ] [ 'Subscriptions' ] return __context__ [ cache_key ]
get list of all subscriptions to a specific topic .