Trait rusoto_athena::Athena [] [src]

pub trait Athena {
    fn batch_get_named_query(
        &self,
        input: &BatchGetNamedQueryInput
    ) -> Result<BatchGetNamedQueryOutput, BatchGetNamedQueryError>;
fn batch_get_query_execution(
        &self,
        input: &BatchGetQueryExecutionInput
    ) -> Result<BatchGetQueryExecutionOutput, BatchGetQueryExecutionError>;
fn create_named_query(
        &self,
        input: &CreateNamedQueryInput
    ) -> Result<CreateNamedQueryOutput, CreateNamedQueryError>;
fn delete_named_query(
        &self,
        input: &DeleteNamedQueryInput
    ) -> Result<DeleteNamedQueryOutput, DeleteNamedQueryError>;
fn get_named_query(
        &self,
        input: &GetNamedQueryInput
    ) -> Result<GetNamedQueryOutput, GetNamedQueryError>;
fn get_query_execution(
        &self,
        input: &GetQueryExecutionInput
    ) -> Result<GetQueryExecutionOutput, GetQueryExecutionError>;
fn get_query_results(
        &self,
        input: &GetQueryResultsInput
    ) -> Result<GetQueryResultsOutput, GetQueryResultsError>;
fn list_named_queries(
        &self,
        input: &ListNamedQueriesInput
    ) -> Result<ListNamedQueriesOutput, ListNamedQueriesError>;
fn list_query_executions(
        &self,
        input: &ListQueryExecutionsInput
    ) -> Result<ListQueryExecutionsOutput, ListQueryExecutionsError>;
fn start_query_execution(
        &self,
        input: &StartQueryExecutionInput
    ) -> Result<StartQueryExecutionOutput, StartQueryExecutionError>;
fn stop_query_execution(
        &self,
        input: &StopQueryExecutionInput
    ) -> Result<StopQueryExecutionOutput, StopQueryExecutionError>; }

Trait representing the capabilities of the Amazon Athena API. Amazon Athena clients implement this trait.

Required Methods

Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Use ListNamedQueries to get the list of named query IDs. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries are different from executed queries. Use BatchGetQueryExecution to get details about each unique query execution, and ListQueryExecutions to get a list of query execution IDs.

Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. To get a list of query execution IDs, use ListQueryExecutions. Query executions are different from named (saved) queries. Use BatchGetNamedQuery to get details about named queries.

Creates a named query.

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

Deletes a named query.

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

Returns information about a single query.

Returns information about a single execution of a query. Each time a query executes, information about the query execution is saved with a unique ID.

Returns the results of a single query execution specified by QueryExecutionId. This request does not execute the query but returns results. Use StartQueryExecution to run a query.

Provides a list of all available query IDs.

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

Provides a list of all available query execution IDs.

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

Runs (executes) the SQL query statements contained in the Query string.

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

Stops a query execution.

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

Implementors