AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the StopWorkspaces operation. Stops the specified WorkSpaces.

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.WorkSpaces.AmazonWorkSpacesRequest
      Amazon.WorkSpaces.Model.StopWorkspacesRequest

Namespace: Amazon.WorkSpaces.Model
Assembly: AWSSDK.WorkSpaces.dll
Version: 3.x.y.z

Syntax

C#
public class StopWorkspacesRequest : AmazonWorkSpacesRequest
         IAmazonWebServiceRequest

The StopWorkspacesRequest type exposes the following members

Constructors

NameDescription
Public Method StopWorkspacesRequest()

Properties

NameTypeDescription
Public Property StopWorkspaceRequests System.Collections.Generic.List<Amazon.WorkSpaces.Model.StopRequest>

Gets and sets the property StopWorkspaceRequests.

The WorkSpaces to stop. You can specify up to 25 WorkSpaces.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5