class Amazonite::CloudWatchLogs::LiveTailSessionUpdate

Overview

This object contains the log events and metadata for a Live Tail session.

Included Modules

Defined in:

cloudwatch_logs/live_tail_session_update.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(session_metadata : LiveTailSessionMetadata | Nil = nil, session_results : Array(LiveTailSessionLogEvent) | 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def session_metadata : LiveTailSessionMetadata | Nil #

This object contains the session metadata for a Live Tail session.


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

This object contains the session metadata for a Live Tail session.


[View source]
def session_results : Array(LiveTailSessionLogEvent) | Nil #

An array, where each member of the array includes the information for one log event in the Live Tail session.

A sessionResults array can include as many as 500 log events. If the number of log events matching the request exceeds 500 per second, the log events are sampled down to 500 log events to be included in each sessionUpdate structure.


[View source]
def session_results=(session_results : Array(LiveTailSessionLogEvent) | Nil) #

An array, where each member of the array includes the information for one log event in the Live Tail session.

A sessionResults array can include as many as 500 log events. If the number of log events matching the request exceeds 500 per second, the log events are sampled down to 500 log events to be included in each sessionUpdate structure.


[View source]
def validate! : Nil #

[View source]