#[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 ==
.impl StructuralPartialEq for DescribeInstancePatchesInput
Auto Trait Implementations§
impl Freeze for DescribeInstancePatchesInput
impl RefUnwindSafe for DescribeInstancePatchesInput
impl Send for DescribeInstancePatchesInput
impl Sync for DescribeInstancePatchesInput
impl Unpin for DescribeInstancePatchesInput
impl UnwindSafe for DescribeInstancePatchesInput
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