Class:AWS.Supplychain

Messtone LLC Manages Devices Enables Class AWS SUPPLYCHAIN. Inherits:AWS.Service_Ideentifier:Supplychain_API Version:2024-01-01_Defined in:(Service.Object):By Sending a Request using Supplychain: var supplychain=new AWS.SupplyChain( );supplychain.createBillOfMaterialsImportJob(params,function(err,data){if(err)console.log(err,err.stack);//an error occurred else console.log(data);//successful response}); Locking the API Version Constructor:var supplychain=new AWS.Supplychain({apiVersion:c’2024-01-01′});using the Supplychain service identifier: AWS.config.apiVersion={supplychain: ‘2024-01-01’,//other service API versions};var supplychain=new AWS.SupplyChain( );Example: Constructing a SupplyChain object var supplychain=new AWS.SupplyChain({apiVersion: ‘2024-01-01’}); Example:Calling the createBillofMaterialsImportJob operation: var params={instanceId: ‘STRING_VALUE’,/* required */s3uri: ‘STRING_VALUE’,/* required */clientToken: ‘STRING_VALUE’};supplychain.createBillOfMaterialsImportJob(params,function(err,data){if(err)console.log(err,err.stack);//an error occurred else console.log(data);//successful response});Example: Calling the getBillOfMaterialsImportJob operation: var params={instanceId: ‘STRING_VALUE’,/* required */jobId: ‘STRING_VALUE’/* required*/};supplychain.getBillOfMaterialsImportJob(params,function(err,data){if(err)console.log(err,err.stack);//an error occurred else console.log(data);//successful response});Examples:Calling the sendDataIntegrationEvent operation: var params={data: ‘STRING_VALUE’,/* required */event groupId: ‘STING_VALUE’,/*required*/eventType: scn.data.forecast | scn.data.inventorylevel | scn.data.inboundorder instanceId: ‘STRING_VALUE’,/* required */clientToken: ‘STRING_VALUE’/* required */eventTimestamp:new Date | | ‘Wed Dec 31 1969 16:00:00 GMT-0800 (PST) ‘ | | 123456};supplychain.sendDataIntegrationEvent(params,function(err,data){if(err)console.log(err,err.stack);//an error occurred else console.log(data);//successful response});