Struct aws_sdk_ssm::types::InventoryItemSchema
source · #[non_exhaustive]pub struct InventoryItemSchema {
pub type_name: String,
pub version: Option<String>,
pub attributes: Vec<InventoryItemAttribute>,
pub display_name: Option<String>,
}
Expand description
The inventory item schema definition. Users can use this to compose inventory query filters.
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: String
The name of the inventory type. Default inventory item type names start with Amazon Web Services. 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
.
version: Option<String>
The schema version for the inventory item.
attributes: Vec<InventoryItemAttribute>
The schema attributes for inventory. This contains data type and attribute name.
display_name: Option<String>
The alias name of the inventory type. The alias name is used for display purposes.
Implementations§
source§impl InventoryItemSchema
impl InventoryItemSchema
sourcepub fn type_name(&self) -> &str
pub fn type_name(&self) -> &str
The name of the inventory type. Default inventory item type names start with Amazon Web Services. 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 attributes(&self) -> &[InventoryItemAttribute]
pub fn attributes(&self) -> &[InventoryItemAttribute]
The schema attributes for inventory. This contains data type and attribute name.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The alias name of the inventory type. The alias name is used for display purposes.
source§impl InventoryItemSchema
impl InventoryItemSchema
sourcepub fn builder() -> InventoryItemSchemaBuilder
pub fn builder() -> InventoryItemSchemaBuilder
Creates a new builder-style object to manufacture InventoryItemSchema
.
Trait Implementations§
source§impl Clone for InventoryItemSchema
impl Clone for InventoryItemSchema
source§fn clone(&self) -> InventoryItemSchema
fn clone(&self) -> InventoryItemSchema
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InventoryItemSchema
impl Debug for InventoryItemSchema
source§impl PartialEq for InventoryItemSchema
impl PartialEq for InventoryItemSchema
source§fn eq(&self, other: &InventoryItemSchema) -> bool
fn eq(&self, other: &InventoryItemSchema) -> bool
self
and other
values to be equal, and is used
by ==
.