pub struct StopCalculationExecution { /* 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 StopCalculationExecution
impl StopCalculationExecution
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StopCalculationExecution, AwsResponseRetryClassifier>, SdkError<StopCalculationExecutionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<StopCalculationExecution, AwsResponseRetryClassifier>, SdkError<StopCalculationExecutionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<StopCalculationExecutionOutput, SdkError<StopCalculationExecutionError>>
pub async fn send( self ) -> Result<StopCalculationExecutionOutput, SdkError<StopCalculationExecutionError>>
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 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.
Trait Implementations§
source§impl Clone for StopCalculationExecution
impl Clone for StopCalculationExecution
source§fn clone(&self) -> StopCalculationExecution
fn clone(&self) -> StopCalculationExecution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more