getSuiteRun method
Gets information about a Device Advisor test suite run.
Requires permission to access the GetSuiteRun action.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter suiteDefinitionId :
Suite definition ID for the test suite run.
Parameter suiteRunId :
Suite run ID for the test suite run.
Implementation
Future<GetSuiteRunResponse> getSuiteRun({
required String suiteDefinitionId,
required String suiteRunId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/suiteDefinitions/${Uri.encodeComponent(suiteDefinitionId)}/suiteRuns/${Uri.encodeComponent(suiteRunId)}',
exceptionFnMap: _exceptionFns,
);
return GetSuiteRunResponse.fromJson(response);
}