AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Interface for accessing WorkSpaces

Amazon WorkSpaces Service

Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows or Amazon Linux desktops for your users, known as WorkSpaces. WorkSpaces eliminates the need to procure and deploy hardware or install complex software. You can quickly add or remove users as your needs change. Users can access their virtual desktops from multiple devices or web browsers.

This API Reference provides detailed information about the actions, data types, parameters, and errors of the WorkSpaces service. For more information about the supported Amazon Web Services Regions, endpoints, and service quotas of the Amazon WorkSpaces service, see WorkSpaces endpoints and quotas in the Amazon Web Services General Reference.

You can also manage your WorkSpaces resources using the WorkSpaces console, Command Line Interface (CLI), and SDKs. For more information about administering WorkSpaces, see the Amazon WorkSpaces Administration Guide. For more information about using the Amazon WorkSpaces client application or web browser to access provisioned WorkSpaces, see the Amazon WorkSpaces User Guide. For more information about using the CLI to manage your WorkSpaces resources, see the WorkSpaces section of the CLI Reference.

Inheritance Hierarchy

Amazon.WorkSpaces.IAmazonWorkSpaces

Namespace: Amazon.WorkSpaces
Assembly: AWSSDK.WorkSpaces.dll
Version: 3.x.y.z

Syntax

C#
public interface IAmazonWorkSpaces
         IAmazonService, IDisposable

The IAmazonWorkSpaces type exposes the following members

Properties

NameTypeDescription
Public Property Paginators Amazon.WorkSpaces.Model.IWorkSpacesPaginatorFactory

Paginators for the service

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method AcceptAccountLinkInvitation(AcceptAccountLinkInvitationRequest)

Accepts the account link invitation.

There's currently no unlinking capability after you accept the account linking invitation.

Public Method AcceptAccountLinkInvitationAsync(AcceptAccountLinkInvitationRequest, CancellationToken)

Accepts the account link invitation.

There's currently no unlinking capability after you accept the account linking invitation.

Public Method AssociateConnectionAlias(AssociateConnectionAliasRequest)

Associates the specified connection alias with the specified directory to enable cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

Public Method AssociateConnectionAliasAsync(AssociateConnectionAliasRequest, CancellationToken)

Associates the specified connection alias with the specified directory to enable cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

Public Method AssociateIpGroups(AssociateIpGroupsRequest)

Associates the specified IP access control group with the specified directory.

Public Method AssociateIpGroupsAsync(AssociateIpGroupsRequest, CancellationToken)

Associates the specified IP access control group with the specified directory.

Public Method AssociateWorkspaceApplication(AssociateWorkspaceApplicationRequest)

Associates the specified application to the specified WorkSpace.

Public Method AssociateWorkspaceApplicationAsync(AssociateWorkspaceApplicationRequest, CancellationToken)

Associates the specified application to the specified WorkSpace.

Public Method AuthorizeIpRules(AuthorizeIpRulesRequest)

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.

Public Method AuthorizeIpRulesAsync(AuthorizeIpRulesRequest, CancellationToken)

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.

Public Method CopyWorkspaceImage(CopyWorkspaceImageRequest)

Copies the specified image from the specified Region to the current Region. For more information about copying images, see Copy a Custom WorkSpaces Image.

In the China (Ningxia) Region, you can copy images only within the same Region.

In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.

Before copying a shared image, be sure to verify that it has been shared from the correct Amazon Web Services account. To determine if an image has been shared and to see the ID of the Amazon Web Services account that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.

Public Method CopyWorkspaceImageAsync(CopyWorkspaceImageRequest, CancellationToken)

Copies the specified image from the specified Region to the current Region. For more information about copying images, see Copy a Custom WorkSpaces Image.

In the China (Ningxia) Region, you can copy images only within the same Region.

In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.

Before copying a shared image, be sure to verify that it has been shared from the correct Amazon Web Services account. To determine if an image has been shared and to see the ID of the Amazon Web Services account that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.

Public Method CreateAccountLinkInvitation(CreateAccountLinkInvitationRequest)

Creates the account link invitation.

Public Method CreateAccountLinkInvitationAsync(CreateAccountLinkInvitationRequest, CancellationToken)

Creates the account link invitation.

Public Method CreateConnectClientAddIn(CreateConnectClientAddInRequest)

Creates a client-add-in for Amazon Connect within a directory. You can create only one Amazon Connect client add-in within a directory.

This client add-in allows WorkSpaces users to seamlessly connect to Amazon Connect.

Public Method CreateConnectClientAddInAsync(CreateConnectClientAddInRequest, CancellationToken)

Creates a client-add-in for Amazon Connect within a directory. You can create only one Amazon Connect client add-in within a directory.

This client add-in allows WorkSpaces users to seamlessly connect to Amazon Connect.

Public Method CreateConnectionAlias(CreateConnectionAliasRequest)

Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Public Method CreateConnectionAliasAsync(CreateConnectionAliasRequest, CancellationToken)

Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Public Method CreateIpGroup(CreateIpGroupRequest)

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.

Public Method CreateIpGroupAsync(CreateIpGroupRequest, CancellationToken)

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.

Public Method CreateStandbyWorkspaces(CreateStandbyWorkspacesRequest)

Creates a standby WorkSpace in a secondary Region.

Public Method CreateStandbyWorkspacesAsync(CreateStandbyWorkspacesRequest, CancellationToken)

Creates a standby WorkSpace in a secondary Region.

Public Method CreateTags(CreateTagsRequest)

Creates the specified tags for the specified WorkSpaces resource.

Public Method CreateTagsAsync(CreateTagsRequest, CancellationToken)

Creates the specified tags for the specified WorkSpaces resource.

Public Method CreateUpdatedWorkspaceImage(CreateUpdatedWorkspaceImageRequest)

Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.

To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.

  • Only Windows 10, Windows Server 2016, and Windows Server 2019 WorkSpace images can be programmatically updated at this time.

  • Microsoft Windows updates and other application updates are not included in the update process.

  • The source WorkSpace image is not deleted. You can delete the source image after you've verified your new updated image and created a new bundle.

Public Method CreateUpdatedWorkspaceImageAsync(CreateUpdatedWorkspaceImageRequest, CancellationToken)

Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.

To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.

  • Only Windows 10, Windows Server 2016, and Windows Server 2019 WorkSpace images can be programmatically updated at this time.

  • Microsoft Windows updates and other application updates are not included in the update process.

  • The source WorkSpace image is not deleted. You can delete the source image after you've verified your new updated image and created a new bundle.

Public Method CreateWorkspaceBundle(CreateWorkspaceBundleRequest)

Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.

Public Method CreateWorkspaceBundleAsync(CreateWorkspaceBundleRequest, CancellationToken)

Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.

Public Method CreateWorkspaceImage(CreateWorkspaceImageRequest)

Creates a new WorkSpace image from an existing WorkSpace.

Public Method CreateWorkspaceImageAsync(CreateWorkspaceImageRequest, CancellationToken)

Creates a new WorkSpace image from an existing WorkSpace.

Public Method CreateWorkspaces(CreateWorkspacesRequest)

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

  • The MANUAL running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.

  • You don't need to specify the PCOIP protocol for Linux bundles because WSP is the default protocol for those bundles.

  • User-decoupled WorkSpaces are only supported by Amazon WorkSpaces Core.

Public Method CreateWorkspacesAsync(CreateWorkspacesRequest, CancellationToken)

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

  • The MANUAL running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.

  • You don't need to specify the PCOIP protocol for Linux bundles because WSP is the default protocol for those bundles.

  • User-decoupled WorkSpaces are only supported by Amazon WorkSpaces Core.

Public Method DeleteAccountLinkInvitation(DeleteAccountLinkInvitationRequest)

