Skip to content

Observation

Source code in docs_src/capo_application_insights/types/observation.py
class Observation(TypedDict, closed=True):
    id: NotRequired["capo_application_insights.types.observation_id.ObservationId"]
    """<p>The ID of the observation type.</p>"""
    start_time: NotRequired["capo_application_insights.types.start_time.StartTime"]
    """<p>The time when the observation was first detected, in epoch seconds.</p>"""
    end_time: NotRequired["capo_application_insights.types.end_time.EndTime"]
    """<p>The time when the observation ended, in epoch seconds.</p>"""
    source_type: NotRequired["capo_application_insights.types.source_type.SourceType"]
    """<p>The source type of the observation.</p>"""
    source_arn: NotRequired["capo_application_insights.types.source_arn.SourceARN"]
    """<p>The source resource ARN of the observation.</p>"""
    log_group: NotRequired["capo_application_insights.types.log_group.LogGroup"]
    """<p>The log group name.</p>"""
    line_time: NotRequired["capo_application_insights.types.line_time.LineTime"]
    """<p>The timestamp in the CloudWatch Logs that specifies when the matched line occurred.</p>"""
    log_text: NotRequired["capo_application_insights.types.log_text.LogText"]
    """<p>The log text of the observation.</p>"""
    log_filter: NotRequired["capo_application_insights.types.log_filter.LogFilter"]
    """<p>The log filter of the observation.</p>"""
    metric_namespace: NotRequired[
        "capo_application_insights.types.metric_namespace.MetricNamespace"
    ]
    """<p>The namespace of the observation metric.</p>"""
    metric_name: NotRequired["capo_application_insights.types.metric_name.MetricName"]
    """<p>The name of the observation metric.</p>"""
    unit: NotRequired["capo_application_insights.types.unit.Unit"]
    """<p>The unit of the source observation metric.</p>"""
    value: NotRequired["capo_application_insights.types.value.Value"]
    """<p>The value of the source observation metric.</p>"""
    cloud_watch_event_id: NotRequired[
        "capo_application_insights.types.cloud_watch_event_id.CloudWatchEventId"
    ]
    """<p> The ID of the CloudWatch Event-based observation related to the detected problem. </p>"""
    cloud_watch_event_source: NotRequired[
        "capo_application_insights.types.cloud_watch_event_source.CloudWatchEventSource"
    ]
    """<p> The source of the CloudWatch Event. </p>"""
    cloud_watch_event_detail_type: NotRequired[
        "capo_application_insights.types.cloud_watch_event_detail_type.CloudWatchEventDetailType"
    ]
    """<p> The detail type of the CloudWatch Event-based observation, for example, <code>EC2 Instance State-change Notification</code>. </p>"""
    health_event_arn: NotRequired[
        "capo_application_insights.types.health_event_arn.HealthEventArn"
    ]
    """<p> The Amazon Resource Name (ARN) of the Health Event-based observation.</p>"""
    health_service: NotRequired[
        "capo_application_insights.types.health_service.HealthService"
    ]
    """<p> The service to which the Health Event belongs, such as EC2. </p>"""
    health_event_type_code: NotRequired[
        "capo_application_insights.types.health_event_type_code.HealthEventTypeCode"
    ]
    """<p> The type of the Health event, for example, <code>AWS_EC2_POWER_CONNECTIVITY_ISSUE</code>. </p>"""
    health_event_type_category: NotRequired[
        "capo_application_insights.types.health_event_type_category.HealthEventTypeCategory"
    ]
    """<p> The category of the Health event, such as <code>issue</code>. </p>"""
    health_event_description: NotRequired[
        "capo_application_insights.types.health_event_description.HealthEventDescription"
    ]
    """<p> The description of the Health event provided by the service, such as Amazon EC2. </p>"""
    code_deploy_deployment_id: NotRequired[
        "capo_application_insights.types.code_deploy_deployment_id.CodeDeployDeploymentId"
    ]
    """<p> The deployment ID of the CodeDeploy-based observation related to the detected problem. </p>"""
    code_deploy_deployment_group: NotRequired[
        "capo_application_insights.types.code_deploy_deployment_group.CodeDeployDeploymentGroup"
    ]
    """<p> The deployment group to which the CodeDeploy deployment belongs. </p>"""
    code_deploy_state: NotRequired[
        "capo_application_insights.types.code_deploy_state.CodeDeployState"
    ]
    """<p> The status of the CodeDeploy deployment, for example <code>SUCCESS</code> or <code> FAILURE</code>. </p>"""
    code_deploy_application: NotRequired[
        "capo_application_insights.types.code_deploy_application.CodeDeployApplication"
    ]
    """<p> The CodeDeploy application to which the deployment belongs. </p>"""
    code_deploy_instance_group_id: NotRequired[
        "capo_application_insights.types.code_deploy_instance_group_id.CodeDeployInstanceGroupId"
    ]
    """<p> The instance group to which the CodeDeploy instance belongs. </p>"""
    ec2_state: NotRequired["capo_application_insights.types.ec2_state.Ec2State"]
    """<p> The state of the instance, such as <code>STOPPING</code> or <code>TERMINATING</code>. </p>"""
    rds_event_categories: NotRequired[
        "capo_application_insights.types.rds_event_categories.RdsEventCategories"
    ]
    """<p> The category of an RDS event. </p>"""
    rds_event_message: NotRequired[
        "capo_application_insights.types.rds_event_message.RdsEventMessage"
    ]
    """<p> The message of an RDS event. </p>"""
    s3_event_name: NotRequired[
        "capo_application_insights.types.s3_event_name.S3EventName"
    ]
    """<p> The name of the S3 CloudWatch Event-based observation. </p>"""
    states_execution_arn: NotRequired[
        "capo_application_insights.types.states_execution_arn.StatesExecutionArn"
    ]
    """<p> The Amazon Resource Name (ARN) of the step function execution-based observation. </p>"""
    states_arn: NotRequired["capo_application_insights.types.states_arn.StatesArn"]
    """<p> The Amazon Resource Name (ARN) of the step function-based observation. </p>"""
    states_status: NotRequired[
        "capo_application_insights.types.states_status.StatesStatus"
    ]
    """<p> The status of the step function-related observation. </p>"""
    states_input: NotRequired[
        "capo_application_insights.types.states_input.StatesInput"
    ]
    """<p> The input to the step function-based observation. </p>"""
    ebs_event: NotRequired["capo_application_insights.types.ebs_event.EbsEvent"]
    """<p> The type of EBS CloudWatch event, such as <code>createVolume</code>, <code>deleteVolume</code> or <code>attachVolume</code>. </p>"""
    ebs_result: NotRequired["capo_application_insights.types.ebs_result.EbsResult"]
    """<p> The result of an EBS CloudWatch event, such as <code>failed</code> or <code>succeeded</code>. </p>"""
    ebs_cause: NotRequired["capo_application_insights.types.ebs_cause.EbsCause"]
    """<p> The cause of an EBS CloudWatch event. </p>"""
    ebs_request_id: NotRequired[
        "capo_application_insights.types.ebs_request_id.EbsRequestId"
    ]
    """<p> The request ID of an EBS CloudWatch event. </p>"""
    x_ray_fault_percent: NotRequired[
        "capo_application_insights.types.x_ray_fault_percent.XRayFaultPercent"
    ]
    """<p> The X-Ray request fault percentage for this node. </p>"""
    x_ray_throttle_percent: NotRequired[
        "capo_application_insights.types.x_ray_throttle_percent.XRayThrottlePercent"
    ]
    """<p> The X-Ray request throttle percentage for this node. </p>"""
    x_ray_error_percent: NotRequired[
        "capo_application_insights.types.x_ray_error_percent.XRayErrorPercent"
    ]
    """<p> The X-Ray request error percentage for this node. </p>"""
    x_ray_request_count: NotRequired[
        "capo_application_insights.types.x_ray_request_count.XRayRequestCount"
    ]
    """<p> The X-Ray request count for this node. </p>"""
    x_ray_request_average_latency: NotRequired[
        "capo_application_insights.types.x_ray_request_average_latency.XRayRequestAverageLatency"
    ]
    """<p> The X-Ray node request average latency for this node. </p>"""
    x_ray_node_name: NotRequired[
        "capo_application_insights.types.x_ray_node_name.XRayNodeName"
    ]
    """<p> The name of the X-Ray node. </p>"""
    x_ray_node_type: NotRequired[
        "capo_application_insights.types.x_ray_node_type.XRayNodeType"
    ]
    """<p> The type of the X-Ray node. </p>"""

