public class AmazonWorkspacesAsyncClient extends AmazonWorkspacesClient implements AmazonWorkspacesAsync
This is the Amazon WorkSpaces API Reference . This guide provides detailed information about Amazon WorkSpaces operations, data types, parameters, and errors.
jsonErrorUnmarshallersclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset| Constructor and Description | 
|---|
| AmazonWorkspacesAsyncClient()Constructs a new asynchronous client to invoke service methods on
 AmazonWorkspaces. | 
| AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials)Constructs a new asynchronous client to invoke service methods on
 AmazonWorkspaces using the specified AWS account credentials. | 
| AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials,
                           ClientConfiguration clientConfiguration,
                           ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on
 AmazonWorkspaces using the specified AWS account credentials,
 executor service, and client configuration options. | 
| AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials,
                           ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on
 AmazonWorkspaces using the specified AWS account credentials
 and executor service. | 
| AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider)Constructs a new asynchronous client to invoke service methods on
 AmazonWorkspaces using the specified AWS account credentials provider. | 
| AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                           ClientConfiguration clientConfiguration)Constructs a new asynchronous client to invoke service methods on
 AmazonWorkspaces using the specified AWS account credentials
 provider and client configuration options. | 
| AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                           ClientConfiguration clientConfiguration,
                           ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on
 AmazonWorkspaces using the specified AWS account credentials
 provider, executor service, and client configuration options. | 
| AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                           ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on
 AmazonWorkspaces using the specified AWS account credentials provider
 and executor service. | 
| AmazonWorkspacesAsyncClient(ClientConfiguration clientConfiguration)Constructs a new asynchronous client to invoke service methods on
 AmazonWorkspaces. | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<CreateWorkspacesResult> | createWorkspacesAsync(CreateWorkspacesRequest createWorkspacesRequest)
 Creates one or more WorkSpaces. | 
| Future<CreateWorkspacesResult> | createWorkspacesAsync(CreateWorkspacesRequest createWorkspacesRequest,
                     AsyncHandler<CreateWorkspacesRequest,CreateWorkspacesResult> asyncHandler)
 Creates one or more WorkSpaces. | 
| Future<DescribeWorkspaceBundlesResult> | describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest describeWorkspaceBundlesRequest)
 Obtains information about the WorkSpace bundles that are available to
 your account in the specified region. | 
| Future<DescribeWorkspaceBundlesResult> | describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest describeWorkspaceBundlesRequest,
                             AsyncHandler<DescribeWorkspaceBundlesRequest,DescribeWorkspaceBundlesResult> asyncHandler)
 Obtains information about the WorkSpace bundles that are available to
 your account in the specified region. | 
| Future<DescribeWorkspaceDirectoriesResult> | describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest describeWorkspaceDirectoriesRequest)
 Retrieves information about the AWS Directory Service directories in
 the region that are registered with Amazon WorkSpaces and are
 available to your account. | 
| Future<DescribeWorkspaceDirectoriesResult> | describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest describeWorkspaceDirectoriesRequest,
                                 AsyncHandler<DescribeWorkspaceDirectoriesRequest,DescribeWorkspaceDirectoriesResult> asyncHandler)
 Retrieves information about the AWS Directory Service directories in
 the region that are registered with Amazon WorkSpaces and are
 available to your account. | 
| Future<DescribeWorkspacesResult> | describeWorkspacesAsync(DescribeWorkspacesRequest describeWorkspacesRequest)
 Obtains information about the specified WorkSpaces. | 
| Future<DescribeWorkspacesResult> | describeWorkspacesAsync(DescribeWorkspacesRequest describeWorkspacesRequest,
                       AsyncHandler<DescribeWorkspacesRequest,DescribeWorkspacesResult> asyncHandler)
 Obtains information about the specified WorkSpaces. | 
| ExecutorService | getExecutorService()Returns the executor service used by this async client to execute
 requests. | 
| Future<RebootWorkspacesResult> | rebootWorkspacesAsync(RebootWorkspacesRequest rebootWorkspacesRequest)
 Reboots the specified WorkSpaces. | 
