SupplyChain / Client / send_data_integration_event

send_data_integration_event#

SupplyChain.Client.send_data_integration_event(**kwargs)#

Send the transactional data payload for the event with real-time data for analysis or monitoring. The real-time data events are stored in an Amazon Web Services service before being processed and stored in data lake. New data events are synced with data lake at 5 PM GMT everyday. The updated transactional data is available in data lake after ingestion.

See also: AWS API Documentation

Request Syntax

response = client.send_data_integration_event(
    instanceId='string',
    eventType='scn.data.forecast'|'scn.data.inventorylevel'|'scn.data.inboundorder'|'scn.data.inboundorderline'|'scn.data.inboundorderlineschedule'|'scn.data.outboundorderline'|'scn.data.outboundshipment'|'scn.data.processheader'|'scn.data.processoperation'|'scn.data.processproduct'|'scn.data.reservation'|'scn.data.shipment'|'scn.data.shipmentstop'|'scn.data.shipmentstoporder'|'scn.data.supplyplan',
    data='string',
    eventGroupId='string',
    eventTimestamp=datetime(2015, 1, 1),
    clientToken='string'
)
Parameters:
  • instanceId (string) –

    [REQUIRED]

    The AWS Supply Chain instance identifier.

  • eventType (string) –

    [REQUIRED]

    The data event type.

  • data (string) –

    [REQUIRED]

    The data payload of the event. For more information on the data schema to use, see Data entities supported in AWS Supply Chain.

  • eventGroupId (string) –

    [REQUIRED]

    Event identifier (for example, orderId for InboundOrder) used for data sharing or partitioning.

  • eventTimestamp (datetime) – The event timestamp (in epoch seconds).

  • clientToken (string) –

    The idempotent client token.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'eventId': 'string'
}

Response Structure

  • (dict) –

    The response parameters for SendDataIntegrationEvent.

    • eventId (string) –

      The unique event identifier.

Exceptions