Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Synopsis
- data QueryLineage = QueryLineage' {}
- newQueryLineage :: QueryLineage
- queryLineage_direction :: Lens' QueryLineage (Maybe Direction)
- queryLineage_filters :: Lens' QueryLineage (Maybe QueryFilters)
- queryLineage_includeEdges :: Lens' QueryLineage (Maybe Bool)
- queryLineage_maxDepth :: Lens' QueryLineage (Maybe Int)
- queryLineage_maxResults :: Lens' QueryLineage (Maybe Int)
- queryLineage_nextToken :: Lens' QueryLineage (Maybe Text)
- queryLineage_startArns :: Lens' QueryLineage (Maybe [Text])
- data QueryLineageResponse = QueryLineageResponse' {}
- newQueryLineageResponse :: Int -> QueryLineageResponse
- queryLineageResponse_edges :: Lens' QueryLineageResponse (Maybe [Edge])
- queryLineageResponse_nextToken :: Lens' QueryLineageResponse (Maybe Text)
- queryLineageResponse_vertices :: Lens' QueryLineageResponse (Maybe [Vertex])
- queryLineageResponse_httpStatus :: Lens' QueryLineageResponse Int
Creating a Request
data QueryLineage Source #
See: newQueryLineage
smart constructor.
QueryLineage' | |
|
Instances
newQueryLineage :: QueryLineage Source #
Create a value of QueryLineage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:direction:QueryLineage'
, queryLineage_direction
- Associations between lineage entities have a direction. This parameter
determines the direction from the StartArn(s) that the query traverses.
QueryLineage
, queryLineage_filters
- 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
, orContext
. - CreatedBefore - Filter entities created before this date.
- ModifiedBefore - Filter entities modified before this date.
- ModifiedAfter - Filter entities modified after this date.
$sel:includeEdges:QueryLineage'
, queryLineage_includeEdges
- 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.
$sel:maxDepth:QueryLineage'
, queryLineage_maxDepth
- 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.
$sel:maxResults:QueryLineage'
, queryLineage_maxResults
- Limits the number of vertices in the results. Use the NextToken
in a
response to to retrieve the next page of results.
QueryLineage
, queryLineage_nextToken
- Limits the number of vertices in the request. Use the NextToken
in a
response to to retrieve the next page of results.
$sel:startArns:QueryLineage'
, queryLineage_startArns
- A list of resource Amazon Resource Name (ARN) that represent the
starting point for your lineage query.
Request Lenses
queryLineage_direction :: Lens' QueryLineage (Maybe Direction) Source #
Associations between lineage entities have a direction. This parameter determines the direction from the StartArn(s) that the query traverses.
queryLineage_filters :: Lens' QueryLineage (Maybe QueryFilters) Source #
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
, orContext
. - CreatedBefore - Filter entities created before this date.
- ModifiedBefore - Filter entities modified before this date.
- ModifiedAfter - Filter entities modified after this date.
queryLineage_includeEdges :: Lens' QueryLineage (Maybe Bool) Source #
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.
queryLineage_maxDepth :: Lens' QueryLineage (Maybe Int) Source #
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.
queryLineage_maxResults :: Lens' QueryLineage (Maybe Int) Source #
Limits the number of vertices in the results. Use the NextToken
in a
response to to retrieve the next page of results.
queryLineage_nextToken :: Lens' QueryLineage (Maybe Text) Source #
Limits the number of vertices in the request. Use the NextToken
in a
response to to retrieve the next page of results.
queryLineage_startArns :: Lens' QueryLineage (Maybe [Text]) Source #
A list of resource Amazon Resource Name (ARN) that represent the starting point for your lineage query.
Destructuring the Response
data QueryLineageResponse Source #
See: newQueryLineageResponse
smart constructor.
QueryLineageResponse' | |
|
Instances
newQueryLineageResponse Source #
Create a value of QueryLineageResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:edges:QueryLineageResponse'
, queryLineageResponse_edges
- A list of edges that connect vertices in the response.
QueryLineage
, queryLineageResponse_nextToken
- Limits the number of vertices in the response. Use the NextToken
in a
response to to retrieve the next page of results.
$sel:vertices:QueryLineageResponse'
, queryLineageResponse_vertices
- A list of vertices connected to the start entity(ies) in the lineage
graph.
$sel:httpStatus:QueryLineageResponse'
, queryLineageResponse_httpStatus
- The response's http status code.
Response Lenses
queryLineageResponse_edges :: Lens' QueryLineageResponse (Maybe [Edge]) Source #
A list of edges that connect vertices in the response.
queryLineageResponse_nextToken :: Lens' QueryLineageResponse (Maybe Text) Source #
Limits the number of vertices in the response. Use the NextToken
in a
response to to retrieve the next page of results.
queryLineageResponse_vertices :: Lens' QueryLineageResponse (Maybe [Vertex]) Source #
A list of vertices connected to the start entity(ies) in the lineage graph.
queryLineageResponse_httpStatus :: Lens' QueryLineageResponse Int Source #
The response's http status code.