getPatientInsightsJob method

Future<GetPatientInsightsJobResponse> getPatientInsightsJob({
  1. required String domainId,
  2. required String jobId,
})

Get details of a started patient insights job.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter domainId :

Parameter jobId :

Implementation

Future<GetPatientInsightsJobResponse> getPatientInsightsJob({
  required String domainId,
  required String jobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/domain/${Uri.encodeComponent(domainId)}/patient-insights-job/${Uri.encodeComponent(jobId)}',
    hostPrefix: 'runtime.',
    exceptionFnMap: _exceptionFns,
  );
  return GetPatientInsightsJobResponse.fromJson(response);
}