Bedrock AgentCore Structures KeyPressResult¶ Structure Class¶ KeyPressResult dataclass ¶ Bases: _SerdeShape The result of a key press action. Attributes¶ error class-attribute instance-attribute ¶ error: str | None = ... The error message. Present only when the action failed. status instance-attribute ¶ status: str The status of the action execution.