SendDataIntegrationEventRequest
¶
Source code in docs_src/capo_supplychain/types/send_data_integration_event_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
The idempotent client token. The token is active for 8 hours, and within its lifetime, it ensures the request completes only once upon retry with same client token. If omitted, the AWS SDK generates a unique value so that AWS SDK can safely retry the request upon network errors.
data
instance-attribute
¶
data: DataIntegrationEventData
The data payload of the event, should follow the data schema of the target dataset, or see Data entities supported in AWS Supply Chain. To send single data record, use JsonObject format; to send multiple data records, use JsonArray format.
Note that for AWS Supply Chain dataset under asc namespace, it has a connection_id internal field that is not allowed to be provided by client directly, they will be auto populated.
dataset_target
instance-attribute
¶
dataset_target: NotRequired[DataIntegrationEventDatasetTargetConfiguration]
The target dataset configuration for scn.data.dataset event type.
event_group_id
instance-attribute
¶
event_group_id: DataIntegrationEventGroupId
Event identifier (for example, orderId for InboundOrder) used for data sharding or partitioning. Noted under one eventGroupId of same eventType and instanceId, events are processed sequentially in the order they are received by the server.
event_timestamp
instance-attribute
¶
event_timestamp: NotRequired[datetime]
The timestamp (in epoch seconds) associated with the event. If not provided, it will be assigned with current timestamp.
event_type
instance-attribute
¶
event_type: DataIntegrationEventType
The data event type.
-
scn.data.dataset - Send data directly to any specified dataset.
-
scn.data.supplyplan - Send data to supply_plan dataset.
-
scn.data.shipmentstoporder - Send data to shipment_stop_order dataset.
-
scn.data.shipmentstop - Send data to shipment_stop dataset.
-
scn.data.shipment - Send data to shipment dataset.
-
scn.data.reservation - Send data to reservation dataset.
-
scn.data.processproduct - Send data to process_product dataset.
-
scn.data.processoperation - Send data to process_operation dataset.
-
scn.data.processheader - Send data to process_header dataset.
-
scn.data.forecast - Send data to forecast dataset.
-
scn.data.inventorylevel - Send data to inv_level dataset.
-
scn.data.inboundorder - Send data to inbound_order dataset.
-
scn.data.inboundorderline - Send data to inbound_order_line dataset.
-
scn.data.inboundorderlineschedule - Send data to inbound_order_line_schedule dataset.
-
scn.data.outboundorderline - Send data to outbound_order_line dataset.
-
scn.data.outboundshipment - Send data to outbound_shipment dataset.