stopSimulation method

Future<void> stopSimulation({
  1. required String simulation,
})

Stops the given simulation.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter simulation : The name of the simulation.

Implementation

Future<void> stopSimulation({
  required String simulation,
}) async {
  final $payload = <String, dynamic>{
    'Simulation': simulation,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/stopsimulation',
    exceptionFnMap: _exceptionFns,
  );
}