describeSimulationApplication method
Describes a simulation application.
May throw InvalidParameterException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalServerException.
Parameter application
:
The application information for the simulation application.
Parameter applicationVersion
:
The version of the simulation application to describe.
Implementation
Future<DescribeSimulationApplicationResponse> describeSimulationApplication({
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: '/describeSimulationApplication',
exceptionFnMap: _exceptionFns,
);
return DescribeSimulationApplicationResponse.fromJson(response);
}