#[non_exhaustive]pub struct DescribeInstancePatchesInput {
pub instance_id: Option<String>,
pub filters: Option<Vec<PatchOrchestratorFilter>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.instance_id: Option<String>
The ID of the managed node whose patch state information should be retrieved.
filters: Option<Vec<PatchOrchestratorFilter>>
Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
-
Classification
Sample values:
Security
|SecurityUpdates
-
KBId
Sample values:
KB4480056
|java-1.7.0-openjdk.x86_64
-
Severity
Sample values:
Important
|Medium
|Low
-
State
Sample values:
Installed
|InstalledOther
|InstalledPendingReboot
For lists of all
State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User Guide.
next_token: Option<String>
The token for the next set of items to return. (You received this token from a previous call.)
max_results: Option<i32>
The maximum number of patches to return (per page).
Implementations§
source§impl DescribeInstancePatchesInput
impl DescribeInstancePatchesInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the managed node whose patch state information should be retrieved.
sourcepub fn filters(&self) -> &[PatchOrchestratorFilter]
pub fn filters(&self) -> &[PatchOrchestratorFilter]
Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
-
Classification
Sample values:
Security
|SecurityUpdates
-
KBId
Sample values:
KB4480056
|java-1.7.0-openjdk.x86_64
-
Severity
Sample values:
Important
|Medium
|Low
-
State
Sample values:
Installed
|InstalledOther
|InstalledPendingReboot
For lists of all
State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User Guide.
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()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of patches to return (per page).
source§impl DescribeInstancePatchesInput
impl DescribeInstancePatchesInput
sourcepub fn builder() -> DescribeInstancePatchesInputBuilder
pub fn builder() -> DescribeInstancePatchesInputBuilder
Creates a new builder-style object to manufacture DescribeInstancePatchesInput
.
Trait Implementations§
source§impl Clone for DescribeInstancePatchesInput
impl Clone for DescribeInstancePatchesInput
source§fn clone(&self) -> DescribeInstancePatchesInput
fn clone(&self) -> DescribeInstancePatchesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeInstancePatchesInput
impl Debug for DescribeInstancePatchesInput
source§impl PartialEq for DescribeInstancePatchesInput
impl PartialEq for DescribeInstancePatchesInput
source§fn eq(&self, other: &DescribeInstancePatchesInput) -> bool
fn eq(&self, other: &DescribeInstancePatchesInput) -> bool
self
and other
values to be equal, and is used
by ==
.