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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[String]>
pub fn step_ids(&self) -> Option<&[String]>
The list of StepIDs to cancel. Use ListSteps to get steps and their states for the specified cluster.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CancelStepsInput
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§
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
Mutably borrows from an owned value. Read more