NAME

Paws::Athena::QueryExecutionStatus

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Athena::QueryExecutionStatus object:

$service_obj->Method(Att1 => { CompletionDateTime => $value, ..., SubmissionDateTime => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Athena::QueryExecutionStatus object:

$result = $service_obj->Method(...);
$result->Att1->CompletionDateTime

DESCRIPTION

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

ATTRIBUTES

CompletionDateTime => Str

The date and time that the query completed.

State => Str

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.

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 => Str

Further detail about the status of the query.

SubmissionDateTime => Str

The date and time that the query was submitted.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Athena

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues