Smaws_Client_WorkSpaces.RebootWorkspacesReboots the specified WorkSpaces.
You cannot reboot a WorkSpace unless its state is AVAILABLE, UNHEALTHY, or REBOOTING. Reboot a WorkSpace in the REBOOTING state only if your WorkSpace has been stuck in the REBOOTING state for over 20 minutes.
This operation is asynchronous and returns before the WorkSpaces have rebooted.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `OperationNotSupportedException of Types.operation_not_supported_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.reboot_workspaces_request ->
(Types.reboot_workspaces_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `OperationNotSupportedException of
Types.operation_not_supported_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.reboot_workspaces_request ->
(Types.reboot_workspaces_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `OperationNotSupportedException of
Types.operation_not_supported_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result