getSuiteRunReport method

Future<GetSuiteRunReportResponse> getSuiteRunReport({
  1. required String suiteDefinitionId,
  2. required String suiteRunId,
})

Gets a report download link for a successful Device Advisor qualifying test suite run.

Requires permission to access the GetSuiteRunReport action.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter suiteDefinitionId : Suite definition ID of the test suite.

Parameter suiteRunId : Suite run ID of the test suite run.

Implementation

Future<GetSuiteRunReportResponse> getSuiteRunReport({
  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)}/report',
    exceptionFnMap: _exceptionFns,
  );
  return GetSuiteRunReportResponse.fromJson(response);
}