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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/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)


8432
8433
8434
8435
8436
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8432

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:



8432
8433
8434
8435
8436
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8432

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