Skip to content

List Resource Inventory

licensemanager_list_resource_inventory R Documentation

Lists resources managed using Systems Manager inventory

Description

Lists resources managed using Systems Manager inventory.

Usage

licensemanager_list_resource_inventory(MaxResults, NextToken, Filters)

Arguments

MaxResults

Maximum number of results to return in a single call.

NextToken

Token for the next set of results.

Filters

Filters to scope the results. The following filters and logical operators are supported:

  • account_id - The ID of the Amazon Web Services account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

  • application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH.

  • license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.

  • platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH.

  • resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.

  • ⁠tag:<key>⁠ - The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).

Value

A list with the following syntax:

list(
  ResourceInventoryList = list(
    list(
      ResourceId = "string",
      ResourceType = "EC2_INSTANCE"|"EC2_HOST"|"EC2_AMI"|"RDS"|"SYSTEMS_MANAGER_MANAGED_INSTANCE",
      ResourceArn = "string",
      Platform = "string",
      PlatformVersion = "string",
      ResourceOwningAccountId = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_resource_inventory(
  MaxResults = 123,
  NextToken = "string",
  Filters = list(
    list(
      Name = "string",
      Condition = "EQUALS"|"NOT_EQUALS"|"BEGINS_WITH"|"CONTAINS",
      Value = "string"
    )
  )
)