GetLineageNode
Retrieves a lineage node from the AWS Glue Data Catalog, with the nodes immediately upstream and downstream of it. A node represents one dataset or one run in the lineage graph.
Request Syntax
{
"Identifier": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- Identifier
-
The identifier of the lineage node that you want to get. Both a lineage node identifier and the
SourceIdentifierof the lineage node are supported.Type: String
Length Constraints: Minimum length of 1. Maximum length of 2150.
Required: Yes
Response Syntax
{
"Description": "string",
"DownstreamNodes": [
{
"Id": "string"
}
],
"EventTimestamp": number,
"FormsOutput": [
{
"Content": "string",
"TypeName": "string"
}
],
"Id": "string",
"Name": "string",
"SourceIdentifier": "string",
"TypeName": "string",
"UpstreamNodes": [
{
"Id": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- Description
-
The description of the lineage node.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
- DownstreamNodes
-
The downstream nodes of the specified lineage node.
Type: Array of LineageNodeReference objects
Array Members: Maximum number of 250 items.
- EventTimestamp
-
The timestamp of the event described in the lineage node.
Type: Timestamp
- FormsOutput
-
The metadata of the specified lineage node, as a list of forms.
Type: Array of LineageForm objects
- Id
-
The ID of the lineage node.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 36.
- Name
-
The name of the lineage node.
Type: String
Length Constraints: Maximum length of 256.
- SourceIdentifier
-
The source identifier of the lineage node, such as the ARN of a Data Catalog table.
Type: String
Length Constraints: Maximum length of 2150.
- TypeName
-
The name of the type of the specified lineage node.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
- UpstreamNodes
-
The upstream nodes of the specified lineage node.
Type: Array of LineageNodeReference objects
Array Members: Maximum number of 250 items.
Errors
For information about the errors that are common to all actions, see Common Error Types.
- AccessDeniedException
-
Access to a resource was denied.
- Message
-
A message describing the problem.
HTTP Status Code: 400
- EntityNotFoundException
-
A specified entity does not exist
- FromFederationSource
-
Indicates whether or not the exception relates to a federated source.
- Message
-
A message describing the problem.
HTTP Status Code: 400
- InternalServiceException
-
An internal service error occurred.
- Message
-
A message describing the problem.
HTTP Status Code: 500
- InvalidInputException
-
The input provided was not valid.
- FromFederationSource
-
Indicates whether or not the exception relates to a federated source.
- Message
-
A message describing the problem.
HTTP Status Code: 400
- ThrottlingException
-
The throttling threshhold was exceeded.
- Message
-
A message describing the problem.
HTTP Status Code: 400
Examples
Example
The following example retrieves the lineage node for a dataset by its source identifier.
aws glue get-lineage-node --identifier s3://example-bucket/curated/daily_sales { "Id": "b588g13w4zizvr", "TypeName": "DatasetLineageNode", "SourceIdentifier": "s3://example-bucket/curated/daily_sales", "EventTimestamp": "2026-11-14T06:42:00.000Z", "Name": "curated/daily_sales", "UpstreamNodes": [ { "Id": "cloow6vbaaxqnb" } ], "DownstreamNodes": [], "FormsOutput": [ { "TypeName": "Dataset", "Content": "{\"namespace\":\"s3://example-bucket\",\"name\":\"curated/daily_sales\"}" } ] }
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: