So I have a script that controls what happens on the workspace when it's being used.
I'd like to add aws workspace api calls to check if the workspace has a client connected, and if it does not, it reboots the workspace.
I looked through the documentation and saw that I can place an api call to reboot, but I need to make sure the client is not being accessed. the reason for this is in case of a power or internet outage at the client, the workspace reboots, which also stops the script being ran.