Skip to content

/AWS1/CL_SGM=>QUERYLINEAGE()

About QueryLineage

Use this action to inspect your lineage and discover relationships between entities. For more information, see Querying Lineage Entities in the Amazon SageMaker Developer Guide.

Method Signature

IMPORTING

Optional arguments:

IT_STARTARNS TYPE /AWS1/CL_SGMQUERYLINEAGESTRT00=>TT_QUERYLINEAGESTARTARNS TT_QUERYLINEAGESTARTARNS

A list of resource Amazon Resource Name (ARN) that represent the starting point for your lineage query.

IV_DIRECTION TYPE /AWS1/SGMDIRECTION /AWS1/SGMDIRECTION

Associations between lineage entities have a direction. This parameter determines the direction from the StartArn(s) that the query traverses.

IV_INCLUDEEDGES TYPE /AWS1/SGMBOOLEAN /AWS1/SGMBOOLEAN

Setting this value to True retrieves not only the entities of interest but also the Associations and lineage entities on the path. Set to False to only return lineage entities that match your query.

IO_FILTERS TYPE REF TO /AWS1/CL_SGMQUERYFILTERS /AWS1/CL_SGMQUERYFILTERS

A set of filtering parameters that allow you to specify which entities should be returned.

  • Properties - Key-value pairs to match on the lineage entities' properties.

  • LineageTypes - A set of lineage entity types to match on. For example: TrialComponent, Artifact, or Context.

  • CreatedBefore - Filter entities created before this date.

  • ModifiedBefore - Filter entities modified before this date.

  • ModifiedAfter - Filter entities modified after this date.

IV_MAXDEPTH TYPE /AWS1/SGMQUERYLINEAGEMAXDEPTH /AWS1/SGMQUERYLINEAGEMAXDEPTH

The maximum depth in lineage relationships from the StartArns that are traversed. Depth is a measure of the number of Associations from the StartArn entity to the matched results.

IV_MAXRESULTS TYPE /AWS1/SGMQUERYLINEAGEMAXRSLTS /AWS1/SGMQUERYLINEAGEMAXRSLTS

Limits the number of vertices in the results. Use the NextToken in a response to to retrieve the next page of results.

IV_NEXTTOKEN TYPE /AWS1/SGMSTRING8192 /AWS1/SGMSTRING8192

Limits the number of vertices in the request. Use the NextToken in a response to to retrieve the next page of results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMQUERYLINEAGERSP /AWS1/CL_SGMQUERYLINEAGERSP