

# 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
<a name="API_GetLineageNode_RequestSyntax"></a>

```
{
   "Identifier": "{{string}}"
}
```

## Request Parameters
<a name="API_GetLineageNode_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

 ** [Identifier](#API_GetLineageNode_RequestSyntax) **   <a name="Glue-GetLineageNode-request-Identifier"></a>
The identifier of the lineage node that you want to get. Both a lineage node identifier and the `SourceIdentifier` of the lineage node are supported.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2150.  
Required: Yes

## Response Syntax
<a name="API_GetLineageNode_ResponseSyntax"></a>

```
{
   "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
<a name="API_GetLineageNode_ResponseElements"></a>

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](#API_GetLineageNode_ResponseSyntax) **   <a name="Glue-GetLineageNode-response-Description"></a>
The description of the lineage node.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.

 ** [DownstreamNodes](#API_GetLineageNode_ResponseSyntax) **   <a name="Glue-GetLineageNode-response-DownstreamNodes"></a>
The downstream nodes of the specified lineage node.  
Type: Array of [LineageNodeReference](API_LineageNodeReference.md) objects  
Array Members: Maximum number of 250 items.

 ** [EventTimestamp](#API_GetLineageNode_ResponseSyntax) **   <a name="Glue-GetLineageNode-response-EventTimestamp"></a>
The timestamp of the event described in the lineage node.  
Type: Timestamp

 ** [FormsOutput](#API_GetLineageNode_ResponseSyntax) **   <a name="Glue-GetLineageNode-response-FormsOutput"></a>
The metadata of the specified lineage node, as a list of forms.  
Type: Array of [LineageForm](API_LineageForm.md) objects

 ** [Id](#API_GetLineageNode_ResponseSyntax) **   <a name="Glue-GetLineageNode-response-Id"></a>
The ID of the lineage node.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 36.

 ** [Name](#API_GetLineageNode_ResponseSyntax) **   <a name="Glue-GetLineageNode-response-Name"></a>
The name of the lineage node.  
Type: String  
Length Constraints: Maximum length of 256.

 ** [SourceIdentifier](#API_GetLineageNode_ResponseSyntax) **   <a name="Glue-GetLineageNode-response-SourceIdentifier"></a>
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](#API_GetLineageNode_ResponseSyntax) **   <a name="Glue-GetLineageNode-response-TypeName"></a>
The name of the type of the specified lineage node.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.

 ** [UpstreamNodes](#API_GetLineageNode_ResponseSyntax) **   <a name="Glue-GetLineageNode-response-UpstreamNodes"></a>
The upstream nodes of the specified lineage node.  
Type: Array of [LineageNodeReference](API_LineageNodeReference.md) objects  
Array Members: Maximum number of 250 items.

## Errors
<a name="API_GetLineageNode_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** 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
<a name="API_GetLineageNode_Examples"></a>

### Example
<a name="API_GetLineageNode_Example_1"></a>

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
<a name="API_GetLineageNode_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/glue-2017-03-31/GetLineageNode) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/glue-2017-03-31/GetLineageNode) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/glue-2017-03-31/GetLineageNode) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/glue-2017-03-31/GetLineageNode) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/glue-2017-03-31/GetLineageNode) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/glue-2017-03-31/GetLineageNode) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/glue-2017-03-31/GetLineageNode) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/glue-2017-03-31/GetLineageNode) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/glue-2017-03-31/GetLineageNode) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/glue-2017-03-31/GetLineageNode) 