[][src]Trait rusoto_athena::Athena

pub trait Athena {
#[must_use]    pub fn batch_get_named_query<'life0, 'async_trait>(
        &'life0 self,
        input: BatchGetNamedQueryInput
    ) -> Pin<Box<dyn Future<Output = Result<BatchGetNamedQueryOutput, RusotoError<BatchGetNamedQueryError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn batch_get_query_execution<'life0, 'async_trait>(
        &'life0 self,
        input: BatchGetQueryExecutionInput
    ) -> Pin<Box<dyn Future<Output = Result<BatchGetQueryExecutionOutput, RusotoError<BatchGetQueryExecutionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_data_catalog<'life0, 'async_trait>(
        &'life0 self,
        input: CreateDataCatalogInput
    ) -> Pin<Box<dyn Future<Output = Result<CreateDataCatalogOutput, RusotoError<CreateDataCatalogError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_named_query<'life0, 'async_trait>(
        &'life0 self,
        input: CreateNamedQueryInput
    ) -> Pin<Box<dyn Future<Output = Result<CreateNamedQueryOutput, RusotoError<CreateNamedQueryError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_work_group<'life0, 'async_trait>(
        &'life0 self,
        input: CreateWorkGroupInput
    ) -> Pin<Box<dyn Future<Output = Result<CreateWorkGroupOutput, RusotoError<CreateWorkGroupError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_data_catalog<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteDataCatalogInput
    ) -> Pin<Box<dyn Future<Output = Result<DeleteDataCatalogOutput, RusotoError<DeleteDataCatalogError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_named_query<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteNamedQueryInput
    ) -> Pin<Box<dyn Future<Output = Result<DeleteNamedQueryOutput, RusotoError<DeleteNamedQueryError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_work_group<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteWorkGroupInput
    ) -> Pin<Box<dyn Future<Output = Result<DeleteWorkGroupOutput, RusotoError<DeleteWorkGroupError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn get_data_catalog<'life0, 'async_trait>(
        &'life0 self,
        input: GetDataCatalogInput
    ) -> Pin<Box<dyn Future<Output = Result<GetDataCatalogOutput, RusotoError<GetDataCatalogError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn get_database<'life0, 'async_trait>(
        &'life0 self,
        input: GetDatabaseInput
    ) -> Pin<Box<dyn Future<Output = Result<GetDatabaseOutput, RusotoError<GetDatabaseError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn get_named_query<'life0, 'async_trait>(
        &'life0 self,
        input: GetNamedQueryInput
    ) -> Pin<Box<dyn Future<Output = Result<GetNamedQueryOutput, RusotoError<GetNamedQueryError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn get_query_execution<'life0, 'async_trait>(
        &'life0 self,
        input: GetQueryExecutionInput
    ) -> Pin<Box<dyn Future<Output = Result<GetQueryExecutionOutput, RusotoError<GetQueryExecutionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn get_query_results<'life0, 'async_trait>(
        &'life0 self,
        input: GetQueryResultsInput
    ) -> Pin<Box<dyn Future<Output = Result<GetQueryResultsOutput, RusotoError<GetQueryResultsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn get_table_metadata<'life0, 'async_trait>(
        &'life0 self,
        input: GetTableMetadataInput
    ) -> Pin<Box<dyn Future<Output = Result<GetTableMetadataOutput, RusotoError<GetTableMetadataError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn get_work_group<'life0, 'async_trait>(
        &'life0 self,
        input: GetWorkGroupInput
    ) -> Pin<Box<dyn Future<Output = Result<GetWorkGroupOutput, RusotoError<GetWorkGroupError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_data_catalogs<'life0, 'async_trait>(
        &'life0 self,
        input: ListDataCatalogsInput
    ) -> Pin<Box<dyn Future<Output = Result<ListDataCatalogsOutput, RusotoError<ListDataCatalogsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_databases<'life0, 'async_trait>(
        &'life0 self,
        input: ListDatabasesInput
    ) -> Pin<Box<dyn Future<Output = Result<ListDatabasesOutput, RusotoError<ListDatabasesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_named_queries<'life0, 'async_trait>(
        &'life0 self,
        input: ListNamedQueriesInput
    ) -> Pin<Box<dyn Future<Output = Result<ListNamedQueriesOutput, RusotoError<ListNamedQueriesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_query_executions<'life0, 'async_trait>(
        &'life0 self,
        input: ListQueryExecutionsInput
    ) -> Pin<Box<dyn Future<Output = Result<ListQueryExecutionsOutput, RusotoError<ListQueryExecutionsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_table_metadata<'life0, 'async_trait>(
        &'life0 self,
        input: ListTableMetadataInput
    ) -> Pin<Box<dyn Future<Output = Result<ListTableMetadataOutput, RusotoError<ListTableMetadataError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_tags_for_resource<'life0, 'async_trait>(
        &'life0 self,
        input: ListTagsForResourceInput
    ) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceOutput, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_work_groups<'life0, 'async_trait>(
        &'life0 self,
        input: ListWorkGroupsInput
    ) -> Pin<Box<dyn Future<Output = Result<ListWorkGroupsOutput, RusotoError<ListWorkGroupsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn start_query_execution<'life0, 'async_trait>(
        &'life0 self,
        input: StartQueryExecutionInput
    ) -> Pin<Box<dyn Future<Output = Result<StartQueryExecutionOutput, RusotoError<StartQueryExecutionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn stop_query_execution<'life0, 'async_trait>(
        &'life0 self,
        input: StopQueryExecutionInput
    ) -> Pin<Box<dyn Future<Output = Result<StopQueryExecutionOutput, RusotoError<StopQueryExecutionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn tag_resource<'life0, 'async_trait>(
        &'life0 self,
        input: TagResourceInput
    ) -> Pin<Box<dyn Future<Output = Result<TagResourceOutput, RusotoError<TagResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn untag_resource<'life0, 'async_trait>(
        &'life0 self,
        input: UntagResourceInput
    ) -> Pin<Box<dyn Future<Output = Result<UntagResourceOutput, RusotoError<UntagResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn update_data_catalog<'life0, 'async_trait>(
        &'life0 self,
        input: UpdateDataCatalogInput
    ) -> Pin<Box<dyn Future<Output = Result<UpdateDataCatalogOutput, RusotoError<UpdateDataCatalogError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn update_work_group<'life0, 'async_trait>(
        &'life0 self,
        input: UpdateWorkGroupInput
    ) -> Pin<Box<dyn Future<Output = Result<UpdateWorkGroupOutput, RusotoError<UpdateWorkGroupError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

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

