Documentation on AWS Data Pipeline describes the Data Pipeline related concepts of Components, Instances and Attempts here.
http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-how-tasks-scheduled.html
I am trying to identify the status of a data pipeline ( whether its running or finished) using DescribeObjects API method described here.
https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_DescribeObjects.html
Using this API method I can get the status of a particular object using @status field.
To identify whether a data pipeline is in running state or in some other state, does it suffice to check objects in "INSTANCE" state? or do I need to check objects in "COMPONENT" state and "ATTEMPT" state as well?