ssm_get_inventory: Query inventory information

Description Usage Arguments Value Request syntax

View source: R/ssm_operations.R

Description

Query inventory information.

Usage

1
2
ssm_get_inventory(Filters, Aggregators, ResultAttributes, NextToken,
  MaxResults)

Arguments

Filters

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

Aggregators

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.

ResultAttributes

The list of inventory item types to return.

NextToken

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

MaxResults

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.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
list(
  Entities = list(
    list(
      Id = "string",
      Data = list(
        list(
          TypeName = "string",
          SchemaVersion = "string",
          CaptureTime = "string",
          ContentHash = "string",
          Content = list(
            list(
              "string"
            )
          )
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
svc$get_inventory(
  Filters = list(
    list(
      Key = "string",
      Values = list(
        "string"
      ),
      Type = "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"|"Exists"
    )
  ),
  Aggregators = list(
    list(
      Expression = "string",
      Aggregators = list(),
      Groups = list(
        list(
          Name = "string",
          Filters = list(
            list(
              Key = "string",
              Values = list(
                "string"
              ),
              Type = "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"|"Exists"
            )
          )
        )
      )
    )
  ),
  ResultAttributes = list(
    list(
      TypeName = "string"
    )
  ),
  NextToken = "string",
  MaxResults = 123
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.