Required methods

#[must_use]pub fn batch_get_named_query<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGetNamedQueryInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetNamedQueryOutput, RusotoError<BatchGetNamedQueryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

#[must_use]pub fn batch_get_query_execution<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGetQueryExecutionInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetQueryExecutionOutput, RusotoError<BatchGetQueryExecutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

#[must_use]pub fn create_data_catalog<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDataCatalogInput
) -> Pin<Box<dyn Future<Output = Result<CreateDataCatalogOutput, RusotoError<CreateDataCatalogError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates (registers) a data catalog with the specified name and properties. Catalogs created are visible to all users of the same AWS account.

#[must_use]pub fn create_named_query<'life0, 'async_trait>(
    &'life0 self,
    input: CreateNamedQueryInput
) -> Pin<Box<dyn Future<Output = Result<CreateNamedQueryOutput, RusotoError<CreateNamedQueryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

#[must_use]pub fn create_work_group<'life0, 'async_trait>(
    &'life0 self,
    input: CreateWorkGroupInput
) -> Pin<Box<dyn Future<Output = Result<CreateWorkGroupOutput, RusotoError<CreateWorkGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a workgroup with the specified name.

#[must_use]pub fn delete_data_catalog<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteDataCatalogInput
) -> Pin<Box<dyn Future<Output = Result<DeleteDataCatalogOutput, RusotoError<DeleteDataCatalogError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a data catalog.

#[must_use]pub fn delete_named_query<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteNamedQueryInput
) -> Pin<Box<dyn Future<Output = Result<DeleteNamedQueryOutput, RusotoError<DeleteNamedQueryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

#[must_use]pub fn delete_work_group<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteWorkGroupInput
) -> Pin<Box<dyn Future<Output = Result<DeleteWorkGroupOutput, RusotoError<DeleteWorkGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn get_data_catalog<'life0, 'async_trait>(
    &'life0 self,
    input: GetDataCatalogInput
) -> Pin<Box<dyn Future<Output = Result<GetDataCatalogOutput, RusotoError<GetDataCatalogError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns the specified data catalog.

#[must_use]pub fn get_database<'life0, 'async_trait>(
    &'life0 self,
    input: GetDatabaseInput
) -> Pin<Box<dyn Future<Output = Result<GetDatabaseOutput, RusotoError<GetDatabaseError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a database object for the specfied database and data catalog.

