Struct aws_sdk_ssm::operation::cancel_command::CancelCommandInput
source · #[non_exhaustive]pub struct CancelCommandInput {
pub command_id: Option<String>,
pub instance_ids: Option<Vec<String>>,
}
Expand description
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.command_id: Option<String>
The ID of the command you want to cancel.
instance_ids: Option<Vec<String>>
(Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.
Implementations§
source§impl CancelCommandInput
impl CancelCommandInput
sourcepub fn command_id(&self) -> Option<&str>
pub fn command_id(&self) -> Option<&str>
The ID of the command you want to cancel.
sourcepub fn instance_ids(&self) -> &[String]
pub fn instance_ids(&self) -> &[String]
(Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_ids.is_none()
.
source§impl CancelCommandInput
impl CancelCommandInput
sourcepub fn builder() -> CancelCommandInputBuilder
pub fn builder() -> CancelCommandInputBuilder
Creates a new builder-style object to manufacture CancelCommandInput
.
Trait Implementations§
source§impl Clone for CancelCommandInput
impl Clone for CancelCommandInput
source§fn clone(&self) -> CancelCommandInput
fn clone(&self) -> CancelCommandInput
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 CancelCommandInput
impl Debug for CancelCommandInput
source§impl PartialEq for CancelCommandInput
impl PartialEq for CancelCommandInput
source§fn eq(&self, other: &CancelCommandInput) -> bool
fn eq(&self, other: &CancelCommandInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CancelCommandInput
Auto Trait Implementations§
impl RefUnwindSafe for CancelCommandInput
impl Send for CancelCommandInput
impl Sync for CancelCommandInput
impl Unpin for CancelCommandInput
impl UnwindSafe for CancelCommandInput
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
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>
Creates a shared type from an unshared type.