libZSservicesZSamazonka-application-insightsZSamazonka-application-insights
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ApplicationInsights.Types.Observation

Description

 
Synopsis

Documentation

data Observation Source #

Describes an anomaly or error with the application.

See: newObservation smart constructor.

Constructors

Observation' 

Fields

Instances

Instances details
Eq Observation Source # 
Instance details

Defined in Amazonka.ApplicationInsights.Types.Observation

Read Observation Source # 
Instance details

Defined in Amazonka.ApplicationInsights.Types.Observation

Show Observation Source # 
Instance details

Defined in Amazonka.ApplicationInsights.Types.Observation

Generic Observation Source # 
Instance details

Defined in Amazonka.ApplicationInsights.Types.Observation

Associated Types

type Rep Observation :: Type -> Type #

NFData Observation Source # 
Instance details

Defined in Amazonka.ApplicationInsights.Types.Observation

Methods

rnf :: Observation -> () #

Hashable Observation Source # 
Instance details

Defined in Amazonka.ApplicationInsights.Types.Observation

FromJSON Observation Source # 
Instance details

Defined in Amazonka.ApplicationInsights.Types.Observation

type Rep Observation Source # 
Instance details

Defined in Amazonka.ApplicationInsights.Types.Observation

type Rep Observation = D1 ('MetaData "Observation" "Amazonka.ApplicationInsights.Types.Observation" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "Observation'" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "codeDeployApplication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "rdsEventMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "codeDeployDeploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "sourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "sourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "xRayRequestAverageLatency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "statesStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "codeDeployDeploymentGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "healthEventTypeCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "xRayRequestCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))) :*: (((S1 ('MetaSel ('Just "s3EventName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ec2State") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "logGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))) :*: ((S1 ('MetaSel ('Just "healthEventDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cloudWatchEventSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchEventSource)) :*: S1 ('MetaSel ('Just "codeDeployState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "xRayErrorPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "statesArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudWatchEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))) :*: ((((S1 ('MetaSel ('Just "logText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogFilter))) :*: (S1 ('MetaSel ('Just "metricNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "rdsEventCategories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "xRayNodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "statesInput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "xRayNodeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "healthEventArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "healthEventTypeCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "ebsResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cloudWatchEventDetailType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "codeDeployInstanceGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "ebsCause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ebsEvent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ebsRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "xRayFaultPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "statesExecutionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lineTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "xRayThrottlePercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "healthService") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))))

newObservation :: Observation Source #

Create a value of Observation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:codeDeployApplication:Observation', observation_codeDeployApplication - The CodeDeploy application to which the deployment belongs.

$sel:rdsEventMessage:Observation', observation_rdsEventMessage - The message of an RDS event.

$sel:codeDeployDeploymentId:Observation', observation_codeDeployDeploymentId - The deployment ID of the CodeDeploy-based observation related to the detected problem.

$sel:startTime:Observation', observation_startTime - The time when the observation was first detected, in epoch seconds.

$sel:sourceType:Observation', observation_sourceType - The source type of the observation.

$sel:sourceARN:Observation', observation_sourceARN - The source resource ARN of the observation.

$sel:xRayRequestAverageLatency:Observation', observation_xRayRequestAverageLatency - The X-Ray node request average latency for this node.

$sel:statesStatus:Observation', observation_statesStatus - The status of the step function-related observation.

$sel:codeDeployDeploymentGroup:Observation', observation_codeDeployDeploymentGroup - The deployment group to which the CodeDeploy deployment belongs.

$sel:healthEventTypeCategory:Observation', observation_healthEventTypeCategory - The category of the AWS Health event, such as issue.

$sel:xRayRequestCount:Observation', observation_xRayRequestCount - The X-Ray request count for this node.

$sel:s3EventName:Observation', observation_s3EventName - The name of the S3 CloudWatch Event-based observation.

$sel:metricName:Observation', observation_metricName - The name of the observation metric.

$sel:ec2State:Observation', observation_ec2State - The state of the instance, such as STOPPING or TERMINATING.

