class Amazonite::Ssm::InventoryResultItem

Overview

The inventory result item.

Included Modules

Defined in:

ssm/inventory_result_item.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type_name : String, schema_version : String, content : Array(Hash(String, String)), capture_time : String | Nil = nil, content_hash : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def capture_time : String | Nil #

The time inventory item data was captured.


[View source]
def capture_time=(capture_time : String | Nil) #

The time inventory item data was captured.


[View source]
def content : Array(Hash(String, String)) #

Contains all the inventory data of the item type. Results include attribute names and values.


[View source]
def content=(content : Array(Hash(String, String))) #

Contains all the inventory data of the item type. Results include attribute names and values.


[View source]
def content_hash : String | Nil #

MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update.


[View source]
def content_hash=(content_hash : String | Nil) #

MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def schema_version : String #

The schema version for the inventory result item/


[View source]
def schema_version=(schema_version : String) #

The schema version for the inventory result item/


[View source]
def type_name : String #

The name of the inventory result item type.


[View source]
def type_name=(type_name : String) #

The name of the inventory result item type.


[View source]
def validate! : Nil #

[View source]