

def action_data(self, action_name, **kwargs):
    '\n        Method calls resource with action_name and returns data of response.\n        '
    opts = {
        'Action': action_name,
    }
    opts.update(kwargs)
    res = self.get('/?{0}'.format(urlencode(self)), headers={
        'Host': '{0}.us-east-1.amazonaws.com'.format(self.application.service),
    })
    return res.data.decode('utf-8')

dataset/ETHPy150Open spulec/moto/moto/server.py AWSTestHelper.action_data/VarMisuse@47/86 `opts`->`self`