@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonWorkspaces extends Object implements AmazonWorkspaces
AmazonWorkspaces
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateIpGroupsResult |
associateIpGroups(AssociateIpGroupsRequest request)
Associates the specified IP access control group with the specified directory.
|
AuthorizeIpRulesResult |
authorizeIpRules(AuthorizeIpRulesRequest request)
Adds one or more rules to the specified IP access control group.
|
CopyWorkspaceImageResult |
copyWorkspaceImage(CopyWorkspaceImageRequest request)
Copies the specified image from the specified Region to the current Region.
|
CreateIpGroupResult |
createIpGroup(CreateIpGroupRequest request)
Creates an IP access control group.
|
CreateTagsResult |
createTags(CreateTagsRequest request)
Creates the specified tags for the specified WorkSpaces resource.
|
CreateWorkspacesResult |
createWorkspaces(CreateWorkspacesRequest request)
Creates one or more WorkSpaces.
|
DeleteIpGroupResult |
deleteIpGroup(DeleteIpGroupRequest request)
Deletes the specified IP access control group.
|
DeleteTagsResult |
deleteTags(DeleteTagsRequest request)
Deletes the specified tags from the specified WorkSpaces resource.
|
DeleteWorkspaceImageResult |
deleteWorkspaceImage(DeleteWorkspaceImageRequest request)
Deletes the specified image from your account.
|
DeregisterWorkspaceDirectoryResult |
deregisterWorkspaceDirectory(DeregisterWorkspaceDirectoryRequest request)
Deregisters the specified directory.
|
DescribeAccountResult |
describeAccount(DescribeAccountRequest request)
Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.
|
DescribeAccountModificationsResult |
describeAccountModifications(DescribeAccountModificationsRequest request)
Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the
specified account.
|
DescribeClientPropertiesResult |
describeClientProperties(DescribeClientPropertiesRequest request)
Retrieves a list that describes one or more specified Amazon WorkSpaces clients.
|
DescribeIpGroupsResult |
describeIpGroups(DescribeIpGroupsRequest request)
Describes one or more of your IP access control groups.
|
DescribeTagsResult |
describeTags(DescribeTagsRequest request)
Describes the specified tags for the specified WorkSpaces resource.
|
DescribeWorkspaceBundlesResult |
describeWorkspaceBundles()
Simplified method form for invoking the DescribeWorkspaceBundles operation.
|
DescribeWorkspaceBundlesResult |
describeWorkspaceBundles(DescribeWorkspaceBundlesRequest request)
Retrieves a list that describes the available WorkSpace bundles.
|
DescribeWorkspaceDirectoriesResult |
describeWorkspaceDirectories()
Simplified method form for invoking the DescribeWorkspaceDirectories operation.
|
DescribeWorkspaceDirectoriesResult |
describeWorkspaceDirectories(DescribeWorkspaceDirectoriesRequest request)
Describes the available directories that are registered with Amazon WorkSpaces.
|
DescribeWorkspaceImagesResult |
describeWorkspaceImages(DescribeWorkspaceImagesRequest request)
Retrieves a list that describes one or more specified images, if the image identifiers are provided.
|
DescribeWorkspacesResult |
describeWorkspaces()
Simplified method form for invoking the DescribeWorkspaces operation.
|
DescribeWorkspacesResult |
describeWorkspaces(DescribeWorkspacesRequest request)
Describes the specified WorkSpaces.
|
DescribeWorkspacesConnectionStatusResult |
describeWorkspacesConnectionStatus(DescribeWorkspacesConnectionStatusRequest request)
Describes the connection status of the specified WorkSpaces.
|
DescribeWorkspaceSnapshotsResult |
describeWorkspaceSnapshots(DescribeWorkspaceSnapshotsRequest request)
Describes the snapshots for the specified WorkSpace.
|
DisassociateIpGroupsResult |
disassociateIpGroups(DisassociateIpGroupsRequest request)
Disassociates the specified IP access control group from the specified directory.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ImportWorkspaceImageResult |
importWorkspaceImage(ImportWorkspaceImageRequest request)
Imports the specified Windows 7 or Windows 10 Bring Your Own License (BYOL) image into Amazon WorkSpaces.
|
ListAvailableManagementCidrRangesResult |
listAvailableManagementCidrRanges(ListAvailableManagementCidrRangesRequest request)
Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management
interface when you enable Bring Your Own License (BYOL).
|
ModifyAccountResult |
modifyAccount(ModifyAccountRequest request)
Modifies the configuration of Bring Your Own License (BYOL) for the specified account.
|
ModifyClientPropertiesResult |
modifyClientProperties(ModifyClientPropertiesRequest request)
Modifies the properties of the specified Amazon WorkSpaces clients.
|
ModifySelfservicePermissionsResult |
modifySelfservicePermissions(ModifySelfservicePermissionsRequest request)
Modifies the self-service WorkSpace management capabilities for your users.
|
ModifyWorkspaceAccessPropertiesResult |
modifyWorkspaceAccessProperties(ModifyWorkspaceAccessPropertiesRequest request)
Specifies which devices and operating systems users can use to access their Workspaces.
|
ModifyWorkspaceCreationPropertiesResult |
modifyWorkspaceCreationProperties(ModifyWorkspaceCreationPropertiesRequest request)
Modify the default properties used to create WorkSpaces.
|
ModifyWorkspacePropertiesResult |
modifyWorkspaceProperties(ModifyWorkspacePropertiesRequest request)
Modifies the specified WorkSpace properties.
|
ModifyWorkspaceStateResult |
modifyWorkspaceState(ModifyWorkspaceStateRequest request)
Sets the state of the specified WorkSpace.
|
RebootWorkspacesResult |
rebootWorkspaces(RebootWorkspacesRequest request)
Reboots the specified WorkSpaces.
|
RebuildWorkspacesResult |
rebuildWorkspaces(RebuildWorkspacesRequest request)
Rebuilds the specified WorkSpace.
|
RegisterWorkspaceDirectoryResult |
registerWorkspaceDirectory(RegisterWorkspaceDirectoryRequest request)
Registers the specified directory.
|
RestoreWorkspaceResult |
restoreWorkspace(RestoreWorkspaceRequest request)
Restores the specified WorkSpace to its last known healthy state.
|
RevokeIpRulesResult |
revokeIpRules(RevokeIpRulesRequest request)
Removes one or more rules from the specified IP access control group.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client ("https://workspaces.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AmazonWorkspaces.setEndpoint(String) , sets the regional endpoint for this client's
service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartWorkspacesResult |
startWorkspaces(StartWorkspacesRequest request)
Starts the specified WorkSpaces.
|
StopWorkspacesResult |
stopWorkspaces(StopWorkspacesRequest request)
Stops the specified WorkSpaces.
|
TerminateWorkspacesResult |
terminateWorkspaces(TerminateWorkspacesRequest request)
Terminates the specified WorkSpaces.
|
UpdateRulesOfIpGroupResult |
updateRulesOfIpGroup(UpdateRulesOfIpGroupRequest request)
Replaces the current rules of the specified IP access control group with the specified rules.
|
public void setEndpoint(String endpoint)
AmazonWorkspaces
Callers can pass in just the endpoint (ex: "workspaces.us-east-1.amazonaws.com") or a full URL, including the
protocol (ex: "https://workspaces.us-east-1.amazonaws.com"). If the protocol is not specified here, the default
protocol from this client's ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-region-selection.html#region-selection- choose-endpoint
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setEndpoint
in interface AmazonWorkspaces
endpoint
- The endpoint (ex: "workspaces.us-east-1.amazonaws.com") or a full URL, including the protocol (ex:
"https://workspaces.us-east-1.amazonaws.com") of the region specific AWS endpoint this client will
communicate with.public void setRegion(Region region)
AmazonWorkspaces
AmazonWorkspaces.setEndpoint(String)
, sets the regional endpoint for this client's
service calls. Callers can use this method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setRegion
in interface AmazonWorkspaces
region
- The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions)
for accessing a given region. Must not be null and must be a region where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
public AssociateIpGroupsResult associateIpGroups(AssociateIpGroupsRequest request)
AmazonWorkspaces
Associates the specified IP access control group with the specified directory.
associateIpGroups
in interface AmazonWorkspaces
public AuthorizeIpRulesResult authorizeIpRules(AuthorizeIpRulesRequest request)
AmazonWorkspaces
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.
authorizeIpRules
in interface AmazonWorkspaces
public CopyWorkspaceImageResult copyWorkspaceImage(CopyWorkspaceImageRequest request)
AmazonWorkspaces
Copies the specified image from the specified Region to the current Region.
copyWorkspaceImage
in interface AmazonWorkspaces
public CreateIpGroupResult createIpGroup(CreateIpGroupRequest request)
AmazonWorkspaces
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.
createIpGroup
in interface AmazonWorkspaces
public CreateTagsResult createTags(CreateTagsRequest request)
AmazonWorkspaces
Creates the specified tags for the specified WorkSpaces resource.
createTags
in interface AmazonWorkspaces
public CreateWorkspacesResult createWorkspaces(CreateWorkspacesRequest request)
AmazonWorkspaces
Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
createWorkspaces
in interface AmazonWorkspaces
public DeleteIpGroupResult deleteIpGroup(DeleteIpGroupRequest request)
AmazonWorkspaces
Deletes the specified IP access control group.
You cannot delete an IP access control group that is associated with a directory.
deleteIpGroup
in interface AmazonWorkspaces
public DeleteTagsResult deleteTags(DeleteTagsRequest request)
AmazonWorkspaces
Deletes the specified tags from the specified WorkSpaces resource.
deleteTags
in interface AmazonWorkspaces
public DeleteWorkspaceImageResult deleteWorkspaceImage(DeleteWorkspaceImageRequest request)
AmazonWorkspaces
Deletes the specified image from your account. To delete an image, you must first delete any bundles that are associated with the image and un-share the image if it is shared with other accounts.
deleteWorkspaceImage
in interface AmazonWorkspaces
public DeregisterWorkspaceDirectoryResult deregisterWorkspaceDirectory(DeregisterWorkspaceDirectoryRequest request)
AmazonWorkspaces
Deregisters the specified directory. This operation is asynchronous and returns before the WorkSpace directory is deregistered. If any WorkSpaces are registered to this directory, you must remove them before you can deregister the directory.
deregisterWorkspaceDirectory
in interface AmazonWorkspaces
public DescribeAccountResult describeAccount(DescribeAccountRequest request)
AmazonWorkspaces
Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.
describeAccount
in interface AmazonWorkspaces
public DescribeAccountModificationsResult describeAccountModifications(DescribeAccountModificationsRequest request)
AmazonWorkspaces
Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.
describeAccountModifications
in interface AmazonWorkspaces
public DescribeClientPropertiesResult describeClientProperties(DescribeClientPropertiesRequest request)
AmazonWorkspaces
Retrieves a list that describes one or more specified Amazon WorkSpaces clients.
describeClientProperties
in interface AmazonWorkspaces
public DescribeIpGroupsResult describeIpGroups(DescribeIpGroupsRequest request)
AmazonWorkspaces
Describes one or more of your IP access control groups.
describeIpGroups
in interface AmazonWorkspaces
public DescribeTagsResult describeTags(DescribeTagsRequest request)
AmazonWorkspaces
Describes the specified tags for the specified WorkSpaces resource.
describeTags
in interface AmazonWorkspaces
public DescribeWorkspaceBundlesResult describeWorkspaceBundles(DescribeWorkspaceBundlesRequest request)
AmazonWorkspaces
Retrieves a list that describes the available WorkSpace bundles.
You can filter the results using either bundle ID or owner, but not both.
describeWorkspaceBundles
in interface AmazonWorkspaces
public DescribeWorkspaceBundlesResult describeWorkspaceBundles()
AmazonWorkspaces
describeWorkspaceBundles
in interface AmazonWorkspaces
AmazonWorkspaces.describeWorkspaceBundles(DescribeWorkspaceBundlesRequest)
public DescribeWorkspaceDirectoriesResult describeWorkspaceDirectories(DescribeWorkspaceDirectoriesRequest request)
AmazonWorkspaces
Describes the available directories that are registered with Amazon WorkSpaces.
describeWorkspaceDirectories
in interface AmazonWorkspaces
public DescribeWorkspaceDirectoriesResult describeWorkspaceDirectories()
AmazonWorkspaces
describeWorkspaceDirectories
in interface AmazonWorkspaces
AmazonWorkspaces.describeWorkspaceDirectories(DescribeWorkspaceDirectoriesRequest)
public DescribeWorkspaceImagesResult describeWorkspaceImages(DescribeWorkspaceImagesRequest request)
AmazonWorkspaces
Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described.
describeWorkspaceImages
in interface AmazonWorkspaces
public DescribeWorkspaceSnapshotsResult describeWorkspaceSnapshots(DescribeWorkspaceSnapshotsRequest request)
AmazonWorkspaces
Describes the snapshots for the specified WorkSpace.
describeWorkspaceSnapshots
in interface AmazonWorkspaces
public DescribeWorkspacesResult describeWorkspaces(DescribeWorkspacesRequest request)
AmazonWorkspaces
Describes the specified WorkSpaces.
You can filter the results by using the bundle identifier, directory identifier, or owner, but you can specify only one filter at a time.
describeWorkspaces
in interface AmazonWorkspaces
public DescribeWorkspacesResult describeWorkspaces()
AmazonWorkspaces
describeWorkspaces
in interface AmazonWorkspaces
AmazonWorkspaces.describeWorkspaces(DescribeWorkspacesRequest)
public DescribeWorkspacesConnectionStatusResult describeWorkspacesConnectionStatus(DescribeWorkspacesConnectionStatusRequest request)
AmazonWorkspaces
Describes the connection status of the specified WorkSpaces.
describeWorkspacesConnectionStatus
in interface AmazonWorkspaces
public DisassociateIpGroupsResult disassociateIpGroups(DisassociateIpGroupsRequest request)
AmazonWorkspaces
Disassociates the specified IP access control group from the specified directory.
disassociateIpGroups
in interface AmazonWorkspaces
public ImportWorkspaceImageResult importWorkspaceImage(ImportWorkspaceImageRequest request)
AmazonWorkspaces
Imports the specified Windows 7 or Windows 10 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed EC2 image that is in your AWS account, and you must own the image.
importWorkspaceImage
in interface AmazonWorkspaces
public ListAvailableManagementCidrRangesResult listAvailableManagementCidrRanges(ListAvailableManagementCidrRangesRequest request)
AmazonWorkspaces
Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL).
The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.
listAvailableManagementCidrRanges
in interface AmazonWorkspaces
public ModifyAccountResult modifyAccount(ModifyAccountRequest request)
AmazonWorkspaces
Modifies the configuration of Bring Your Own License (BYOL) for the specified account.
modifyAccount
in interface AmazonWorkspaces
public ModifyClientPropertiesResult modifyClientProperties(ModifyClientPropertiesRequest request)
AmazonWorkspaces
Modifies the properties of the specified Amazon WorkSpaces clients.
modifyClientProperties
in interface AmazonWorkspaces
public ModifySelfservicePermissionsResult modifySelfservicePermissions(ModifySelfservicePermissionsRequest request)
AmazonWorkspaces
Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.
modifySelfservicePermissions
in interface AmazonWorkspaces
public ModifyWorkspaceAccessPropertiesResult modifyWorkspaceAccessProperties(ModifyWorkspaceAccessPropertiesRequest request)
AmazonWorkspaces
Specifies which devices and operating systems users can use to access their Workspaces. For more information, see Control Device Access.
modifyWorkspaceAccessProperties
in interface AmazonWorkspaces
public ModifyWorkspaceCreationPropertiesResult modifyWorkspaceCreationProperties(ModifyWorkspaceCreationPropertiesRequest request)
AmazonWorkspaces
Modify the default properties used to create WorkSpaces.
modifyWorkspaceCreationProperties
in interface AmazonWorkspaces
public ModifyWorkspacePropertiesResult modifyWorkspaceProperties(ModifyWorkspacePropertiesRequest request)
AmazonWorkspaces
Modifies the specified WorkSpace properties.
modifyWorkspaceProperties
in interface AmazonWorkspaces
public ModifyWorkspaceStateResult modifyWorkspaceState(ModifyWorkspaceStateRequest request)
AmazonWorkspaces
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, rebuild, or restore. An AutoStop
WorkSpace in this state is not stopped. Users cannot log into a WorkSpace in the ADMIN_MAINTENANCE
state.
modifyWorkspaceState
in interface AmazonWorkspaces
public RebootWorkspacesResult rebootWorkspaces(RebootWorkspacesRequest request)
AmazonWorkspaces
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.
rebootWorkspaces
in interface AmazonWorkspaces
public RebuildWorkspacesResult rebuildWorkspaces(RebuildWorkspacesRequest request)
AmazonWorkspaces
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.
rebuildWorkspaces
in interface AmazonWorkspaces
public RegisterWorkspaceDirectoryResult registerWorkspaceDirectory(RegisterWorkspaceDirectoryRequest request)
AmazonWorkspaces
Registers the specified directory. This operation is asynchronous and returns before the WorkSpace directory is registered. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.
registerWorkspaceDirectory
in interface AmazonWorkspaces
public RestoreWorkspaceResult restoreWorkspace(RestoreWorkspaceRequest request)
AmazonWorkspaces
Restores the specified WorkSpace to its last known healthy state.
You cannot restore a WorkSpace unless its state is AVAILABLE
, ERROR
, or
UNHEALTHY
.
Restoring a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Restore a WorkSpace.
This operation is asynchronous and returns before the WorkSpace is completely restored.
restoreWorkspace
in interface AmazonWorkspaces
public RevokeIpRulesResult revokeIpRules(RevokeIpRulesRequest request)
AmazonWorkspaces
Removes one or more rules from the specified IP access control group.
revokeIpRules
in interface AmazonWorkspaces
public StartWorkspacesResult startWorkspaces(StartWorkspacesRequest request)
AmazonWorkspaces
Starts the specified WorkSpaces.
You cannot start a WorkSpace unless it has a running mode of AutoStop
and a state of
STOPPED
.
startWorkspaces
in interface AmazonWorkspaces
public StopWorkspacesResult stopWorkspaces(StopWorkspacesRequest request)
AmazonWorkspaces
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
.
stopWorkspaces
in interface AmazonWorkspaces
public TerminateWorkspacesResult terminateWorkspaces(TerminateWorkspacesRequest request)
AmazonWorkspaces
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.
terminateWorkspaces
in interface AmazonWorkspaces
public UpdateRulesOfIpGroupResult updateRulesOfIpGroup(UpdateRulesOfIpGroupRequest request)
AmazonWorkspaces
Replaces the current rules of the specified IP access control group with the specified rules.
updateRulesOfIpGroup
in interface AmazonWorkspaces
public void shutdown()
AmazonWorkspaces
shutdown
in interface AmazonWorkspaces
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonWorkspaces
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AmazonWorkspaces
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.