Deletes the account link invitation.

Public Method DeleteAccountLinkInvitationAsync(DeleteAccountLinkInvitationRequest, CancellationToken)

Deletes the account link invitation.

Public Method DeleteClientBranding(DeleteClientBrandingRequest)

Deletes customized client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

After you delete your customized client branding, your login portal reverts to the default client branding.

Public Method DeleteClientBrandingAsync(DeleteClientBrandingRequest, CancellationToken)

Deletes customized client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

After you delete your customized client branding, your login portal reverts to the default client branding.

Public Method DeleteConnectClientAddIn(DeleteConnectClientAddInRequest)

Deletes a client-add-in for Amazon Connect that is configured within a directory.

Public Method DeleteConnectClientAddInAsync(DeleteConnectClientAddInRequest, CancellationToken)

Deletes a client-add-in for Amazon Connect that is configured within a directory.

Public Method DeleteConnectionAlias(DeleteConnectionAliasRequest)

Deletes the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

If you will no longer be using a fully qualified domain name (FQDN) as the registration code for your WorkSpaces users, you must take certain precautions to prevent potential security issues. For more information, see Security Considerations if You Stop Using Cross-Region Redirection.

To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.

Public Method DeleteConnectionAliasAsync(DeleteConnectionAliasRequest, CancellationToken)

Deletes the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

If you will no longer be using a fully qualified domain name (FQDN) as the registration code for your WorkSpaces users, you must take certain precautions to prevent potential security issues. For more information, see Security Considerations if You Stop Using Cross-Region Redirection.

To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.

Public Method DeleteIpGroup(DeleteIpGroupRequest)

Deletes the specified IP access control group.

You cannot delete an IP access control group that is associated with a directory.

Public Method DeleteIpGroupAsync(DeleteIpGroupRequest, CancellationToken)

Deletes the specified IP access control group.

You cannot delete an IP access control group that is associated with a directory.

Public Method DeleteTags(DeleteTagsRequest)

Deletes the specified tags from the specified WorkSpaces resource.

Public Method DeleteTagsAsync(DeleteTagsRequest, CancellationToken)

Deletes the specified tags from the specified WorkSpaces resource.

Public Method DeleteWorkspaceBundle(DeleteWorkspaceBundleRequest)

Deletes the specified WorkSpace bundle. For more information about deleting WorkSpace bundles, see Delete a Custom WorkSpaces Bundle or Image.

Public Method DeleteWorkspaceBundleAsync(DeleteWorkspaceBundleRequest, CancellationToken)

Deletes the specified WorkSpace bundle. For more information about deleting WorkSpace bundles, see Delete a Custom WorkSpaces Bundle or Image.

Public Method DeleteWorkspaceImage(DeleteWorkspaceImageRequest)

Deletes the specified image from your account. To delete an image, you must first delete any bundles that are associated with the image and unshare the image if it is shared with other accounts.

Public Method DeleteWorkspaceImageAsync(DeleteWorkspaceImageRequest, CancellationToken)

Deletes the specified image from your account. To delete an image, you must first delete any bundles that are associated with the image and unshare the image if it is shared with other accounts.

Public Method DeployWorkspaceApplications(DeployWorkspaceApplicationsRequest)

Deploys associated applications to the specified WorkSpace

Public Method DeployWorkspaceApplicationsAsync(DeployWorkspaceApplicationsRequest, CancellationToken)

Deploys associated applications to the specified WorkSpace

Public Method DeregisterWorkspaceDirectory(DeregisterWorkspaceDirectoryRequest)

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.

Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.

To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.

Public Method DeregisterWorkspaceDirectoryAsync(DeregisterWorkspaceDirectoryRequest, CancellationToken)

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.

Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.

To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.

Public Method DescribeAccount(DescribeAccountRequest)

Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.

Public Method DescribeAccountAsync(DescribeAccountRequest, CancellationToken)

Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.

