get_bill_of_materials_import_job
async
¶
get_bill_of_materials_import_job(
instance_id: UUID,
job_id: UUID,
*,
config_overrides: Optional[AsyncSupplyChainClientConfig] = None,
) -> GetBillOfMaterialsImportJobResponse
Get status and details of a BillOfMaterialsImportJob.
Parameters:
-
instance_id(UUID) –The AWS Supply Chain instance identifier.
-
job_id(UUID) –The BillOfMaterialsImportJob identifier.
Raises:
-
AccessDeniedException–You do not have the required privileges to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input does not satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Invoke GetBillOfMaterialsImportJob for a successful job
>>> await client.get_bill_of_materials_import_job(instance_id='60f82bbd-71f7-4fcd-a941-472f574c5243', job_id='f79b359b-1515-4436-a3bf-bae7b33e47b4')
Invoke GetBillOfMaterialsImportJob for an in-progress job
>>> await client.get_bill_of_materials_import_job(instance_id='60f82bbd-71f7-4fcd-a941-472f574c5243', job_id='f79b359b-1515-4436-a3bf-bae7b33e47b4')
Source code in docs_src/capo_supplychain/_services/async_supply_chain.py
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 | |