getBillOfMaterialsImportJob method

Future<GetBillOfMaterialsImportJobResponse> getBillOfMaterialsImportJob({
  1. required String instanceId,
  2. required String jobId,
})

Get status and details of a BillOfMaterialsImportJob.

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

Parameter instanceId : The AWS Supply Chain instance identifier.

Parameter jobId : The BillOfMaterialsImportJob identifier.

Implementation

Future<GetBillOfMaterialsImportJobResponse> getBillOfMaterialsImportJob({
  required String instanceId,
  required String jobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/api/configuration/instances/${Uri.encodeComponent(instanceId)}/bill-of-materials-import-jobs/${Uri.encodeComponent(jobId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetBillOfMaterialsImportJobResponse.fromJson(response);
}