[][src]Trait rusoto_athena::Athena

pub trait Athena {
    fn batch_get_named_query(
        &self,
        input: BatchGetNamedQueryInput
    ) -> RusotoFuture<BatchGetNamedQueryOutput, BatchGetNamedQueryError>;
fn batch_get_query_execution(
        &self,
        input: BatchGetQueryExecutionInput
    ) -> RusotoFuture<BatchGetQueryExecutionOutput, BatchGetQueryExecutionError>;
fn create_named_query(
        &self,
        input: CreateNamedQueryInput
    ) -> RusotoFuture<CreateNamedQueryOutput, CreateNamedQueryError>;
fn create_work_group(
        &self,
        input: CreateWorkGroupInput
    ) -> RusotoFuture<CreateWorkGroupOutput, CreateWorkGroupError>;
fn delete_named_query(
        &self,
        input: DeleteNamedQueryInput
    ) -> RusotoFuture<DeleteNamedQueryOutput, DeleteNamedQueryError>;
fn delete_work_group(
        &self,
        input: DeleteWorkGroupInput
    ) -> RusotoFuture<DeleteWorkGroupOutput, DeleteWorkGroupError>;
fn get_named_query(
        &self,
        input: GetNamedQueryInput
    ) -> RusotoFuture<GetNamedQueryOutput, GetNamedQueryError>;
fn get_query_execution(
        &self,
        input: GetQueryExecutionInput
    ) -> RusotoFuture<GetQueryExecutionOutput, GetQueryExecutionError>;
fn get_query_results(
        &self,
        input: GetQueryResultsInput
    ) -> RusotoFuture<GetQueryResultsOutput, GetQueryResultsError>;
fn get_work_group(
        &self,
        input: GetWorkGroupInput
    ) -> RusotoFuture<GetWorkGroupOutput, GetWorkGroupError>;
fn list_named_queries(
        &self,
        input: ListNamedQueriesInput
    ) -> RusotoFuture<ListNamedQueriesOutput, ListNamedQueriesError>;
fn list_query_executions(
        &self,
        input: ListQueryExecutionsInput
    ) -> RusotoFuture<ListQueryExecutionsOutput, ListQueryExecutionsError>;
fn list_work_groups(
        &self,
        input: ListWorkGroupsInput
    ) -> RusotoFuture<ListWorkGroupsOutput, ListWorkGroupsError>;
fn start_query_execution(
        &self,
        input: StartQueryExecutionInput
    ) -> RusotoFuture<StartQueryExecutionOutput, StartQueryExecutionError>;
fn stop_query_execution(
        &self,
        input: StopQueryExecutionInput
    ) -> RusotoFuture<StopQueryExecutionOutput, StopQueryExecutionError>;
fn update_work_group(
        &self,
        input: UpdateWorkGroupInput
    ) -> RusotoFuture<UpdateWorkGroupOutput, UpdateWorkGroupError>; }

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

Required methods

fn batch_get_named_query(
    &self,
    input: BatchGetNamedQueryInput
) -> RusotoFuture<BatchGetNamedQueryOutput, BatchGetNamedQueryError>

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. Requires you to have access to the workgroup in which the queries were saved. Use ListNamedQueriesInput to get the list of named query IDs in the specified workgroup. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries differ from executed queries. Use BatchGetQueryExecutionInput to get details about each unique query execution, and ListQueryExecutionsInput to get a list of query execution IDs.

fn batch_get_query_execution(
    &self,
    input: BatchGetQueryExecutionInput
) -> RusotoFuture<BatchGetQueryExecutionOutput, BatchGetQueryExecutionError>

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. Requires you to have access to the workgroup in which the queries ran. To get a list of query execution IDs, use ListQueryExecutionsInput$WorkGroup. Query executions differ from named (saved) queries. Use BatchGetNamedQueryInput to get details about named queries.

fn create_named_query(
    &self,
    input: CreateNamedQueryInput
) -> RusotoFuture<CreateNamedQueryOutput, CreateNamedQueryError>

