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 ==
.