pub struct CancelQueryFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CancelQuery
.
Cancels a query that has been issued. Cancellation is provided only if the query has not completed running before the cancellation request was issued. Because cancellation is an idempotent operation, subsequent cancellation requests will return a CancellationMessage
, indicating that the query has already been canceled. See code sample for details.
Implementations§
source§impl CancelQueryFluentBuilder
impl CancelQueryFluentBuilder
sourcepub fn as_input(&self) -> &CancelQueryInputBuilder
pub fn as_input(&self) -> &CancelQueryInputBuilder
Access the CancelQuery as a reference.
sourcepub async fn send(
self
) -> Result<CancelQueryOutput, SdkError<CancelQueryError, HttpResponse>>
pub async fn send( self ) -> Result<CancelQueryOutput, SdkError<CancelQueryError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CancelQueryOutput, CancelQueryError>, SdkError<CancelQueryError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CancelQueryOutput, CancelQueryError>, SdkError<CancelQueryError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn query_id(self, input: impl Into<String>) -> Self
pub fn query_id(self, input: impl Into<String>) -> Self
The ID of the query that needs to be cancelled. QueryID
is returned as part of the query result.
sourcepub fn set_query_id(self, input: Option<String>) -> Self
pub fn set_query_id(self, input: Option<String>) -> Self
The ID of the query that needs to be cancelled. QueryID
is returned as part of the query result.
sourcepub fn get_query_id(&self) -> &Option<String>
pub fn get_query_id(&self) -> &Option<String>
The ID of the query that needs to be cancelled. QueryID
is returned as part of the query result.
Trait Implementations§
source§impl Clone for CancelQueryFluentBuilder
impl Clone for CancelQueryFluentBuilder
source§fn clone(&self) -> CancelQueryFluentBuilder
fn clone(&self) -> CancelQueryFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more