| Future<RebootWorkspacesResult> | rebootWorkspacesAsync(RebootWorkspacesRequest rebootWorkspacesRequest,
                     AsyncHandler<RebootWorkspacesRequest,RebootWorkspacesResult> asyncHandler)
 Reboots the specified WorkSpaces. | 
| Future<RebuildWorkspacesResult> | rebuildWorkspacesAsync(RebuildWorkspacesRequest rebuildWorkspacesRequest)
 Rebuilds the specified WorkSpaces. | 
| Future<RebuildWorkspacesResult> | rebuildWorkspacesAsync(RebuildWorkspacesRequest rebuildWorkspacesRequest,
                      AsyncHandler<RebuildWorkspacesRequest,RebuildWorkspacesResult> asyncHandler)
 Rebuilds the specified WorkSpaces. | 
| void | shutdown()Shuts down the client, releasing all managed resources. | 
| Future<TerminateWorkspacesResult> | terminateWorkspacesAsync(TerminateWorkspacesRequest terminateWorkspacesRequest)
 Terminates the specified WorkSpaces. | 
| Future<TerminateWorkspacesResult> | terminateWorkspacesAsync(TerminateWorkspacesRequest terminateWorkspacesRequest,
                        AsyncHandler<TerminateWorkspacesRequest,TerminateWorkspacesResult> asyncHandler)
 Terminates the specified WorkSpaces. | 
createWorkspaces, describeWorkspaceBundles, describeWorkspaceBundles, describeWorkspaceDirectories, describeWorkspaceDirectories, describeWorkspaces, describeWorkspaces, getCachedResponseMetadata, rebootWorkspaces, rebuildWorkspaces, setEndpoint, setEndpoint, terminateWorkspacesaddRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, convertToHttpRequest, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setConfiguration, setRegion, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateWorkspaces, describeWorkspaceBundles, describeWorkspaceBundles, describeWorkspaceDirectories, describeWorkspaceDirectories, describeWorkspaces, describeWorkspaces, getCachedResponseMetadata, rebootWorkspaces, rebuildWorkspaces, setEndpoint, setRegion, terminateWorkspacespublic AmazonWorkspacesAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChainpublic AmazonWorkspacesAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
                       client connects to AmazonWorkspaces
                       (ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
                       when authenticating with AWS services.public AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
            when authenticating with AWS services.executorService - The executor service by which all asynchronous requests will
            be executed.public AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
            when authenticating with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
            settings, etc).executorService - The executor service by which all asynchronous requests will
            be executed.public AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
            to authenticate requests with AWS services.public AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
            to authenticate requests with AWS services.executorService - The executor service by which all asynchronous requests will
            be executed.public AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
            to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
            settings, etc).public AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
            to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
            settings, etc).executorService - The executor service by which all asynchronous requests will
            be executed.public ExecutorService getExecutorService()
public void shutdown()
shutdown in interface AmazonWorkspacesshutdown in class AmazonWebServiceClientpublic Future<CreateWorkspacesResult> createWorkspacesAsync(CreateWorkspacesRequest createWorkspacesRequest) throws AmazonServiceException, AmazonClientException
Creates one or more WorkSpaces.
NOTE: This operation is asynchronous and returns before the WorkSpaces are created.
createWorkspacesAsync in interface AmazonWorkspacesAsynccreateWorkspacesRequest - Container for the necessary parameters
           to execute the CreateWorkspaces operation on AmazonWorkspaces.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<CreateWorkspacesResult> createWorkspacesAsync(CreateWorkspacesRequest createWorkspacesRequest, AsyncHandler<CreateWorkspacesRequest,CreateWorkspacesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates one or more WorkSpaces.
NOTE: This operation is asynchronous and returns before the WorkSpaces are created.
createWorkspacesAsync in interface AmazonWorkspacesAsynccreateWorkspacesRequest - Container for the necessary parameters
           to execute the CreateWorkspaces operation on AmazonWorkspaces.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest describeWorkspaceBundlesRequest) throws AmazonServiceException, AmazonClientException
Obtains information about the WorkSpace bundles that are available to your account in the specified region.
 You can filter the results with either the BundleIds
 parameter, or the Owner parameter, but not both.
 
 This operation supports pagination with the use of the
 NextToken request and response parameters. If more
 results are available, the NextToken response member
 contains a token that you pass in the next call to this operation to
 retrieve the next set of items.
 
describeWorkspaceBundlesAsync in interface AmazonWorkspacesAsyncdescribeWorkspaceBundlesRequest - Container for the necessary
           parameters to execute the DescribeWorkspaceBundles operation on
           AmazonWorkspaces.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest describeWorkspaceBundlesRequest, AsyncHandler<DescribeWorkspaceBundlesRequest,DescribeWorkspaceBundlesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Obtains information about the WorkSpace bundles that are available to your account in the specified region.
 You can filter the results with either the BundleIds
 parameter, or the Owner parameter, but not both.
 
 This operation supports pagination with the use of the
 NextToken request and response parameters. If more
 results are available, the NextToken response member
 contains a token that you pass in the next call to this operation to
 retrieve the next set of items.
 
describeWorkspaceBundlesAsync in interface AmazonWorkspacesAsyncdescribeWorkspaceBundlesRequest - Container for the necessary
           parameters to execute the DescribeWorkspaceBundles operation on
           AmazonWorkspaces.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<RebootWorkspacesResult> rebootWorkspacesAsync(RebootWorkspacesRequest rebootWorkspacesRequest) throws AmazonServiceException, AmazonClientException
Reboots the specified WorkSpaces.
 To be able to reboot a WorkSpace, the WorkSpace must have a
 State of AVAILABLE , IMPAIRED , or
 INOPERABLE .
 
