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 ==.impl StructuralPartialEq for CancelStepsInput
Auto Trait Implementations§
impl Freeze for CancelStepsInput
impl RefUnwindSafe for CancelStepsInput
impl Send for CancelStepsInput
impl Sync for CancelStepsInput
impl Unpin for CancelStepsInput
impl UnwindSafe for CancelStepsInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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