Public Method DescribeAccountModifications(DescribeAccountModificationsRequest)

Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.

Public Method DescribeAccountModificationsAsync(DescribeAccountModificationsRequest, CancellationToken)

Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.

Public Method DescribeApplicationAssociations(DescribeApplicationAssociationsRequest)

Describes the associations between the application and the specified associated resources.

Public Method DescribeApplicationAssociationsAsync(DescribeApplicationAssociationsRequest, CancellationToken)

Describes the associations between the application and the specified associated resources.

Public Method DescribeApplications(DescribeApplicationsRequest)

Describes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.

Public Method DescribeApplicationsAsync(DescribeApplicationsRequest, CancellationToken)

Describes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.

Public Method DescribeBundleAssociations(DescribeBundleAssociationsRequest)

Describes the associations between the applications and the specified bundle.

Public Method DescribeBundleAssociationsAsync(DescribeBundleAssociationsRequest, CancellationToken)

Describes the associations between the applications and the specified bundle.

Public Method DescribeClientBranding(DescribeClientBrandingRequest)

Describes the specified client branding. Client branding allows you to customize the log in page of various device types for your users. You can add your company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

Only device types that have branding information configured will be shown in the response.

Public Method DescribeClientBrandingAsync(DescribeClientBrandingRequest, CancellationToken)

Describes the specified client branding. Client branding allows you to customize the log in page of various device types for your users. You can add your company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

Only device types that have branding information configured will be shown in the response.

Public Method DescribeClientProperties(DescribeClientPropertiesRequest)

Retrieves a list that describes one or more specified Amazon WorkSpaces clients.

Public Method DescribeClientPropertiesAsync(DescribeClientPropertiesRequest, CancellationToken)

Retrieves a list that describes one or more specified Amazon WorkSpaces clients.

Public Method DescribeConnectClientAddIns(DescribeConnectClientAddInsRequest)

Retrieves a list of Amazon Connect client add-ins that have been created.

Public Method DescribeConnectClientAddInsAsync(DescribeConnectClientAddInsRequest, CancellationToken)

Retrieves a list of Amazon Connect client add-ins that have been created.

Public Method DescribeConnectionAliases(DescribeConnectionAliasesRequest)

Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Public Method DescribeConnectionAliasesAsync(DescribeConnectionAliasesRequest, CancellationToken)

Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Public Method DescribeConnectionAliasPermissions(DescribeConnectionAliasPermissionsRequest)

Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Public Method DescribeConnectionAliasPermissionsAsync(DescribeConnectionAliasPermissionsRequest, CancellationToken)

Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Public Method DescribeImageAssociations(DescribeImageAssociationsRequest)

Describes the associations between the applications and the specified image.

Public Method DescribeImageAssociationsAsync(DescribeImageAssociationsRequest, CancellationToken)

Describes the associations between the applications and the specified image.

Public Method DescribeIpGroups(DescribeIpGroupsRequest)

Describes one or more of your IP access control groups.

Public Method DescribeIpGroupsAsync(DescribeIpGroupsRequest, CancellationToken)

Describes one or more of your IP access control groups.

Public Method DescribeTags(DescribeTagsRequest)

Describes the specified tags for the specified WorkSpaces resource.

Public Method DescribeTagsAsync(DescribeTagsRequest, CancellationToken)

Describes the specified tags for the specified WorkSpaces resource.

Public Method DescribeWorkspaceAssociations(DescribeWorkspaceAssociationsRequest)

Describes the associations betweens applications and the specified WorkSpace.

Public Method DescribeWorkspaceAssociationsAsync(DescribeWorkspaceAssociationsRequest, CancellationToken)

Describes the associations betweens applications and the specified WorkSpace.

Public Method DescribeWorkspaceBundles()

Retrieves a list that describes the available WorkSpace bundles.

You can filter the results using either bundle ID or owner, but not both.

Public Method DescribeWorkspaceBundles(DescribeWorkspaceBundlesRequest)