#[must_use]pub fn get_named_query<'life0, 'async_trait>(
    &'life0 self,
    input: GetNamedQueryInput
) -> Pin<Box<dyn Future<Output = Result<GetNamedQueryOutput, RusotoError<GetNamedQueryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn get_query_execution<'life0, 'async_trait>(
    &'life0 self,
    input: GetQueryExecutionInput
) -> Pin<Box<dyn Future<Output = Result<GetQueryExecutionOutput, RusotoError<GetQueryExecutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

#[must_use]pub fn get_query_results<'life0, 'async_trait>(
    &'life0 self,
    input: GetQueryResultsInput
) -> Pin<Box<dyn Future<Output = Result<GetQueryResultsOutput, RusotoError<GetQueryResultsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Streams the results of a single query execution specified by QueryExecutionId from the Athena query results location in Amazon S3. For more information, see Query Results in the Amazon Athena User Guide. This request does not execute the query but returns results. Use StartQueryExecution to run a query.

To stream query results successfully, the IAM principal with permission to call GetQueryResults also must have permissions to the Amazon S3 GetObject action for the Athena query results location.

IAM principals with permission to the Amazon S3 GetObject action for the query results location are able to retrieve query results from Amazon S3 even if permission to the GetQueryResults action is denied. To restrict user or role access, ensure that Amazon S3 permissions to the Athena query location are denied.

#[must_use]pub fn get_table_metadata<'life0, 'async_trait>(
    &'life0 self,
    input: GetTableMetadataInput
) -> Pin<Box<dyn Future<Output = Result<GetTableMetadataOutput, RusotoError<GetTableMetadataError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns table metadata for the specified catalog, database, and table.

#[must_use]pub fn get_work_group<'life0, 'async_trait>(
    &'life0 self,
    input: GetWorkGroupInput
) -> Pin<Box<dyn Future<Output = Result<GetWorkGroupOutput, RusotoError<GetWorkGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about the workgroup with the specified name.

#[must_use]pub fn list_data_catalogs<'life0, 'async_trait>(
    &'life0 self,
    input: ListDataCatalogsInput
) -> Pin<Box<dyn Future<Output = Result<ListDataCatalogsOutput, RusotoError<ListDataCatalogsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the data catalogs in the current AWS account.

#[must_use]pub fn list_databases<'life0, 'async_trait>(
    &'life0 self,
    input: ListDatabasesInput
) -> Pin<Box<dyn Future<Output = Result<ListDatabasesOutput, RusotoError<ListDatabasesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the databases in the specified data catalog.

#[must_use]pub fn list_named_queries<'life0, 'async_trait>(
    &'life0 self,
    input: ListNamedQueriesInput
) -> Pin<Box<dyn Future<Output = Result<ListNamedQueriesOutput, RusotoError<ListNamedQueriesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the specified workgroup. If a workgroup is not specified, lists the saved queries for the primary workgroup.

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

#[must_use]pub fn list_query_executions<'life0, 'async_trait>(
    &'life0 self,
    input: ListQueryExecutionsInput
) -> Pin<Box<dyn Future<Output = Result<ListQueryExecutionsOutput, RusotoError<ListQueryExecutionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Provides a list of available query execution IDs for the queries in the specified workgroup. If a workgroup is not specified, returns a list of query execution IDs for the primary 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.

#[must_use]pub fn list_table_metadata<'life0, 'async_trait>(
    &'life0 self,
    input: ListTableMetadataInput
) -> Pin<Box<dyn Future<Output = Result<ListTableMetadataOutput, RusotoError<ListTableMetadataError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the metadata for the tables in the specified data catalog database.

#[must_use]pub fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceInput
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceOutput, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the tags associated with an Athena workgroup or data catalog resource.

#[must_use]pub fn list_work_groups<'life0, 'async_trait>(
    &'life0 self,
    input: ListWorkGroupsInput
) -> Pin<Box<dyn Future<Output = Result<ListWorkGroupsOutput, RusotoError<ListWorkGroupsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists available workgroups for the account.

#[must_use]pub fn start_query_execution<'life0, 'async_trait>(
    &'life0 self,
    input: StartQueryExecutionInput
) -> Pin<Box<dyn Future<Output = Result<StartQueryExecutionOutput, RusotoError<StartQueryExecutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Runs the SQL query statements contained in the Query. Requires you to have access to the workgroup in which the query ran. Running queries against an external catalog requires GetDataCatalog permission to the catalog. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

