Struct aws_sdk_athena::operation::stop_calculation_execution::builders::StopCalculationExecutionFluentBuilder
source · pub struct StopCalculationExecutionFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StopCalculationExecution.
Requests the cancellation of a calculation. A StopCalculationExecution call on a calculation that is already in a terminal state (for example, STOPPED, FAILED, or COMPLETED) succeeds but has no effect.
Cancelling a calculation is done on a best effort basis. If a calculation cannot be cancelled, you can be charged for its completion. If you are concerned about being charged for a calculation that cannot be cancelled, consider terminating the session in which the calculation is running.
Implementations§
source§impl StopCalculationExecutionFluentBuilder
impl StopCalculationExecutionFluentBuilder
sourcepub fn as_input(&self) -> &StopCalculationExecutionInputBuilder
pub fn as_input(&self) -> &StopCalculationExecutionInputBuilder
Access the StopCalculationExecution as a reference.
sourcepub async fn send(
self,
) -> Result<StopCalculationExecutionOutput, SdkError<StopCalculationExecutionError, HttpResponse>>
pub async fn send( self, ) -> Result<StopCalculationExecutionOutput, SdkError<StopCalculationExecutionError, 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<StopCalculationExecutionOutput, StopCalculationExecutionError, Self>
pub fn customize( self, ) -> CustomizableOperation<StopCalculationExecutionOutput, StopCalculationExecutionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn calculation_execution_id(self, input: impl Into<String>) -> Self
pub fn calculation_execution_id(self, input: impl Into<String>) -> Self
The calculation execution UUID.
sourcepub fn set_calculation_execution_id(self, input: Option<String>) -> Self
pub fn set_calculation_execution_id(self, input: Option<String>) -> Self
The calculation execution UUID.
sourcepub fn get_calculation_execution_id(&self) -> &Option<String>
pub fn get_calculation_execution_id(&self) -> &Option<String>
The calculation execution UUID.
Trait Implementations§
source§impl Clone for StopCalculationExecutionFluentBuilder
impl Clone for StopCalculationExecutionFluentBuilder
source§fn clone(&self) -> StopCalculationExecutionFluentBuilder
fn clone(&self) -> StopCalculationExecutionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for StopCalculationExecutionFluentBuilder
impl !RefUnwindSafe for StopCalculationExecutionFluentBuilder
impl Send for StopCalculationExecutionFluentBuilder
impl Sync for StopCalculationExecutionFluentBuilder
impl Unpin for StopCalculationExecutionFluentBuilder
impl !UnwindSafe for StopCalculationExecutionFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more