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.
Terminates the specified WorkSpaces.
Terminating a WorkSpace is a permanent action and cannot be undone. The user's data
is destroyed. If you need to archive any user data, contact Amazon Web Services Support
before terminating the WorkSpace.
You can terminate a WorkSpace that is in any state except SUSPENDED
.
This operation is asynchronous and returns before the WorkSpaces have been completely
terminated. After a WorkSpace is terminated, the TERMINATED
state is returned
only briefly before the WorkSpace directory metadata is cleaned up, so this state
is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace
ID by using
DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has
been successfully terminated.
Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.
To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.
For .NET Core this operation is only available in asynchronous form. Please refer to TerminateWorkspacesAsync.
Namespace: Amazon.WorkSpaces
Assembly: AWSSDK.WorkSpaces.dll
Version: 3.x.y.z
public virtual TerminateWorkspacesResponse TerminateWorkspaces( TerminateWorkspacesRequest request )
Container for the necessary parameters to execute the TerminateWorkspaces service method.
.NET Framework:
Supported in: 4.5, 4.0, 3.5