@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonWorkSpacesThinClientAsyncClient extends AmazonWorkSpacesThinClientClient implements AmazonWorkSpacesThinClientAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Amazon WorkSpaces Thin Client is an affordable device built to work with Amazon Web Services End User Computing (EUC) virtual desktops to provide users with a complete cloud desktop solution. WorkSpaces Thin Client is a compact device designed to connect up to two monitors and USB devices like a keyboard, mouse, headset, and webcam. To maximize endpoint security, WorkSpaces Thin Client devices do not allow local data storage or installation of unapproved applications. The WorkSpaces Thin Client device ships preloaded with device management software.
You can use these APIs to complete WorkSpaces Thin Client tasks, such as creating environments or viewing devices. For more information about WorkSpaces Thin Client, including the required permissions to use the service, see the Amazon WorkSpaces Thin Client Administrator Guide. For more information about using the Command Line Interface (CLI) to manage your WorkSpaces Thin Client resources, see the WorkSpaces Thin Client section of the CLI Reference.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createEnvironment, deleteDevice, deleteEnvironment, deregisterDevice, getCachedResponseMetadata, getDevice, getEnvironment, getSoftwareSet, listDevices, listEnvironments, listSoftwareSets, listTagsForResource, tagResource, untagResource, updateDevice, updateEnvironment, updateSoftwareSet
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, 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
createEnvironment, deleteDevice, deleteEnvironment, deregisterDevice, getCachedResponseMetadata, getDevice, getEnvironment, getSoftwareSet, listDevices, listEnvironments, listSoftwareSets, listTagsForResource, tagResource, untagResource, updateDevice, updateEnvironment, updateSoftwareSet
public static AmazonWorkSpacesThinClientAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request)
AmazonWorkSpacesThinClientAsync
Creates an environment for your thin client devices.
createEnvironmentAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request, AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Creates an environment for your thin client devices.
createEnvironmentAsync
in interface AmazonWorkSpacesThinClientAsync
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<DeleteDeviceResult> deleteDeviceAsync(DeleteDeviceRequest request)
AmazonWorkSpacesThinClientAsync
Deletes a thin client device.
deleteDeviceAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<DeleteDeviceResult> deleteDeviceAsync(DeleteDeviceRequest request, AsyncHandler<DeleteDeviceRequest,DeleteDeviceResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Deletes a thin client device.
deleteDeviceAsync
in interface AmazonWorkSpacesThinClientAsync
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<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request)
AmazonWorkSpacesThinClientAsync
Deletes an environment.
deleteEnvironmentAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request, AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Deletes an environment.
deleteEnvironmentAsync
in interface AmazonWorkSpacesThinClientAsync
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<DeregisterDeviceResult> deregisterDeviceAsync(DeregisterDeviceRequest request)
AmazonWorkSpacesThinClientAsync
Deregisters a thin client device.
deregisterDeviceAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<DeregisterDeviceResult> deregisterDeviceAsync(DeregisterDeviceRequest request, AsyncHandler<DeregisterDeviceRequest,DeregisterDeviceResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Deregisters a thin client device.
deregisterDeviceAsync
in interface AmazonWorkSpacesThinClientAsync
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<GetDeviceResult> getDeviceAsync(GetDeviceRequest request)
AmazonWorkSpacesThinClientAsync
Returns information for a thin client device.
getDeviceAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request, AsyncHandler<GetDeviceRequest,GetDeviceResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Returns information for a thin client device.
getDeviceAsync
in interface AmazonWorkSpacesThinClientAsync
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<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request)
AmazonWorkSpacesThinClientAsync
Returns information for an environment.
getEnvironmentAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request, AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Returns information for an environment.
getEnvironmentAsync
in interface AmazonWorkSpacesThinClientAsync
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<GetSoftwareSetResult> getSoftwareSetAsync(GetSoftwareSetRequest request)
AmazonWorkSpacesThinClientAsync
Returns information for a software set.
getSoftwareSetAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<GetSoftwareSetResult> getSoftwareSetAsync(GetSoftwareSetRequest request, AsyncHandler<GetSoftwareSetRequest,GetSoftwareSetResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Returns information for a software set.
getSoftwareSetAsync
in interface AmazonWorkSpacesThinClientAsync
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<ListDevicesResult> listDevicesAsync(ListDevicesRequest request)
AmazonWorkSpacesThinClientAsync
Returns a list of thin client devices.
listDevicesAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest request, AsyncHandler<ListDevicesRequest,ListDevicesResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Returns a list of thin client devices.
listDevicesAsync
in interface AmazonWorkSpacesThinClientAsync
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<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request)
AmazonWorkSpacesThinClientAsync
Returns a list of environments.
listEnvironmentsAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request, AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Returns a list of environments.
listEnvironmentsAsync
in interface AmazonWorkSpacesThinClientAsync
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<ListSoftwareSetsResult> listSoftwareSetsAsync(ListSoftwareSetsRequest request)
AmazonWorkSpacesThinClientAsync
Returns a list of software sets.
listSoftwareSetsAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<ListSoftwareSetsResult> listSoftwareSetsAsync(ListSoftwareSetsRequest request, AsyncHandler<ListSoftwareSetsRequest,ListSoftwareSetsResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Returns a list of software sets.
listSoftwareSetsAsync
in interface AmazonWorkSpacesThinClientAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonWorkSpacesThinClientAsync
Returns a list of tags for a resource.
listTagsForResourceAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Returns a list of tags for a resource.
listTagsForResourceAsync
in interface AmazonWorkSpacesThinClientAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonWorkSpacesThinClientAsync
Assigns one or more tags (key-value pairs) to the specified resource.
tagResourceAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Assigns one or more tags (key-value pairs) to the specified resource.
tagResourceAsync
in interface AmazonWorkSpacesThinClientAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonWorkSpacesThinClientAsync
Removes a tag or tags from a resource.
untagResourceAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Removes a tag or tags from a resource.
untagResourceAsync
in interface AmazonWorkSpacesThinClientAsync
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<UpdateDeviceResult> updateDeviceAsync(UpdateDeviceRequest request)
AmazonWorkSpacesThinClientAsync
Updates a thin client device.
updateDeviceAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<UpdateDeviceResult> updateDeviceAsync(UpdateDeviceRequest request, AsyncHandler<UpdateDeviceRequest,UpdateDeviceResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Updates a thin client device.
updateDeviceAsync
in interface AmazonWorkSpacesThinClientAsync
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<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request)
AmazonWorkSpacesThinClientAsync
Updates an environment.
updateEnvironmentAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request, AsyncHandler<UpdateEnvironmentRequest,UpdateEnvironmentResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Updates an environment.
updateEnvironmentAsync
in interface AmazonWorkSpacesThinClientAsync
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<UpdateSoftwareSetResult> updateSoftwareSetAsync(UpdateSoftwareSetRequest request)
AmazonWorkSpacesThinClientAsync
Updates a software set.
updateSoftwareSetAsync
in interface AmazonWorkSpacesThinClientAsync
public Future<UpdateSoftwareSetResult> updateSoftwareSetAsync(UpdateSoftwareSetRequest request, AsyncHandler<UpdateSoftwareSetRequest,UpdateSoftwareSetResult> asyncHandler)
AmazonWorkSpacesThinClientAsync
Updates a software set.
updateSoftwareSetAsync
in interface AmazonWorkSpacesThinClientAsync
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 AmazonWorkSpacesThinClient
shutdown
in class AmazonWorkSpacesThinClientClient