Retrieves a list that describes the available WorkSpace bundles.

You can filter the results using either bundle ID or owner, but not both.

Public Method DescribeWorkspaceBundlesAsync(CancellationToken)

Retrieves a list that describes the available WorkSpace bundles.

You can filter the results using either bundle ID or owner, but not both.

Public Method DescribeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest, CancellationToken)

Retrieves a list that describes the available WorkSpace bundles.

You can filter the results using either bundle ID or owner, but not both.

Public Method DescribeWorkspaceDirectories()

Describes the available directories that are registered with Amazon WorkSpaces.

Public Method DescribeWorkspaceDirectories(DescribeWorkspaceDirectoriesRequest)

Describes the available directories that are registered with Amazon WorkSpaces.

Public Method DescribeWorkspaceDirectoriesAsync(CancellationToken)

Describes the available directories that are registered with Amazon WorkSpaces.

Public Method DescribeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest, CancellationToken)

Describes the available directories that are registered with Amazon WorkSpaces.

Public Method DescribeWorkspaceImagePermissions(DescribeWorkspaceImagePermissionsRequest)

Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image.

Public Method DescribeWorkspaceImagePermissionsAsync(DescribeWorkspaceImagePermissionsRequest, CancellationToken)

Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image.

Public Method DescribeWorkspaceImages(DescribeWorkspaceImagesRequest)

Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described.

Public Method DescribeWorkspaceImagesAsync(DescribeWorkspaceImagesRequest, CancellationToken)

Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described.

Public Method DescribeWorkspaces()

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.

Public Method DescribeWorkspaces(DescribeWorkspacesRequest)

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.

Public Method DescribeWorkspacesAsync(CancellationToken)

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.

Public Method DescribeWorkspacesAsync(DescribeWorkspacesRequest, CancellationToken)

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.

Public Method DescribeWorkspacesConnectionStatus(DescribeWorkspacesConnectionStatusRequest)

Describes the connection status of the specified WorkSpaces.

Public Method DescribeWorkspacesConnectionStatusAsync(DescribeWorkspacesConnectionStatusRequest, CancellationToken)

Describes the connection status of the specified WorkSpaces.

Public Method DescribeWorkspaceSnapshots(DescribeWorkspaceSnapshotsRequest)

Describes the snapshots for the specified WorkSpace.

Public Method DescribeWorkspaceSnapshotsAsync(DescribeWorkspaceSnapshotsRequest, CancellationToken)

Describes the snapshots for the specified WorkSpace.

Public Method DetermineServiceOperationEndpoint(AmazonWebServiceRequest)

Returns the endpoint that will be used for a particular request.

Public Method DisassociateConnectionAlias(DisassociateConnectionAliasRequest)

Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different Regions. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

Public Method DisassociateConnectionAliasAsync(DisassociateConnectionAliasRequest, CancellationToken)

Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different Regions. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

Public Method DisassociateIpGroups(DisassociateIpGroupsRequest)

Disassociates the specified IP access control group from the specified directory.

Public Method DisassociateIpGroupsAsync(DisassociateIpGroupsRequest, CancellationToken)

Disassociates the specified IP access control group from the specified directory.

Public Method DisassociateWorkspaceApplication(DisassociateWorkspaceApplicationRequest)

Disassociates the specified application from a WorkSpace.

Public Method DisassociateWorkspaceApplicationAsync(DisassociateWorkspaceApplicationRequest, CancellationToken)

Disassociates the specified application from a WorkSpace.

Public Method GetAccountLink(GetAccountLinkRequest)

Retrieves account link information.

Public Method GetAccountLinkAsync(GetAccountLinkRequest, CancellationToken)

Retrieves account link information.

Public Method ImportClientBranding(ImportClientBrandingRequest)

Imports client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

