View a markdown version of this page

AgenticRuntimeState - Amazon WorkSpaces Service

AgenticRuntimeState

Describes the current health of the agent on a WorkSpace, as the agent reports it.

Contents

Status

The health of the agent. UNKNOWN indicates that the service couldn't determine the agent's health, for example, because the WorkSpace isn't running.

Type: String

Valid Values: AVAILABLE | PENDING | IMPAIRED | ERROR | UNKNOWN

Required: Yes

ErrorCode

The check or operation that set the agent's health status. This field isn't returned when the health status is AVAILABLE, and might not be returned for other statuses. The service can add values, so make sure that your code handles values that aren't in the list of valid values.

Type: String

Valid Values: BOOT | INSTALL | RECONCILE | SELF_UPDATE | ROLLBACK | AGENT_UPDATE_REQUIRED | CREDENTIAL_REFRESH_FAILING | PERMISSION_DENIED | SESSION_CAPACITY_EXHAUSTED | BOOT_TIMED_OUT | RECONCILE_TIMED_OUT | CODING_AGENT_BINARY_MISSING | CODING_AGENT_BINARY_CORRUPT | CREDENTIALS_EXPIRED | CONFIG_APPLY_FAILED | DCV_CHANNEL_UNAVAILABLE | WORKSPACE_NOT_RUNNING | AGENT_UNREACHABLE

Required: No

ErrorMessage

A description of the agent's health status. This field isn't returned when the health status is AVAILABLE. It's returned for every other status, even when ErrorCode isn't returned.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: