// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CancelQuery`](crate::operation::cancel_query::builders::CancelQueryFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`event_data_store(impl Into<String>)`](crate::operation::cancel_query::builders::CancelQueryFluentBuilder::event_data_store) / [`set_event_data_store(Option<String>)`](crate::operation::cancel_query::builders::CancelQueryFluentBuilder::set_event_data_store):<br>required: **false**<br><p>The ARN (or the ID suffix of the ARN) of an event data store on which the specified query is running.</p><br>
/// - [`query_id(impl Into<String>)`](crate::operation::cancel_query::builders::CancelQueryFluentBuilder::query_id) / [`set_query_id(Option<String>)`](crate::operation::cancel_query::builders::CancelQueryFluentBuilder::set_query_id):<br>required: **true**<br><p>The ID of the query that you want to cancel. The <code>QueryId</code> comes from the response of a <code>StartQuery</code> operation.</p><br>
/// - On success, responds with [`CancelQueryOutput`](crate::operation::cancel_query::CancelQueryOutput) with field(s):
/// - [`query_id(String)`](crate::operation::cancel_query::CancelQueryOutput::query_id): <p>The ID of the canceled query.</p>
/// - [`query_status(QueryStatus)`](crate::operation::cancel_query::CancelQueryOutput::query_status): <p>Shows the status of a query after a <code>CancelQuery</code> request. Typically, the values shown are either <code>RUNNING</code> or <code>CANCELLED</code>.</p>
/// - On failure, responds with [`SdkError<CancelQueryError>`](crate::operation::cancel_query::CancelQueryError)
pub fn cancel_query(&self) -> crate::operation::cancel_query::builders::CancelQueryFluentBuilder {
crate::operation::cancel_query::builders::CancelQueryFluentBuilder::new(self.handle.clone())
}
}