Class: Aws::CloudWatchOmni::Types::TelemetrySample

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb

Overview

This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.

One sample from a telemetry stream attached to an anomaly.

For a log anomaly this is a real log line of the matched pattern. The structure is reused for other anomaly sample types; when a sample type records its own time it populates recordedAt, and when it does not (log lines today) the member is absent.

Constant Summary collapse

SENSITIVE =
[:message]

Instance Attribute Summary collapse

Instance Attribute Details

#message ⇒ String

The sample text, as it was recorded.

Returns:

  • (String)


9732
9733
9734
9735
9736
9737
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9732

class TelemetrySample < Struct.new(
  :recorded_at,
  :message)
  SENSITIVE = [:message]
  include Aws::Structure
end

#recorded_at ⇒ Time

Time the sample was recorded. Absent for log samples — the service does not store a per-line time, so the member is omitted. Present when a sample type records one.

Returns:

  • (Time)


9732
9733
9734
9735
9736
9737
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9732

class TelemetrySample < Struct.new(
  :recorded_at,
  :message)
  SENSITIVE = [:message]
  include Aws::Structure
end