[−][src]Struct rusoto_athena::AthenaClient
A client for the Amazon Athena API.
Methods
impl AthenaClient
[src]
pub fn new(region: Region) -> AthenaClient
[src]
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> AthenaClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
[src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> AthenaClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
Trait Implementations
impl Athena for AthenaClient
[src]
fn batch_get_named_query(
&self,
input: BatchGetNamedQueryInput
) -> RusotoFuture<BatchGetNamedQueryOutput, BatchGetNamedQueryError>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&self,
input: CreateWorkGroupInput
) -> RusotoFuture<CreateWorkGroupOutput, CreateWorkGroupError>
Creates a workgroup with the specified name.
fn delete_named_query(
&self,
input: DeleteNamedQueryInput
) -> RusotoFuture<DeleteNamedQueryOutput, DeleteNamedQueryError>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&self,
input: GetWorkGroupInput
) -> RusotoFuture<GetWorkGroupOutput, GetWorkGroupError>
Returns information about the workgroup with the specified name.
fn list_named_queries(
&self,
input: ListNamedQueriesInput
) -> RusotoFuture<ListNamedQueriesOutput, ListNamedQueriesError>
[src]
&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>
[src]
&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_tags_for_resource(
&self,
input: ListTagsForResourceInput
) -> RusotoFuture<ListTagsForResourceOutput, ListTagsForResourceError>
[src]
&self,
input: ListTagsForResourceInput
) -> RusotoFuture<ListTagsForResourceOutput, ListTagsForResourceError>
Lists the tags associated with this workgroup.
fn list_work_groups(
&self,
input: ListWorkGroupsInput
) -> RusotoFuture<ListWorkGroupsOutput, ListWorkGroupsError>
[src]
&self,
input: ListWorkGroupsInput
) -> RusotoFuture<ListWorkGroupsOutput, ListWorkGroupsError>
Lists available workgroups for the account.
fn start_query_execution(
&self,
input: StartQueryExecutionInput
) -> RusotoFuture<StartQueryExecutionOutput, StartQueryExecutionError>
[src]
&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>
[src]
&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 tag_resource(
&self,
input: TagResourceInput
) -> RusotoFuture<TagResourceOutput, TagResourceError>
[src]
&self,
input: TagResourceInput
) -> RusotoFuture<TagResourceOutput, TagResourceError>
Adds one or more tags to the resource, such as a workgroup. A tag is a label that you assign to an AWS Athena resource (a workgroup). Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize resources (workgroups) in Athena, for example, by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups in your account. For best practices, see AWS Tagging Strategies. The key length is from 1 (minimum) to 128 (maximum) Unicode characters in UTF-8. The tag value length is from 0 (minimum) to 256 (maximum) Unicode characters in UTF-8. You 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, separate them by commas.
fn untag_resource(
&self,
input: UntagResourceInput
) -> RusotoFuture<UntagResourceOutput, UntagResourceError>
[src]
&self,
input: UntagResourceInput
) -> RusotoFuture<UntagResourceOutput, UntagResourceError>
Removes one or more tags from the workgroup resource. Takes as an input a list of TagKey Strings separated by commas, and removes their tags at the same time.
fn update_work_group(
&self,
input: UpdateWorkGroupInput
) -> RusotoFuture<UpdateWorkGroupOutput, UpdateWorkGroupError>
[src]
&self,
input: UpdateWorkGroupInput
) -> RusotoFuture<UpdateWorkGroupOutput, UpdateWorkGroupError>
Updates the workgroup with the specified name. The workgroup's name cannot be changed.
impl Clone for AthenaClient
[src]
fn clone(&self) -> AthenaClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for AthenaClient
impl Sync for AthenaClient
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self