Remove instances job
This MR adds support for terminating machines with a generic job.
It also add some changes introduced in !180 (merged)
A trade-off has been made in order to adapt better to the termination request dto:
- Instead of just providing instances ids, filters can be passed to the
TerminateMachinesInput
in order to get the list of machines that match those filters and therefore kill them. - Both operations can be executed in the same method.
- If no instances neither filters are passed, the
Terminate
method fails.
Edited by Marcos Huck