Skip to content

Put Inventory

ssm_put_inventory R Documentation

Bulk update custom inventory items on one or more managed nodes

Description

Bulk update custom inventory items on one or more managed nodes. The request adds an inventory item, if it doesn't already exist, or updates an inventory item, if it does exist.

Usage

ssm_put_inventory(InstanceId, Items)

Arguments

InstanceId

[required] An managed node ID where you want to add or update inventory items.

Items

[required] The inventory items that you want to add or update on managed nodes.

Value

A list with the following syntax:

list(
  Message = "string"
)

Request syntax

svc$put_inventory(
  InstanceId = "string",
  Items = list(
    list(
      TypeName = "string",
      SchemaVersion = "string",
      CaptureTime = "string",
      ContentHash = "string",
      Content = list(
        list(
          "string"
        )
      ),
      Context = list(
        "string"
      )
    )
  )
)