class Amazonite::EventBridge::PutPartnerEventsResultEntry

Overview

The result of an event entry the partner submitted in this request. If the event was successfully submitted, 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.

Included Modules

Defined in:

eventbridge/put_partner_events_result_entry.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(event_id : String | Nil = nil, error_code : String | Nil = nil, error_message : String | 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 error_code : String | Nil #

The error code that indicates why the event submission failed.


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

The error code that indicates why the event submission failed.


[View source]
def error_message : String | Nil #

The error message that explains why the event submission failed.


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

The error message that explains why the event submission failed.


[View source]
def event_id : String | Nil #

The ID of the event.


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

The ID of the event.


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

See Object#hash(hasher)


def validate! : Nil #

[View source]