aip_sdk.land_traces_from_connection
aip_sdk.land_traces_from_connection(connection_id: str, *, client: APIClient | None = None) -> TraceIngestRun
Trigger ingestion by pulling traces from a saved object-store connection.
Parameters
connection_idstr: ID of the source connection to pull from.clientAPIClient | None: Optional API client.
Returns
TraceIngestRun: The accepted ingestion run. CallTraceIngestRun.wait_until_terminal()forTraceIngestRun: its outcome.
Raises
NotFoundError: If the connection does not exist, or belongs to a workspace the caller is not a member of.AuthError: If credentials are missing or invalid.ForbiddenError: If the connection's source is not one the platform may pull from; itsunusable_reasoninlist_source_connections()says why.UnprocessableEntityError: If the connection cannot be used to pull traces.ResponseParseError: If the platform's response does not match this SDK version.