aws_sdk_athena/client/
get_query_execution.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetQueryExecution`](crate::operation::get_query_execution::builders::GetQueryExecutionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`query_execution_id(impl Into<String>)`](crate::operation::get_query_execution::builders::GetQueryExecutionFluentBuilder::query_execution_id) / [`set_query_execution_id(Option<String>)`](crate::operation::get_query_execution::builders::GetQueryExecutionFluentBuilder::set_query_execution_id):<br>required: **true**<br><p>The unique ID of the query execution.</p><br>
7    /// - On success, responds with [`GetQueryExecutionOutput`](crate::operation::get_query_execution::GetQueryExecutionOutput) with field(s):
8    ///   - [`query_execution(Option<QueryExecution>)`](crate::operation::get_query_execution::GetQueryExecutionOutput::query_execution): <p>Information about the query execution.</p>
9    /// - On failure, responds with [`SdkError<GetQueryExecutionError>`](crate::operation::get_query_execution::GetQueryExecutionError)
10    pub fn get_query_execution(&self) -> crate::operation::get_query_execution::builders::GetQueryExecutionFluentBuilder {
11        crate::operation::get_query_execution::builders::GetQueryExecutionFluentBuilder::new(self.handle.clone())
12    }
13}