Struct aws_sdk_emr::operation::cancel_steps::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§
source§impl CancelStepsInput
impl CancelStepsInput
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
The ClusterID
for the specified steps that will be canceled. Use RunJobFlow
and ListClusters
to get ClusterIDs.
sourcepub fn step_ids(&self) -> &[String]
pub fn step_ids(&self) -> &[String]
The list of StepIDs
to cancel. Use ListSteps
to get steps and their states for the specified cluster.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .step_ids.is_none()
.
sourcepub fn step_cancellation_option(&self) -> Option<&StepCancellationOption>
pub fn step_cancellation_option(&self) -> Option<&StepCancellationOption>
The option to choose to cancel RUNNING
steps. By default, the value is SEND_INTERRUPT
.
source§impl CancelStepsInput
impl CancelStepsInput
sourcepub fn builder() -> CancelStepsInputBuilder
pub fn builder() -> CancelStepsInputBuilder
Creates a new builder-style object to manufacture CancelStepsInput
.
Trait Implementations§
source§impl Clone for CancelStepsInput
impl Clone for CancelStepsInput
source§fn clone(&self) -> CancelStepsInput
fn clone(&self) -> CancelStepsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CancelStepsInput
impl Debug for CancelStepsInput
source§impl PartialEq for CancelStepsInput
impl PartialEq for CancelStepsInput
source§fn eq(&self, other: &CancelStepsInput) -> bool
fn eq(&self, other: &CancelStepsInput) -> bool
self
and other
values to be equal, and is used
by ==
.