deleteSimulation method

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

Deletes all SimSpace Weaver resources assigned to 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> deleteSimulation({
  required String simulation,
}) async {
  final $query = <String, List<String>>{
    'simulation': [simulation],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/deletesimulation',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
}