cloud_watch_event_detail_type instance-attribute

cloud_watch_event_detail_type: NotRequired[CloudWatchEventDetailType]

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

cloud_watch_event_id instance-attribute

cloud_watch_event_id: NotRequired[CloudWatchEventId]

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

cloud_watch_event_source instance-attribute

cloud_watch_event_source: NotRequired[CloudWatchEventSource]

The source of the CloudWatch Event.

code_deploy_application instance-attribute

code_deploy_application: NotRequired[CodeDeployApplication]

The CodeDeploy application to which the deployment belongs.

code_deploy_deployment_group instance-attribute

code_deploy_deployment_group: NotRequired[CodeDeployDeploymentGroup]

The deployment group to which the CodeDeploy deployment belongs.

code_deploy_deployment_id instance-attribute

code_deploy_deployment_id: NotRequired[CodeDeployDeploymentId]

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

code_deploy_instance_group_id instance-attribute

code_deploy_instance_group_id: NotRequired[CodeDeployInstanceGroupId]

The instance group to which the CodeDeploy instance belongs.

code_deploy_state instance-attribute

code_deploy_state: NotRequired[CodeDeployState]

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

ebs_cause instance-attribute

ebs_cause: NotRequired[EbsCause]

The cause of an EBS CloudWatch event.