$sel:logGroup:Observation', observation_logGroup - The log group name.

$sel:value:Observation', observation_value - The value of the source observation metric.

$sel:healthEventDescription:Observation', observation_healthEventDescription - The description of the AWS Health event provided by the service, such as Amazon EC2.

$sel:cloudWatchEventSource:Observation', observation_cloudWatchEventSource - The source of the CloudWatch Event.

$sel:codeDeployState:Observation', observation_codeDeployState - The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.

$sel:xRayErrorPercent:Observation', observation_xRayErrorPercent - The X-Ray request error percentage for this node.

$sel:statesArn:Observation', observation_statesArn - The Amazon Resource Name (ARN) of the step function-based observation.

$sel:cloudWatchEventId:Observation', observation_cloudWatchEventId - The ID of the CloudWatch Event-based observation related to the detected problem.

$sel:logText:Observation', observation_logText - The log text of the observation.

$sel:logFilter:Observation', observation_logFilter - The log filter of the observation.

$sel:metricNamespace:Observation', observation_metricNamespace - The namespace of the observation metric.

$sel:rdsEventCategories:Observation', observation_rdsEventCategories - The category of an RDS event.

$sel:xRayNodeType:Observation', observation_xRayNodeType - The type of the X-Ray node.

$sel:endTime:Observation', observation_endTime - The time when the observation ended, in epoch seconds.

$sel:statesInput:Observation', observation_statesInput - The input to the step function-based observation.

$sel:xRayNodeName:Observation', observation_xRayNodeName - The name of the X-Ray node.

$sel:id:Observation', observation_id - The ID of the observation type.

$sel:healthEventArn:Observation', observation_healthEventArn - The Amazon Resource Name (ARN) of the AWS Health Event-based observation.

$sel:healthEventTypeCode:Observation', observation_healthEventTypeCode - The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.

$sel:ebsResult:Observation', observation_ebsResult - The result of an EBS CloudWatch event, such as failed or succeeded.

$sel:cloudWatchEventDetailType:Observation', observation_cloudWatchEventDetailType - The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification.

$sel:codeDeployInstanceGroupId:Observation', observation_codeDeployInstanceGroupId - The instance group to which the CodeDeploy instance belongs.

$sel:ebsCause:Observation', observation_ebsCause - The cause of an EBS CloudWatch event.

$sel:ebsEvent:Observation', observation_ebsEvent - The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume.

$sel:ebsRequestId:Observation', observation_ebsRequestId - The request ID of an EBS CloudWatch event.

$sel:xRayFaultPercent:Observation', observation_xRayFaultPercent - The X-Ray request fault percentage for this node.

$sel:statesExecutionArn:Observation', observation_statesExecutionArn - The Amazon Resource Name (ARN) of the step function execution-based observation.

$sel:lineTime:Observation', observation_lineTime - The timestamp in the CloudWatch Logs that specifies when the matched line occurred.

$sel:unit:Observation', observation_unit - The unit of the source observation metric.

$sel:xRayThrottlePercent:Observation', observation_xRayThrottlePercent - The X-Ray request throttle percentage for this node.

$sel:healthService:Observation', observation_healthService - The service to which the AWS Health Event belongs, such as EC2.

observation_codeDeployApplication :: Lens' Observation (Maybe Text) Source #

The CodeDeploy application to which the deployment belongs.

observation_codeDeployDeploymentId :: Lens' Observation (Maybe Text) Source #

The deployment ID of the CodeDeploy-based observation related to the detected problem.

observation_startTime :: Lens' Observation (Maybe UTCTime) Source #

The time when the observation was first detected, in epoch seconds.

observation_sourceType :: Lens' Observation (Maybe Text) Source #

The source type of the observation.

observation_sourceARN :: Lens' Observation (Maybe Text) Source #

The source resource ARN of the observation.

observation_xRayRequestAverageLatency :: Lens' Observation (Maybe Integer) Source #

The X-Ray node request average latency for this node.

observation_statesStatus :: Lens' Observation (Maybe Text) Source #

The status of the step function-related observation.

