Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

QueryExecutionStatus

import type { QueryExecutionStatus } from "https://aws-api.deno.dev/v0.3/services/athena.ts?docs=full";

The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

interface QueryExecutionStatus {
CompletionDateTime?: Date | number | null;
State?: QueryExecutionState | null;
StateChangeReason?: string | null;
SubmissionDateTime?: Date | number | null;
}

§Properties

§
CompletionDateTime?: Date | number | null
[src]

The date and time that the query completed.

§

The state of query execution. QUEUED indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available. RUNNING indicates that the query is in execution phase. SUCCEEDED indicates that the query completed without errors. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that a user input interrupted query execution.

Note: Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from RUNNING or FAILED to QUEUED.

§
StateChangeReason?: string | null
[src]

Further detail about the status of the query.

§
SubmissionDateTime?: Date | number | null
[src]

The date and time that the query was submitted.