Struct aws_sdk_emr::input::CancelStepsInput
source · [−]#[non_exhaustive]pub struct CancelStepsInput {
pub cluster_id: Option<String>,
pub step_ids: Option<Vec<String>>,
pub step_cancellation_option: Option<StepCancellationOption>,
}Expand description
The input argument to the CancelSteps operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cluster_id: Option<String>The ClusterID for the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.
step_ids: Option<Vec<String>>The list of StepIDs to cancel. Use ListSteps to get steps and their states for the specified cluster.
step_cancellation_option: Option<StepCancellationOption>The option to choose to cancel RUNNING steps. By default, the value is SEND_INTERRUPT.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CancelSteps, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CancelSteps, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CancelSteps>
Creates a new builder-style object to manufacture CancelStepsInput
The ClusterID for the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.
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.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CancelStepsInput
impl Send for CancelStepsInput
impl Sync for CancelStepsInput
impl Unpin for CancelStepsInput
impl UnwindSafe for CancelStepsInput
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