getReferenceImportJob method
Monitors the status of a reference import job. This operation can be
called after calling the StartReferenceImportJob operation.
May throw AccessDeniedException.
May throw InternalServerException.
May throw RequestTimeoutException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter id :
The job's ID.
Parameter referenceStoreId :
The job's reference store ID.
Implementation
Future<GetReferenceImportJobResponse> getReferenceImportJob({
required String id,
required String referenceStoreId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/referencestore/${Uri.encodeComponent(referenceStoreId)}/importjob/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
return GetReferenceImportJobResponse.fromJson(response);
}