getAssessmentReportUrl method
Gets the URL of an assessment report in Audit Manager.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter assessmentId :
The unique identifier for the assessment.
Parameter assessmentReportId :
The unique identifier for the assessment report.
Implementation
Future<GetAssessmentReportUrlResponse> getAssessmentReportUrl({
required String assessmentId,
required String assessmentReportId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/assessments/${Uri.encodeComponent(assessmentId)}/reports/${Uri.encodeComponent(assessmentReportId)}/url',
exceptionFnMap: _exceptionFns,
);
return GetAssessmentReportUrlResponse.fromJson(response);
}