'Method calls resource with action_name and returns data of response.'

def action_data(self, action_name, **kwargs):

    opts = {u'Action': action_name}
    opts.update(kwargs)
    res = self.get(u'/?{0}'.format(urlencode(opts)), headers={u'Host': u'{0}.us-east-1.amazonaws.com'.format(self.application.service)})
    return res.data.decode(u'utf-8')
