Module Smaws_Client_WorkSpaces.StopWorkspacesPool

Stops the specified pool.

You cannot stop a WorkSpace pool unless it has a running mode of AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `InvalidResourceStateException of Types.invalid_resource_state_exception | `OperationInProgressException of Types.operation_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.stop_workspaces_pool_request -> (Types.stop_workspaces_pool_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `InvalidResourceStateException of Types.invalid_resource_state_exception | `OperationInProgressException of Types.operation_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.stop_workspaces_pool_request -> (Types.stop_workspaces_pool_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `InvalidResourceStateException of Types.invalid_resource_state_exception | `OperationInProgressException of Types.operation_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result