class
Amazonite::CloudWatchLogs::LiveTailSessionMetadata
- Amazonite::CloudWatchLogs::LiveTailSessionMetadata
- Reference
- Object
Overview
This object contains the metadata for one LiveTailSessionUpdate structure. It indicates
whether that update includes only a sample of 500 log events out of a larger number of ingested
log events, or if it contains all of the matching log events ingested during that second of
time.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/live_tail_session_metadata.crConstructors
- .new(pull : JSON::PullParser)
- .new(sampled : Bool | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#sampled : Bool | Nil
If this is
true, then more than 500 log events matched the request for this update, and thesessionResultsincludes a sample of 500 of those events. -
#sampled=(sampled : Bool | Nil)
If this is
true, then more than 500 log events matched the request for this update, and thesessionResultsincludes a sample of 500 of those events. - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
If this is true, then more than 500 log events matched the request for this update, and the
sessionResults includes a sample of 500 of those events.
If this is false, then 500 or fewer log events matched the request for this update, so no
sampling was necessary. In this case, the sessionResults array includes all log events that
matched your request during this time.
If this is true, then more than 500 log events matched the request for this update, and the
sessionResults includes a sample of 500 of those events.
If this is false, then 500 or fewer log events matched the request for this update, so no
sampling was necessary. In this case, the sessionResults array includes all log events that
matched your request during this time.