post_lineage_event
async
¶
post_lineage_event(
event: LineageEvent, *, config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 | |