class Amazonite::Ssm::InventoryResultEntity

Overview

Inventory query results.

Included Modules

Defined in:

ssm/inventory_result_entity.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(id : String | Nil = nil, data : Hash(String, InventoryResultItem) | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable 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 data : Hash(String, InventoryResultItem) | Nil #

The data section in the inventory result entity JSON.


[View source]
def data=(data : Hash(String, InventoryResultItem) | Nil) #

The data section in the inventory result entity JSON.


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

See Object#hash(hasher)


def id : String | Nil #

ID of the inventory result entity. For example, for managed node inventory the result will be the managed node ID. For EC2 instance inventory, the result will be the instance ID.


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

ID of the inventory result entity. For example, for managed node inventory the result will be the managed node ID. For EC2 instance inventory, the result will be the instance ID.


[View source]
def validate! : Nil #

[View source]