(self, execution_id, **kwargs)
| 559 | |
| 560 | @add_auth_token_to_kwargs_from_env |
| 561 | def pause(self, execution_id, **kwargs): |
| 562 | url = "/%s/%s" % (self.resource.get_url_path_name(), execution_id) |
| 563 | data = {"status": "pausing"} |
| 564 | |
| 565 | response = self.client.put(url, data, **kwargs) |
| 566 | |
| 567 | if response.status_code != http_client.OK: |
| 568 | self.handle_error(response) |
| 569 | |
| 570 | return self.resource.deserialize(parse_api_response(response)) |
| 571 | |
| 572 | @add_auth_token_to_kwargs_from_env |
| 573 | def resume(self, execution_id, **kwargs): |