import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns an execution of the given name. */ export declare function getExecution(args: GetExecutionArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetExecutionArgs { executionId: string; location: string; project?: string; view?: string; workflowId: string; } export interface GetExecutionResult { /** * Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` */ readonly argument: string; /** * The call logging level associated to this execution. */ readonly callLogLevel: string; /** * Marks the end of execution, successful or not. */ readonly endTime: string; /** * The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`. */ readonly error: outputs.workflowexecutions.v1beta.ErrorResponse; /** * The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */ readonly name: string; /** * Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`. */ readonly result: string; /** * Marks the beginning of execution. */ readonly startTime: string; /** * Current state of the execution. */ readonly state: string; /** * Status tracks the current steps and progress data of this execution. */ readonly status: outputs.workflowexecutions.v1beta.StatusResponse; /** * Revision of the workflow this execution is using. */ readonly workflowRevisionId: string; } /** * Returns an execution of the given name. */ export declare function getExecutionOutput(args: GetExecutionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetExecutionOutputArgs { executionId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; view?: pulumi.Input; workflowId: pulumi.Input; }