#[must_use]pub fn stop_query_execution<'life0, 'async_trait>(
    &'life0 self,
    input: StopQueryExecutionInput
) -> Pin<Box<dyn Future<Output = Result<StopQueryExecutionOutput, RusotoError<StopQueryExecutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

#[must_use]pub fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceInput
) -> Pin<Box<dyn Future<Output = Result<TagResourceOutput, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds one or more tags to an Athena resource. A tag is a label that you assign to a resource. In Athena, a resource can be a workgroup or data catalog. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena workgroups or data catalogs by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups or data catalogs in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.

#[must_use]pub fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceInput
) -> Pin<Box<dyn Future<Output = Result<UntagResourceOutput, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes one or more tags from a data catalog or workgroup resource.

#[must_use]pub fn update_data_catalog<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateDataCatalogInput
) -> Pin<Box<dyn Future<Output = Result<UpdateDataCatalogOutput, RusotoError<UpdateDataCatalogError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the data catalog that has the specified name.

#[must_use]pub fn update_work_group<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateWorkGroupInput
) -> Pin<Box<dyn Future<Output = Result<UpdateWorkGroupOutput, RusotoError<UpdateWorkGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

Loading content...

Implementors

impl Athena for AthenaClient[src]

pub fn batch_get_named_query<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGetNamedQueryInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetNamedQueryOutput, RusotoError<BatchGetNamedQueryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

pub fn batch_get_query_execution<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGetQueryExecutionInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetQueryExecutionOutput, RusotoError<BatchGetQueryExecutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

pub fn create_data_catalog<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDataCatalogInput
) -> Pin<Box<dyn Future<Output = Result<CreateDataCatalogOutput, RusotoError<CreateDataCatalogError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates (registers) a data catalog with the specified name and properties. Catalogs created are visible to all users of the same AWS account.

pub fn create_named_query<'life0, 'async_trait>(
    &'life0 self,
    input: CreateNamedQueryInput
) -> Pin<Box<dyn Future<Output = Result<CreateNamedQueryOutput, RusotoError<CreateNamedQueryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

pub fn create_work_group<'life0, 'async_trait>(
    &'life0 self,
    input: CreateWorkGroupInput
) -> Pin<Box<dyn Future<Output = Result<CreateWorkGroupOutput, RusotoError<CreateWorkGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a workgroup with the specified name.

pub fn delete_data_catalog<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteDataCatalogInput
) -> Pin<Box<dyn Future<Output = Result<DeleteDataCatalogOutput, RusotoError<DeleteDataCatalogError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a data catalog.

pub fn delete_named_query<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteNamedQueryInput
) -> Pin<Box<dyn Future<Output = Result<DeleteNamedQueryOutput, RusotoError<DeleteNamedQueryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

pub fn delete_work_group<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteWorkGroupInput
) -> Pin<Box<dyn Future<Output = Result<DeleteWorkGroupOutput, RusotoError<DeleteWorkGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn get_data_catalog<'life0, 'async_trait>(
    &'life0 self,
    input: GetDataCatalogInput
) -> Pin<Box<dyn Future<Output = Result<GetDataCatalogOutput, RusotoError<GetDataCatalogError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns the specified data catalog.

pub fn get_database<'life0, 'async_trait>(
    &'life0 self,
    input: GetDatabaseInput
) -> Pin<Box<dyn Future<Output = Result<GetDatabaseOutput, RusotoError<GetDatabaseError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a database object for the specfied database and data catalog.

pub fn get_named_query<'life0, 'async_trait>(
    &'life0 self,
    input: GetNamedQueryInput
) -> Pin<Box<dyn Future<Output = Result<GetNamedQueryOutput, RusotoError<GetNamedQueryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn get_query_execution<'life0, 'async_trait>(
    &'life0 self,
    input: GetQueryExecutionInput
) -> Pin<Box<dyn Future<Output = Result<GetQueryExecutionOutput, RusotoError<GetQueryExecutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

pub fn get_query_results<'life0, 'async_trait>(
    &'life0 self,
    input: GetQueryResultsInput
) -> Pin<Box<dyn Future<Output = Result<GetQueryResultsOutput, RusotoError<GetQueryResultsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Streams the results of a single query execution specified by QueryExecutionId from the Athena query results location in Amazon S3. For more information, see Query Results in the Amazon Athena User Guide. This request does not execute the query but returns results. Use StartQueryExecution to run a query.

