Skip to content

/AWS1/CL_SSM=>GETINVENTORY()

About GetInventory

Query inventory information. This includes managed node status, such as Stopped or Terminated.

Method Signature

IMPORTING

Optional arguments:

IT_FILTERS TYPE /AWS1/CL_SSMINVENTORYFILTER=>TT_INVENTORYFILTERLIST TT_INVENTORYFILTERLIST

One or more filters. Use a filter to return a more specific list of results.

IT_AGGREGATORS TYPE /AWS1/CL_SSMINVAGGREGATOR=>TT_INVENTORYAGGREGATORLIST TT_INVENTORYAGGREGATORLIST

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.

IT_RESULTATTRIBUTES TYPE /AWS1/CL_SSMRESULTATTRIBUTE=>TT_RESULTATTRIBUTELIST TT_RESULTATTRIBUTELIST

The list of inventory item types to return.

IV_NEXTTOKEN TYPE /AWS1/SSMNEXTTOKEN /AWS1/SSMNEXTTOKEN

The token for the next set of items to return. (You received this token from a previous call.)

IV_MAXRESULTS TYPE /AWS1/SSMMAXRESULTS /AWS1/SSMMAXRESULTS

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMGETINVENTORYRESULT /AWS1/CL_SSMGETINVENTORYRESULT