Class: Aws::CloudWatchOmni::Types::EvidenceDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::EvidenceDetails
- Defined in:
- gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb
Overview
EvidenceDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvidenceDetails corresponding to the set member.
This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.
Fields specific to the signal type an evidence window was recorded for.
Defined Under Namespace
Classes: Log, Metric, Trace, Unknown
Constant Summary collapse
- SENSITIVE =
[:log, :metric, :trace]
Instance Attribute Summary collapse
-
#log ⇒ Types::LogEvidenceDetails
This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.
-
#metric ⇒ Types::MetricEvidenceDetails
This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.
-
#trace ⇒ Types::TraceEvidenceDetails
This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#log ⇒ Types::LogEvidenceDetails
This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.
Fields specific to a log anomaly's evidence window.
3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3160 class EvidenceDetails < Struct.new( :log, :metric, :trace, :unknown) SENSITIVE = [:log, :metric, :trace] include Aws::Structure include Aws::Structure::Union class Log < EvidenceDetails; end class Metric < EvidenceDetails; end class Trace < EvidenceDetails; end class Unknown < EvidenceDetails; end end |
#metric ⇒ Types::MetricEvidenceDetails
This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.
Fields specific to a metric anomaly's evidence window. At most one
member is present, matching the family of detector that raised the
occurrence; a plain deviation carries none of them and relies on
measurement alone.
3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3160 class EvidenceDetails < Struct.new( :log, :metric, :trace, :unknown) SENSITIVE = [:log, :metric, :trace] include Aws::Structure include Aws::Structure::Union class Log < EvidenceDetails; end class Metric < EvidenceDetails; end class Trace < EvidenceDetails; end class Unknown < EvidenceDetails; end end |
#trace ⇒ Types::TraceEvidenceDetails
This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.
Fields specific to a trace anomaly's evidence window.
3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3160 class EvidenceDetails < Struct.new( :log, :metric, :trace, :unknown) SENSITIVE = [:log, :metric, :trace] include Aws::Structure include Aws::Structure::Union class Log < EvidenceDetails; end class Metric < EvidenceDetails; end class Trace < EvidenceDetails; end class Unknown < EvidenceDetails; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3160 3161 3162 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3160 def unknown @unknown end |