Skip to content

CaseWriteResult

Source code in docs_src/capo_cloudwatchomni/types/case_write_result.py
class CaseWriteResult(TypedDict, closed=True):
    case_id: "capo_cloudwatchomni.types.case_id.CaseId"
    """The ID of the case that was written."""
    status: "capo_cloudwatchomni.types.case_status.CaseStatus"
    """The status of the case, derived from its scores and the run's rule, if the run has one."""
    status_reason: NotRequired[
        "capo_cloudwatchomni.types.case_status_reason.CaseStatusReason"
    ]
    """The reason for the status. Present only for statuses that have a reason."""

case_id instance-attribute

case_id: CaseId

The ID of the case that was written.

status instance-attribute

status: CaseStatus

The status of the case, derived from its scores and the run's rule, if the run has one.

status_reason instance-attribute

status_reason: NotRequired[CaseStatusReason]

The reason for the status. Present only for statuses that have a reason.