ebs_event instance-attribute

ebs_event: NotRequired[EbsEvent]

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

ebs_request_id instance-attribute

ebs_request_id: NotRequired[EbsRequestId]

The request ID of an EBS CloudWatch event.

ebs_result instance-attribute

ebs_result: NotRequired[EbsResult]

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

ec2_state instance-attribute

ec2_state: NotRequired[Ec2State]

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

end_time instance-attribute

end_time: NotRequired[EndTime]

The time when the observation ended, in epoch seconds.

health_event_arn instance-attribute

health_event_arn: NotRequired[HealthEventArn]

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

health_event_description instance-attribute

health_event_description: NotRequired[HealthEventDescription]

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

health_event_type_category instance-attribute

health_event_type_category: NotRequired[HealthEventTypeCategory]

The category of the Health event, such as issue.

health_event_type_code instance-attribute

health_event_type_code: NotRequired[HealthEventTypeCode]

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

health_service instance-attribute

health_service: NotRequired[HealthService]

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

id instance-attribute

id: NotRequired[ObservationId]

The ID of the observation type.

line_time instance-attribute

line_time: NotRequired[LineTime]

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

log_filter instance-attribute

log_filter: NotRequired[LogFilter]

The log filter of the observation.

log_group instance-attribute

log_group: NotRequired[LogGroup]

The log group name.

log_text instance-attribute

log_text: NotRequired[LogText]

The log text of the observation.

metric_name instance-attribute

metric_name: NotRequired[MetricName]

The name of the observation metric.

metric_namespace instance-attribute

metric_namespace: NotRequired[MetricNamespace]

The namespace of the observation metric.

rds_event_categories instance-attribute

rds_event_categories: NotRequired[RdsEventCategories]

The category of an RDS event.

rds_event_message instance-attribute

rds_event_message: NotRequired[RdsEventMessage]

The message of an RDS event.

s3_event_name instance-attribute

s3_event_name: NotRequired[S3EventName]

The name of the S3 CloudWatch Event-based observation.

source_arn instance-attribute

source_arn: NotRequired[SourceARN]

The source resource ARN of the observation.

source_type instance-attribute

source_type: NotRequired[SourceType]

The source type of the observation.

start_time instance-attribute

start_time: NotRequired[StartTime]

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

states_arn instance-attribute

states_arn: NotRequired[StatesArn]

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

states_execution_arn instance-attribute

states_execution_arn: NotRequired[StatesExecutionArn]

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

states_input instance-attribute

states_input: NotRequired[StatesInput]

The input to the step function-based observation.

states_status instance-attribute

states_status: NotRequired[StatesStatus]

The status of the step function-related observation.

unit instance-attribute

unit: NotRequired[Unit]

The unit of the source observation metric.

value instance-attribute

value: NotRequired[Value]

The value of the source observation metric.

x_ray_error_percent instance-attribute

x_ray_error_percent: NotRequired[XRayErrorPercent]

The X-Ray request error percentage for this node.

x_ray_fault_percent instance-attribute

x_ray_fault_percent: NotRequired[XRayFaultPercent]

The X-Ray request fault percentage for this node.

x_ray_node_name instance-attribute

x_ray_node_name: NotRequired[XRayNodeName]

The name of the X-Ray node.

x_ray_node_type instance-attribute

x_ray_node_type: NotRequired[XRayNodeType]

The type of the X-Ray node.

x_ray_request_average_latency instance-attribute

x_ray_request_average_latency: NotRequired[XRayRequestAverageLatency]

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

x_ray_request_count instance-attribute

x_ray_request_count: NotRequired[XRayRequestCount]

The X-Ray request count for this node.

x_ray_throttle_percent instance-attribute

x_ray_throttle_percent: NotRequired[XRayThrottlePercent]

The X-Ray request throttle percentage for this node.