Skip to content

AnomalyInstance

Source code in docs_src/capo_codeguruprofiler/types/anomaly_instance.py
class AnomalyInstance(TypedDict, closed=True):
    id: "str"
    """<p> The universally unique identifier (UUID) of an instance of an anomaly in a metric. </p>"""
    start_time: "capo_codeguruprofiler.types.timestamp.Timestamp"
    """<p> The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>"""
    end_time: NotRequired["capo_codeguruprofiler.types.timestamp.Timestamp"]
    """<p> The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>"""
    user_feedback: NotRequired["capo_codeguruprofiler.types.user_feedback.UserFeedback"]
    """<p>Feedback type on a specific instance of anomaly submitted by the user.</p>"""

end_time instance-attribute

end_time: NotRequired[Timestamp]

The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

id instance-attribute

id: str

The universally unique identifier (UUID) of an instance of an anomaly in a metric.

start_time instance-attribute

start_time: Timestamp

The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

user_feedback instance-attribute

user_feedback: NotRequired[UserFeedback]

Feedback type on a specific instance of anomaly submitted by the user.