Supplychain

This page documents function available when using the Supplychain module, created with @service Supplychain.

Index

Documentation

Main.Supplychain.create_bill_of_materials_import_jobMethod
create_bill_of_materials_import_job(instance_id, s3uri)
create_bill_of_materials_import_job(instance_id, s3uri, params::Dict{String,<:Any})

CreateBillOfMaterialsImportJob creates an import job for the Product Bill Of Materials (BOM) entity. For information on the product_bom entity, see the AWS Supply Chain User Guide. The CSV file must be located in an Amazon S3 location accessible to AWS Supply Chain. It is recommended to use the same Amazon S3 bucket created during your AWS Supply Chain instance creation.

Arguments

  • instance_id: The AWS Supply Chain instance identifier.
  • s3uri: The S3 URI of the CSV file to be imported. The bucket must grant permissions for AWS Supply Chain to read the file.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": An idempotency token.
source
Main.Supplychain.get_bill_of_materials_import_jobMethod
get_bill_of_materials_import_job(instance_id, job_id)
get_bill_of_materials_import_job(instance_id, job_id, params::Dict{String,<:Any})

Get status and details of a BillOfMaterialsImportJob.

Arguments

  • instance_id: The AWS Supply Chain instance identifier.
  • job_id: The BillOfMaterialsImportJob identifier.
source
Main.Supplychain.send_data_integration_eventMethod
send_data_integration_event(data, event_group_id, event_type, instance_id)
send_data_integration_event(data, event_group_id, event_type, instance_id, params::Dict{String,<:Any})

Send transactional data events with real-time data for analysis or monitoring.

Arguments

  • data: The data payload of the event.
  • event_group_id: Event identifier (for example, orderId for InboundOrder) used for data sharing or partitioning.
  • event_type: The data event type.
  • instance_id: The AWS Supply Chain instance identifier.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": The idempotent client token.
  • "eventTimestamp": The event timestamp (in epoch seconds).
source