'List subscriptions for this account.
:param status: Only return subscriptions with the provided status
(optional).
:type status: ``str``
:param resources: Only return subscriptions for the provided resources
(optional).
:type resources: ``list``
:rtype: ``list``'

def ex_list_subscriptions(self, status='all', resources=None):

    params = {}
    if status:
        params['status'] = status
    if resources:
        params['resource'] = ','.join(resources)
    response = self.connection.request(action='/subscriptions/', params=params).object
    subscriptions = self._to_subscriptions(data=response)
    return subscriptions
