deleteSimulationApplication method
Deletes a simulation application.
May throw InvalidParameterException. May throw ThrottlingException. May throw InternalServerException.
Parameter application
:
The application information for the simulation application to delete.
Parameter applicationVersion
:
The version of the simulation application to delete.
Implementation
Future<void> deleteSimulationApplication({
required String application,
String? applicationVersion,
}) async {
ArgumentError.checkNotNull(application, 'application');
_s.validateStringLength(
'application',
application,
1,
1224,
isRequired: true,
);
_s.validateStringLength(
'applicationVersion',
applicationVersion,
1,
255,
);
final $payload = <String, dynamic>{
'application': application,
if (applicationVersion != null) 'applicationVersion': applicationVersion,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/deleteSimulationApplication',
exceptionFnMap: _exceptionFns,
);
}