CmdID / aws / aws workspaces
aws workspaces describe-workspaces-connection-status
Describes the connection status of the specified WorkSpaces. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To describe the connection status of a WorkSpace
The following describe-workspaces-connection-status example describes the connection status of the specified WorkSpace.
aws workspaces describe-workspaces-connection-status --workspace-ids ws-dk1xzr417Identify--workspace-idsThe identifiers of the WorkSpaces.Its output
{
"WorkspacesConnectionStatus": [
{
"WorkspaceId": "ws-dk1xzr417",
"ConnectionState": "CONNECTED",
"ConnectionStateCheckTimestamp": 1662526214.744
}
]
}For more information, see Administer your WorkSpaces in the Amazon WorkSpaces Administration Guide.
Options
--next-tokenIf you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.--workspace-idsThe identifiers of the WorkSpaces.