def resume(self, device):
resp = self.post('<STR_LIT>', params={'<STR_LIT>': device},<EOL>return_response=True)<EOL>error = resp.text<EOL>if not error:<EOL><INDENT>error = None<EOL><DEDENT>return {'<STR_LIT:success>': resp.status_code == requests.codes.ok,<EOL>'<STR_LIT:error>': error}<EOL>
Resume the given device.

            Args:
                device (str): Device ID.

            Returns:
                dict: with keys ``success`` and ``error``.