AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

QueryExecutionStatus

import "github.com/aws/aws-sdk-go/service/athena"

type QueryExecutionStatus struct { CompletionDateTime *time.Time `type:"timestamp"` State *string `type:"string" enum:"QueryExecutionState"` StateChangeReason *string `type:"string"` SubmissionDateTime *time.Time `type:"timestamp"` }

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

CompletionDateTime

Type: *time.Time

The date and time that the query completed.

State

Type: *string

The state of query execution. QUEUED state is listed but is not used by Athena and is reserved for future use. RUNNING indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available. 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.

StateChangeReason

Type: *string

Further detail about the status of the query.

SubmissionDateTime

Type: *time.Time

The date and time that the query was submitted.

Method

GoString

func (s QueryExecutionStatus) GoString() string

GoString returns the string representation

SetCompletionDateTime

func (s *QueryExecutionStatus) SetCompletionDateTime(v time.Time) *QueryExecutionStatus

SetCompletionDateTime sets the CompletionDateTime field's value.

SetState

func (s *QueryExecutionStatus) SetState(v string) *QueryExecutionStatus

SetState sets the State field's value.

SetStateChangeReason

func (s *QueryExecutionStatus) SetStateChangeReason(v string) *QueryExecutionStatus

SetStateChangeReason sets the StateChangeReason field's value.

SetSubmissionDateTime

func (s *QueryExecutionStatus) SetSubmissionDateTime(v time.Time) *QueryExecutionStatus

SetSubmissionDateTime sets the SubmissionDateTime field's value.

String

func (s QueryExecutionStatus) String() string

String returns the string representation

On this page: