Struct aws_sdk_ssm::model::InventoryItem
source · [−]#[non_exhaustive]pub struct InventoryItem {
pub type_name: Option<String>,
pub schema_version: Option<String>,
pub capture_time: Option<String>,
pub content_hash: Option<String>,
pub content: Option<Vec<HashMap<String, String>>>,
pub context: Option<HashMap<String, String>>,
}Expand description
Information collected from managed nodes based on your inventory policy document
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.type_name: Option<String>The name of the inventory type. Default inventory item type names start with AWS. Custom inventory type names will start with Custom. Default inventory item types include the following: AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate.
schema_version: Option<String>The schema version for the inventory item.
capture_time: Option<String>The time the inventory information was collected.
content_hash: Option<String>MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update.
content: Option<Vec<HashMap<String, String>>>The inventory data of the inventory type.
context: Option<HashMap<String, String>>A map of associated properties for a specified inventory type. For example, with this attribute, you can specify the ExecutionId, ExecutionType, ComplianceType properties of the AWS:ComplianceItem type.
Implementations
sourceimpl InventoryItem
impl InventoryItem
sourcepub fn type_name(&self) -> Option<&str>
pub fn type_name(&self) -> Option<&str>
The name of the inventory type. Default inventory item type names start with AWS. Custom inventory type names will start with Custom. Default inventory item types include the following: AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate.
sourcepub fn schema_version(&self) -> Option<&str>
pub fn schema_version(&self) -> Option<&str>
The schema version for the inventory item.
sourcepub fn capture_time(&self) -> Option<&str>
pub fn capture_time(&self) -> Option<&str>
The time the inventory information was collected.
sourcepub fn content_hash(&self) -> Option<&str>
pub fn content_hash(&self) -> Option<&str>
MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update.
sourceimpl InventoryItem
impl InventoryItem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InventoryItem
Trait Implementations
sourceimpl Clone for InventoryItem
impl Clone for InventoryItem
sourcefn clone(&self) -> InventoryItem
fn clone(&self) -> InventoryItem
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 InventoryItem
impl Debug for InventoryItem
sourceimpl PartialEq<InventoryItem> for InventoryItem
impl PartialEq<InventoryItem> for InventoryItem
sourcefn eq(&self, other: &InventoryItem) -> bool
fn eq(&self, other: &InventoryItem) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InventoryItem) -> bool
fn ne(&self, other: &InventoryItem) -> bool
This method tests for !=.
impl StructuralPartialEq for InventoryItem
Auto Trait Implementations
impl RefUnwindSafe for InventoryItem
impl Send for InventoryItem
impl Sync for InventoryItem
impl Unpin for InventoryItem
impl UnwindSafe for InventoryItem
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