class Amazonite::Sns::BatchResultErrorEntry

Overview

Gives a detailed description of failed messages in the batch.

Defined in:

sns/batch_result_error_entry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(id : String, code : String, sender_fault : Bool, 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 code : String #

An error code representing why the action failed on this entry.


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

An error code representing why the action failed on this entry.


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

See Object#hash(hasher)


def id : String #

The Id of an entry in a batch request


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

The Id of an entry in a batch request


[View source]
def message : String | Nil #

A message explaining why the action failed on this entry.


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

A message explaining why the action failed on this entry.


[View source]
def sender_fault : Bool #

Specifies whether the error happened due to the caller of the batch API action.


[View source]
def sender_fault=(sender_fault : Bool) #

Specifies whether the error happened due to the caller of the batch API action.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]