To stream query results successfully, the IAM principal with permission to call GetQueryResults also must have permissions to the Amazon S3 GetObject action for the Athena query results location.

IAM principals with permission to the Amazon S3 GetObject action for the query results location are able to retrieve query results from Amazon S3 even if permission to the GetQueryResults action is denied. To restrict user or role access, ensure that Amazon S3 permissions to the Athena query location are denied.

pub fn get_table_metadata<'life0, 'async_trait>(
    &'life0 self,
    input: GetTableMetadataInput
) -> Pin<Box<dyn Future<Output = Result<GetTableMetadataOutput, RusotoError<GetTableMetadataError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns table metadata for the specified catalog, database, and table.

pub fn get_work_group<'life0, 'async_trait>(
    &'life0 self,
    input: GetWorkGroupInput
) -> Pin<Box<dyn Future<Output = Result<GetWorkGroupOutput, RusotoError<GetWorkGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about the workgroup with the specified name.

pub fn list_data_catalogs<'life0, 'async_trait>(
    &'life0 self,
    input: ListDataCatalogsInput
) -> Pin<Box<dyn Future<Output = Result<ListDataCatalogsOutput, RusotoError<ListDataCatalogsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the data catalogs in the current AWS account.

pub fn list_databases<'life0, 'async_trait>(
    &'life0 self,
    input: ListDatabasesInput
) -> Pin<Box<dyn Future<Output = Result<ListDatabasesOutput, RusotoError<ListDatabasesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the databases in the specified data catalog.

pub fn list_named_queries<'life0, 'async_trait>(
    &'life0 self,
    input: ListNamedQueriesInput
) -> Pin<Box<dyn Future<Output = Result<ListNamedQueriesOutput, RusotoError<ListNamedQueriesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the specified workgroup. If a workgroup is not specified, lists the saved queries for the primary workgroup.

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

pub fn list_query_executions<'life0, 'async_trait>(
    &'life0 self,
    input: ListQueryExecutionsInput
) -> Pin<Box<dyn Future<Output = Result<ListQueryExecutionsOutput, RusotoError<ListQueryExecutionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Provides a list of available query execution IDs for the queries in the specified workgroup. If a workgroup is not specified, returns a list of query execution IDs for the primary 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.

pub fn list_table_metadata<'life0, 'async_trait>(
    &'life0 self,
    input: ListTableMetadataInput
) -> Pin<Box<dyn Future<Output = Result<ListTableMetadataOutput, RusotoError<ListTableMetadataError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the metadata for the tables in the specified data catalog database.

pub fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceInput
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceOutput, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the tags associated with an Athena workgroup or data catalog resource.

pub fn list_work_groups<'life0, 'async_trait>(
    &'life0 self,
    input: ListWorkGroupsInput
) -> Pin<Box<dyn Future<Output = Result<ListWorkGroupsOutput, RusotoError<ListWorkGroupsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists available workgroups for the account.

pub fn start_query_execution<'life0, 'async_trait>(
    &'life0 self,
    input: StartQueryExecutionInput
) -> Pin<Box<dyn Future<Output = Result<StartQueryExecutionOutput, RusotoError<StartQueryExecutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Runs the SQL query statements contained in the Query. Requires you to have access to the workgroup in which the query ran. Running queries against an external catalog requires GetDataCatalog permission to the catalog. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

pub fn stop_query_execution<'life0, 'async_trait>(
    &'life0 self,
    input: StopQueryExecutionInput
) -> Pin<Box<dyn Future<Output = Result<StopQueryExecutionOutput, RusotoError<StopQueryExecutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

pub fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceInput
) -> Pin<Box<dyn Future<Output = Result<TagResourceOutput, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds one or more tags to an Athena resource. A tag is a label that you assign to a resource. In Athena, a resource can be a workgroup or data catalog. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena workgroups or data catalogs by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups or data catalogs in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.

pub fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceInput
) -> Pin<Box<dyn Future<Output = Result<UntagResourceOutput, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes one or more tags from a data catalog or workgroup resource.

pub fn update_data_catalog<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateDataCatalogInput
) -> Pin<Box<dyn Future<Output = Result<UpdateDataCatalogOutput, RusotoError<UpdateDataCatalogError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the data catalog that has the specified name.

pub fn update_work_group<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateWorkGroupInput
) -> Pin<Box<dyn Future<Output = Result<UpdateWorkGroupOutput, RusotoError<UpdateWorkGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

Loading content...