Creates a named query in the specified workgroup. Requires that you have access to the workgroup.

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

fn create_work_group(
    &self,
    input: CreateWorkGroupInput
) -> RusotoFuture<CreateWorkGroupOutput, CreateWorkGroupError>

Creates a workgroup with the specified name.

fn delete_named_query(
    &self,
    input: DeleteNamedQueryInput
) -> RusotoFuture<DeleteNamedQueryOutput, DeleteNamedQueryError>

Deletes the named query if you have access to the workgroup in which the query was saved.

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

fn delete_work_group(
    &self,
    input: DeleteWorkGroupInput
) -> RusotoFuture<DeleteWorkGroupOutput, DeleteWorkGroupError>

Deletes the workgroup with the specified name. The primary workgroup cannot be deleted.

fn get_named_query(
    &self,
    input: GetNamedQueryInput
) -> RusotoFuture<GetNamedQueryOutput, GetNamedQueryError>

Returns information about a single query. Requires that you have access to the workgroup in which the query was saved.

fn get_query_execution(
    &self,
    input: GetQueryExecutionInput
) -> RusotoFuture<GetQueryExecutionOutput, GetQueryExecutionError>

Returns information about a single execution of a query if you have access to the workgroup in which the query ran. Each time a query executes, information about the query execution is saved with a unique ID.

fn get_query_results(
    &self,
    input: GetQueryResultsInput
) -> RusotoFuture<GetQueryResultsOutput, GetQueryResultsError>

Returns the results of a single query execution specified by QueryExecutionId if you have access to the workgroup in which the query ran. This request does not execute the query but returns results. Use StartQueryExecution to run a query.

fn get_work_group(
    &self,
    input: GetWorkGroupInput
) -> RusotoFuture<GetWorkGroupOutput, GetWorkGroupError>

Returns information about the workgroup with the speficied name.

fn list_named_queries(
    &self,
    input: ListNamedQueriesInput
) -> RusotoFuture<ListNamedQueriesOutput, ListNamedQueriesError>

Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the workgroup.

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

fn list_query_executions(
    &self,
    input: ListQueryExecutionsInput
) -> RusotoFuture<ListQueryExecutionsOutput, ListQueryExecutionsError>

Provides a list of available query execution IDs for the queries in the specified workgroup. Requires you to have access to the workgroup in which the queries ran.

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

fn list_work_groups(
    &self,
    input: ListWorkGroupsInput
) -> RusotoFuture<ListWorkGroupsOutput, ListWorkGroupsError>

Lists available workgroups for the account.

fn start_query_execution(
    &self,
    input: StartQueryExecutionInput
) -> RusotoFuture<StartQueryExecutionOutput, StartQueryExecutionError>

Runs the SQL query statements contained in the Query. Requires you to have access to the workgroup in which the query ran.

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

fn stop_query_execution(
    &self,
    input: StopQueryExecutionInput
) -> RusotoFuture<StopQueryExecutionOutput, StopQueryExecutionError>

Stops a query execution. Requires you to have access to the workgroup in which the query ran.

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

fn update_work_group(
    &self,
    input: UpdateWorkGroupInput
) -> RusotoFuture<UpdateWorkGroupOutput, UpdateWorkGroupError>

Updates the workgroup with the specified name. The workgroup's name cannot be changed.

Loading content...

Implementors

impl Athena for AthenaClient[src]

fn batch_get_named_query(
    &self,
    input: BatchGetNamedQueryInput
) -> RusotoFuture<BatchGetNamedQueryOutput, BatchGetNamedQueryError>
[src]

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. Requires you to have access to the workgroup in which the queries were saved. Use ListNamedQueriesInput to get the list of named query IDs in the specified workgroup. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries differ from executed queries. Use BatchGetQueryExecutionInput to get details about each unique query execution, and ListQueryExecutionsInput to get a list of query execution IDs.

