Observation class

Describes an anomaly or error with the application.

Constructors

Observation({String? cloudWatchEventDetailType, String? cloudWatchEventId, CloudWatchEventSource? cloudWatchEventSource, String? codeDeployApplication, String? codeDeployDeploymentGroup, String? codeDeployDeploymentId, String? codeDeployInstanceGroupId, String? codeDeployState, String? ebsCause, String? ebsEvent, String? ebsRequestId, String? ebsResult, String? ec2State, DateTime? endTime, String? healthEventArn, String? healthEventDescription, String? healthEventTypeCategory, String? healthEventTypeCode, String? healthService, String? id, DateTime? lineTime, LogFilter? logFilter, String? logGroup, String? logText, String? metricName, String? metricNamespace, String? rdsEventCategories, String? rdsEventMessage, String? s3EventName, String? sourceARN, String? sourceType, DateTime? startTime, String? statesArn, String? statesExecutionArn, String? statesInput, String? statesStatus, String? unit, double? value, int? xRayErrorPercent, int? xRayFaultPercent, String? xRayNodeName, String? xRayNodeType, int? xRayRequestAverageLatency, int? xRayRequestCount, int? xRayThrottlePercent})
Observation.fromJson(Map<String, dynamic> json)
factory

Properties

cloudWatchEventDetailType String?
The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification.
final
cloudWatchEventId String?
The ID of the CloudWatch Event-based observation related to the detected problem.
final
cloudWatchEventSource CloudWatchEventSource?
The source of the CloudWatch Event.
final
codeDeployApplication String?
The CodeDeploy application to which the deployment belongs.
final
codeDeployDeploymentGroup String?
The deployment group to which the CodeDeploy deployment belongs.
final
codeDeployDeploymentId String?
The deployment ID of the CodeDeploy-based observation related to the detected problem.
final
codeDeployInstanceGroupId String?
The instance group to which the CodeDeploy instance belongs.
final
codeDeployState String?
The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.
final
ebsCause String?
The cause of an EBS CloudWatch event.
final
ebsEvent String?
The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume.
final
ebsRequestId String?
The request ID of an EBS CloudWatch event.
final
ebsResult String?
The result of an EBS CloudWatch event, such as failed or succeeded.
final
ec2State String?
The state of the instance, such as STOPPING or TERMINATING.
final
endTime DateTime?
The time when the observation ended, in epoch seconds.
final
hashCode int
The hash code for this object.
no setterinherited
healthEventArn String?
The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
final
healthEventDescription String?
The description of the AWS Health event provided by the service, such as Amazon EC2.
final
healthEventTypeCategory String?
The category of the AWS Health event, such as issue.
final
healthEventTypeCode String?
The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.
final
healthService String?
The service to which the AWS Health Event belongs, such as EC2.
final
id String?
The ID of the observation type.
final
lineTime DateTime?
The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
final
logFilter LogFilter?
The log filter of the observation.
final
logGroup String?
The log group name.
final
logText String?
The log text of the observation.
final
metricName String?
The name of the observation metric.
final
metricNamespace String?
The namespace of the observation metric.
final
rdsEventCategories String?
The category of an RDS event.
final
rdsEventMessage String?
The message of an RDS event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
s3EventName String?
The name of the S3 CloudWatch Event-based observation.
final
sourceARN String?
The source resource ARN of the observation.
final
sourceType String?
The source type of the observation.
final
startTime DateTime?
The time when the observation was first detected, in epoch seconds.
final
statesArn String?
The Amazon Resource Name (ARN) of the step function-based observation.
final
statesExecutionArn String?
The Amazon Resource Name (ARN) of the step function execution-based observation.
final
statesInput String?
The input to the step function-based observation.
final
statesStatus String?
The status of the step function-related observation.
final
unit String?
The unit of the source observation metric.
final
value double?
The value of the source observation metric.
final
xRayErrorPercent int?
The X-Ray request error percentage for this node.
final
xRayFaultPercent int?
The X-Ray request fault percentage for this node.
final
xRayNodeName String?
The name of the X-Ray node.
final
xRayNodeType String?
The type of the X-Ray node.
final
xRayRequestAverageLatency int?
The X-Ray node request average latency for this node.
final
xRayRequestCount int?
The X-Ray request count for this node.
final
xRayThrottlePercent int?
The X-Ray request throttle percentage for this node.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited