public interface AmazonWorkspacesAsync extends AmazonWorkspaces
This is the Amazon WorkSpaces API Reference . This guide provides detailed information about Amazon WorkSpaces operations, data types, parameters, and errors.
createWorkspaces, describeWorkspaceBundles, describeWorkspaceBundles, describeWorkspaceDirectories, describeWorkspaceDirectories, describeWorkspaces, describeWorkspaces, getCachedResponseMetadata, rebootWorkspaces, rebuildWorkspaces, setEndpoint, setRegion, shutdown, terminateWorkspaces
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.
createWorkspacesRequest
- 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.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.
createWorkspacesRequest
- 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.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.
describeWorkspaceBundlesRequest
- 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.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.
describeWorkspaceBundlesRequest
- 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.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.
rebootWorkspacesRequest
- 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.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.
rebootWorkspacesRequest
- 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.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.
describeWorkspacesRequest
- 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.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.
describeWorkspacesRequest
- 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.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.
describeWorkspaceDirectoriesRequest
- 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.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.
describeWorkspaceDirectoriesRequest
- 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.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.
rebuildWorkspacesRequest
- 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.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.
rebuildWorkspacesRequest
- 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.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.
terminateWorkspacesRequest
- 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.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.
terminateWorkspacesRequest
- 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.