class Amazonite::EventBridge::PutEventsResponse

Included Modules

Defined in:

eventbridge/put_events_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(failed_entry_count : Int32 | Nil = nil, entries : Array(PutEventsResultEntry) | Nil = nil) #

[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 entries : Array(PutEventsResultEntry) | Nil #

The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.

For each record, the index of the response element is the same as the index in the request array.


[View source]
def entries=(entries : Array(PutEventsResultEntry) | Nil) #

The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.

For each record, the index of the response element is the same as the index in the request array.


[View source]
def failed_entry_count : Int32 | Nil #

The number of failed entries.


[View source]
def failed_entry_count=(failed_entry_count : Int32 | Nil) #

The number of failed entries.


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

See Object#hash(hasher)


def validate! : Nil #

[View source]