(self, kwargs)
| 479 | } |
| 480 | |
| 481 | def register_task_definition(self, kwargs): |
| 482 | try: |
| 483 | response = self._client.register_task_definition(**kwargs) |
| 484 | except ClientError as e: |
| 485 | raise exceptions.ServiceClientError( |
| 486 | action='register ECS task definition', error=e |
| 487 | ) |
| 488 | |
| 489 | return response |