Data Source: oci_dataflow_run_statements
This data source provides the list of Run Statements in Oracle Cloud Infrastructure Data Flow service.
Lists all statements for a Session run.
Example Usage
data "oci_dataflow_run_statements" "test_run_statements" {
	#Required
	run_id = oci_dataflow_run.test_run.id
	#Optional
	state = var.run_statement_state
}
Argument Reference
The following arguments are supported:
- run_id- (Required) The unique ID for the run
- state- (Optional) The LifecycleState of the statement.
Attributes Reference
The following attributes are exported:
- statement_collection- The list of statement_collection.
RunStatement Reference
The following attributes are exported:
- code- The statement code to execute. Example:- println(sc.version)
- id- The statement ID.
- output- The execution output of a statement.- data- An object representing execution output of a statement.- type- The type of the- StatementOutputDatalike- TEXT_PLAIN,- TEXT_HTMLor- IMAGE_PNG.
- value- The statement code execution output in html format.
 
- error_name- The name of the error in the statement output.
- error_value- The value of the error in the statement output.
- status- Status of the statement output.
- traceback- The traceback of the statement output.
 
- progress- The execution progress.
- run_id- The ID of a run.
- state- The current state of this statement.
- time_completed- The date and time a statement execution was completed, expressed in RFC 3339 timestamp format. Example:- 2022-05-31T21:10:29.600Z
- time_created- The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:- 2018-04-03T21:10:29.600Z