Struct aws_sdk_ssm::operation::get_inventory::GetInventoryInput
source · #[non_exhaustive]pub struct GetInventoryInput {
pub filters: Option<Vec<InventoryFilter>>,
pub aggregators: Option<Vec<InventoryAggregator>>,
pub result_attributes: Option<Vec<ResultAttribute>>,
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.filters: Option<Vec<InventoryFilter>>
One or more filters. Use a filter to return a more specific list of results.
aggregators: Option<Vec<InventoryAggregator>>
Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType
type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.
result_attributes: Option<Vec<ResultAttribute>>
The list of inventory item types to return.
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 items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
Implementations§
source§impl GetInventoryInput
impl GetInventoryInput
sourcepub fn filters(&self) -> &[InventoryFilter]
pub fn filters(&self) -> &[InventoryFilter]
One or more filters. Use a filter to return a more specific list of results.
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 aggregators(&self) -> &[InventoryAggregator]
pub fn aggregators(&self) -> &[InventoryAggregator]
Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType
type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .aggregators.is_none()
.
sourcepub fn result_attributes(&self) -> &[ResultAttribute]
pub fn result_attributes(&self) -> &[ResultAttribute]
The list of inventory item types to return.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .result_attributes.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 items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
source§impl GetInventoryInput
impl GetInventoryInput
sourcepub fn builder() -> GetInventoryInputBuilder
pub fn builder() -> GetInventoryInputBuilder
Creates a new builder-style object to manufacture GetInventoryInput
.
Trait Implementations§
source§impl Clone for GetInventoryInput
impl Clone for GetInventoryInput
source§fn clone(&self) -> GetInventoryInput
fn clone(&self) -> GetInventoryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetInventoryInput
impl Debug for GetInventoryInput
source§impl PartialEq for GetInventoryInput
impl PartialEq for GetInventoryInput
source§fn eq(&self, other: &GetInventoryInput) -> bool
fn eq(&self, other: &GetInventoryInput) -> bool
self
and other
values to be equal, and is used
by ==
.