fn batch_get_query_execution(
    &self,
    input: BatchGetQueryExecutionInput
) -> RusotoFuture<BatchGetQueryExecutionOutput, BatchGetQueryExecutionError>
[src]

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. Requires you to have access to the workgroup in which the queries ran. To get a list of query execution IDs, use ListQueryExecutionsInput$WorkGroup. Query executions differ from named (saved) queries. Use BatchGetNamedQueryInput to get details about named queries.

fn create_named_query(
    &self,
    input: CreateNamedQueryInput
) -> RusotoFuture<CreateNamedQueryOutput, CreateNamedQueryError>
[src]

Creates a named query in the specified workgroup. Requires that you have access to the workgroup.

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

fn create_work_group(
    &self,
    input: CreateWorkGroupInput
) -> RusotoFuture<CreateWorkGroupOutput, CreateWorkGroupError>
[src]

Creates a workgroup with the specified name.

fn delete_named_query(
    &self,
    input: DeleteNamedQueryInput
) -> RusotoFuture<DeleteNamedQueryOutput, DeleteNamedQueryError>
[src]

Deletes the named query if you have access to the workgroup in which the query was saved.

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

fn delete_work_group(
    &self,
    input: DeleteWorkGroupInput
) -> RusotoFuture<DeleteWorkGroupOutput, DeleteWorkGroupError>
[src]

Deletes the workgroup with the specified name. The primary workgroup cannot be deleted.

fn get_named_query(
    &self,
    input: GetNamedQueryInput
) -> RusotoFuture<GetNamedQueryOutput, GetNamedQueryError>
[src]

Returns information about a single query. Requires that you have access to the workgroup in which the query was saved.

fn get_query_execution(
    &self,
    input: GetQueryExecutionInput
) -> RusotoFuture<GetQueryExecutionOutput, GetQueryExecutionError>
[src]

Returns information about a single execution of a query if you have access to the workgroup in which the query ran. Each time a query executes, information about the query execution is saved with a unique ID.

fn get_query_results(
    &self,
    input: GetQueryResultsInput
) -> RusotoFuture<GetQueryResultsOutput, GetQueryResultsError>
[src]

Returns the results of a single query execution specified by QueryExecutionId if you have access to the workgroup in which the query ran. This request does not execute the query but returns results. Use StartQueryExecution to run a query.

fn get_work_group(
    &self,
    input: GetWorkGroupInput
) -> RusotoFuture<GetWorkGroupOutput, GetWorkGroupError>
[src]

Returns information about the workgroup with the speficied name.

fn list_named_queries(
    &self,
    input: ListNamedQueriesInput
) -> RusotoFuture<ListNamedQueriesOutput, ListNamedQueriesError>
[src]

Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the workgroup.

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

fn list_query_executions(
    &self,
    input: ListQueryExecutionsInput
) -> RusotoFuture<ListQueryExecutionsOutput, ListQueryExecutionsError>
[src]

Provides a list of available query execution IDs for the queries in the specified workgroup. Requires you to have access to the workgroup in which the queries ran.

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

fn list_work_groups(
    &self,
    input: ListWorkGroupsInput
) -> RusotoFuture<ListWorkGroupsOutput, ListWorkGroupsError>
[src]

Lists available workgroups for the account.

fn start_query_execution(
    &self,
    input: StartQueryExecutionInput
) -> RusotoFuture<StartQueryExecutionOutput, StartQueryExecutionError>
[src]

Runs the SQL query statements contained in the Query. Requires you to have access to the workgroup in which the query ran.

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

fn stop_query_execution(
    &self,
    input: StopQueryExecutionInput
) -> RusotoFuture<StopQueryExecutionOutput, StopQueryExecutionError>
[src]

Stops a query execution. Requires you to have access to the workgroup in which the query ran.

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

fn update_work_group(
    &self,
    input: UpdateWorkGroupInput
) -> RusotoFuture<UpdateWorkGroupOutput, UpdateWorkGroupError>
[src]

Updates the workgroup with the specified name. The workgroup's name cannot be changed.

Loading content...