aws_sdk_athena/client/stop_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 [`StopQueryExecution`](crate::operation::stop_query_execution::builders::StopQueryExecutionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`query_execution_id(impl Into<String>)`](crate::operation::stop_query_execution::builders::StopQueryExecutionFluentBuilder::query_execution_id) / [`set_query_execution_id(Option<String>)`](crate::operation::stop_query_execution::builders::StopQueryExecutionFluentBuilder::set_query_execution_id):<br>required: **true**<br><p>The unique ID of the query execution to stop.</p><br>
7 /// - On success, responds with [`StopQueryExecutionOutput`](crate::operation::stop_query_execution::StopQueryExecutionOutput)
8 /// - On failure, responds with [`SdkError<StopQueryExecutionError>`](crate::operation::stop_query_execution::StopQueryExecutionError)
9 pub fn stop_query_execution(&self) -> crate::operation::stop_query_execution::builders::StopQueryExecutionFluentBuilder {
10 crate::operation::stop_query_execution::builders::StopQueryExecutionFluentBuilder::new(self.handle.clone())
11 }
12}