SupplyChain / Client / create_bill_of_materials_import_job

create_bill_of_materials_import_job#

SupplyChain.Client.create_bill_of_materials_import_job(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.create_bill_of_materials_import_job(
    instanceId='string',
    s3uri='string',
    clientToken='string'
)
Parameters:
  • instanceId (string) –

    [REQUIRED]

    The AWS Supply Chain instance identifier.

  • s3uri (string) –

    [REQUIRED]

    The S3 URI of the CSV file to be imported. The bucket must grant permissions for AWS Supply Chain to read the file.

  • clientToken (string) –

    An idempotency token.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'jobId': 'string'
}

Response Structure

  • (dict) –

    The response parameters of CreateBillOfMaterialsImportJob.

    • jobId (string) –

      The new BillOfMaterialsImportJob identifier.

Exceptions