Interface WorkSpacesThinClientClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface WorkSpacesThinClientClient extends AwsClient
Service client for accessing Amazon WorkSpaces Thin Client. This can be created using the staticbuilder()method.Amazon WorkSpaces Thin Client is a 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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static WorkSpacesThinClientClientBuilderbuilder()Create a builder that can be used to configure and create aWorkSpacesThinClientClient.static WorkSpacesThinClientClientcreate()Create aWorkSpacesThinClientClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateEnvironmentResponsecreateEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest)Creates an environment for your thin client devices.default CreateEnvironmentResponsecreateEnvironment(CreateEnvironmentRequest createEnvironmentRequest)Creates an environment for your thin client devices.default DeleteDeviceResponsedeleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest)Deletes a thin client device.default DeleteDeviceResponsedeleteDevice(DeleteDeviceRequest deleteDeviceRequest)Deletes a thin client device.default DeleteEnvironmentResponsedeleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest)Deletes an environment.default DeleteEnvironmentResponsedeleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest)Deletes an environment.default DeregisterDeviceResponsederegisterDevice(Consumer<DeregisterDeviceRequest.Builder> deregisterDeviceRequest)Deregisters a thin client device.default DeregisterDeviceResponsederegisterDevice(DeregisterDeviceRequest deregisterDeviceRequest)Deregisters a thin client device.default GetDeviceResponsegetDevice(Consumer<GetDeviceRequest.Builder> getDeviceRequest)Returns information for a thin client device.default GetDeviceResponsegetDevice(GetDeviceRequest getDeviceRequest)Returns information for a thin client device.default GetEnvironmentResponsegetEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest)Returns information for an environment.default GetEnvironmentResponsegetEnvironment(GetEnvironmentRequest getEnvironmentRequest)Returns information for an environment.default GetSoftwareSetResponsegetSoftwareSet(Consumer<GetSoftwareSetRequest.Builder> getSoftwareSetRequest)Returns information for a software set.default GetSoftwareSetResponsegetSoftwareSet(GetSoftwareSetRequest getSoftwareSetRequest)Returns information for a software set.default ListDevicesResponselistDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest)Returns a list of thin client devices.default ListDevicesResponselistDevices(ListDevicesRequest listDevicesRequest)Returns a list of thin client devices.default ListDevicesIterablelistDevicesPaginator(Consumer<ListDevicesRequest.Builder> listDevicesRequest)Returns a list of thin client devices.default ListDevicesIterablelistDevicesPaginator(ListDevicesRequest listDevicesRequest)Returns a list of thin client devices.default ListEnvironmentsResponselistEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)Returns a list of environments.default ListEnvironmentsResponselistEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)Returns a list of environments.default ListEnvironmentsIterablelistEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)Returns a list of environments.default ListEnvironmentsIterablelistEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest)Returns a list of environments.default ListSoftwareSetsResponselistSoftwareSets(Consumer<ListSoftwareSetsRequest.Builder> listSoftwareSetsRequest)Returns a list of software sets.default ListSoftwareSetsResponselistSoftwareSets(ListSoftwareSetsRequest listSoftwareSetsRequest)Returns a list of software sets.default ListSoftwareSetsIterablelistSoftwareSetsPaginator(Consumer<ListSoftwareSetsRequest.Builder> listSoftwareSetsRequest)Returns a list of software sets.default ListSoftwareSetsIterablelistSoftwareSetsPaginator(ListSoftwareSetsRequest listSoftwareSetsRequest)Returns a list of software sets.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Returns a list of tags for a resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Returns a list of tags for a resource.default WorkSpacesThinClientServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Assigns one or more tags (key-value pairs) to the specified resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Assigns one or more tags (key-value pairs) to the specified resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Removes a tag or tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Removes a tag or tags from a resource.default UpdateDeviceResponseupdateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest)Updates a thin client device.default UpdateDeviceResponseupdateDevice(UpdateDeviceRequest updateDeviceRequest)Updates a thin client device.default UpdateEnvironmentResponseupdateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest)Updates an environment.default UpdateEnvironmentResponseupdateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)Updates an environment.default UpdateSoftwareSetResponseupdateSoftwareSet(Consumer<UpdateSoftwareSetRequest.Builder> updateSoftwareSetRequest)Updates a software set.default UpdateSoftwareSetResponseupdateSoftwareSet(UpdateSoftwareSetRequest updateSoftwareSetRequest)Updates a software set.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createEnvironment
default CreateEnvironmentResponse createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Creates an environment for your thin client devices.
- Parameters:
createEnvironmentRequest-- Returns:
- Result of the CreateEnvironment operation returned by the service.
- Throws:
ServiceQuotaExceededException- Your request exceeds a service quota.ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.ConflictException- The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createEnvironment
default CreateEnvironmentResponse createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Creates an environment for your thin client devices.
This is a convenience which creates an instance of the
CreateEnvironmentRequest.Builderavoiding the need to create one manually viaCreateEnvironmentRequest.builder()- Parameters:
createEnvironmentRequest- AConsumerthat will call methods onCreateEnvironmentRequest.Builderto create a request.- Returns:
- Result of the CreateEnvironment operation returned by the service.
- Throws:
ServiceQuotaExceededException- Your request exceeds a service quota.ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.ConflictException- The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDevice
default DeleteDeviceResponse deleteDevice(DeleteDeviceRequest deleteDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Deletes a thin client device.
- Parameters:
deleteDeviceRequest-- Returns:
- Result of the DeleteDevice operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.ConflictException- The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDevice
default DeleteDeviceResponse deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Deletes a thin client device.
This is a convenience which creates an instance of the
DeleteDeviceRequest.Builderavoiding the need to create one manually viaDeleteDeviceRequest.builder()- Parameters:
deleteDeviceRequest- AConsumerthat will call methods onDeleteDeviceRequest.Builderto create a request.- Returns:
- Result of the DeleteDevice operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.ConflictException- The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEnvironment
default DeleteEnvironmentResponse deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Deletes an environment.
- Parameters:
deleteEnvironmentRequest-- Returns:
- Result of the DeleteEnvironment operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.ConflictException- The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEnvironment
default DeleteEnvironmentResponse deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Deletes an environment.
This is a convenience which creates an instance of the
DeleteEnvironmentRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentRequest.builder()- Parameters:
deleteEnvironmentRequest- AConsumerthat will call methods onDeleteEnvironmentRequest.Builderto create a request.- Returns:
- Result of the DeleteEnvironment operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.ConflictException- The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deregisterDevice
default DeregisterDeviceResponse deregisterDevice(DeregisterDeviceRequest deregisterDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Deregisters a thin client device.
- Parameters:
deregisterDeviceRequest-- Returns:
- Result of the DeregisterDevice operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.ConflictException- The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deregisterDevice
default DeregisterDeviceResponse deregisterDevice(Consumer<DeregisterDeviceRequest.Builder> deregisterDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Deregisters a thin client device.
This is a convenience which creates an instance of the
DeregisterDeviceRequest.Builderavoiding the need to create one manually viaDeregisterDeviceRequest.builder()- Parameters:
deregisterDeviceRequest- AConsumerthat will call methods onDeregisterDeviceRequest.Builderto create a request.- Returns:
- Result of the DeregisterDevice operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.ConflictException- The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDevice
default GetDeviceResponse getDevice(GetDeviceRequest getDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns information for a thin client device.
- Parameters:
getDeviceRequest-- Returns:
- Result of the GetDevice operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDevice
default GetDeviceResponse getDevice(Consumer<GetDeviceRequest.Builder> getDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns information for a thin client device.
This is a convenience which creates an instance of the
GetDeviceRequest.Builderavoiding the need to create one manually viaGetDeviceRequest.builder()- Parameters:
getDeviceRequest- AConsumerthat will call methods onGetDeviceRequest.Builderto create a request.- Returns:
- Result of the GetDevice operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEnvironment
default GetEnvironmentResponse getEnvironment(GetEnvironmentRequest getEnvironmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns information for an environment.
- Parameters:
getEnvironmentRequest-- Returns:
- Result of the GetEnvironment operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEnvironment
default GetEnvironmentResponse getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns information for an environment.
This is a convenience which creates an instance of the
GetEnvironmentRequest.Builderavoiding the need to create one manually viaGetEnvironmentRequest.builder()- Parameters:
getEnvironmentRequest- AConsumerthat will call methods onGetEnvironmentRequest.Builderto create a request.- Returns:
- Result of the GetEnvironment operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getSoftwareSet
default GetSoftwareSetResponse getSoftwareSet(GetSoftwareSetRequest getSoftwareSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns information for a software set.
- Parameters:
getSoftwareSetRequest-- Returns:
- Result of the GetSoftwareSet operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getSoftwareSet
default GetSoftwareSetResponse getSoftwareSet(Consumer<GetSoftwareSetRequest.Builder> getSoftwareSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns information for a software set.
This is a convenience which creates an instance of the
GetSoftwareSetRequest.Builderavoiding the need to create one manually viaGetSoftwareSetRequest.builder()- Parameters:
getSoftwareSetRequest- AConsumerthat will call methods onGetSoftwareSetRequest.Builderto create a request.- Returns:
- Result of the GetSoftwareSet operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDevices
default ListDevicesResponse listDevices(ListDevicesRequest listDevicesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of thin client devices.
- Parameters:
listDevicesRequest-- Returns:
- Result of the ListDevices operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDevices
default ListDevicesResponse listDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of thin client devices.
This is a convenience which creates an instance of the
ListDevicesRequest.Builderavoiding the need to create one manually viaListDevicesRequest.builder()- Parameters:
listDevicesRequest- AConsumerthat will call methods onListDevicesRequest.Builderto create a request.- Returns:
- Result of the ListDevices operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDevicesPaginator
default ListDevicesIterable listDevicesPaginator(ListDevicesRequest listDevicesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of thin client devices.
This is a variant of
listDevices(software.amazon.awssdk.services.workspacesthinclient.model.ListDevicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.workspacesthinclient.paginators.ListDevicesIterable responses = client .listDevicesPaginator(request); for (software.amazon.awssdk.services.workspacesthinclient.model.ListDevicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDevices(software.amazon.awssdk.services.workspacesthinclient.model.ListDevicesRequest)operation.- Parameters:
listDevicesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDevicesPaginator
default ListDevicesIterable listDevicesPaginator(Consumer<ListDevicesRequest.Builder> listDevicesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of thin client devices.
This is a variant of
listDevices(software.amazon.awssdk.services.workspacesthinclient.model.ListDevicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.workspacesthinclient.paginators.ListDevicesIterable responses = client .listDevicesPaginator(request); for (software.amazon.awssdk.services.workspacesthinclient.model.ListDevicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDevices(software.amazon.awssdk.services.workspacesthinclient.model.ListDevicesRequest)operation.This is a convenience which creates an instance of the
ListDevicesRequest.Builderavoiding the need to create one manually viaListDevicesRequest.builder()- Parameters:
listDevicesRequest- AConsumerthat will call methods onListDevicesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironments
default ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of environments.
- Parameters:
listEnvironmentsRequest-- Returns:
- Result of the ListEnvironments operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironments
default ListEnvironmentsResponse listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of environments.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- Result of the ListEnvironments operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironmentsPaginator
default ListEnvironmentsIterable listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of environments.
This is a variant of
listEnvironments(software.amazon.awssdk.services.workspacesthinclient.model.ListEnvironmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.workspacesthinclient.paginators.ListEnvironmentsIterable responses = client .listEnvironmentsPaginator(request); for (software.amazon.awssdk.services.workspacesthinclient.model.ListEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironments(software.amazon.awssdk.services.workspacesthinclient.model.ListEnvironmentsRequest)operation.- Parameters:
listEnvironmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironmentsPaginator
default ListEnvironmentsIterable listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of environments.
This is a variant of
listEnvironments(software.amazon.awssdk.services.workspacesthinclient.model.ListEnvironmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.workspacesthinclient.paginators.ListEnvironmentsIterable responses = client .listEnvironmentsPaginator(request); for (software.amazon.awssdk.services.workspacesthinclient.model.ListEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironments(software.amazon.awssdk.services.workspacesthinclient.model.ListEnvironmentsRequest)operation.This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSoftwareSets
default ListSoftwareSetsResponse listSoftwareSets(ListSoftwareSetsRequest listSoftwareSetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of software sets.
- Parameters:
listSoftwareSetsRequest-- Returns:
- Result of the ListSoftwareSets operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSoftwareSets
default ListSoftwareSetsResponse listSoftwareSets(Consumer<ListSoftwareSetsRequest.Builder> listSoftwareSetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of software sets.
This is a convenience which creates an instance of the
ListSoftwareSetsRequest.Builderavoiding the need to create one manually viaListSoftwareSetsRequest.builder()- Parameters:
listSoftwareSetsRequest- AConsumerthat will call methods onListSoftwareSetsRequest.Builderto create a request.- Returns:
- Result of the ListSoftwareSets operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSoftwareSetsPaginator
default ListSoftwareSetsIterable listSoftwareSetsPaginator(ListSoftwareSetsRequest listSoftwareSetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of software sets.
This is a variant of
listSoftwareSets(software.amazon.awssdk.services.workspacesthinclient.model.ListSoftwareSetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListSoftwareSetsIterable responses = client.listSoftwareSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.workspacesthinclient.paginators.ListSoftwareSetsIterable responses = client .listSoftwareSetsPaginator(request); for (software.amazon.awssdk.services.workspacesthinclient.model.ListSoftwareSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListSoftwareSetsIterable responses = client.listSoftwareSetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSoftwareSets(software.amazon.awssdk.services.workspacesthinclient.model.ListSoftwareSetsRequest)operation.- Parameters:
listSoftwareSetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSoftwareSetsPaginator
default ListSoftwareSetsIterable listSoftwareSetsPaginator(Consumer<ListSoftwareSetsRequest.Builder> listSoftwareSetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of software sets.
This is a variant of
listSoftwareSets(software.amazon.awssdk.services.workspacesthinclient.model.ListSoftwareSetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListSoftwareSetsIterable responses = client.listSoftwareSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.workspacesthinclient.paginators.ListSoftwareSetsIterable responses = client .listSoftwareSetsPaginator(request); for (software.amazon.awssdk.services.workspacesthinclient.model.ListSoftwareSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.workspacesthinclient.paginators.ListSoftwareSetsIterable responses = client.listSoftwareSetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSoftwareSets(software.amazon.awssdk.services.workspacesthinclient.model.ListSoftwareSetsRequest)operation.This is a convenience which creates an instance of the
ListSoftwareSetsRequest.Builderavoiding the need to create one manually viaListSoftwareSetsRequest.builder()- Parameters:
listSoftwareSetsRequest- AConsumerthat will call methods onListSoftwareSetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.ResourceNotFoundException- The resource specified in the request was not found.InternalServiceException- Request processing failed due to some unknown error, exception, or failure.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Returns a list of tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.ResourceNotFoundException- The resource specified in the request was not found.InternalServiceException- Request processing failed due to some unknown error, exception, or failure.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Assigns one or more tags (key-value pairs) to the specified resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.ResourceNotFoundException- The resource specified in the request was not found.InternalServiceException- Request processing failed due to some unknown error, exception, or failure.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Assigns one or more tags (key-value pairs) to the specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.ResourceNotFoundException- The resource specified in the request was not found.InternalServiceException- Request processing failed due to some unknown error, exception, or failure.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Removes a tag or tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.ResourceNotFoundException- The resource specified in the request was not found.InternalServiceException- Request processing failed due to some unknown error, exception, or failure.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Removes a tag or tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.ResourceNotFoundException- The resource specified in the request was not found.InternalServiceException- Request processing failed due to some unknown error, exception, or failure.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDevice
default UpdateDeviceResponse updateDevice(UpdateDeviceRequest updateDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Updates a thin client device.
- Parameters:
updateDeviceRequest-- Returns:
- Result of the UpdateDevice operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDevice
default UpdateDeviceResponse updateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Updates a thin client device.
This is a convenience which creates an instance of the
UpdateDeviceRequest.Builderavoiding the need to create one manually viaUpdateDeviceRequest.builder()- Parameters:
updateDeviceRequest- AConsumerthat will call methods onUpdateDeviceRequest.Builderto create a request.- Returns:
- Result of the UpdateDevice operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEnvironment
default UpdateEnvironmentResponse updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Updates an environment.
- Parameters:
updateEnvironmentRequest-- Returns:
- Result of the UpdateEnvironment operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEnvironment
default UpdateEnvironmentResponse updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Updates an environment.
This is a convenience which creates an instance of the
UpdateEnvironmentRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentRequest.builder()- Parameters:
updateEnvironmentRequest- AConsumerthat will call methods onUpdateEnvironmentRequest.Builderto create a request.- Returns:
- Result of the UpdateEnvironment operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateSoftwareSet
default UpdateSoftwareSetResponse updateSoftwareSet(UpdateSoftwareSetRequest updateSoftwareSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Updates a software set.
- Parameters:
updateSoftwareSetRequest-- Returns:
- Result of the UpdateSoftwareSet operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateSoftwareSet
default UpdateSoftwareSetResponse updateSoftwareSet(Consumer<UpdateSoftwareSetRequest.Builder> updateSoftwareSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, WorkSpacesThinClientException
Updates a software set.
This is a convenience which creates an instance of the
UpdateSoftwareSetRequest.Builderavoiding the need to create one manually viaUpdateSoftwareSetRequest.builder()- Parameters:
updateSoftwareSetRequest- AConsumerthat will call methods onUpdateSoftwareSetRequest.Builderto create a request.- Returns:
- Result of the UpdateSoftwareSet operation returned by the service.
- Throws:
ValidationException- The input fails to satisfy the specified constraints.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- The resource specified in the request was not found.ThrottlingException- The request was denied due to request throttling.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.WorkSpacesThinClientException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static WorkSpacesThinClientClient create()
Create aWorkSpacesThinClientClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static WorkSpacesThinClientClientBuilder builder()
Create a builder that can be used to configure and create aWorkSpacesThinClientClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default WorkSpacesThinClientServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-