post_lineage_event
¶
post_lineage_event(
event: LineageEvent, *, config_overrides: Optional[GlueClientConfig] = None
) -> PostLineageEventResponse
Publishes a lineage event to the Glue Data Catalog. The event describes a run and the datasets that it reads and writes. Glue uses the event to build the lineage graph that you retrieve with GetLineageNode.
Parameters:
-
event(LineageEvent) –The lineage event that you want to post, in OpenLineage format. Supported event types are run events and dataset events.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
ConflictException–The
CreatePartitionsAPI was called on a table that has indexes enabled. -
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
ThrottlingException–The throttling threshhold was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 | |