getAnnotationImportJob method

Future<GetAnnotationImportResponse> getAnnotationImportJob({
  1. required String jobId,
})
Gets information about an annotation import job.

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

Parameter jobId : The job's ID.

Implementation

Future<GetAnnotationImportResponse> getAnnotationImportJob({
  required String jobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/import/annotation/${Uri.encodeComponent(jobId)}',
    hostPrefix: 'analytics-',
    exceptionFnMap: _exceptionFns,
  );
  return GetAnnotationImportResponse.fromJson(response);
}