You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SSM::Types::GetInventoryRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSM::Types::GetInventoryRequest
- Defined in:
- (unknown)
Overview
When passing GetInventoryRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
filters: [
{
key: "InventoryFilterKey", # required
values: ["InventoryFilterValue"], # required
type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
},
],
aggregators: [
{
expression: "InventoryAggregatorExpression",
aggregators: {
# recursive InventoryAggregatorList
},
groups: [
{
name: "InventoryGroupName", # required
filters: [ # required
{
key: "InventoryFilterKey", # required
values: ["InventoryFilterValue"], # required
type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
},
],
},
],
},
],
result_attributes: [
{
type_name: "InventoryItemTypeName", # required
},
],
next_token: "NextToken",
max_results: 1,
}
Instance Attribute Summary collapse
-
#aggregators ⇒ Array<Types::InventoryAggregator>
Returns counts of inventory types based on one or more expressions.
-
#filters ⇒ Array<Types::InventoryFilter>
One or more filters.
-
#max_results ⇒ Integer
The maximum number of items to return for this call.
-
#next_token ⇒ String
The token for the next set of items to return.
-
#result_attributes ⇒ Array<Types::ResultAttribute>
The list of inventory item types to return.
Instance Attribute Details
#aggregators ⇒ Array<Types::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 instances exist in your inventoried fleet.
#filters ⇒ Array<Types::InventoryFilter>
One or more filters. Use a filter to return a more specific list of results.
#max_results ⇒ Integer
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.
#next_token ⇒ String
The token for the next set of items to return. (You received this token from a previous call.)
#result_attributes ⇒ Array<Types::ResultAttribute>
The list of inventory item types to return.