After you import client branding, the default branding experience for the specified platform type is replaced with the imported experience

  • You must specify at least one platform type when importing client branding.

  • You can import up to 6 MB of data with each request. If your request exceeds this limit, you can import client branding for different platform types using separate requests.

  • In each platform type, the SupportEmail and SupportLink parameters are mutually exclusive. You can specify only one parameter for each platform type, but not both.

  • Imported data can take up to a minute to appear in the WorkSpaces client.

Public Method ImportClientBrandingAsync(ImportClientBrandingRequest, CancellationToken)

Imports client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

After you import client branding, the default branding experience for the specified platform type is replaced with the imported experience

  • You must specify at least one platform type when importing client branding.

  • You can import up to 6 MB of data with each request. If your request exceeds this limit, you can import client branding for different platform types using separate requests.

  • In each platform type, the SupportEmail and SupportLink parameters are mutually exclusive. You can specify only one parameter for each platform type, but not both.

  • Imported data can take up to a minute to appear in the WorkSpaces client.

Public Method ImportWorkspaceImage(ImportWorkspaceImageRequest)

Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.

Public Method ImportWorkspaceImageAsync(ImportWorkspaceImageRequest, CancellationToken)

Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.

Public Method ListAccountLinks(ListAccountLinksRequest)

Lists all account links.

Public Method ListAccountLinksAsync(ListAccountLinksRequest, CancellationToken)

Lists all account links.

Public Method ListAvailableManagementCidrRanges(ListAvailableManagementCidrRangesRequest)

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).

This operation can be run only by Amazon Web Services accounts that are enabled for BYOL. If your account isn't enabled for BYOL, you'll receive an AccessDeniedException error.

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.

Public Method ListAvailableManagementCidrRangesAsync(ListAvailableManagementCidrRangesRequest, CancellationToken)

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).

This operation can be run only by Amazon Web Services accounts that are enabled for BYOL. If your account isn't enabled for BYOL, you'll receive an AccessDeniedException error.

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.

Public Method MigrateWorkspace(MigrateWorkspaceRequest)

Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.

The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume from the last available snapshot of the original WorkSpace. During migration, the original D:\Users\%USERNAME% user profile folder is renamed to D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated. A new D:\Users\%USERNAME%\ folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.

For available migration scenarios, details about what happens during migration, and best practices, see Migrate a WorkSpace.

Public Method MigrateWorkspaceAsync(MigrateWorkspaceRequest, CancellationToken)

Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.

The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume from the last available snapshot of the original WorkSpace. During migration, the original D:\Users\%USERNAME% user profile folder is renamed to D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated. A new D:\Users\%USERNAME%\ folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.

For available migration scenarios, details about what happens during migration, and best practices, see Migrate a WorkSpace.

Public Method ModifyAccount(ModifyAccountRequest)

Modifies the configuration of Bring Your Own License (BYOL) for the specified account.

Public Method ModifyAccountAsync(ModifyAccountRequest, CancellationToken)

Modifies the configuration of Bring Your Own License (BYOL) for the specified account.

Public Method ModifyCertificateBasedAuthProperties(ModifyCertificateBasedAuthPropertiesRequest)

Modifies the properties of the certificate-based authentication you want to use with your WorkSpaces.

Public Method ModifyCertificateBasedAuthPropertiesAsync(ModifyCertificateBasedAuthPropertiesRequest, CancellationToken)

Modifies the properties of the certificate-based authentication you want to use with your WorkSpaces.

Public Method ModifyClientProperties(ModifyClientPropertiesRequest)

Modifies the properties of the specified Amazon WorkSpaces clients.

Public Method ModifyClientPropertiesAsync(ModifyClientPropertiesRequest, CancellationToken)

Modifies the properties of the specified Amazon WorkSpaces clients.

Public Method ModifySamlProperties(ModifySamlPropertiesRequest)

Modifies multiple properties related to SAML 2.0 authentication, including the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.

Public Method ModifySamlPropertiesAsync(ModifySamlPropertiesRequest, CancellationToken)

