def create_target_job(self, target, extra=None):
        params = {
            'Action': 'CreateSnapshot',
            'VolumeId': target.extra['volume-id']
        }
        data = self.connection.request(ROOT, params=params).object
        xpath = 'CreateSnapshotResponse'
        return self._to_job(findall(element=data,
                                    xpath=xpath, namespace=NS)[0])
Create a new backup job on a target
dataset/ETHPy150Open apache/libcloud/libcloud/backup/drivers/ebs.py/EBSBackupDriver.create_target_job