describeComputationModelExecutionSummary method
Future<DescribeComputationModelExecutionSummaryResponse>
describeComputationModelExecutionSummary({})
Retrieves information about the execution summary of a computation model.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter computationModelId :
The ID of the computation model.
Parameter resolveToResourceId :
The ID of the resolved resource.
Parameter resolveToResourceType :
The type of the resolved resource.
Implementation
Future<DescribeComputationModelExecutionSummaryResponse>
describeComputationModelExecutionSummary({
required String computationModelId,
String? resolveToResourceId,
ResolveToResourceType? resolveToResourceType,
}) async {
final $query = <String, List<String>>{
if (resolveToResourceId != null)
'resolveToResourceId': [resolveToResourceId],
if (resolveToResourceType != null)
'resolveToResourceType': [resolveToResourceType.value],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/computation-models/${Uri.encodeComponent(computationModelId)}/execution-summary',
queryParams: $query,
hostPrefix: 'api.',
exceptionFnMap: _exceptionFns,
);
return DescribeComputationModelExecutionSummaryResponse.fromJson(response);
}