Modifies multiple properties related to SAML 2.0 authentication, including the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.

Public Method ModifySelfservicePermissions(ModifySelfservicePermissionsRequest)

Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.

Public Method ModifySelfservicePermissionsAsync(ModifySelfservicePermissionsRequest, CancellationToken)

Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.

Public Method ModifyWorkspaceAccessProperties(ModifyWorkspaceAccessPropertiesRequest)

Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see Control Device Access.

Public Method ModifyWorkspaceAccessPropertiesAsync(ModifyWorkspaceAccessPropertiesRequest, CancellationToken)

Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see Control Device Access.

Public Method ModifyWorkspaceCreationProperties(ModifyWorkspaceCreationPropertiesRequest)

Modify the default properties used to create WorkSpaces.

Public Method ModifyWorkspaceCreationPropertiesAsync(ModifyWorkspaceCreationPropertiesRequest, CancellationToken)

Modify the default properties used to create WorkSpaces.

Public Method ModifyWorkspaceProperties(ModifyWorkspacePropertiesRequest)

Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.

The MANUAL running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.

Public Method ModifyWorkspacePropertiesAsync(ModifyWorkspacePropertiesRequest, CancellationToken)

Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.

The MANUAL running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.

Public Method ModifyWorkspaceState(ModifyWorkspaceStateRequest)

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.

Public Method ModifyWorkspaceStateAsync(ModifyWorkspaceStateRequest, CancellationToken)

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.

Public Method RebootWorkspaces(RebootWorkspacesRequest)

Reboots the specified WorkSpaces.

You cannot reboot a WorkSpace unless its state is AVAILABLE, UNHEALTHY, or REBOOTING. Reboot a WorkSpace in the REBOOTING state only if your WorkSpace has been stuck in the REBOOTING state for over 20 minutes.

This operation is asynchronous and returns before the WorkSpaces have rebooted.

Public Method RebootWorkspacesAsync(RebootWorkspacesRequest, CancellationToken)

Reboots the specified WorkSpaces.

You cannot reboot a WorkSpace unless its state is AVAILABLE, UNHEALTHY, or REBOOTING. Reboot a WorkSpace in the REBOOTING state only if your WorkSpace has been stuck in the REBOOTING state for over 20 minutes.

This operation is asynchronous and returns before the WorkSpaces have rebooted.

Public Method RebuildWorkspaces(RebuildWorkspacesRequest)

Rebuilds the specified WorkSpace.

You cannot rebuild a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, STOPPED, or REBOOTING.

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.

Public Method RebuildWorkspacesAsync(RebuildWorkspacesRequest, CancellationToken)

Rebuilds the specified WorkSpace.

You cannot rebuild a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, STOPPED, or REBOOTING.

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.

Public Method RegisterWorkspaceDirectory(RegisterWorkspaceDirectoryRequest)

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.

Public Method RegisterWorkspaceDirectoryAsync(RegisterWorkspaceDirectoryRequest, CancellationToken)

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.

Public Method RejectAccountLinkInvitation(RejectAccountLinkInvitationRequest)

Rejects the account link invitation.

Public Method RejectAccountLinkInvitationAsync(RejectAccountLinkInvitationRequest, CancellationToken)

Rejects the account link invitation.

Public Method RestoreWorkspace(RestoreWorkspaceRequest)

Restores the specified WorkSpace to its last known healthy state.

You cannot restore a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, or STOPPED.

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.

Public Method RestoreWorkspaceAsync(RestoreWorkspaceRequest, CancellationToken)

Restores the specified WorkSpace to its last known healthy state.

You cannot restore a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, or STOPPED.

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.

Public Method RevokeIpRules(RevokeIpRulesRequest)

Removes one or more rules from the specified IP access control group.

Public Method RevokeIpRulesAsync(RevokeIpRulesRequest, CancellationToken)

Removes one or more rules from the specified IP access control group.

Public Method StartWorkspaces(StartWorkspacesRequest)