observation_codeDeployDeploymentGroup :: Lens' Observation (Maybe Text) Source #

The deployment group to which the CodeDeploy deployment belongs.

observation_healthEventTypeCategory :: Lens' Observation (Maybe Text) Source #

The category of the AWS Health event, such as issue.

observation_xRayRequestCount :: Lens' Observation (Maybe Int) Source #

The X-Ray request count for this node.

observation_s3EventName :: Lens' Observation (Maybe Text) Source #

The name of the S3 CloudWatch Event-based observation.

observation_metricName :: Lens' Observation (Maybe Text) Source #

The name of the observation metric.

observation_ec2State :: Lens' Observation (Maybe Text) Source #

The state of the instance, such as STOPPING or TERMINATING.

observation_value :: Lens' Observation (Maybe Double) Source #

The value of the source observation metric.

observation_healthEventDescription :: Lens' Observation (Maybe Text) Source #

The description of the AWS Health event provided by the service, such as Amazon EC2.

observation_codeDeployState :: Lens' Observation (Maybe Text) Source #

The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.

observation_xRayErrorPercent :: Lens' Observation (Maybe Int) Source #

The X-Ray request error percentage for this node.

observation_statesArn :: Lens' Observation (Maybe Text) Source #

The Amazon Resource Name (ARN) of the step function-based observation.

observation_cloudWatchEventId :: Lens' Observation (Maybe Text) Source #

The ID of the CloudWatch Event-based observation related to the detected problem.

observation_logText :: Lens' Observation (Maybe Text) Source #

The log text of the observation.

observation_logFilter :: Lens' Observation (Maybe LogFilter) Source #

The log filter of the observation.

observation_metricNamespace :: Lens' Observation (Maybe Text) Source #

The namespace of the observation metric.

observation_xRayNodeType :: Lens' Observation (Maybe Text) Source #

The type of the X-Ray node.

observation_endTime :: Lens' Observation (Maybe UTCTime) Source #

The time when the observation ended, in epoch seconds.

observation_statesInput :: Lens' Observation (Maybe Text) Source #

The input to the step function-based observation.

observation_xRayNodeName :: Lens' Observation (Maybe Text) Source #

The name of the X-Ray node.

observation_id :: Lens' Observation (Maybe Text) Source #

The ID of the observation type.

observation_healthEventArn :: Lens' Observation (Maybe Text) Source #

The Amazon Resource Name (ARN) of the AWS Health Event-based observation.

observation_healthEventTypeCode :: Lens' Observation (Maybe Text) Source #

The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.

observation_ebsResult :: Lens' Observation (Maybe Text) Source #

The result of an EBS CloudWatch event, such as failed or succeeded.

observation_cloudWatchEventDetailType :: Lens' Observation (Maybe Text) Source #

The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification.

observation_codeDeployInstanceGroupId :: Lens' Observation (Maybe Text) Source #

The instance group to which the CodeDeploy instance belongs.

observation_ebsCause :: Lens' Observation (Maybe Text) Source #

The cause of an EBS CloudWatch event.

observation_ebsEvent :: Lens' Observation (Maybe Text) Source #

The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume.

observation_ebsRequestId :: Lens' Observation (Maybe Text) Source #

The request ID of an EBS CloudWatch event.

observation_xRayFaultPercent :: Lens' Observation (Maybe Int) Source #

The X-Ray request fault percentage for this node.

observation_statesExecutionArn :: Lens' Observation (Maybe Text) Source #

The Amazon Resource Name (ARN) of the step function execution-based observation.

observation_lineTime :: Lens' Observation (Maybe UTCTime) Source #

The timestamp in the CloudWatch Logs that specifies when the matched line occurred.

observation_unit :: Lens' Observation (Maybe Text) Source #

The unit of the source observation metric.

observation_xRayThrottlePercent :: Lens' Observation (Maybe Int) Source #

The X-Ray request throttle percentage for this node.

observation_healthService :: Lens' Observation (Maybe Text) Source #

The service to which the AWS Health Event belongs, such as EC2.