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
sourceimpl CancelStepsInput
impl CancelStepsInput
sourcepub 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>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CancelStepsInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for CancelStepsInput
impl Clone for CancelStepsInput
sourcefn clone(&self) -> CancelStepsInput
fn clone(&self) -> CancelStepsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CancelStepsInput
impl Debug for CancelStepsInput
sourceimpl PartialEq<CancelStepsInput> for CancelStepsInput
impl PartialEq<CancelStepsInput> for CancelStepsInput
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &CancelStepsInput) -> bool
fn ne(&self, other: &CancelStepsInput) -> bool
This method tests for !=.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more