NOTE: This operation is asynchronous and will return before the WorkSpaces have rebooted.
rebootWorkspacesAsync in interface AmazonWorkspacesAsyncrebootWorkspacesRequest - Container for the necessary parameters
           to execute the RebootWorkspaces operation on AmazonWorkspaces.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<RebootWorkspacesResult> rebootWorkspacesAsync(RebootWorkspacesRequest rebootWorkspacesRequest, AsyncHandler<RebootWorkspacesRequest,RebootWorkspacesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Reboots the specified WorkSpaces.
 To be able to reboot a WorkSpace, the WorkSpace must have a
 State of AVAILABLE , IMPAIRED , or
 INOPERABLE .
 
NOTE: This operation is asynchronous and will return before the WorkSpaces have rebooted.
rebootWorkspacesAsync in interface AmazonWorkspacesAsyncrebootWorkspacesRequest - Container for the necessary parameters
           to execute the RebootWorkspaces operation on AmazonWorkspaces.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeWorkspacesResult> describeWorkspacesAsync(DescribeWorkspacesRequest describeWorkspacesRequest) throws AmazonServiceException, AmazonClientException
Obtains information about the specified WorkSpaces.
 Only one of the filter parameters, such as BundleId ,
 DirectoryId , or WorkspaceIds , can be
 specified at a time.
 
 This operation supports pagination with the use of the
 NextToken request and response parameters. If more
 results are available, the NextToken response member
 contains a token that you pass in the next call to this operation to
 retrieve the next set of items.
 
describeWorkspacesAsync in interface AmazonWorkspacesAsyncdescribeWorkspacesRequest - Container for the necessary
           parameters to execute the DescribeWorkspaces operation on
           AmazonWorkspaces.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeWorkspacesResult> describeWorkspacesAsync(DescribeWorkspacesRequest describeWorkspacesRequest, AsyncHandler<DescribeWorkspacesRequest,DescribeWorkspacesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Obtains information about the specified WorkSpaces.
 Only one of the filter parameters, such as BundleId ,
 DirectoryId , or WorkspaceIds , can be
 specified at a time.
 
 This operation supports pagination with the use of the
 NextToken request and response parameters. If more
 results are available, the NextToken response member
 contains a token that you pass in the next call to this operation to
 retrieve the next set of items.
 
describeWorkspacesAsync in interface AmazonWorkspacesAsyncdescribeWorkspacesRequest - Container for the necessary
           parameters to execute the DescribeWorkspaces operation on
           AmazonWorkspaces.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest describeWorkspaceDirectoriesRequest) throws AmazonServiceException, AmazonClientException
Retrieves information about the AWS Directory Service directories in the region that are registered with Amazon WorkSpaces and are available to your account.
 This operation supports pagination with the use of the
 NextToken request and response parameters. If more
 results are available, the NextToken response member
 contains a token that you pass in the next call to this operation to
 retrieve the next set of items.
 
describeWorkspaceDirectoriesAsync in interface AmazonWorkspacesAsyncdescribeWorkspaceDirectoriesRequest - Container for the necessary
           parameters to execute the DescribeWorkspaceDirectories operation on
           AmazonWorkspaces.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest describeWorkspaceDirectoriesRequest, AsyncHandler<DescribeWorkspaceDirectoriesRequest,DescribeWorkspaceDirectoriesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Retrieves information about the AWS Directory Service directories in the region that are registered with Amazon WorkSpaces and are available to your account.
 This operation supports pagination with the use of the
 NextToken request and response parameters. If more
 results are available, the NextToken response member
 contains a token that you pass in the next call to this operation to
 retrieve the next set of items.
 
describeWorkspaceDirectoriesAsync in interface AmazonWorkspacesAsyncdescribeWorkspaceDirectoriesRequest - Container for the necessary
           parameters to execute the DescribeWorkspaceDirectories operation on
           AmazonWorkspaces.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<RebuildWorkspacesResult> rebuildWorkspacesAsync(RebuildWorkspacesRequest rebuildWorkspacesRequest) throws AmazonServiceException, AmazonClientException
Rebuilds the specified WorkSpaces.
Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. Rebuilding a WorkSpace causes the following to occur:
 To be able to rebuild a WorkSpace, the WorkSpace must have a
 State of AVAILABLE or ERROR .
 
NOTE: This operation is asynchronous and will return before the WorkSpaces have been completely rebuilt.
rebuildWorkspacesAsync in interface AmazonWorkspacesAsyncrebuildWorkspacesRequest - Container for the necessary parameters
           to execute the RebuildWorkspaces operation on AmazonWorkspaces.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<RebuildWorkspacesResult> rebuildWorkspacesAsync(RebuildWorkspacesRequest rebuildWorkspacesRequest, AsyncHandler<RebuildWorkspacesRequest,RebuildWorkspacesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Rebuilds the specified WorkSpaces.
Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. Rebuilding a WorkSpace causes the following to occur:
 To be able to rebuild a WorkSpace, the WorkSpace must have a
 State of AVAILABLE or ERROR .
 
NOTE: This operation is asynchronous and will return before the WorkSpaces have been completely rebuilt.
rebuildWorkspacesAsync in interface AmazonWorkspacesAsyncrebuildWorkspacesRequest - Container for the necessary parameters
           to execute the RebuildWorkspaces operation on AmazonWorkspaces.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<TerminateWorkspacesResult> terminateWorkspacesAsync(TerminateWorkspacesRequest terminateWorkspacesRequest) throws AmazonServiceException, AmazonClientException
Terminates the specified WorkSpaces.
Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is not maintained and will be destroyed. If you need to archive any user data, contact Amazon Web Services before terminating the WorkSpace.
 You can terminate a WorkSpace that is in any state except
 SUSPENDED .
 
NOTE: This operation is asynchronous and will return before the WorkSpaces have been completely terminated.
terminateWorkspacesAsync in interface AmazonWorkspacesAsyncterminateWorkspacesRequest - Container for the necessary
           parameters to execute the TerminateWorkspaces operation on
           AmazonWorkspaces.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.public Future<TerminateWorkspacesResult> terminateWorkspacesAsync(TerminateWorkspacesRequest terminateWorkspacesRequest, AsyncHandler<TerminateWorkspacesRequest,TerminateWorkspacesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Terminates the specified WorkSpaces.
Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is not maintained and will be destroyed. If you need to archive any user data, contact Amazon Web Services before terminating the WorkSpace.
 You can terminate a WorkSpace that is in any state except
 SUSPENDED .
 
NOTE: This operation is asynchronous and will return before the WorkSpaces have been completely terminated.
terminateWorkspacesAsync in interface AmazonWorkspacesAsyncterminateWorkspacesRequest - Container for the necessary
           parameters to execute the TerminateWorkspaces operation on
           AmazonWorkspaces.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonWorkspaces indicating
             either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.