Struct aws_sdk_ssm::operation::list_commands::ListCommandsInput
source · #[non_exhaustive]pub struct ListCommandsInput {
pub command_id: Option<String>,
pub instance_id: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub filters: Option<Vec<CommandFilter>>,
}
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.command_id: Option<String>
(Optional) If provided, lists only the specified command.
instance_id: Option<String>
(Optional) Lists commands issued against this managed node ID.
You can't specify a managed node ID in the same command that you specify Status
= Pending
. This is because the command hasn't reached the managed node yet.
max_results: Option<i32>
(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
next_token: Option<String>
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
filters: Option<Vec<CommandFilter>>
(Optional) One or more filters. Use a filter to return a more specific list of results.
Implementations§
source§impl ListCommandsInput
impl ListCommandsInput
sourcepub fn command_id(&self) -> Option<&str>
pub fn command_id(&self) -> Option<&str>
(Optional) If provided, lists only the specified command.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
(Optional) Lists commands issued against this managed node ID.
You can't specify a managed node ID in the same command that you specify Status
= Pending
. This is because the command hasn't reached the managed node yet.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn filters(&self) -> &[CommandFilter]
pub fn filters(&self) -> &[CommandFilter]
(Optional) One or more filters. Use a filter to return a more specific list of results.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
source§impl ListCommandsInput
impl ListCommandsInput
sourcepub fn builder() -> ListCommandsInputBuilder
pub fn builder() -> ListCommandsInputBuilder
Creates a new builder-style object to manufacture ListCommandsInput
.
Trait Implementations§
source§impl Clone for ListCommandsInput
impl Clone for ListCommandsInput
source§fn clone(&self) -> ListCommandsInput
fn clone(&self) -> ListCommandsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCommandsInput
impl Debug for ListCommandsInput
source§impl PartialEq for ListCommandsInput
impl PartialEq for ListCommandsInput
source§fn eq(&self, other: &ListCommandsInput) -> bool
fn eq(&self, other: &ListCommandsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCommandsInput
Auto Trait Implementations§
impl Freeze for ListCommandsInput
impl RefUnwindSafe for ListCommandsInput
impl Send for ListCommandsInput
impl Sync for ListCommandsInput
impl Unpin for ListCommandsInput
impl UnwindSafe for ListCommandsInput
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