@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonWorkspacesAsyncClient extends AmazonWorkspacesClient implements AmazonWorkspacesAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows desktops for your users.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AmazonWorkspacesAsyncClient()
Deprecated.
|
AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AmazonWorkspacesAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
associateIpGroups, authorizeIpRules, builder, createIpGroup, createTags, createWorkspaces, deleteIpGroup, deleteTags, describeIpGroups, describeTags, describeWorkspaceBundles, describeWorkspaceBundles, describeWorkspaceDirectories, describeWorkspaceDirectories, describeWorkspaces, describeWorkspaces, describeWorkspacesConnectionStatus, disassociateIpGroups, getCachedResponseMetadata, modifyWorkspaceProperties, modifyWorkspaceState, rebootWorkspaces, rebuildWorkspaces, revokeIpRules, startWorkspaces, stopWorkspaces, terminateWorkspaces, updateRulesOfIpGroup
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateIpGroups, authorizeIpRules, createIpGroup, createTags, createWorkspaces, deleteIpGroup, deleteTags, describeIpGroups, describeTags, describeWorkspaceBundles, describeWorkspaceBundles, describeWorkspaceDirectories, describeWorkspaceDirectories, describeWorkspaces, describeWorkspaces, describeWorkspacesConnectionStatus, disassociateIpGroups, getCachedResponseMetadata, modifyWorkspaceProperties, modifyWorkspaceState, rebootWorkspaces, rebuildWorkspaces, revokeIpRules, setEndpoint, setRegion, startWorkspaces, stopWorkspaces, terminateWorkspaces, updateRulesOfIpGroup
@Deprecated public AmazonWorkspacesAsyncClient()
AmazonWorkspacesAsyncClientBuilder.defaultClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AmazonWorkspacesAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to Amazon WorkSpaces (ex: proxy
settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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.@Deprecated public AmazonWorkspacesAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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.@Deprecated public AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
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).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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.@Deprecated public AmazonWorkspacesAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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 static AmazonWorkspacesAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateIpGroupsResult> associateIpGroupsAsync(AssociateIpGroupsRequest request)
AmazonWorkspacesAsync
Associates the specified IP access control group with the specified directory.
associateIpGroupsAsync
in interface AmazonWorkspacesAsync
public Future<AssociateIpGroupsResult> associateIpGroupsAsync(AssociateIpGroupsRequest request, AsyncHandler<AssociateIpGroupsRequest,AssociateIpGroupsResult> asyncHandler)
AmazonWorkspacesAsync
Associates the specified IP access control group with the specified directory.
associateIpGroupsAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AuthorizeIpRulesResult> authorizeIpRulesAsync(AuthorizeIpRulesRequest request)
AmazonWorkspacesAsync
Adds one or more rules to the specified IP access control group.
This action gives users permission to access their WorkSpaces from the CIDR address ranges specified in the rules.
authorizeIpRulesAsync
in interface AmazonWorkspacesAsync
public Future<AuthorizeIpRulesResult> authorizeIpRulesAsync(AuthorizeIpRulesRequest request, AsyncHandler<AuthorizeIpRulesRequest,AuthorizeIpRulesResult> asyncHandler)
AmazonWorkspacesAsync
Adds one or more rules to the specified IP access control group.
This action gives users permission to access their WorkSpaces from the CIDR address ranges specified in the rules.
authorizeIpRulesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateIpGroupResult> createIpGroupAsync(CreateIpGroupRequest request)
AmazonWorkspacesAsync
Creates an IP access control group.
An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules.
There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.
createIpGroupAsync
in interface AmazonWorkspacesAsync
public Future<CreateIpGroupResult> createIpGroupAsync(CreateIpGroupRequest request, AsyncHandler<CreateIpGroupRequest,CreateIpGroupResult> asyncHandler)
AmazonWorkspacesAsync
Creates an IP access control group.
An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules.
There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.
createIpGroupAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateTagsResult> createTagsAsync(CreateTagsRequest request)
AmazonWorkspacesAsync
Creates the specified tags for the specified WorkSpace.
createTagsAsync
in interface AmazonWorkspacesAsync
public Future<CreateTagsResult> createTagsAsync(CreateTagsRequest request, AsyncHandler<CreateTagsRequest,CreateTagsResult> asyncHandler)
AmazonWorkspacesAsync
Creates the specified tags for the specified WorkSpace.
createTagsAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateWorkspacesResult> createWorkspacesAsync(CreateWorkspacesRequest request)
AmazonWorkspacesAsync
Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
createWorkspacesAsync
in interface AmazonWorkspacesAsync
public Future<CreateWorkspacesResult> createWorkspacesAsync(CreateWorkspacesRequest request, AsyncHandler<CreateWorkspacesRequest,CreateWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
createWorkspacesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteIpGroupResult> deleteIpGroupAsync(DeleteIpGroupRequest request)
AmazonWorkspacesAsync
Deletes the specified IP access control group.
You cannot delete an IP access control group that is associated with a directory.
deleteIpGroupAsync
in interface AmazonWorkspacesAsync
public Future<DeleteIpGroupResult> deleteIpGroupAsync(DeleteIpGroupRequest request, AsyncHandler<DeleteIpGroupRequest,DeleteIpGroupResult> asyncHandler)
AmazonWorkspacesAsync
Deletes the specified IP access control group.
You cannot delete an IP access control group that is associated with a directory.
deleteIpGroupAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request)
AmazonWorkspacesAsync
Deletes the specified tags from the specified WorkSpace.
deleteTagsAsync
in interface AmazonWorkspacesAsync
public Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request, AsyncHandler<DeleteTagsRequest,DeleteTagsResult> asyncHandler)
AmazonWorkspacesAsync
Deletes the specified tags from the specified WorkSpace.
deleteTagsAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeIpGroupsResult> describeIpGroupsAsync(DescribeIpGroupsRequest request)
AmazonWorkspacesAsync
Describes one or more of your IP access control groups.
describeIpGroupsAsync
in interface AmazonWorkspacesAsync
public Future<DescribeIpGroupsResult> describeIpGroupsAsync(DescribeIpGroupsRequest request, AsyncHandler<DescribeIpGroupsRequest,DescribeIpGroupsResult> asyncHandler)
AmazonWorkspacesAsync
Describes one or more of your IP access control groups.
describeIpGroupsAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request)
AmazonWorkspacesAsync
Describes the specified tags for the specified WorkSpace.
describeTagsAsync
in interface AmazonWorkspacesAsync
public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request, AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler)
AmazonWorkspacesAsync
Describes the specified tags for the specified WorkSpace.
describeTagsAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest request)
AmazonWorkspacesAsync
Describes the available WorkSpace bundles.
You can filter the results using either bundle ID or owner, but not both.
describeWorkspaceBundlesAsync
in interface AmazonWorkspacesAsync
public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest request, AsyncHandler<DescribeWorkspaceBundlesRequest,DescribeWorkspaceBundlesResult> asyncHandler)
AmazonWorkspacesAsync
Describes the available WorkSpace bundles.
You can filter the results using either bundle ID or owner, but not both.
describeWorkspaceBundlesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync()
describeWorkspaceBundlesAsync
in interface AmazonWorkspacesAsync
describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest)
public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(AsyncHandler<DescribeWorkspaceBundlesRequest,DescribeWorkspaceBundlesResult> asyncHandler)
describeWorkspaceBundlesAsync
in interface AmazonWorkspacesAsync
describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest, com.amazonaws.handlers.AsyncHandler)
public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest request)
AmazonWorkspacesAsync
Describes the available AWS Directory Service directories that are registered with Amazon WorkSpaces.
describeWorkspaceDirectoriesAsync
in interface AmazonWorkspacesAsync
public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest request, AsyncHandler<DescribeWorkspaceDirectoriesRequest,DescribeWorkspaceDirectoriesResult> asyncHandler)
AmazonWorkspacesAsync
Describes the available AWS Directory Service directories that are registered with Amazon WorkSpaces.
describeWorkspaceDirectoriesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync()
describeWorkspaceDirectoriesAsync
in interface AmazonWorkspacesAsync
describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest)
public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(AsyncHandler<DescribeWorkspaceDirectoriesRequest,DescribeWorkspaceDirectoriesResult> asyncHandler)
public Future<DescribeWorkspacesResult> describeWorkspacesAsync(DescribeWorkspacesRequest request)
AmazonWorkspacesAsync
Describes the specified WorkSpaces.
You can filter the results using bundle ID, directory ID, or owner, but you can specify only one filter at a time.
describeWorkspacesAsync
in interface AmazonWorkspacesAsync
public Future<DescribeWorkspacesResult> describeWorkspacesAsync(DescribeWorkspacesRequest request, AsyncHandler<DescribeWorkspacesRequest,DescribeWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
Describes the specified WorkSpaces.
You can filter the results using bundle ID, directory ID, or owner, but you can specify only one filter at a time.
describeWorkspacesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWorkspacesResult> describeWorkspacesAsync()
describeWorkspacesAsync
in interface AmazonWorkspacesAsync
describeWorkspacesAsync(DescribeWorkspacesRequest)
public Future<DescribeWorkspacesResult> describeWorkspacesAsync(AsyncHandler<DescribeWorkspacesRequest,DescribeWorkspacesResult> asyncHandler)
describeWorkspacesAsync
in interface AmazonWorkspacesAsync
describeWorkspacesAsync(DescribeWorkspacesRequest, com.amazonaws.handlers.AsyncHandler)
public Future<DescribeWorkspacesConnectionStatusResult> describeWorkspacesConnectionStatusAsync(DescribeWorkspacesConnectionStatusRequest request)
AmazonWorkspacesAsync
Describes the connection status of the specified WorkSpaces.
describeWorkspacesConnectionStatusAsync
in interface AmazonWorkspacesAsync
public Future<DescribeWorkspacesConnectionStatusResult> describeWorkspacesConnectionStatusAsync(DescribeWorkspacesConnectionStatusRequest request, AsyncHandler<DescribeWorkspacesConnectionStatusRequest,DescribeWorkspacesConnectionStatusResult> asyncHandler)
AmazonWorkspacesAsync
Describes the connection status of the specified WorkSpaces.
describeWorkspacesConnectionStatusAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateIpGroupsResult> disassociateIpGroupsAsync(DisassociateIpGroupsRequest request)
AmazonWorkspacesAsync
Disassociates the specified IP access control group from the specified directory.
disassociateIpGroupsAsync
in interface AmazonWorkspacesAsync
public Future<DisassociateIpGroupsResult> disassociateIpGroupsAsync(DisassociateIpGroupsRequest request, AsyncHandler<DisassociateIpGroupsRequest,DisassociateIpGroupsResult> asyncHandler)
AmazonWorkspacesAsync
Disassociates the specified IP access control group from the specified directory.
disassociateIpGroupsAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyWorkspacePropertiesResult> modifyWorkspacePropertiesAsync(ModifyWorkspacePropertiesRequest request)
AmazonWorkspacesAsync
Modifies the specified WorkSpace properties.
modifyWorkspacePropertiesAsync
in interface AmazonWorkspacesAsync
public Future<ModifyWorkspacePropertiesResult> modifyWorkspacePropertiesAsync(ModifyWorkspacePropertiesRequest request, AsyncHandler<ModifyWorkspacePropertiesRequest,ModifyWorkspacePropertiesResult> asyncHandler)
AmazonWorkspacesAsync
Modifies the specified WorkSpace properties.
modifyWorkspacePropertiesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyWorkspaceStateResult> modifyWorkspaceStateAsync(ModifyWorkspaceStateRequest request)
AmazonWorkspacesAsync
Sets the state of the specified WorkSpace.
To maintain a WorkSpace without being interrupted, set the WorkSpace state to ADMIN_MAINTENANCE
.
WorkSpaces in this state do not respond to requests to reboot, stop, start, or rebuild. An AutoStop WorkSpace in
this state is not stopped. Users can log into a WorkSpace in the ADMIN_MAINTENANCE
state.
modifyWorkspaceStateAsync
in interface AmazonWorkspacesAsync
public Future<ModifyWorkspaceStateResult> modifyWorkspaceStateAsync(ModifyWorkspaceStateRequest request, AsyncHandler<ModifyWorkspaceStateRequest,ModifyWorkspaceStateResult> asyncHandler)
AmazonWorkspacesAsync
Sets the state of the specified WorkSpace.
To maintain a WorkSpace without being interrupted, set the WorkSpace state to ADMIN_MAINTENANCE
.
WorkSpaces in this state do not respond to requests to reboot, stop, start, or rebuild. An AutoStop WorkSpace in
this state is not stopped. Users can log into a WorkSpace in the ADMIN_MAINTENANCE
state.
modifyWorkspaceStateAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RebootWorkspacesResult> rebootWorkspacesAsync(RebootWorkspacesRequest request)
AmazonWorkspacesAsync
Reboots the specified WorkSpaces.
You cannot reboot a WorkSpace unless its state is AVAILABLE
or UNHEALTHY
.
This operation is asynchronous and returns before the WorkSpaces have rebooted.
rebootWorkspacesAsync
in interface AmazonWorkspacesAsync
public Future<RebootWorkspacesResult> rebootWorkspacesAsync(RebootWorkspacesRequest request, AsyncHandler<RebootWorkspacesRequest,RebootWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
Reboots the specified WorkSpaces.
You cannot reboot a WorkSpace unless its state is AVAILABLE
or UNHEALTHY
.
This operation is asynchronous and returns before the WorkSpaces have rebooted.
rebootWorkspacesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RebuildWorkspacesResult> rebuildWorkspacesAsync(RebuildWorkspacesRequest request)
AmazonWorkspacesAsync
Rebuilds the specified WorkSpace.
You cannot rebuild a WorkSpace unless its state is AVAILABLE
, ERROR
, or
UNHEALTHY
.
Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.
This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.
rebuildWorkspacesAsync
in interface AmazonWorkspacesAsync
public Future<RebuildWorkspacesResult> rebuildWorkspacesAsync(RebuildWorkspacesRequest request, AsyncHandler<RebuildWorkspacesRequest,RebuildWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
Rebuilds the specified WorkSpace.
You cannot rebuild a WorkSpace unless its state is AVAILABLE
, ERROR
, or
UNHEALTHY
.
Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.
This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.
rebuildWorkspacesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RevokeIpRulesResult> revokeIpRulesAsync(RevokeIpRulesRequest request)
AmazonWorkspacesAsync
Removes one or more rules from the specified IP access control group.
revokeIpRulesAsync
in interface AmazonWorkspacesAsync
public Future<RevokeIpRulesResult> revokeIpRulesAsync(RevokeIpRulesRequest request, AsyncHandler<RevokeIpRulesRequest,RevokeIpRulesResult> asyncHandler)
AmazonWorkspacesAsync
Removes one or more rules from the specified IP access control group.
revokeIpRulesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartWorkspacesResult> startWorkspacesAsync(StartWorkspacesRequest request)
AmazonWorkspacesAsync
Starts the specified WorkSpaces.
You cannot start a WorkSpace unless it has a running mode of AutoStop
and a state of
STOPPED
.
startWorkspacesAsync
in interface AmazonWorkspacesAsync
public Future<StartWorkspacesResult> startWorkspacesAsync(StartWorkspacesRequest request, AsyncHandler<StartWorkspacesRequest,StartWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
Starts the specified WorkSpaces.
You cannot start a WorkSpace unless it has a running mode of AutoStop
and a state of
STOPPED
.
startWorkspacesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopWorkspacesResult> stopWorkspacesAsync(StopWorkspacesRequest request)
AmazonWorkspacesAsync
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
.
stopWorkspacesAsync
in interface AmazonWorkspacesAsync
public Future<StopWorkspacesResult> stopWorkspacesAsync(StopWorkspacesRequest request, AsyncHandler<StopWorkspacesRequest,StopWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
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
.
stopWorkspacesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TerminateWorkspacesResult> terminateWorkspacesAsync(TerminateWorkspacesRequest request)
AmazonWorkspacesAsync
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 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.
terminateWorkspacesAsync
in interface AmazonWorkspacesAsync
public Future<TerminateWorkspacesResult> terminateWorkspacesAsync(TerminateWorkspacesRequest request, AsyncHandler<TerminateWorkspacesRequest,TerminateWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
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 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.
terminateWorkspacesAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRulesOfIpGroupResult> updateRulesOfIpGroupAsync(UpdateRulesOfIpGroupRequest request)
AmazonWorkspacesAsync
Replaces the current rules of the specified IP access control group with the specified rules.
updateRulesOfIpGroupAsync
in interface AmazonWorkspacesAsync
public Future<UpdateRulesOfIpGroupResult> updateRulesOfIpGroupAsync(UpdateRulesOfIpGroupRequest request, AsyncHandler<UpdateRulesOfIpGroupRequest,UpdateRulesOfIpGroupResult> asyncHandler)
AmazonWorkspacesAsync
Replaces the current rules of the specified IP access control group with the specified rules.
updateRulesOfIpGroupAsync
in interface AmazonWorkspacesAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonWorkspaces
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.