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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssm/types.rb

Overview

Note:

When making an API call, you may pass PutInventoryRequest data as a 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)


10926
10927
10928
10929
10930
# File 'lib/aws-sdk-ssm/types.rb', line 10926

class PutInventoryRequest < Struct.new(
  :instance_id,
  :items)
  include Aws::Structure
end

#itemsArray<Types::InventoryItem>

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

Returns:



10926
10927
10928
10929
10930
# File 'lib/aws-sdk-ssm/types.rb', line 10926

class PutInventoryRequest < Struct.new(
  :instance_id,
  :items)
  include Aws::Structure
end