import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Run Statement resource in Oracle Cloud Infrastructure Data Flow service. * * Retrieves the statement corresponding to the `statementId` for a Session run specified by `runId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRunStatement = oci.dataflow.getRunStatement({ * runId: testRun.id, * statementId: testStatement.id, * }); * ``` */ export declare function getRunStatement(args: GetRunStatementArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRunStatement. */ export interface GetRunStatementArgs { /** * The unique ID for the run */ runId: string; /** * The unique ID for the statement. */ statementId: string; } /** * A collection of values returned by getRunStatement. */ export interface GetRunStatementResult { /** * The statement code to execute. Example: `println(sc.version)` */ readonly code: string; /** * The statement ID. */ readonly id: string; /** * The execution output of a statement. */ readonly outputs: outputs.DataFlow.GetRunStatementOutput[]; /** * The execution progress. */ readonly progress: number; /** * The ID of a run. */ readonly runId: string; /** * The current state of this statement. */ readonly state: string; readonly statementId: string; /** * The date and time a statement execution was completed, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2022-05-31T21:10:29.600Z` */ readonly timeCompleted: string; /** * The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` */ readonly timeCreated: string; } /** * This data source provides details about a specific Run Statement resource in Oracle Cloud Infrastructure Data Flow service. * * Retrieves the statement corresponding to the `statementId` for a Session run specified by `runId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRunStatement = oci.dataflow.getRunStatement({ * runId: testRun.id, * statementId: testStatement.id, * }); * ``` */ export declare function getRunStatementOutput(args: GetRunStatementOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRunStatement. */ export interface GetRunStatementOutputArgs { /** * The unique ID for the run */ runId: pulumi.Input; /** * The unique ID for the statement. */ statementId: pulumi.Input; } //# sourceMappingURL=getRunStatement.d.ts.map