Struct aws_sdk_emr::client::fluent_builders::CancelSteps [−][src]
pub struct CancelSteps<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CancelSteps.
Cancels a pending step or steps in a running cluster. Available only in Amazon EMR
versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in
each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee
that a step will be canceled, even if the request is successfully submitted. When you use Amazon EMR versions 5.28.0 and later, you can cancel steps that are in a PENDING or RUNNING state. In earlier versions of Amazon EMR, you can only cancel steps that are in a PENDING state.
Implementations
impl<C, M, R> CancelSteps<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CancelSteps<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<CancelStepsOutput, SdkError<CancelStepsError>> where
R::Policy: SmithyRetryPolicy<CancelStepsInputOperationOutputAlias, CancelStepsOutput, CancelStepsError, CancelStepsInputOperationRetryAlias>,
pub async fn send(self) -> Result<CancelStepsOutput, SdkError<CancelStepsError>> where
R::Policy: SmithyRetryPolicy<CancelStepsInputOperationOutputAlias, CancelStepsOutput, CancelStepsError, CancelStepsInputOperationRetryAlias>,
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.
The ClusterID for the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.
The ClusterID for the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.
Appends an item to StepIds.
To override the contents of this collection use set_step_ids.
The list of StepIDs to cancel. Use ListSteps to get steps
and their states for the specified cluster.
The list of StepIDs to cancel. Use ListSteps to get steps
and their states for the specified cluster.
The option to choose to cancel RUNNING steps. By default, the value is
SEND_INTERRUPT.
The option to choose to cancel RUNNING steps. By default, the value is
SEND_INTERRUPT.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CancelSteps<C, M, R>
impl<C, M, R> Unpin for CancelSteps<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CancelSteps<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more