Struct aws_sdk_redshiftdata::operation::cancel_statement::builders::CancelStatementFluentBuilder
source · pub struct CancelStatementFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CancelStatement.
Cancels a running query. To be canceled, a query must be running.
For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.
Implementations§
source§impl CancelStatementFluentBuilder
impl CancelStatementFluentBuilder
sourcepub fn as_input(&self) -> &CancelStatementInputBuilder
pub fn as_input(&self) -> &CancelStatementInputBuilder
Access the CancelStatement as a reference.
sourcepub async fn send(
self
) -> Result<CancelStatementOutput, SdkError<CancelStatementError, HttpResponse>>
pub async fn send( self ) -> Result<CancelStatementOutput, SdkError<CancelStatementError, 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 fn customize(
self
) -> CustomizableOperation<CancelStatementOutput, CancelStatementError, Self>
pub fn customize( self ) -> CustomizableOperation<CancelStatementOutput, CancelStatementError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the SQL statement to cancel. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment, ExecuteStatment, and ListStatements.
Trait Implementations§
source§impl Clone for CancelStatementFluentBuilder
impl Clone for CancelStatementFluentBuilder
source§fn clone(&self) -> CancelStatementFluentBuilder
fn clone(&self) -> CancelStatementFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more