You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SSM::Types::PutInventoryRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutInventoryRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  instance_id: "InstanceId", # required
  items: [ # required
    {
      type_name: "InventoryItemTypeName", # required
      schema_version: "InventoryItemSchemaVersion", # required
      capture_time: "InventoryItemCaptureTime", # required
      content_hash: "InventoryItemContentHash",
      content: [
        {
          "AttributeName" => "AttributeValue",
        },
      ],
      context: {
        "AttributeName" => "AttributeValue",
      },
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

One or more instance IDs where you want to add or update inventory items.

Returns:

  • (String)

    One or more instance IDs where you want to add or update inventory items.

#itemsArray<Types::InventoryItem>

The inventory items that you want to add or update on instances.

Returns:

  • (Array<Types::InventoryItem>)

    The inventory items that you want to add or update on instances.