in ec2stack/providers/cloudstack/instances.py [0:0]
def start_instance():
"""
Starts an instance.
@return: Response.
"""
helpers.require_parameters(['InstanceId.1'])
instance_id = helpers.get('InstanceId.1')
previous_state = describe_instance_by_id(instance_id)
new_state = _start_instance_request(instance_id)
return _modify_instance_state_response(
'StartInstancesResponse',
previous_state,
new_state
)