get_dataflow_graph
(**kwargs)¶Transforms a Python script into a directed acyclic graph (DAG).
See also: AWS API Documentation
Request Syntax
response = client.get_dataflow_graph(
PythonScript='string'
)
{
'DagNodes': [
{
'Id': 'string',
'NodeType': 'string',
'Args': [
{
'Name': 'string',
'Value': 'string',
'Param': True|False
},
],
'LineNumber': 123
},
],
'DagEdges': [
{
'Source': 'string',
'Target': 'string',
'TargetParameter': 'string'
},
]
}
Response Structure
A list of the nodes in the resulting DAG.
Represents a node in a directed acyclic graph (DAG)
A node identifier that is unique within the node's graph.
The type of node that this is.
Properties of the node, in the form of name-value pairs.
An argument or property of a node.
The name of the argument or property.
The value of the argument or property.
True if the value is used as a parameter.
The line number of the node.
A list of the edges in the resulting DAG.
Represents a directional edge in a directed acyclic graph (DAG).
The ID of the node at which the edge starts.
The ID of the node at which the edge ends.
The target of the edge.
Exceptions
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.OperationTimeoutException