class
Amazonite::EventBridge::PutEventsResultEntry
- Amazonite::EventBridge::PutEventsResultEntry
- Reference
- Object
Overview
Represents the results of an event submitted to an event bus.
If the submission 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 information about the errors that are common to all actions, see Common Errors.
Included Modules
- JSON::Serializable
Defined in:
eventbridge/put_events_result_entry.crConstructors
- .new(pull : JSON::PullParser)
- .new(event_id : String | Nil = nil, error_code : String | Nil = nil, error_message : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#error_code : String | Nil
The error code that indicates why the event submission failed.
-
#error_code=(error_code : String | Nil)
The error code that indicates why the event submission failed.
-
#error_message : String | Nil
The error message that explains why the event submission failed.
-
#error_message=(error_message : String | Nil)
The error message that explains why the event submission failed.
-
#event_id : String | Nil
The ID of the event.
-
#event_id=(event_id : String | Nil)
The ID of the event.
-
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The error code that indicates why the event submission failed.
Retryable errors include:
[InternalFailure](https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html)
The request processing has failed because of an unknown error, exception or failure.
[ThrottlingException](https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html)
The request was denied due to request throttling.
Non-retryable errors include:
[AccessDeniedException](https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html)
You do not have sufficient access to perform this action.
InvalidAccountIdException
The account ID provided is not valid.
InvalidArgument
A specified parameter is not valid.
MalformedDetail
The JSON provided is not valid.
RedactionFailure
Redacting the CloudTrail event failed.
NotAuthorizedForSourceException
You do not have permissions to publish events with this source onto this event bus.
NotAuthorizedForDetailTypeException
You do not have permissions to publish events with this detail type onto this event bus.
The error code that indicates why the event submission failed.
Retryable errors include:
[InternalFailure](https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html)
The request processing has failed because of an unknown error, exception or failure.
[ThrottlingException](https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html)
The request was denied due to request throttling.
Non-retryable errors include:
[AccessDeniedException](https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html)
You do not have sufficient access to perform this action.
InvalidAccountIdException
The account ID provided is not valid.
InvalidArgument
A specified parameter is not valid.
MalformedDetail
The JSON provided is not valid.
RedactionFailure
Redacting the CloudTrail event failed.
NotAuthorizedForSourceException
You do not have permissions to publish events with this source onto this event bus.
NotAuthorizedForDetailTypeException
You do not have permissions to publish events with this detail type onto this event bus.
The error message that explains why the event submission failed.