class Amazonite::EventBridge::PutPartnerEventsRequestEntry

Overview

The details about an event generated by an SaaS partner.

Included Modules

Defined in:

eventbridge/put_partner_events_request_entry.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(time : Time | Nil = nil, source : String | Nil = nil, resources : Array(String) | Nil = nil, detail_type : String | Nil = nil, detail : 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 detail : String | Nil #

A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects.

Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.


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

A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects.

Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.


[View source]
def detail_type : String | Nil #

A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.

Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.


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

A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.

Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.


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

See Object#hash(hasher)


def resources : Array(String) | Nil #

Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.


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

Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.


[View source]
def source : String | Nil #

The event source that is generating the entry.

Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.


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

The event source that is generating the entry.

Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.


[View source]
def time : Time | Nil #

The date and time of the event.


[View source]
def time=(time : Time | Nil) #

The date and time of the event.


[View source]
def validate! : Nil #

[View source]