Skip to content

Bedrock Agentcore  >  Structures  >  AffectedSession

AffectedSession

Structure Class

AffectedSession dataclass

A session affected by a detected failure pattern, including root cause details.

Attributes

explanation instance-attribute
explanation: str

An explanation of how the failure manifested in this session.

failure_spans instance-attribute
failure_spans: list[FailureSpanDetail]

The list of spans where failures were detected in this session.

fix_type instance-attribute
fix_type: str

The type of fix recommended for this failure.

recommendation instance-attribute
recommendation: str

The specific fix recommendation for this session.

session_id instance-attribute
session_id: str

The unique identifier of the affected session.