Starts the specified WorkSpaces.

You cannot start a WorkSpace unless it has a running mode of AutoStop and a state of STOPPED.

Public Method StartWorkspacesAsync(StartWorkspacesRequest, CancellationToken)

Starts the specified WorkSpaces.

You cannot start a WorkSpace unless it has a running mode of AutoStop and a state of STOPPED.

Public Method StopWorkspaces(StopWorkspacesRequest)

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.

Public Method StopWorkspacesAsync(StopWorkspacesRequest, CancellationToken)

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.

Public Method TerminateWorkspaces(TerminateWorkspacesRequest)

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 Support 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. After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.

Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.

To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.

Public Method TerminateWorkspacesAsync(TerminateWorkspacesRequest, CancellationToken)

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 Support 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. After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.

Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.

To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.

Public Method UpdateConnectClientAddIn(UpdateConnectClientAddInRequest)

Updates a Amazon Connect client add-in. Use this action to update the name and endpoint URL of a Amazon Connect client add-in.

Public Method UpdateConnectClientAddInAsync(UpdateConnectClientAddInRequest, CancellationToken)

Updates a Amazon Connect client add-in. Use this action to update the name and endpoint URL of a Amazon Connect client add-in.

Public Method UpdateConnectionAliasPermission(UpdateConnectionAliasPermissionRequest)

Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. If the association permission is granted, the connection alias is shared with that account. If the association permission is revoked, the connection alias is unshared with the account. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

  • Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

  • To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.

Public Method UpdateConnectionAliasPermissionAsync(UpdateConnectionAliasPermissionRequest, CancellationToken)

Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. If the association permission is granted, the connection alias is shared with that account. If the association permission is revoked, the connection alias is unshared with the account. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

  • Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

  • To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.

Public Method UpdateRulesOfIpGroup(UpdateRulesOfIpGroupRequest)

Replaces the current rules of the specified IP access control group with the specified rules.

Public Method UpdateRulesOfIpGroupAsync(UpdateRulesOfIpGroupRequest, CancellationToken)

Replaces the current rules of the specified IP access control group with the specified rules.

Public Method UpdateWorkspaceBundle(UpdateWorkspaceBundleRequest)

Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see Update a Custom WorkSpaces Bundle.

Existing WorkSpaces aren't automatically updated when you update the bundle that they're based on. To update existing WorkSpaces that are based on a bundle that you've updated, you must either rebuild the WorkSpaces or delete and recreate them.

Public Method UpdateWorkspaceBundleAsync(UpdateWorkspaceBundleRequest, CancellationToken)

Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see Update a Custom WorkSpaces Bundle.

Existing WorkSpaces aren't automatically updated when you update the bundle that they're based on. To update existing WorkSpaces that are based on a bundle that you've updated, you must either rebuild the WorkSpaces or delete and recreate them.

Public Method UpdateWorkspaceImagePermission(UpdateWorkspaceImagePermissionRequest)

Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image. If the copy image permission is granted, the image is shared with that account. If the copy image permission is revoked, the image is unshared with the account.

After an image has been shared, the recipient account can copy the image to other Regions as needed.

In the China (Ningxia) Region, you can copy images only within the same Region.

In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.

For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.

  • To delete an image that has been shared, you must unshare the image before you delete it.

  • Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in Amazon Web Services GovCloud (US), contact Amazon Web Services Support.

Public Method UpdateWorkspaceImagePermissionAsync(UpdateWorkspaceImagePermissionRequest, CancellationToken)

Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image. If the copy image permission is granted, the image is shared with that account. If the copy image permission is revoked, the image is unshared with the account.

After an image has been shared, the recipient account can copy the image to other Regions as needed.

In the China (Ningxia) Region, you can copy images only within the same Region.

In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.

For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.

  • To delete an image that has been shared, you must unshare the image before you delete it.

  • Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in Amazon Web Services GovCloud (US), contact Amazon Web Services Support.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5