workspaces.d.ts
   1  import {Request} from '../lib/request';
   2  import {Response} from '../lib/response';
   3  import {AWSError} from '../lib/error';
   4  import {Service} from '../lib/service';
   5  import {ServiceConfigurationOptions} from '../lib/service';
   6  import {ConfigBase as Config} from '../lib/config-base';
   7  interface Blob {}
   8  declare class WorkSpaces extends Service {
   9    /**
  10     * Constructs a service object. This object has one method for each API operation.
  11     */
  12    constructor(options?: WorkSpaces.Types.ClientConfiguration)
  13    config: Config & WorkSpaces.Types.ClientConfiguration;
  14    /**
  15     * 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. 
  16     */
  17    associateConnectionAlias(params: WorkSpaces.Types.AssociateConnectionAliasRequest, callback?: (err: AWSError, data: WorkSpaces.Types.AssociateConnectionAliasResult) => void): Request<WorkSpaces.Types.AssociateConnectionAliasResult, AWSError>;
  18    /**
  19     * 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. 
  20     */
  21    associateConnectionAlias(callback?: (err: AWSError, data: WorkSpaces.Types.AssociateConnectionAliasResult) => void): Request<WorkSpaces.Types.AssociateConnectionAliasResult, AWSError>;
  22    /**
  23     * Associates the specified IP access control group with the specified directory.
  24     */
  25    associateIpGroups(params: WorkSpaces.Types.AssociateIpGroupsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.AssociateIpGroupsResult) => void): Request<WorkSpaces.Types.AssociateIpGroupsResult, AWSError>;
  26    /**
  27     * Associates the specified IP access control group with the specified directory.
  28     */
  29    associateIpGroups(callback?: (err: AWSError, data: WorkSpaces.Types.AssociateIpGroupsResult) => void): Request<WorkSpaces.Types.AssociateIpGroupsResult, AWSError>;
  30    /**
  31     * 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.
  32     */
  33    authorizeIpRules(params: WorkSpaces.Types.AuthorizeIpRulesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.AuthorizeIpRulesResult) => void): Request<WorkSpaces.Types.AuthorizeIpRulesResult, AWSError>;
  34    /**
  35     * 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.
  36     */
  37    authorizeIpRules(callback?: (err: AWSError, data: WorkSpaces.Types.AuthorizeIpRulesResult) => void): Request<WorkSpaces.Types.AuthorizeIpRulesResult, AWSError>;
  38    /**
  39     * 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 the AWS GovCloud (US-West) Region, to copy images to and from other AWS Regions, contact AWS Support.   Before copying a shared image, be sure to verify that it has been shared from the correct AWS account. To determine if an image has been shared and to see the AWS account ID that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.  
  40     */
  41    copyWorkspaceImage(params: WorkSpaces.Types.CopyWorkspaceImageRequest, callback?: (err: AWSError, data: WorkSpaces.Types.CopyWorkspaceImageResult) => void): Request<WorkSpaces.Types.CopyWorkspaceImageResult, AWSError>;
  42    /**
  43     * 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 the AWS GovCloud (US-West) Region, to copy images to and from other AWS Regions, contact AWS Support.   Before copying a shared image, be sure to verify that it has been shared from the correct AWS account. To determine if an image has been shared and to see the AWS account ID that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.  
  44     */
  45    copyWorkspaceImage(callback?: (err: AWSError, data: WorkSpaces.Types.CopyWorkspaceImageResult) => void): Request<WorkSpaces.Types.CopyWorkspaceImageResult, AWSError>;
  46    /**
  47     * Creates the specified connection alias for use with cross-Region redirection. For more information, see  Cross-Region Redirection for Amazon WorkSpaces.
  48     */
  49    createConnectionAlias(params: WorkSpaces.Types.CreateConnectionAliasRequest, callback?: (err: AWSError, data: WorkSpaces.Types.CreateConnectionAliasResult) => void): Request<WorkSpaces.Types.CreateConnectionAliasResult, AWSError>;
  50    /**
  51     * Creates the specified connection alias for use with cross-Region redirection. For more information, see  Cross-Region Redirection for Amazon WorkSpaces.
  52     */
  53    createConnectionAlias(callback?: (err: AWSError, data: WorkSpaces.Types.CreateConnectionAliasResult) => void): Request<WorkSpaces.Types.CreateConnectionAliasResult, AWSError>;
  54    /**
  55     * 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.
  56     */
  57    createIpGroup(params: WorkSpaces.Types.CreateIpGroupRequest, callback?: (err: AWSError, data: WorkSpaces.Types.CreateIpGroupResult) => void): Request<WorkSpaces.Types.CreateIpGroupResult, AWSError>;
  58    /**
  59     * 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.
  60     */
  61    createIpGroup(callback?: (err: AWSError, data: WorkSpaces.Types.CreateIpGroupResult) => void): Request<WorkSpaces.Types.CreateIpGroupResult, AWSError>;
  62    /**
  63     * Creates the specified tags for the specified WorkSpaces resource.
  64     */
  65    createTags(params: WorkSpaces.Types.CreateTagsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.CreateTagsResult) => void): Request<WorkSpaces.Types.CreateTagsResult, AWSError>;
  66    /**
  67     * Creates the specified tags for the specified WorkSpaces resource.
  68     */
  69    createTags(callback?: (err: AWSError, data: WorkSpaces.Types.CreateTagsResult) => void): Request<WorkSpaces.Types.CreateTagsResult, AWSError>;
  70    /**
  71     * Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see  Create a Custom WorkSpaces Image and Bundle.
  72     */
  73    createWorkspaceBundle(params: WorkSpaces.Types.CreateWorkspaceBundleRequest, callback?: (err: AWSError, data: WorkSpaces.Types.CreateWorkspaceBundleResult) => void): Request<WorkSpaces.Types.CreateWorkspaceBundleResult, AWSError>;
  74    /**
  75     * Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see  Create a Custom WorkSpaces Image and Bundle.
  76     */
  77    createWorkspaceBundle(callback?: (err: AWSError, data: WorkSpaces.Types.CreateWorkspaceBundleResult) => void): Request<WorkSpaces.Types.CreateWorkspaceBundleResult, AWSError>;
  78    /**
  79     * Creates one or more WorkSpaces. This operation is asynchronous and returns before the WorkSpaces are created.
  80     */
  81    createWorkspaces(params: WorkSpaces.Types.CreateWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.CreateWorkspacesResult) => void): Request<WorkSpaces.Types.CreateWorkspacesResult, AWSError>;
  82    /**
  83     * Creates one or more WorkSpaces. This operation is asynchronous and returns before the WorkSpaces are created.
  84     */
  85    createWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.CreateWorkspacesResult) => void): Request<WorkSpaces.Types.CreateWorkspacesResult, AWSError>;
  86    /**
  87     * 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. 
  88     */
  89    deleteConnectionAlias(params: WorkSpaces.Types.DeleteConnectionAliasRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DeleteConnectionAliasResult) => void): Request<WorkSpaces.Types.DeleteConnectionAliasResult, AWSError>;
  90    /**
  91     * 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. 
  92     */
  93    deleteConnectionAlias(callback?: (err: AWSError, data: WorkSpaces.Types.DeleteConnectionAliasResult) => void): Request<WorkSpaces.Types.DeleteConnectionAliasResult, AWSError>;
  94    /**
  95     * Deletes the specified IP access control group. You cannot delete an IP access control group that is associated with a directory.
  96     */
  97    deleteIpGroup(params: WorkSpaces.Types.DeleteIpGroupRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DeleteIpGroupResult) => void): Request<WorkSpaces.Types.DeleteIpGroupResult, AWSError>;
  98    /**
  99     * Deletes the specified IP access control group. You cannot delete an IP access control group that is associated with a directory.
 100     */
 101    deleteIpGroup(callback?: (err: AWSError, data: WorkSpaces.Types.DeleteIpGroupResult) => void): Request<WorkSpaces.Types.DeleteIpGroupResult, AWSError>;
 102    /**
 103     * Deletes the specified tags from the specified WorkSpaces resource.
 104     */
 105    deleteTags(params: WorkSpaces.Types.DeleteTagsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DeleteTagsResult) => void): Request<WorkSpaces.Types.DeleteTagsResult, AWSError>;
 106    /**
 107     * Deletes the specified tags from the specified WorkSpaces resource.
 108     */
 109    deleteTags(callback?: (err: AWSError, data: WorkSpaces.Types.DeleteTagsResult) => void): Request<WorkSpaces.Types.DeleteTagsResult, AWSError>;
 110    /**
 111     * Deletes the specified WorkSpace bundle. For more information about deleting WorkSpace bundles, see  Delete a Custom WorkSpaces Bundle or Image.
 112     */
 113    deleteWorkspaceBundle(params: WorkSpaces.Types.DeleteWorkspaceBundleRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DeleteWorkspaceBundleResult) => void): Request<WorkSpaces.Types.DeleteWorkspaceBundleResult, AWSError>;
 114    /**
 115     * Deletes the specified WorkSpace bundle. For more information about deleting WorkSpace bundles, see  Delete a Custom WorkSpaces Bundle or Image.
 116     */
 117    deleteWorkspaceBundle(callback?: (err: AWSError, data: WorkSpaces.Types.DeleteWorkspaceBundleResult) => void): Request<WorkSpaces.Types.DeleteWorkspaceBundleResult, AWSError>;
 118    /**
 119     * 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. 
 120     */
 121    deleteWorkspaceImage(params: WorkSpaces.Types.DeleteWorkspaceImageRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DeleteWorkspaceImageResult) => void): Request<WorkSpaces.Types.DeleteWorkspaceImageResult, AWSError>;
 122    /**
 123     * 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. 
 124     */
 125    deleteWorkspaceImage(callback?: (err: AWSError, data: WorkSpaces.Types.DeleteWorkspaceImageResult) => void): Request<WorkSpaces.Types.DeleteWorkspaceImageResult, AWSError>;
 126    /**
 127     * 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 AWS Directory Services 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. 
 128     */
 129    deregisterWorkspaceDirectory(params: WorkSpaces.Types.DeregisterWorkspaceDirectoryRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DeregisterWorkspaceDirectoryResult) => void): Request<WorkSpaces.Types.DeregisterWorkspaceDirectoryResult, AWSError>;
 130    /**
 131     * 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 AWS Directory Services 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. 
 132     */
 133    deregisterWorkspaceDirectory(callback?: (err: AWSError, data: WorkSpaces.Types.DeregisterWorkspaceDirectoryResult) => void): Request<WorkSpaces.Types.DeregisterWorkspaceDirectoryResult, AWSError>;
 134    /**
 135     * Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.
 136     */
 137    describeAccount(params: WorkSpaces.Types.DescribeAccountRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeAccountResult) => void): Request<WorkSpaces.Types.DescribeAccountResult, AWSError>;
 138    /**
 139     * Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.
 140     */
 141    describeAccount(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeAccountResult) => void): Request<WorkSpaces.Types.DescribeAccountResult, AWSError>;
 142    /**
 143     * Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.
 144     */
 145    describeAccountModifications(params: WorkSpaces.Types.DescribeAccountModificationsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeAccountModificationsResult) => void): Request<WorkSpaces.Types.DescribeAccountModificationsResult, AWSError>;
 146    /**
 147     * Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.
 148     */
 149    describeAccountModifications(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeAccountModificationsResult) => void): Request<WorkSpaces.Types.DescribeAccountModificationsResult, AWSError>;
 150    /**
 151     * Retrieves a list that describes one or more specified Amazon WorkSpaces clients.
 152     */
 153    describeClientProperties(params: WorkSpaces.Types.DescribeClientPropertiesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeClientPropertiesResult) => void): Request<WorkSpaces.Types.DescribeClientPropertiesResult, AWSError>;
 154    /**
 155     * Retrieves a list that describes one or more specified Amazon WorkSpaces clients.
 156     */
 157    describeClientProperties(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeClientPropertiesResult) => void): Request<WorkSpaces.Types.DescribeClientPropertiesResult, AWSError>;
 158    /**
 159     * Describes the permissions that the owner of a connection alias has granted to another AWS account for the specified connection alias. For more information, see  Cross-Region Redirection for Amazon WorkSpaces.
 160     */
 161    describeConnectionAliasPermissions(params: WorkSpaces.Types.DescribeConnectionAliasPermissionsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeConnectionAliasPermissionsResult) => void): Request<WorkSpaces.Types.DescribeConnectionAliasPermissionsResult, AWSError>;
 162    /**
 163     * Describes the permissions that the owner of a connection alias has granted to another AWS account for the specified connection alias. For more information, see  Cross-Region Redirection for Amazon WorkSpaces.
 164     */
 165    describeConnectionAliasPermissions(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeConnectionAliasPermissionsResult) => void): Request<WorkSpaces.Types.DescribeConnectionAliasPermissionsResult, AWSError>;
 166    /**
 167     * Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see  Cross-Region Redirection for Amazon WorkSpaces.
 168     */
 169    describeConnectionAliases(params: WorkSpaces.Types.DescribeConnectionAliasesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeConnectionAliasesResult) => void): Request<WorkSpaces.Types.DescribeConnectionAliasesResult, AWSError>;
 170    /**
 171     * Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see  Cross-Region Redirection for Amazon WorkSpaces.
 172     */
 173    describeConnectionAliases(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeConnectionAliasesResult) => void): Request<WorkSpaces.Types.DescribeConnectionAliasesResult, AWSError>;
 174    /**
 175     * Describes one or more of your IP access control groups.
 176     */
 177    describeIpGroups(params: WorkSpaces.Types.DescribeIpGroupsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeIpGroupsResult) => void): Request<WorkSpaces.Types.DescribeIpGroupsResult, AWSError>;
 178    /**
 179     * Describes one or more of your IP access control groups.
 180     */
 181    describeIpGroups(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeIpGroupsResult) => void): Request<WorkSpaces.Types.DescribeIpGroupsResult, AWSError>;
 182    /**
 183     * Describes the specified tags for the specified WorkSpaces resource.
 184     */
 185    describeTags(params: WorkSpaces.Types.DescribeTagsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeTagsResult) => void): Request<WorkSpaces.Types.DescribeTagsResult, AWSError>;
 186    /**
 187     * Describes the specified tags for the specified WorkSpaces resource.
 188     */
 189    describeTags(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeTagsResult) => void): Request<WorkSpaces.Types.DescribeTagsResult, AWSError>;
 190    /**
 191     * Retrieves a list that describes the available WorkSpace bundles. You can filter the results using either bundle ID or owner, but not both.
 192     */
 193    describeWorkspaceBundles(params: WorkSpaces.Types.DescribeWorkspaceBundlesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceBundlesResult) => void): Request<WorkSpaces.Types.DescribeWorkspaceBundlesResult, AWSError>;
 194    /**
 195     * Retrieves a list that describes the available WorkSpace bundles. You can filter the results using either bundle ID or owner, but not both.
 196     */
 197    describeWorkspaceBundles(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceBundlesResult) => void): Request<WorkSpaces.Types.DescribeWorkspaceBundlesResult, AWSError>;
 198    /**
 199     * Describes the available directories that are registered with Amazon WorkSpaces.
 200     */
 201    describeWorkspaceDirectories(params: WorkSpaces.Types.DescribeWorkspaceDirectoriesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceDirectoriesResult) => void): Request<WorkSpaces.Types.DescribeWorkspaceDirectoriesResult, AWSError>;
 202    /**
 203     * Describes the available directories that are registered with Amazon WorkSpaces.
 204     */
 205    describeWorkspaceDirectories(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceDirectoriesResult) => void): Request<WorkSpaces.Types.DescribeWorkspaceDirectoriesResult, AWSError>;
 206    /**
 207     * Describes the permissions that the owner of an image has granted to other AWS accounts for an image.
 208     */
 209    describeWorkspaceImagePermissions(params: WorkSpaces.Types.DescribeWorkspaceImagePermissionsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceImagePermissionsResult) => void): Request<WorkSpaces.Types.DescribeWorkspaceImagePermissionsResult, AWSError>;
 210    /**
 211     * Describes the permissions that the owner of an image has granted to other AWS accounts for an image.
 212     */
 213    describeWorkspaceImagePermissions(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceImagePermissionsResult) => void): Request<WorkSpaces.Types.DescribeWorkspaceImagePermissionsResult, AWSError>;
 214    /**
 215     * Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described. 
 216     */
 217    describeWorkspaceImages(params: WorkSpaces.Types.DescribeWorkspaceImagesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceImagesResult) => void): Request<WorkSpaces.Types.DescribeWorkspaceImagesResult, AWSError>;
 218    /**
 219     * Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described. 
 220     */
 221    describeWorkspaceImages(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceImagesResult) => void): Request<WorkSpaces.Types.DescribeWorkspaceImagesResult, AWSError>;
 222    /**
 223     * Describes the snapshots for the specified WorkSpace.
 224     */
 225    describeWorkspaceSnapshots(params: WorkSpaces.Types.DescribeWorkspaceSnapshotsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceSnapshotsResult) => void): Request<WorkSpaces.Types.DescribeWorkspaceSnapshotsResult, AWSError>;
 226    /**
 227     * Describes the snapshots for the specified WorkSpace.
 228     */
 229    describeWorkspaceSnapshots(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceSnapshotsResult) => void): Request<WorkSpaces.Types.DescribeWorkspaceSnapshotsResult, AWSError>;
 230    /**
 231     * 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.
 232     */
 233    describeWorkspaces(params: WorkSpaces.Types.DescribeWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspacesResult) => void): Request<WorkSpaces.Types.DescribeWorkspacesResult, AWSError>;
 234    /**
 235     * 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.
 236     */
 237    describeWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspacesResult) => void): Request<WorkSpaces.Types.DescribeWorkspacesResult, AWSError>;
 238    /**
 239     * Describes the connection status of the specified WorkSpaces.
 240     */
 241    describeWorkspacesConnectionStatus(params: WorkSpaces.Types.DescribeWorkspacesConnectionStatusRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspacesConnectionStatusResult) => void): Request<WorkSpaces.Types.DescribeWorkspacesConnectionStatusResult, AWSError>;
 242    /**
 243     * Describes the connection status of the specified WorkSpaces.
 244     */
 245    describeWorkspacesConnectionStatus(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspacesConnectionStatusResult) => void): Request<WorkSpaces.Types.DescribeWorkspacesConnectionStatusResult, AWSError>;
 246    /**
 247     * Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different AWS 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. 
 248     */
 249    disassociateConnectionAlias(params: WorkSpaces.Types.DisassociateConnectionAliasRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DisassociateConnectionAliasResult) => void): Request<WorkSpaces.Types.DisassociateConnectionAliasResult, AWSError>;
 250    /**
 251     * Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different AWS 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. 
 252     */
 253    disassociateConnectionAlias(callback?: (err: AWSError, data: WorkSpaces.Types.DisassociateConnectionAliasResult) => void): Request<WorkSpaces.Types.DisassociateConnectionAliasResult, AWSError>;
 254    /**
 255     * Disassociates the specified IP access control group from the specified directory.
 256     */
 257    disassociateIpGroups(params: WorkSpaces.Types.DisassociateIpGroupsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DisassociateIpGroupsResult) => void): Request<WorkSpaces.Types.DisassociateIpGroupsResult, AWSError>;
 258    /**
 259     * Disassociates the specified IP access control group from the specified directory.
 260     */
 261    disassociateIpGroups(callback?: (err: AWSError, data: WorkSpaces.Types.DisassociateIpGroupsResult) => void): Request<WorkSpaces.Types.DisassociateIpGroupsResult, AWSError>;
 262    /**
 263     * Imports the specified Windows 10 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your AWS account, and you must own the image. For more information about creating BYOL images, see  Bring Your Own Windows Desktop Licenses.
 264     */
 265    importWorkspaceImage(params: WorkSpaces.Types.ImportWorkspaceImageRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ImportWorkspaceImageResult) => void): Request<WorkSpaces.Types.ImportWorkspaceImageResult, AWSError>;
 266    /**
 267     * Imports the specified Windows 10 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your AWS account, and you must own the image. For more information about creating BYOL images, see  Bring Your Own Windows Desktop Licenses.
 268     */
 269    importWorkspaceImage(callback?: (err: AWSError, data: WorkSpaces.Types.ImportWorkspaceImageResult) => void): Request<WorkSpaces.Types.ImportWorkspaceImageResult, AWSError>;
 270    /**
 271     * 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 AWS 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.
 272     */
 273    listAvailableManagementCidrRanges(params: WorkSpaces.Types.ListAvailableManagementCidrRangesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ListAvailableManagementCidrRangesResult) => void): Request<WorkSpaces.Types.ListAvailableManagementCidrRangesResult, AWSError>;
 274    /**
 275     * 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 AWS 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.
 276     */
 277    listAvailableManagementCidrRanges(callback?: (err: AWSError, data: WorkSpaces.Types.ListAvailableManagementCidrRangesResult) => void): Request<WorkSpaces.Types.ListAvailableManagementCidrRangesResult, AWSError>;
 278    /**
 279     * 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.
 280     */
 281    migrateWorkspace(params: WorkSpaces.Types.MigrateWorkspaceRequest, callback?: (err: AWSError, data: WorkSpaces.Types.MigrateWorkspaceResult) => void): Request<WorkSpaces.Types.MigrateWorkspaceResult, AWSError>;
 282    /**
 283     * 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.
 284     */
 285    migrateWorkspace(callback?: (err: AWSError, data: WorkSpaces.Types.MigrateWorkspaceResult) => void): Request<WorkSpaces.Types.MigrateWorkspaceResult, AWSError>;
 286    /**
 287     * Modifies the configuration of Bring Your Own License (BYOL) for the specified account.
 288     */
 289    modifyAccount(params: WorkSpaces.Types.ModifyAccountRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ModifyAccountResult) => void): Request<WorkSpaces.Types.ModifyAccountResult, AWSError>;
 290    /**
 291     * Modifies the configuration of Bring Your Own License (BYOL) for the specified account.
 292     */
 293    modifyAccount(callback?: (err: AWSError, data: WorkSpaces.Types.ModifyAccountResult) => void): Request<WorkSpaces.Types.ModifyAccountResult, AWSError>;
 294    /**
 295     * Modifies the properties of the specified Amazon WorkSpaces clients.
 296     */
 297    modifyClientProperties(params: WorkSpaces.Types.ModifyClientPropertiesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ModifyClientPropertiesResult) => void): Request<WorkSpaces.Types.ModifyClientPropertiesResult, AWSError>;
 298    /**
 299     * Modifies the properties of the specified Amazon WorkSpaces clients.
 300     */
 301    modifyClientProperties(callback?: (err: AWSError, data: WorkSpaces.Types.ModifyClientPropertiesResult) => void): Request<WorkSpaces.Types.ModifyClientPropertiesResult, AWSError>;
 302    /**
 303     * Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.
 304     */
 305    modifySelfservicePermissions(params: WorkSpaces.Types.ModifySelfservicePermissionsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ModifySelfservicePermissionsResult) => void): Request<WorkSpaces.Types.ModifySelfservicePermissionsResult, AWSError>;
 306    /**
 307     * Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.
 308     */
 309    modifySelfservicePermissions(callback?: (err: AWSError, data: WorkSpaces.Types.ModifySelfservicePermissionsResult) => void): Request<WorkSpaces.Types.ModifySelfservicePermissionsResult, AWSError>;
 310    /**
 311     * Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see  Control Device Access.
 312     */
 313    modifyWorkspaceAccessProperties(params: WorkSpaces.Types.ModifyWorkspaceAccessPropertiesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ModifyWorkspaceAccessPropertiesResult) => void): Request<WorkSpaces.Types.ModifyWorkspaceAccessPropertiesResult, AWSError>;
 314    /**
 315     * Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see  Control Device Access.
 316     */
 317    modifyWorkspaceAccessProperties(callback?: (err: AWSError, data: WorkSpaces.Types.ModifyWorkspaceAccessPropertiesResult) => void): Request<WorkSpaces.Types.ModifyWorkspaceAccessPropertiesResult, AWSError>;
 318    /**
 319     * Modify the default properties used to create WorkSpaces.
 320     */
 321    modifyWorkspaceCreationProperties(params: WorkSpaces.Types.ModifyWorkspaceCreationPropertiesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ModifyWorkspaceCreationPropertiesResult) => void): Request<WorkSpaces.Types.ModifyWorkspaceCreationPropertiesResult, AWSError>;
 322    /**
 323     * Modify the default properties used to create WorkSpaces.
 324     */
 325    modifyWorkspaceCreationProperties(callback?: (err: AWSError, data: WorkSpaces.Types.ModifyWorkspaceCreationPropertiesResult) => void): Request<WorkSpaces.Types.ModifyWorkspaceCreationPropertiesResult, AWSError>;
 326    /**
 327     * Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see  Modify a WorkSpace. 
 328     */
 329    modifyWorkspaceProperties(params: WorkSpaces.Types.ModifyWorkspacePropertiesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ModifyWorkspacePropertiesResult) => void): Request<WorkSpaces.Types.ModifyWorkspacePropertiesResult, AWSError>;
 330    /**
 331     * Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see  Modify a WorkSpace. 
 332     */
 333    modifyWorkspaceProperties(callback?: (err: AWSError, data: WorkSpaces.Types.ModifyWorkspacePropertiesResult) => void): Request<WorkSpaces.Types.ModifyWorkspacePropertiesResult, AWSError>;
 334    /**
 335     * 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.
 336     */
 337    modifyWorkspaceState(params: WorkSpaces.Types.ModifyWorkspaceStateRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ModifyWorkspaceStateResult) => void): Request<WorkSpaces.Types.ModifyWorkspaceStateResult, AWSError>;
 338    /**
 339     * 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.
 340     */
 341    modifyWorkspaceState(callback?: (err: AWSError, data: WorkSpaces.Types.ModifyWorkspaceStateResult) => void): Request<WorkSpaces.Types.ModifyWorkspaceStateResult, AWSError>;
 342    /**
 343     * 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.
 344     */
 345    rebootWorkspaces(params: WorkSpaces.Types.RebootWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.RebootWorkspacesResult) => void): Request<WorkSpaces.Types.RebootWorkspacesResult, AWSError>;
 346    /**
 347     * 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.
 348     */
 349    rebootWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.RebootWorkspacesResult) => void): Request<WorkSpaces.Types.RebootWorkspacesResult, AWSError>;
 350    /**
 351     * 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.
 352     */
 353    rebuildWorkspaces(params: WorkSpaces.Types.RebuildWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.RebuildWorkspacesResult) => void): Request<WorkSpaces.Types.RebuildWorkspacesResult, AWSError>;
 354    /**
 355     * 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.
 356     */
 357    rebuildWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.RebuildWorkspacesResult) => void): Request<WorkSpaces.Types.RebuildWorkspacesResult, AWSError>;
 358    /**
 359     * 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.
 360     */
 361    registerWorkspaceDirectory(params: WorkSpaces.Types.RegisterWorkspaceDirectoryRequest, callback?: (err: AWSError, data: WorkSpaces.Types.RegisterWorkspaceDirectoryResult) => void): Request<WorkSpaces.Types.RegisterWorkspaceDirectoryResult, AWSError>;
 362    /**
 363     * 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.
 364     */
 365    registerWorkspaceDirectory(callback?: (err: AWSError, data: WorkSpaces.Types.RegisterWorkspaceDirectoryResult) => void): Request<WorkSpaces.Types.RegisterWorkspaceDirectoryResult, AWSError>;
 366    /**
 367     * 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.
 368     */
 369    restoreWorkspace(params: WorkSpaces.Types.RestoreWorkspaceRequest, callback?: (err: AWSError, data: WorkSpaces.Types.RestoreWorkspaceResult) => void): Request<WorkSpaces.Types.RestoreWorkspaceResult, AWSError>;
 370    /**
 371     * 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.
 372     */
 373    restoreWorkspace(callback?: (err: AWSError, data: WorkSpaces.Types.RestoreWorkspaceResult) => void): Request<WorkSpaces.Types.RestoreWorkspaceResult, AWSError>;
 374    /**
 375     * Removes one or more rules from the specified IP access control group.
 376     */
 377    revokeIpRules(params: WorkSpaces.Types.RevokeIpRulesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.RevokeIpRulesResult) => void): Request<WorkSpaces.Types.RevokeIpRulesResult, AWSError>;
 378    /**
 379     * Removes one or more rules from the specified IP access control group.
 380     */
 381    revokeIpRules(callback?: (err: AWSError, data: WorkSpaces.Types.RevokeIpRulesResult) => void): Request<WorkSpaces.Types.RevokeIpRulesResult, AWSError>;
 382    /**
 383     * Starts the specified WorkSpaces. You cannot start a WorkSpace unless it has a running mode of AutoStop and a state of STOPPED.
 384     */
 385    startWorkspaces(params: WorkSpaces.Types.StartWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.StartWorkspacesResult) => void): Request<WorkSpaces.Types.StartWorkspacesResult, AWSError>;
 386    /**
 387     * Starts the specified WorkSpaces. You cannot start a WorkSpace unless it has a running mode of AutoStop and a state of STOPPED.
 388     */
 389    startWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.StartWorkspacesResult) => void): Request<WorkSpaces.Types.StartWorkspacesResult, AWSError>;
 390    /**
 391     *  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.
 392     */
 393    stopWorkspaces(params: WorkSpaces.Types.StopWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.StopWorkspacesResult) => void): Request<WorkSpaces.Types.StopWorkspacesResult, AWSError>;
 394    /**
 395     *  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.
 396     */
 397    stopWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.StopWorkspacesResult) => void): Request<WorkSpaces.Types.StopWorkspacesResult, AWSError>;
 398    /**
 399     * 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 AWS 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 AWS Directory Services 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. 
 400     */
 401    terminateWorkspaces(params: WorkSpaces.Types.TerminateWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.TerminateWorkspacesResult) => void): Request<WorkSpaces.Types.TerminateWorkspacesResult, AWSError>;
 402    /**
 403     * 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 AWS 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 AWS Directory Services 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. 
 404     */
 405    terminateWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.TerminateWorkspacesResult) => void): Request<WorkSpaces.Types.TerminateWorkspacesResult, AWSError>;
 406    /**
 407     * 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.   
 408     */
 409    updateConnectionAliasPermission(params: WorkSpaces.Types.UpdateConnectionAliasPermissionRequest, callback?: (err: AWSError, data: WorkSpaces.Types.UpdateConnectionAliasPermissionResult) => void): Request<WorkSpaces.Types.UpdateConnectionAliasPermissionResult, AWSError>;
 410    /**
 411     * 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.   
 412     */
 413    updateConnectionAliasPermission(callback?: (err: AWSError, data: WorkSpaces.Types.UpdateConnectionAliasPermissionResult) => void): Request<WorkSpaces.Types.UpdateConnectionAliasPermissionResult, AWSError>;
 414    /**
 415     * Replaces the current rules of the specified IP access control group with the specified rules.
 416     */
 417    updateRulesOfIpGroup(params: WorkSpaces.Types.UpdateRulesOfIpGroupRequest, callback?: (err: AWSError, data: WorkSpaces.Types.UpdateRulesOfIpGroupResult) => void): Request<WorkSpaces.Types.UpdateRulesOfIpGroupResult, AWSError>;
 418    /**
 419     * Replaces the current rules of the specified IP access control group with the specified rules.
 420     */
 421    updateRulesOfIpGroup(callback?: (err: AWSError, data: WorkSpaces.Types.UpdateRulesOfIpGroupResult) => void): Request<WorkSpaces.Types.UpdateRulesOfIpGroupResult, AWSError>;
 422    /**
 423     * 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. 
 424     */
 425    updateWorkspaceBundle(params: WorkSpaces.Types.UpdateWorkspaceBundleRequest, callback?: (err: AWSError, data: WorkSpaces.Types.UpdateWorkspaceBundleResult) => void): Request<WorkSpaces.Types.UpdateWorkspaceBundleResult, AWSError>;
 426    /**
 427     * 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. 
 428     */
 429    updateWorkspaceBundle(callback?: (err: AWSError, data: WorkSpaces.Types.UpdateWorkspaceBundleResult) => void): Request<WorkSpaces.Types.UpdateWorkspaceBundleResult, AWSError>;
 430    /**
 431     * Shares or unshares an image with one account in the same AWS 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 AWS Regions as needed.  In the China (Ningxia) Region, you can copy images only within the same Region. In the AWS GovCloud (US-West) Region, to copy images to and from other AWS Regions, contact AWS 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 AWS accounts isn't supported at this time in the AWS GovCloud (US-West) Region. To share BYOL images across accounts in the AWS GovCloud (US-West) Region, contact AWS Support.   
 432     */
 433    updateWorkspaceImagePermission(params: WorkSpaces.Types.UpdateWorkspaceImagePermissionRequest, callback?: (err: AWSError, data: WorkSpaces.Types.UpdateWorkspaceImagePermissionResult) => void): Request<WorkSpaces.Types.UpdateWorkspaceImagePermissionResult, AWSError>;
 434    /**
 435     * Shares or unshares an image with one account in the same AWS 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 AWS Regions as needed.  In the China (Ningxia) Region, you can copy images only within the same Region. In the AWS GovCloud (US-West) Region, to copy images to and from other AWS Regions, contact AWS 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 AWS accounts isn't supported at this time in the AWS GovCloud (US-West) Region. To share BYOL images across accounts in the AWS GovCloud (US-West) Region, contact AWS Support.   
 436     */
 437    updateWorkspaceImagePermission(callback?: (err: AWSError, data: WorkSpaces.Types.UpdateWorkspaceImagePermissionResult) => void): Request<WorkSpaces.Types.UpdateWorkspaceImagePermissionResult, AWSError>;
 438  }
 439  declare namespace WorkSpaces {
 440    export type ARN = string;
 441    export type AccessPropertyValue = "ALLOW"|"DENY"|string;
 442    export interface AccountModification {
 443      /**
 444       * The state of the modification to the configuration of BYOL.
 445       */
 446      ModificationState?: DedicatedTenancyModificationStateEnum;
 447      /**
 448       * The status of BYOL (whether BYOL is being enabled or disabled).
 449       */
 450      DedicatedTenancySupport?: DedicatedTenancySupportResultEnum;
 451      /**
 452       * The IP address range, specified as an IPv4 CIDR block, for the management network interface used for the account.
 453       */
 454      DedicatedTenancyManagementCidrRange?: DedicatedTenancyManagementCidrRange;
 455      /**
 456       * The timestamp when the modification of the BYOL configuration was started.
 457       */
 458      StartTime?: Timestamp;
 459      /**
 460       * The error code that is returned if the configuration of BYOL cannot be modified.
 461       */
 462      ErrorCode?: WorkspaceErrorCode;
 463      /**
 464       * The text of the error message that is returned if the configuration of BYOL cannot be modified.
 465       */
 466      ErrorMessage?: Description;
 467    }
 468    export type AccountModificationList = AccountModification[];
 469    export type Alias = string;
 470    export type Application = "Microsoft_Office_2016"|"Microsoft_Office_2019"|string;
 471    export type ApplicationList = Application[];
 472    export interface AssociateConnectionAliasRequest {
 473      /**
 474       * The identifier of the connection alias.
 475       */
 476      AliasId: ConnectionAliasId;
 477      /**
 478       * The identifier of the directory to associate the connection alias with.
 479       */
 480      ResourceId: NonEmptyString;
 481    }
 482    export interface AssociateConnectionAliasResult {
 483      /**
 484       * The identifier of the connection alias association. You use the connection identifier in the DNS TXT record when you're configuring your DNS routing policies. 
 485       */
 486      ConnectionIdentifier?: ConnectionIdentifier;
 487    }
 488    export interface AssociateIpGroupsRequest {
 489      /**
 490       * The identifier of the directory.
 491       */
 492      DirectoryId: DirectoryId;
 493      /**
 494       * The identifiers of one or more IP access control groups.
 495       */
 496      GroupIds: IpGroupIdList;
 497    }
 498    export interface AssociateIpGroupsResult {
 499    }
 500    export type AssociationStatus = "NOT_ASSOCIATED"|"ASSOCIATED_WITH_OWNER_ACCOUNT"|"ASSOCIATED_WITH_SHARED_ACCOUNT"|"PENDING_ASSOCIATION"|"PENDING_DISASSOCIATION"|string;
 501    export interface AuthorizeIpRulesRequest {
 502      /**
 503       * The identifier of the group.
 504       */
 505      GroupId: IpGroupId;
 506      /**
 507       * The rules to add to the group.
 508       */
 509      UserRules: IpRuleList;
 510    }
 511    export interface AuthorizeIpRulesResult {
 512    }
 513    export type AwsAccount = string;
 514    export type BooleanObject = boolean;
 515    export type BundleId = string;
 516    export type BundleIdList = BundleId[];
 517    export type BundleList = WorkspaceBundle[];
 518    export type BundleOwner = string;
 519    export interface ClientProperties {
 520      /**
 521       * Specifies whether users can cache their credentials on the Amazon WorkSpaces client. When enabled, users can choose to reconnect to their WorkSpaces without re-entering their credentials. 
 522       */
 523      ReconnectEnabled?: ReconnectEnum;
 524    }
 525    export type ClientPropertiesList = ClientPropertiesResult[];
 526    export interface ClientPropertiesResult {
 527      /**
 528       * The resource identifier, in the form of a directory ID.
 529       */
 530      ResourceId?: NonEmptyString;
 531      /**
 532       * Information about the Amazon WorkSpaces client.
 533       */
 534      ClientProperties?: ClientProperties;
 535    }
 536    export type Compute = "VALUE"|"STANDARD"|"PERFORMANCE"|"POWER"|"GRAPHICS"|"POWERPRO"|"GRAPHICSPRO"|string;
 537    export interface ComputeType {
 538      /**
 539       * The compute type.
 540       */
 541      Name?: Compute;
 542    }
 543    export type ComputerName = string;
 544    export interface ConnectionAlias {
 545      /**
 546       * The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com.
 547       */
 548      ConnectionString?: ConnectionString;
 549      /**
 550       * The identifier of the connection alias.
 551       */
 552      AliasId?: ConnectionAliasId;
 553      /**
 554       * The current state of the connection alias.
 555       */
 556      State?: ConnectionAliasState;
 557      /**
 558       * The identifier of the AWS account that owns the connection alias.
 559       */
 560      OwnerAccountId?: AwsAccount;
 561      /**
 562       * The association status of the connection alias.
 563       */
 564      Associations?: ConnectionAliasAssociationList;
 565    }
 566    export interface ConnectionAliasAssociation {
 567      /**
 568       * The association status of the connection alias.
 569       */
 570      AssociationStatus?: AssociationStatus;
 571      /**
 572       * The identifier of the AWS account that associated the connection alias with a directory.
 573       */
 574      AssociatedAccountId?: AwsAccount;
 575      /**
 576       * The identifier of the directory associated with a connection alias.
 577       */
 578      ResourceId?: NonEmptyString;
 579      /**
 580       * The identifier of the connection alias association. You use the connection identifier in the DNS TXT record when you're configuring your DNS routing policies.
 581       */
 582      ConnectionIdentifier?: ConnectionIdentifier;
 583    }
 584    export type ConnectionAliasAssociationList = ConnectionAliasAssociation[];
 585    export type ConnectionAliasId = string;
 586    export type ConnectionAliasIdList = ConnectionAliasId[];
 587    export type ConnectionAliasList = ConnectionAlias[];
 588    export interface ConnectionAliasPermission {
 589      /**
 590       * The identifier of the AWS account that the connection alias is shared with.
 591       */
 592      SharedAccountId: AwsAccount;
 593      /**
 594       * Indicates whether the specified AWS account is allowed to associate the connection alias with a directory.
 595       */
 596      AllowAssociation: BooleanObject;
 597    }
 598    export type ConnectionAliasPermissions = ConnectionAliasPermission[];
 599    export type ConnectionAliasState = "CREATING"|"CREATED"|"DELETING"|string;
 600    export type ConnectionIdentifier = string;
 601    export type ConnectionState = "CONNECTED"|"DISCONNECTED"|"UNKNOWN"|string;
 602    export type ConnectionString = string;
 603    export interface CopyWorkspaceImageRequest {
 604      /**
 605       * The name of the image.
 606       */
 607      Name: WorkspaceImageName;
 608      /**
 609       * A description of the image.
 610       */
 611      Description?: WorkspaceImageDescription;
 612      /**
 613       * The identifier of the source image.
 614       */
 615      SourceImageId: WorkspaceImageId;
 616      /**
 617       * The identifier of the source Region.
 618       */
 619      SourceRegion: Region;
 620      /**
 621       * The tags for the image.
 622       */
 623      Tags?: TagList;
 624    }
 625    export interface CopyWorkspaceImageResult {
 626      /**
 627       * The identifier of the image.
 628       */
 629      ImageId?: WorkspaceImageId;
 630    }
 631    export interface CreateConnectionAliasRequest {
 632      /**
 633       * A connection string in the form of a fully qualified domain name (FQDN), such as www.example.com.  After you create a connection string, it is always associated to your AWS account. You cannot recreate the same connection string with a different account, even if you delete all instances of it from the original account. The connection string is globally reserved for your account. 
 634       */
 635      ConnectionString: ConnectionString;
 636      /**
 637       * The tags to associate with the connection alias.
 638       */
 639      Tags?: TagList;
 640    }
 641    export interface CreateConnectionAliasResult {
 642      /**
 643       * The identifier of the connection alias.
 644       */
 645      AliasId?: ConnectionAliasId;
 646    }
 647    export interface CreateIpGroupRequest {
 648      /**
 649       * The name of the group.
 650       */
 651      GroupName: IpGroupName;
 652      /**
 653       * The description of the group.
 654       */
 655      GroupDesc?: IpGroupDesc;
 656      /**
 657       * The rules to add to the group.
 658       */
 659      UserRules?: IpRuleList;
 660      /**
 661       * The tags. Each WorkSpaces resource can have a maximum of 50 tags.
 662       */
 663      Tags?: TagList;
 664    }
 665    export interface CreateIpGroupResult {
 666      /**
 667       * The identifier of the group.
 668       */
 669      GroupId?: IpGroupId;
 670    }
 671    export interface CreateTagsRequest {
 672      /**
 673       * The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
 674       */
 675      ResourceId: NonEmptyString;
 676      /**
 677       * The tags. Each WorkSpaces resource can have a maximum of 50 tags.
 678       */
 679      Tags: TagList;
 680    }
 681    export interface CreateTagsResult {
 682    }
 683    export interface CreateWorkspaceBundleRequest {
 684      /**
 685       * The name of the bundle.
 686       */
 687      BundleName: WorkspaceBundleName;
 688      /**
 689       * The description of the bundle.
 690       */
 691      BundleDescription: WorkspaceBundleDescription;
 692      /**
 693       * The identifier of the image that is used to create the bundle.
 694       */
 695      ImageId: WorkspaceImageId;
 696      ComputeType: ComputeType;
 697      UserStorage: UserStorage;
 698      RootStorage?: RootStorage;
 699      /**
 700       * The tags associated with the bundle.  To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags.  
 701       */
 702      Tags?: TagList;
 703    }
 704    export interface CreateWorkspaceBundleResult {
 705      WorkspaceBundle?: WorkspaceBundle;
 706    }
 707    export interface CreateWorkspacesRequest {
 708      /**
 709       * The WorkSpaces to create. You can specify up to 25 WorkSpaces.
 710       */
 711      Workspaces: WorkspaceRequestList;
 712    }
 713    export interface CreateWorkspacesResult {
 714      /**
 715       * Information about the WorkSpaces that could not be created.
 716       */
 717      FailedRequests?: FailedCreateWorkspaceRequests;
 718      /**
 719       * Information about the WorkSpaces that were created. Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces before the WorkSpace is created, the information returned can be incomplete.
 720       */
 721      PendingRequests?: WorkspaceList;
 722    }
 723    export type DedicatedTenancyCidrRangeList = DedicatedTenancyManagementCidrRange[];
 724    export type DedicatedTenancyManagementCidrRange = string;
 725    export type DedicatedTenancyModificationStateEnum = "PENDING"|"COMPLETED"|"FAILED"|string;
 726    export type DedicatedTenancySupportEnum = "ENABLED"|string;
 727    export type DedicatedTenancySupportResultEnum = "ENABLED"|"DISABLED"|string;
 728    export type DefaultOu = string;
 729    export interface DefaultWorkspaceCreationProperties {
 730      /**
 731       * Specifies whether the directory is enabled for Amazon WorkDocs.
 732       */
 733      EnableWorkDocs?: BooleanObject;
 734      /**
 735       * Specifies whether to automatically assign an Elastic public IP address to WorkSpaces in this directory by default. If enabled, the Elastic public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see  Configure a VPC for Amazon WorkSpaces.
 736       */
 737      EnableInternetAccess?: BooleanObject;
 738      /**
 739       * The organizational unit (OU) in the directory for the WorkSpace machine accounts.
 740       */
 741      DefaultOu?: DefaultOu;
 742      /**
 743       * The identifier of the default security group to apply to WorkSpaces when they are created. For more information, see  Security Groups for Your WorkSpaces.
 744       */
 745      CustomSecurityGroupId?: SecurityGroupId;
 746      /**
 747       * Specifies whether WorkSpace users are local administrators on their WorkSpaces.
 748       */
 749      UserEnabledAsLocalAdministrator?: BooleanObject;
 750      /**
 751       * Specifies whether maintenance mode is enabled for WorkSpaces. For more information, see WorkSpace Maintenance.
 752       */
 753      EnableMaintenanceMode?: BooleanObject;
 754    }
 755    export interface DeleteConnectionAliasRequest {
 756      /**
 757       * The identifier of the connection alias to delete.
 758       */
 759      AliasId: ConnectionAliasId;
 760    }
 761    export interface DeleteConnectionAliasResult {
 762    }
 763    export interface DeleteIpGroupRequest {
 764      /**
 765       * The identifier of the IP access control group.
 766       */
 767      GroupId: IpGroupId;
 768    }
 769    export interface DeleteIpGroupResult {
 770    }
 771    export interface DeleteTagsRequest {
 772      /**
 773       * The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
 774       */
 775      ResourceId: NonEmptyString;
 776      /**
 777       * The tag keys.
 778       */
 779      TagKeys: TagKeyList;
 780    }
 781    export interface DeleteTagsResult {
 782    }
 783    export interface DeleteWorkspaceBundleRequest {
 784      /**
 785       * The identifier of the bundle.
 786       */
 787      BundleId?: BundleId;
 788    }
 789    export interface DeleteWorkspaceBundleResult {
 790    }
 791    export interface DeleteWorkspaceImageRequest {
 792      /**
 793       * The identifier of the image.
 794       */
 795      ImageId: WorkspaceImageId;
 796    }
 797    export interface DeleteWorkspaceImageResult {
 798    }
 799    export interface DeregisterWorkspaceDirectoryRequest {
 800      /**
 801       * The identifier of the directory. If any WorkSpaces are registered to this directory, you must remove them before you deregister the directory, or you will receive an OperationNotSupportedException error.
 802       */
 803      DirectoryId: DirectoryId;
 804    }
 805    export interface DeregisterWorkspaceDirectoryResult {
 806    }
 807    export interface DescribeAccountModificationsRequest {
 808      /**
 809       * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
 810       */
 811      NextToken?: PaginationToken;
 812    }
 813    export interface DescribeAccountModificationsResult {
 814      /**
 815       * The list of modifications to the configuration of BYOL.
 816       */
 817      AccountModifications?: AccountModificationList;
 818      /**
 819       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. 
 820       */
 821      NextToken?: PaginationToken;
 822    }
 823    export interface DescribeAccountRequest {
 824    }
 825    export interface DescribeAccountResult {
 826      /**
 827       * The status of BYOL (whether BYOL is enabled or disabled).
 828       */
 829      DedicatedTenancySupport?: DedicatedTenancySupportResultEnum;
 830      /**
 831       * The IP address range, specified as an IPv4 CIDR block, used for the management network interface. 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.
 832       */
 833      DedicatedTenancyManagementCidrRange?: DedicatedTenancyManagementCidrRange;
 834    }
 835    export interface DescribeClientPropertiesRequest {
 836      /**
 837       * The resource identifier, in the form of directory IDs.
 838       */
 839      ResourceIds: ResourceIdList;
 840    }
 841    export interface DescribeClientPropertiesResult {
 842      /**
 843       * Information about the specified Amazon WorkSpaces clients.
 844       */
 845      ClientPropertiesList?: ClientPropertiesList;
 846    }
 847    export interface DescribeConnectionAliasPermissionsRequest {
 848      /**
 849       * The identifier of the connection alias.
 850       */
 851      AliasId: ConnectionAliasId;
 852      /**
 853       * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results. 
 854       */
 855      NextToken?: PaginationToken;
 856      /**
 857       * The maximum number of results to return.
 858       */
 859      MaxResults?: Limit;
 860    }
 861    export interface DescribeConnectionAliasPermissionsResult {
 862      /**
 863       * The identifier of the connection alias.
 864       */
 865      AliasId?: ConnectionAliasId;
 866      /**
 867       * The permissions associated with a connection alias.
 868       */
 869      ConnectionAliasPermissions?: ConnectionAliasPermissions;
 870      /**
 871       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. 
 872       */
 873      NextToken?: PaginationToken;
 874    }
 875    export interface DescribeConnectionAliasesRequest {
 876      /**
 877       * The identifiers of the connection aliases to describe.
 878       */
 879      AliasIds?: ConnectionAliasIdList;
 880      /**
 881       * The identifier of the directory associated with the connection alias.
 882       */
 883      ResourceId?: NonEmptyString;
 884      /**
 885       * The maximum number of connection aliases to return.
 886       */
 887      Limit?: Limit;
 888      /**
 889       * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results. 
 890       */
 891      NextToken?: PaginationToken;
 892    }
 893    export interface DescribeConnectionAliasesResult {
 894      /**
 895       * Information about the specified connection aliases.
 896       */
 897      ConnectionAliases?: ConnectionAliasList;
 898      /**
 899       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. 
 900       */
 901      NextToken?: PaginationToken;
 902    }
 903    export interface DescribeIpGroupsRequest {
 904      /**
 905       * The identifiers of one or more IP access control groups.
 906       */
 907      GroupIds?: IpGroupIdList;
 908      /**
 909       * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
 910       */
 911      NextToken?: PaginationToken;
 912      /**
 913       * The maximum number of items to return.
 914       */
 915      MaxResults?: Limit;
 916    }
 917    export interface DescribeIpGroupsResult {
 918      /**
 919       * Information about the IP access control groups.
 920       */
 921      Result?: WorkspacesIpGroupsList;
 922      /**
 923       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. 
 924       */
 925      NextToken?: PaginationToken;
 926    }
 927    export interface DescribeTagsRequest {
 928      /**
 929       * The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
 930       */
 931      ResourceId: NonEmptyString;
 932    }
 933    export interface DescribeTagsResult {
 934      /**
 935       * The tags.
 936       */
 937      TagList?: TagList;
 938    }
 939    export interface DescribeWorkspaceBundlesRequest {
 940      /**
 941       * The identifiers of the bundles. You cannot combine this parameter with any other filter.
 942       */
 943      BundleIds?: BundleIdList;
 944      /**
 945       * The owner of the bundles. You cannot combine this parameter with any other filter. To describe the bundles provided by AWS, specify AMAZON. To describe the bundles that belong to your account, don't specify a value.
 946       */
 947      Owner?: BundleOwner;
 948      /**
 949       * The token for the next set of results. (You received this token from a previous call.)
 950       */
 951      NextToken?: PaginationToken;
 952    }
 953    export interface DescribeWorkspaceBundlesResult {
 954      /**
 955       * Information about the bundles.
 956       */
 957      Bundles?: BundleList;
 958      /**
 959       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. This token is valid for one day and must be used within that time frame.
 960       */
 961      NextToken?: PaginationToken;
 962    }
 963    export interface DescribeWorkspaceDirectoriesRequest {
 964      /**
 965       * The identifiers of the directories. If the value is null, all directories are retrieved.
 966       */
 967      DirectoryIds?: DirectoryIdList;
 968      /**
 969       * The maximum number of directories to return.
 970       */
 971      Limit?: Limit;
 972      /**
 973       * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
 974       */
 975      NextToken?: PaginationToken;
 976    }
 977    export interface DescribeWorkspaceDirectoriesResult {
 978      /**
 979       * Information about the directories.
 980       */
 981      Directories?: DirectoryList;
 982      /**
 983       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. 
 984       */
 985      NextToken?: PaginationToken;
 986    }
 987    export interface DescribeWorkspaceImagePermissionsRequest {
 988      /**
 989       * The identifier of the image.
 990       */
 991      ImageId: WorkspaceImageId;
 992      /**
 993       * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
 994       */
 995      NextToken?: PaginationToken;
 996      /**
 997       * The maximum number of items to return.
 998       */
 999      MaxResults?: Limit;
1000    }
1001    export interface DescribeWorkspaceImagePermissionsResult {
1002      /**
1003       * The identifier of the image.
1004       */
1005      ImageId?: WorkspaceImageId;
1006      /**
1007       * The identifiers of the AWS accounts that the image has been shared with.
1008       */
1009      ImagePermissions?: ImagePermissions;
1010      /**
1011       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. 
1012       */
1013      NextToken?: PaginationToken;
1014    }
1015    export interface DescribeWorkspaceImagesRequest {
1016      /**
1017       * The identifier of the image.
1018       */
1019      ImageIds?: WorkspaceImageIdList;
1020      /**
1021       * The type (owned or shared) of the image.
1022       */
1023      ImageType?: ImageType;
1024      /**
1025       * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
1026       */
1027      NextToken?: PaginationToken;
1028      /**
1029       * The maximum number of items to return.
1030       */
1031      MaxResults?: Limit;
1032    }
1033    export interface DescribeWorkspaceImagesResult {
1034      /**
1035       * Information about the images.
1036       */
1037      Images?: WorkspaceImageList;
1038      /**
1039       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. 
1040       */
1041      NextToken?: PaginationToken;
1042    }
1043    export interface DescribeWorkspaceSnapshotsRequest {
1044      /**
1045       * The identifier of the WorkSpace.
1046       */
1047      WorkspaceId: WorkspaceId;
1048    }
1049    export interface DescribeWorkspaceSnapshotsResult {
1050      /**
1051       * Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume.
1052       */
1053      RebuildSnapshots?: SnapshotList;
1054      /**
1055       * Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume.
1056       */
1057      RestoreSnapshots?: SnapshotList;
1058    }
1059    export interface DescribeWorkspacesConnectionStatusRequest {
1060      /**
1061       * The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.
1062       */
1063      WorkspaceIds?: WorkspaceIdList;
1064      /**
1065       * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
1066       */
1067      NextToken?: PaginationToken;
1068    }
1069    export interface DescribeWorkspacesConnectionStatusResult {
1070      /**
1071       * Information about the connection status of the WorkSpace.
1072       */
1073      WorkspacesConnectionStatus?: WorkspaceConnectionStatusList;
1074      /**
1075       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. 
1076       */
1077      NextToken?: PaginationToken;
1078    }
1079    export interface DescribeWorkspacesRequest {
1080      /**
1081       * The identifiers of the WorkSpaces. You cannot combine this parameter with any other filter. Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
1082       */
1083      WorkspaceIds?: WorkspaceIdList;
1084      /**
1085       * The identifier of the directory. In addition, you can optionally specify a specific directory user (see UserName). You cannot combine this parameter with any other filter.
1086       */
1087      DirectoryId?: DirectoryId;
1088      /**
1089       * The name of the directory user. You must specify this parameter with DirectoryId.
1090       */
1091      UserName?: UserName;
1092      /**
1093       * The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.
1094       */
1095      BundleId?: BundleId;
1096      /**
1097       * The maximum number of items to return.
1098       */
1099      Limit?: Limit;
1100      /**
1101       * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
1102       */
1103      NextToken?: PaginationToken;
1104    }
1105    export interface DescribeWorkspacesResult {
1106      /**
1107       * Information about the WorkSpaces. Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
1108       */
1109      Workspaces?: WorkspaceList;
1110      /**
1111       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. 
1112       */
1113      NextToken?: PaginationToken;
1114    }
1115    export type Description = string;
1116    export type DirectoryId = string;
1117    export type DirectoryIdList = DirectoryId[];
1118    export type DirectoryList = WorkspaceDirectory[];
1119    export type DirectoryName = string;
1120    export interface DisassociateConnectionAliasRequest {
1121      /**
1122       * The identifier of the connection alias to disassociate.
1123       */
1124      AliasId: ConnectionAliasId;
1125    }
1126    export interface DisassociateConnectionAliasResult {
1127    }
1128    export interface DisassociateIpGroupsRequest {
1129      /**
1130       * The identifier of the directory.
1131       */
1132      DirectoryId: DirectoryId;
1133      /**
1134       * The identifiers of one or more IP access control groups.
1135       */
1136      GroupIds: IpGroupIdList;
1137    }
1138    export interface DisassociateIpGroupsResult {
1139    }
1140    export type DnsIpAddresses = IpAddress[];
1141    export type Ec2ImageId = string;
1142    export type ErrorType = string;
1143    export interface FailedCreateWorkspaceRequest {
1144      /**
1145       * Information about the WorkSpace.
1146       */
1147      WorkspaceRequest?: WorkspaceRequest;
1148      /**
1149       * The error code that is returned if the WorkSpace cannot be created.
1150       */
1151      ErrorCode?: ErrorType;
1152      /**
1153       * The text of the error message that is returned if the WorkSpace cannot be created.
1154       */
1155      ErrorMessage?: Description;
1156    }
1157    export type FailedCreateWorkspaceRequests = FailedCreateWorkspaceRequest[];
1158    export type FailedRebootWorkspaceRequests = FailedWorkspaceChangeRequest[];
1159    export type FailedRebuildWorkspaceRequests = FailedWorkspaceChangeRequest[];
1160    export type FailedStartWorkspaceRequests = FailedWorkspaceChangeRequest[];
1161    export type FailedStopWorkspaceRequests = FailedWorkspaceChangeRequest[];
1162    export type FailedTerminateWorkspaceRequests = FailedWorkspaceChangeRequest[];
1163    export interface FailedWorkspaceChangeRequest {
1164      /**
1165       * The identifier of the WorkSpace.
1166       */
1167      WorkspaceId?: WorkspaceId;
1168      /**
1169       * The error code that is returned if the WorkSpace cannot be rebooted.
1170       */
1171      ErrorCode?: ErrorType;
1172      /**
1173       * The text of the error message that is returned if the WorkSpace cannot be rebooted.
1174       */
1175      ErrorMessage?: Description;
1176    }
1177    export interface ImagePermission {
1178      /**
1179       * The identifier of the AWS account that an image has been shared with.
1180       */
1181      SharedAccountId?: AwsAccount;
1182    }
1183    export type ImagePermissions = ImagePermission[];
1184    export type ImageType = "OWNED"|"SHARED"|string;
1185    export interface ImportWorkspaceImageRequest {
1186      /**
1187       * The identifier of the EC2 image.
1188       */
1189      Ec2ImageId: Ec2ImageId;
1190      /**
1191       * The ingestion process to be used when importing the image, depending on which protocol you want to use for your BYOL Workspace image, either PCoIP or WorkSpaces Streaming Protocol (WSP). To use WSP, specify a value that ends in _WSP. To use PCoIP, specify a value that does not end in _WSP.  For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify BYOL_REGULAR or BYOL_REGULAR_WSP, depending on the protocol.
1192       */
1193      IngestionProcess: WorkspaceImageIngestionProcess;
1194      /**
1195       * The name of the WorkSpace image.
1196       */
1197      ImageName: WorkspaceImageName;
1198      /**
1199       * The description of the WorkSpace image.
1200       */
1201      ImageDescription: WorkspaceImageDescription;
1202      /**
1203       * The tags. Each WorkSpaces resource can have a maximum of 50 tags.
1204       */
1205      Tags?: TagList;
1206      /**
1207       * If specified, the version of Microsoft Office to subscribe to. Valid only for Windows 10 BYOL images. For more information about subscribing to Office for BYOL images, see  Bring Your Own Windows Desktop Licenses.  Although this parameter is an array, only one item is allowed at this time. 
1208       */
1209      Applications?: ApplicationList;
1210    }
1211    export interface ImportWorkspaceImageResult {
1212      /**
1213       * The identifier of the WorkSpace image.
1214       */
1215      ImageId?: WorkspaceImageId;
1216    }
1217    export type IpAddress = string;
1218    export type IpGroupDesc = string;
1219    export type IpGroupId = string;
1220    export type IpGroupIdList = IpGroupId[];
1221    export type IpGroupName = string;
1222    export type IpRevokedRuleList = IpRule[];
1223    export type IpRule = string;
1224    export type IpRuleDesc = string;
1225    export interface IpRuleItem {
1226      /**
1227       * The IP address range, in CIDR notation.
1228       */
1229      ipRule?: IpRule;
1230      /**
1231       * The description.
1232       */
1233      ruleDesc?: IpRuleDesc;
1234    }
1235    export type IpRuleList = IpRuleItem[];
1236    export type Limit = number;
1237    export interface ListAvailableManagementCidrRangesRequest {
1238      /**
1239       * The IP address range to search. Specify an IP address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 CIDR block).
1240       */
1241      ManagementCidrRangeConstraint: ManagementCidrRangeConstraint;
1242      /**
1243       * The maximum number of items to return.
1244       */
1245      MaxResults?: ManagementCidrRangeMaxResults;
1246      /**
1247       * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
1248       */
1249      NextToken?: PaginationToken;
1250    }
1251    export interface ListAvailableManagementCidrRangesResult {
1252      /**
1253       * The list of available IP address ranges, specified as IPv4 CIDR blocks.
1254       */
1255      ManagementCidrRanges?: DedicatedTenancyCidrRangeList;
1256      /**
1257       * The token to use to retrieve the next page of results. This value is null when there are no more results to return. 
1258       */
1259      NextToken?: PaginationToken;
1260    }
1261    export type ManagementCidrRangeConstraint = string;
1262    export type ManagementCidrRangeMaxResults = number;
1263    export interface MigrateWorkspaceRequest {
1264      /**
1265       * The identifier of the WorkSpace to migrate from.
1266       */
1267      SourceWorkspaceId: WorkspaceId;
1268      /**
1269       * The identifier of the target bundle type to migrate the WorkSpace to.
1270       */
1271      BundleId: BundleId;
1272    }
1273    export interface MigrateWorkspaceResult {
1274      /**
1275       * The original identifier of the WorkSpace that is being migrated.
1276       */
1277      SourceWorkspaceId?: WorkspaceId;
1278      /**
1279       * The new identifier of the WorkSpace that is being migrated. If the migration does not succeed, the target WorkSpace ID will not be used, and the WorkSpace will still have the original WorkSpace ID.
1280       */
1281      TargetWorkspaceId?: WorkspaceId;
1282    }
1283    export type ModificationResourceEnum = "ROOT_VOLUME"|"USER_VOLUME"|"COMPUTE_TYPE"|string;
1284    export interface ModificationState {
1285      /**
1286       * The resource.
1287       */
1288      Resource?: ModificationResourceEnum;
1289      /**
1290       * The modification state.
1291       */
1292      State?: ModificationStateEnum;
1293    }
1294    export type ModificationStateEnum = "UPDATE_INITIATED"|"UPDATE_IN_PROGRESS"|string;
1295    export type ModificationStateList = ModificationState[];
1296    export interface ModifyAccountRequest {
1297      /**
1298       * The status of BYOL.
1299       */
1300      DedicatedTenancySupport?: DedicatedTenancySupportEnum;
1301      /**
1302       * The IP address range, specified as an IPv4 CIDR block, for the management network interface. Specify an IP address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 CIDR block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It must also be specified as available by the ListAvailableManagementCidrRanges operation.
1303       */
1304      DedicatedTenancyManagementCidrRange?: DedicatedTenancyManagementCidrRange;
1305    }
1306    export interface ModifyAccountResult {
1307    }
1308    export interface ModifyClientPropertiesRequest {
1309      /**
1310       * The resource identifiers, in the form of directory IDs.
1311       */
1312      ResourceId: NonEmptyString;
1313      /**
1314       * Information about the Amazon WorkSpaces client.
1315       */
1316      ClientProperties: ClientProperties;
1317    }
1318    export interface ModifyClientPropertiesResult {
1319    }
1320    export interface ModifySelfservicePermissionsRequest {
1321      /**
1322       * The identifier of the directory.
1323       */
1324      ResourceId: DirectoryId;
1325      /**
1326       * The permissions to enable or disable self-service capabilities.
1327       */
1328      SelfservicePermissions: SelfservicePermissions;
1329    }
1330    export interface ModifySelfservicePermissionsResult {
1331    }
1332    export interface ModifyWorkspaceAccessPropertiesRequest {
1333      /**
1334       * The identifier of the directory.
1335       */
1336      ResourceId: DirectoryId;
1337      /**
1338       * The device types and operating systems to enable or disable for access.
1339       */
1340      WorkspaceAccessProperties: WorkspaceAccessProperties;
1341    }
1342    export interface ModifyWorkspaceAccessPropertiesResult {
1343    }
1344    export interface ModifyWorkspaceCreationPropertiesRequest {
1345      /**
1346       * The identifier of the directory.
1347       */
1348      ResourceId: DirectoryId;
1349      /**
1350       * The default properties for creating WorkSpaces.
1351       */
1352      WorkspaceCreationProperties: WorkspaceCreationProperties;
1353    }
1354    export interface ModifyWorkspaceCreationPropertiesResult {
1355    }
1356    export interface ModifyWorkspacePropertiesRequest {
1357      /**
1358       * The identifier of the WorkSpace.
1359       */
1360      WorkspaceId: WorkspaceId;
1361      /**
1362       * The properties of the WorkSpace.
1363       */
1364      WorkspaceProperties: WorkspaceProperties;
1365    }
1366    export interface ModifyWorkspacePropertiesResult {
1367    }
1368    export interface ModifyWorkspaceStateRequest {
1369      /**
1370       * The identifier of the WorkSpace.
1371       */
1372      WorkspaceId: WorkspaceId;
1373      /**
1374       * The WorkSpace state.
1375       */
1376      WorkspaceState: TargetWorkspaceState;
1377    }
1378    export interface ModifyWorkspaceStateResult {
1379    }
1380    export type NonEmptyString = string;
1381    export interface OperatingSystem {
1382      /**
1383       * The operating system.
1384       */
1385      Type?: OperatingSystemType;
1386    }
1387    export type OperatingSystemType = "WINDOWS"|"LINUX"|string;
1388    export type PaginationToken = string;
1389    export interface RebootRequest {
1390      /**
1391       * The identifier of the WorkSpace.
1392       */
1393      WorkspaceId: WorkspaceId;
1394    }
1395    export type RebootWorkspaceRequests = RebootRequest[];
1396    export interface RebootWorkspacesRequest {
1397      /**
1398       * The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
1399       */
1400      RebootWorkspaceRequests: RebootWorkspaceRequests;
1401    }
1402    export interface RebootWorkspacesResult {
1403      /**
1404       * Information about the WorkSpaces that could not be rebooted.
1405       */
1406      FailedRequests?: FailedRebootWorkspaceRequests;
1407    }
1408    export interface RebuildRequest {
1409      /**
1410       * The identifier of the WorkSpace.
1411       */
1412      WorkspaceId: WorkspaceId;
1413    }
1414    export type RebuildWorkspaceRequests = RebuildRequest[];
1415    export interface RebuildWorkspacesRequest {
1416      /**
1417       * The WorkSpace to rebuild. You can specify a single WorkSpace.
1418       */
1419      RebuildWorkspaceRequests: RebuildWorkspaceRequests;
1420    }
1421    export interface RebuildWorkspacesResult {
1422      /**
1423       * Information about the WorkSpace that could not be rebuilt.
1424       */
1425      FailedRequests?: FailedRebuildWorkspaceRequests;
1426    }
1427    export type ReconnectEnum = "ENABLED"|"DISABLED"|string;
1428    export type Region = string;
1429    export interface RegisterWorkspaceDirectoryRequest {
1430      /**
1431       * The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.
1432       */
1433      DirectoryId: DirectoryId;
1434      /**
1435       * The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error.
1436       */
1437      SubnetIds?: SubnetIds;
1438      /**
1439       * Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs is not available in the Region, you will receive an OperationNotSupportedException error. Set EnableWorkDocs to disabled, and try again.
1440       */
1441      EnableWorkDocs: BooleanObject;
1442      /**
1443       * Indicates whether self-service capabilities are enabled or disabled.
1444       */
1445      EnableSelfService?: BooleanObject;
1446      /**
1447       * Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images, this value must be set to DEDICATED and your AWS account must be enabled for BYOL. If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For more information about BYOL images, see Bring Your Own Windows Desktop Images.
1448       */
1449      Tenancy?: Tenancy;
1450      /**
1451       * The tags associated with the directory.
1452       */
1453      Tags?: TagList;
1454    }
1455    export interface RegisterWorkspaceDirectoryResult {
1456    }
1457    export type RegistrationCode = string;
1458    export type ResourceIdList = NonEmptyString[];
1459    export interface RestoreWorkspaceRequest {
1460      /**
1461       * The identifier of the WorkSpace.
1462       */
1463      WorkspaceId: WorkspaceId;
1464    }
1465    export interface RestoreWorkspaceResult {
1466    }
1467    export interface RevokeIpRulesRequest {
1468      /**
1469       * The identifier of the group.
1470       */
1471      GroupId: IpGroupId;
1472      /**
1473       * The rules to remove from the group.
1474       */
1475      UserRules: IpRevokedRuleList;
1476    }
1477    export interface RevokeIpRulesResult {
1478    }
1479    export interface RootStorage {
1480      /**
1481       * The size of the root volume.
1482       */
1483      Capacity?: NonEmptyString;
1484    }
1485    export type RootVolumeSizeGib = number;
1486    export type RunningMode = "AUTO_STOP"|"ALWAYS_ON"|string;
1487    export type RunningModeAutoStopTimeoutInMinutes = number;
1488    export type SecurityGroupId = string;
1489    export interface SelfservicePermissions {
1490      /**
1491       * Specifies whether users can restart their WorkSpace.
1492       */
1493      RestartWorkspace?: ReconnectEnum;
1494      /**
1495       * Specifies whether users can increase the volume size of the drives on their WorkSpace.
1496       */
1497      IncreaseVolumeSize?: ReconnectEnum;
1498      /**
1499       * Specifies whether users can change the compute type (bundle) for their WorkSpace.
1500       */
1501      ChangeComputeType?: ReconnectEnum;
1502      /**
1503       * Specifies whether users can switch the running mode of their WorkSpace.
1504       */
1505      SwitchRunningMode?: ReconnectEnum;
1506      /**
1507       * Specifies whether users can rebuild the operating system of a WorkSpace to its original state.
1508       */
1509      RebuildWorkspace?: ReconnectEnum;
1510    }
1511    export interface Snapshot {
1512      /**
1513       * The time when the snapshot was created.
1514       */
1515      SnapshotTime?: Timestamp;
1516    }
1517    export type SnapshotList = Snapshot[];
1518    export interface StartRequest {
1519      /**
1520       * The identifier of the WorkSpace.
1521       */
1522      WorkspaceId?: WorkspaceId;
1523    }
1524    export type StartWorkspaceRequests = StartRequest[];
1525    export interface StartWorkspacesRequest {
1526      /**
1527       * The WorkSpaces to start. You can specify up to 25 WorkSpaces.
1528       */
1529      StartWorkspaceRequests: StartWorkspaceRequests;
1530    }
1531    export interface StartWorkspacesResult {
1532      /**
1533       * Information about the WorkSpaces that could not be started.
1534       */
1535      FailedRequests?: FailedStartWorkspaceRequests;
1536    }
1537    export interface StopRequest {
1538      /**
1539       * The identifier of the WorkSpace.
1540       */
1541      WorkspaceId?: WorkspaceId;
1542    }
1543    export type StopWorkspaceRequests = StopRequest[];
1544    export interface StopWorkspacesRequest {
1545      /**
1546       * The WorkSpaces to stop. You can specify up to 25 WorkSpaces.
1547       */
1548      StopWorkspaceRequests: StopWorkspaceRequests;
1549    }
1550    export interface StopWorkspacesResult {
1551      /**
1552       * Information about the WorkSpaces that could not be stopped.
1553       */
1554      FailedRequests?: FailedStopWorkspaceRequests;
1555    }
1556    export type SubnetId = string;
1557    export type SubnetIds = SubnetId[];
1558    export interface Tag {
1559      /**
1560       * The key of the tag.
1561       */
1562      Key: TagKey;
1563      /**
1564       * The value of the tag.
1565       */
1566      Value?: TagValue;
1567    }
1568    export type TagKey = string;
1569    export type TagKeyList = NonEmptyString[];
1570    export type TagList = Tag[];
1571    export type TagValue = string;
1572    export type TargetWorkspaceState = "AVAILABLE"|"ADMIN_MAINTENANCE"|string;
1573    export type Tenancy = "DEDICATED"|"SHARED"|string;
1574    export interface TerminateRequest {
1575      /**
1576       * The identifier of the WorkSpace.
1577       */
1578      WorkspaceId: WorkspaceId;
1579    }
1580    export type TerminateWorkspaceRequests = TerminateRequest[];
1581    export interface TerminateWorkspacesRequest {
1582      /**
1583       * The WorkSpaces to terminate. You can specify up to 25 WorkSpaces.
1584       */
1585      TerminateWorkspaceRequests: TerminateWorkspaceRequests;
1586    }
1587    export interface TerminateWorkspacesResult {
1588      /**
1589       * Information about the WorkSpaces that could not be terminated.
1590       */
1591      FailedRequests?: FailedTerminateWorkspaceRequests;
1592    }
1593    export type Timestamp = Date;
1594    export interface UpdateConnectionAliasPermissionRequest {
1595      /**
1596       * The identifier of the connection alias that you want to update permissions for.
1597       */
1598      AliasId: ConnectionAliasId;
1599      /**
1600       * Indicates whether to share or unshare the connection alias with the specified AWS account.
1601       */
1602      ConnectionAliasPermission: ConnectionAliasPermission;
1603    }
1604    export interface UpdateConnectionAliasPermissionResult {
1605    }
1606    export interface UpdateRulesOfIpGroupRequest {
1607      /**
1608       * The identifier of the group.
1609       */
1610      GroupId: IpGroupId;
1611      /**
1612       * One or more rules.
1613       */
1614      UserRules: IpRuleList;
1615    }
1616    export interface UpdateRulesOfIpGroupResult {
1617    }
1618    export interface UpdateWorkspaceBundleRequest {
1619      /**
1620       * The identifier of the bundle.
1621       */
1622      BundleId?: BundleId;
1623      /**
1624       * The identifier of the image.
1625       */
1626      ImageId?: WorkspaceImageId;
1627    }
1628    export interface UpdateWorkspaceBundleResult {
1629    }
1630    export interface UpdateWorkspaceImagePermissionRequest {
1631      /**
1632       * The identifier of the image.
1633       */
1634      ImageId: WorkspaceImageId;
1635      /**
1636       * The permission to copy the image. This permission can be revoked only after an image has been shared.
1637       */
1638      AllowCopyImage: BooleanObject;
1639      /**
1640       * The identifier of the AWS account to share or unshare the image with.  Before sharing the image, confirm that you are sharing to the correct AWS account ID. 
1641       */
1642      SharedAccountId: AwsAccount;
1643    }
1644    export interface UpdateWorkspaceImagePermissionResult {
1645    }
1646    export type UserName = string;
1647    export interface UserStorage {
1648      /**
1649       * The size of the user volume.
1650       */
1651      Capacity?: NonEmptyString;
1652    }
1653    export type UserVolumeSizeGib = number;
1654    export type VolumeEncryptionKey = string;
1655    export interface Workspace {
1656      /**
1657       * The identifier of the WorkSpace.
1658       */
1659      WorkspaceId?: WorkspaceId;
1660      /**
1661       * The identifier of the AWS Directory Service directory for the WorkSpace.
1662       */
1663      DirectoryId?: DirectoryId;
1664      /**
1665       * The user for the WorkSpace.
1666       */
1667      UserName?: UserName;
1668      /**
1669       * The IP address of the WorkSpace.
1670       */
1671      IpAddress?: IpAddress;
1672      /**
1673       * The operational state of the WorkSpace.  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. 
1674       */
1675      State?: WorkspaceState;
1676      /**
1677       * The identifier of the bundle used to create the WorkSpace.
1678       */
1679      BundleId?: BundleId;
1680      /**
1681       * The identifier of the subnet for the WorkSpace.
1682       */
1683      SubnetId?: SubnetId;
1684      /**
1685       * The text of the error message that is returned if the WorkSpace cannot be created.
1686       */
1687      ErrorMessage?: Description;
1688      /**
1689       * The error code that is returned if the WorkSpace cannot be created.
1690       */
1691      ErrorCode?: WorkspaceErrorCode;
1692      /**
1693       * The name of the WorkSpace, as seen by the operating system. The format of this name varies. For more information, see  Launch a WorkSpace. 
1694       */
1695      ComputerName?: ComputerName;
1696      /**
1697       * The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
1698       */
1699      VolumeEncryptionKey?: VolumeEncryptionKey;
1700      /**
1701       * Indicates whether the data stored on the user volume is encrypted.
1702       */
1703      UserVolumeEncryptionEnabled?: BooleanObject;
1704      /**
1705       * Indicates whether the data stored on the root volume is encrypted.
1706       */
1707      RootVolumeEncryptionEnabled?: BooleanObject;
1708      /**
1709       * The properties of the WorkSpace.
1710       */
1711      WorkspaceProperties?: WorkspaceProperties;
1712      /**
1713       * The modification states of the WorkSpace.
1714       */
1715      ModificationStates?: ModificationStateList;
1716    }
1717    export interface WorkspaceAccessProperties {
1718      /**
1719       * Indicates whether users can use Windows clients to access their WorkSpaces. To restrict WorkSpaces access to trusted devices (also known as managed devices) with valid certificates, specify a value of TRUST. For more information, see Restrict WorkSpaces Access to Trusted Devices. 
1720       */
1721      DeviceTypeWindows?: AccessPropertyValue;
1722      /**
1723       * Indicates whether users can use macOS clients to access their WorkSpaces. To restrict WorkSpaces access to trusted devices (also known as managed devices) with valid certificates, specify a value of TRUST. For more information, see Restrict WorkSpaces Access to Trusted Devices. 
1724       */
1725      DeviceTypeOsx?: AccessPropertyValue;
1726      /**
1727       * Indicates whether users can access their WorkSpaces through a web browser.
1728       */
1729      DeviceTypeWeb?: AccessPropertyValue;
1730      /**
1731       * Indicates whether users can use iOS devices to access their WorkSpaces.
1732       */
1733      DeviceTypeIos?: AccessPropertyValue;
1734      /**
1735       * Indicates whether users can use Android devices to access their WorkSpaces.
1736       */
1737      DeviceTypeAndroid?: AccessPropertyValue;
1738      /**
1739       * Indicates whether users can use Chromebooks to access their WorkSpaces.
1740       */
1741      DeviceTypeChromeOs?: AccessPropertyValue;
1742      /**
1743       * Indicates whether users can use zero client devices to access their WorkSpaces.
1744       */
1745      DeviceTypeZeroClient?: AccessPropertyValue;
1746      /**
1747       * Indicates whether users can use Linux clients to access their WorkSpaces.
1748       */
1749      DeviceTypeLinux?: AccessPropertyValue;
1750    }
1751    export interface WorkspaceBundle {
1752      /**
1753       * The identifier of the bundle.
1754       */
1755      BundleId?: BundleId;
1756      /**
1757       * The name of the bundle.
1758       */
1759      Name?: NonEmptyString;
1760      /**
1761       * The owner of the bundle. This is the account identifier of the owner, or AMAZON if the bundle is provided by AWS.
1762       */
1763      Owner?: BundleOwner;
1764      /**
1765       * The description of the bundle.
1766       */
1767      Description?: Description;
1768      /**
1769       * The identifier of the image that was used to create the bundle.
1770       */
1771      ImageId?: WorkspaceImageId;
1772      /**
1773       * The size of the root volume.
1774       */
1775      RootStorage?: RootStorage;
1776      /**
1777       * The size of the user volume.
1778       */
1779      UserStorage?: UserStorage;
1780      /**
1781       * The compute type of the bundle. For more information, see Amazon WorkSpaces Bundles.
1782       */
1783      ComputeType?: ComputeType;
1784      /**
1785       * The last time that the bundle was updated.
1786       */
1787      LastUpdatedTime?: Timestamp;
1788      /**
1789       * The time when the bundle was created.
1790       */
1791      CreationTime?: Timestamp;
1792    }
1793    export type WorkspaceBundleDescription = string;
1794    export type WorkspaceBundleName = string;
1795    export interface WorkspaceConnectionStatus {
1796      /**
1797       * The identifier of the WorkSpace.
1798       */
1799      WorkspaceId?: WorkspaceId;
1800      /**
1801       * The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.
1802       */
1803      ConnectionState?: ConnectionState;
1804      /**
1805       * The timestamp of the connection status check.
1806       */
1807      ConnectionStateCheckTimestamp?: Timestamp;
1808      /**
1809       * The timestamp of the last known user connection.
1810       */
1811      LastKnownUserConnectionTimestamp?: Timestamp;
1812    }
1813    export type WorkspaceConnectionStatusList = WorkspaceConnectionStatus[];
1814    export interface WorkspaceCreationProperties {
1815      /**
1816       * Indicates whether Amazon WorkDocs is enabled for your WorkSpaces.  If WorkDocs is already enabled for a WorkSpaces directory and you disable it, new WorkSpaces launched in the directory will not have WorkDocs enabled. However, WorkDocs remains enabled for any existing WorkSpaces, unless you either disable users' access to WorkDocs or you delete the WorkDocs site. To disable users' access to WorkDocs, see Disabling Users in the Amazon WorkDocs Administration Guide. To delete a WorkDocs site, see Deleting a Site in the Amazon WorkDocs Administration Guide. If you enable WorkDocs on a directory that already has existing WorkSpaces, the existing WorkSpaces and any new WorkSpaces that are launched in the directory will have WorkDocs enabled. 
1817       */
1818      EnableWorkDocs?: BooleanObject;
1819      /**
1820       * Indicates whether internet access is enabled for your WorkSpaces.
1821       */
1822      EnableInternetAccess?: BooleanObject;
1823      /**
1824       * The default organizational unit (OU) for your WorkSpaces directories. This string must be the full Lightweight Directory Access Protocol (LDAP) distinguished name for the target domain and OU. It must be in the form "OU=value,DC=value,DC=value", where value is any string of characters, and the number of domain components (DCs) is two or more. For example, OU=WorkSpaces_machines,DC=machines,DC=example,DC=com.     To avoid errors, certain characters in the distinguished name must be escaped. For more information, see  Distinguished Names in the Microsoft documentation.   The API doesn't validate whether the OU exists.   
1825       */
1826      DefaultOu?: DefaultOu;
1827      /**
1828       * The identifier of your custom security group.
1829       */
1830      CustomSecurityGroupId?: SecurityGroupId;
1831      /**
1832       * Indicates whether users are local administrators of their WorkSpaces.
1833       */
1834      UserEnabledAsLocalAdministrator?: BooleanObject;
1835      /**
1836       * Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace Maintenance. 
1837       */
1838      EnableMaintenanceMode?: BooleanObject;
1839    }
1840    export interface WorkspaceDirectory {
1841      /**
1842       * The directory identifier.
1843       */
1844      DirectoryId?: DirectoryId;
1845      /**
1846       * The directory alias.
1847       */
1848      Alias?: Alias;
1849      /**
1850       * The name of the directory.
1851       */
1852      DirectoryName?: DirectoryName;
1853      /**
1854       * The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.
1855       */
1856      RegistrationCode?: RegistrationCode;
1857      /**
1858       * The identifiers of the subnets used with the directory.
1859       */
1860      SubnetIds?: SubnetIds;
1861      /**
1862       * The IP addresses of the DNS servers for the directory.
1863       */
1864      DnsIpAddresses?: DnsIpAddresses;
1865      /**
1866       * The user name for the service account.
1867       */
1868      CustomerUserName?: UserName;
1869      /**
1870       * The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
1871       */
1872      IamRoleId?: ARN;
1873      /**
1874       * The directory type.
1875       */
1876      DirectoryType?: WorkspaceDirectoryType;
1877      /**
1878       * The identifier of the security group that is assigned to new WorkSpaces.
1879       */
1880      WorkspaceSecurityGroupId?: SecurityGroupId;
1881      /**
1882       * The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using  DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.
1883       */
1884      State?: WorkspaceDirectoryState;
1885      /**
1886       * The default creation properties for all WorkSpaces in the directory.
1887       */
1888      WorkspaceCreationProperties?: DefaultWorkspaceCreationProperties;
1889      /**
1890       * The identifiers of the IP access control groups associated with the directory.
1891       */
1892      ipGroupIds?: IpGroupIdList;
1893      /**
1894       * The devices and operating systems that users can use to access WorkSpaces.
1895       */
1896      WorkspaceAccessProperties?: WorkspaceAccessProperties;
1897      /**
1898       * Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images.
1899       */
1900      Tenancy?: Tenancy;
1901      /**
1902       * The default self-service permissions for WorkSpaces in the directory.
1903       */
1904      SelfservicePermissions?: SelfservicePermissions;
1905    }
1906    export type WorkspaceDirectoryState = "REGISTERING"|"REGISTERED"|"DEREGISTERING"|"DEREGISTERED"|"ERROR"|string;
1907    export type WorkspaceDirectoryType = "SIMPLE_AD"|"AD_CONNECTOR"|string;
1908    export type WorkspaceErrorCode = string;
1909    export type WorkspaceId = string;
1910    export type WorkspaceIdList = WorkspaceId[];
1911    export interface WorkspaceImage {
1912      /**
1913       * The identifier of the image.
1914       */
1915      ImageId?: WorkspaceImageId;
1916      /**
1917       * The name of the image.
1918       */
1919      Name?: WorkspaceImageName;
1920      /**
1921       * The description of the image.
1922       */
1923      Description?: WorkspaceImageDescription;
1924      /**
1925       * The operating system that the image is running. 
1926       */
1927      OperatingSystem?: OperatingSystem;
1928      /**
1929       * The status of the image.
1930       */
1931      State?: WorkspaceImageState;
1932      /**
1933       * Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images.
1934       */
1935      RequiredTenancy?: WorkspaceImageRequiredTenancy;
1936      /**
1937       * The error code that is returned for the image.
1938       */
1939      ErrorCode?: WorkspaceImageErrorCode;
1940      /**
1941       * The text of the error message that is returned for the image.
1942       */
1943      ErrorMessage?: Description;
1944      /**
1945       * The date when the image was created. If the image has been shared, the AWS account that the image has been shared with sees the original creation date of the image.
1946       */
1947      Created?: Timestamp;
1948      /**
1949       * The identifier of the AWS account that owns the image.
1950       */
1951      OwnerAccountId?: AwsAccount;
1952    }
1953    export type WorkspaceImageDescription = string;
1954    export type WorkspaceImageErrorCode = string;
1955    export type WorkspaceImageId = string;
1956    export type WorkspaceImageIdList = WorkspaceImageId[];
1957    export type WorkspaceImageIngestionProcess = "BYOL_REGULAR"|"BYOL_GRAPHICS"|"BYOL_GRAPHICSPRO"|"BYOL_REGULAR_WSP"|string;
1958    export type WorkspaceImageList = WorkspaceImage[];
1959    export type WorkspaceImageName = string;
1960    export type WorkspaceImageRequiredTenancy = "DEFAULT"|"DEDICATED"|string;
1961    export type WorkspaceImageState = "AVAILABLE"|"PENDING"|"ERROR"|string;
1962    export type WorkspaceList = Workspace[];
1963    export interface WorkspaceProperties {
1964      /**
1965       * The running mode. For more information, see Manage the WorkSpace Running Mode.
1966       */
1967      RunningMode?: RunningMode;
1968      /**
1969       * The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
1970       */
1971      RunningModeAutoStopTimeoutInMinutes?: RunningModeAutoStopTimeoutInMinutes;
1972      /**
1973       * The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
1974       */
1975      RootVolumeSizeGib?: RootVolumeSizeGib;
1976      /**
1977       * The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
1978       */
1979      UserVolumeSizeGib?: UserVolumeSizeGib;
1980      /**
1981       * The compute type. For more information, see Amazon WorkSpaces Bundles.
1982       */
1983      ComputeTypeName?: Compute;
1984    }
1985    export interface WorkspaceRequest {
1986      /**
1987       * The identifier of the AWS Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories.
1988       */
1989      DirectoryId: DirectoryId;
1990      /**
1991       * The user name of the user for the WorkSpace. This user name must exist in the AWS Directory Service directory for the WorkSpace.
1992       */
1993      UserName: UserName;
1994      /**
1995       * The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles.
1996       */
1997      BundleId: BundleId;
1998      /**
1999       * The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
2000       */
2001      VolumeEncryptionKey?: VolumeEncryptionKey;
2002      /**
2003       * Indicates whether the data stored on the user volume is encrypted.
2004       */
2005      UserVolumeEncryptionEnabled?: BooleanObject;
2006      /**
2007       * Indicates whether the data stored on the root volume is encrypted.
2008       */
2009      RootVolumeEncryptionEnabled?: BooleanObject;
2010      /**
2011       * The WorkSpace properties.
2012       */
2013      WorkspaceProperties?: WorkspaceProperties;
2014      /**
2015       * The tags for the WorkSpace.
2016       */
2017      Tags?: TagList;
2018    }
2019    export type WorkspaceRequestList = WorkspaceRequest[];
2020    export type WorkspaceState = "PENDING"|"AVAILABLE"|"IMPAIRED"|"UNHEALTHY"|"REBOOTING"|"STARTING"|"REBUILDING"|"RESTORING"|"MAINTENANCE"|"ADMIN_MAINTENANCE"|"TERMINATING"|"TERMINATED"|"SUSPENDED"|"UPDATING"|"STOPPING"|"STOPPED"|"ERROR"|string;
2021    export interface WorkspacesIpGroup {
2022      /**
2023       * The identifier of the group.
2024       */
2025      groupId?: IpGroupId;
2026      /**
2027       * The name of the group.
2028       */
2029      groupName?: IpGroupName;
2030      /**
2031       * The description of the group.
2032       */
2033      groupDesc?: IpGroupDesc;
2034      /**
2035       * The rules.
2036       */
2037      userRules?: IpRuleList;
2038    }
2039    export type WorkspacesIpGroupsList = WorkspacesIpGroup[];
2040    /**
2041     * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
2042     */
2043    export type apiVersion = "2015-04-08"|"latest"|string;
2044    export interface ClientApiVersions {
2045      /**
2046       * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
2047       */
2048      apiVersion?: apiVersion;
2049    }
2050    export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
2051    /**
2052     * Contains interfaces for use with the WorkSpaces client.
2053     */
2054    export import Types = WorkSpaces;
2055  }
2056  export = WorkSpaces;