stopApp method
Stops the given custom app and shuts down all of its allocated compute resources.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter app :
The name of the app.
Parameter domain :
The name of the domain of the app.
Parameter simulation :
The name of the simulation of the app.
Implementation
Future<void> stopApp({
required String app,
required String domain,
required String simulation,
}) async {
final $payload = <String, dynamic>{
'App': app,
'Domain': domain,
'Simulation': simulation,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/stopapp',
exceptionFnMap: _exceptionFns,
);
}