Smaws_Client_WorkSpaces.RebuildWorkspacesRebuilds the specified WorkSpace.
You cannot rebuild a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, STOPPED, or REBOOTING.
Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.
This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.
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.rebuild_workspaces_request ->
(Types.rebuild_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.rebuild_workspaces_request ->
(Types.rebuild_workspaces_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `OperationNotSupportedException of
Types.operation_not_supported_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result