Struct aws_sdk_ssm::model::InventoryFilter
source · [−]#[non_exhaustive]pub struct InventoryFilter {
pub key: Option<String>,
pub values: Option<Vec<String>>,
pub type: Option<InventoryQueryOperatorType>,
}
Expand description
One or more filters. Use a filter to return a more specific list of results.
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.key: Option<String>
The name of the filter key.
values: Option<Vec<String>>
Inventory filter values. Example: inventory filter where managed node IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
.
type: Option<InventoryQueryOperatorType>
The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.
Implementations
sourceimpl InventoryFilter
impl InventoryFilter
sourcepub fn values(&self) -> Option<&[String]>
pub fn values(&self) -> Option<&[String]>
Inventory filter values. Example: inventory filter where managed node IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
.
sourcepub fn type(&self) -> Option<&InventoryQueryOperatorType>
pub fn type(&self) -> Option<&InventoryQueryOperatorType>
The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.
sourceimpl InventoryFilter
impl InventoryFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InventoryFilter
.
Trait Implementations
sourceimpl Clone for InventoryFilter
impl Clone for InventoryFilter
sourcefn clone(&self) -> InventoryFilter
fn clone(&self) -> InventoryFilter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InventoryFilter
impl Debug for InventoryFilter
sourceimpl PartialEq<InventoryFilter> for InventoryFilter
impl PartialEq<InventoryFilter> for InventoryFilter
sourcefn eq(&self, other: &InventoryFilter) -> bool
fn eq(&self, other: &InventoryFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InventoryFilter) -> bool
fn ne(&self, other: &InventoryFilter) -> bool
This method tests for !=
.
impl StructuralPartialEq for InventoryFilter
Auto Trait Implementations
impl RefUnwindSafe for InventoryFilter
impl Send for InventoryFilter
impl Sync for InventoryFilter
impl Unpin for InventoryFilter
impl UnwindSafe for InventoryFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more