Skip to content

Commit fe652fb

Browse files
author
awstools
committed
feat(client-workspaces): Add StateMessage and ProgressPercentage fields to DescribeCustomWorkspaceImageImport API response.
1 parent 9a090fa commit fe652fb

16 files changed

Lines changed: 144 additions & 21 deletions

clients/client-workspaces/src/commands/AssociateWorkspaceApplicationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface AssociateWorkspaceApplicationCommandOutput extends AssociateWor
5050
* // LastUpdatedTime: new Date("TIMESTAMP"),
5151
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
5252
* // StateReason: { // AssociationStateReason
53-
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
53+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable" || "ValidationError.ApplicationOldVersionExists",
5454
* // ErrorMessage: "STRING_VALUE",
5555
* // },
5656
* // WorkspaceId: "STRING_VALUE",

clients/client-workspaces/src/commands/CopyWorkspaceImageCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface CopyWorkspaceImageCommandOutput extends CopyWorkspaceImageResul
3131
* information about copying images, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/copy-custom-image.html"> Copy a Custom WorkSpaces
3232
* Image</a>.</p>
3333
* <p>In the China (Ningxia) Region, you can copy images only within the same Region.</p>
34-
* <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web ServicesSupport.</p>
34+
* <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.</p>
3535
* <important>
3636
* <p>Before copying a shared image, be sure to verify that it has been shared from the
3737
* correct Amazon Web Services account. To determine if an image has been shared and to see

clients/client-workspaces/src/commands/DeployWorkspaceApplicationsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface DeployWorkspaceApplicationsCommandOutput extends DeployWorkspac
5252
* // LastUpdatedTime: new Date("TIMESTAMP"),
5353
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
5454
* // StateReason: { // AssociationStateReason
55-
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
55+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable" || "ValidationError.ApplicationOldVersionExists",
5656
* // ErrorMessage: "STRING_VALUE",
5757
* // },
5858
* // WorkspaceId: "STRING_VALUE",

clients/client-workspaces/src/commands/DescribeApplicationAssociationsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface DescribeApplicationAssociationsCommandOutput extends DescribeAp
5656
* // LastUpdatedTime: new Date("TIMESTAMP"),
5757
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
5858
* // StateReason: { // AssociationStateReason
59-
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
59+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable" || "ValidationError.ApplicationOldVersionExists",
6060
* // ErrorMessage: "STRING_VALUE",
6161
* // },
6262
* // },

clients/client-workspaces/src/commands/DescribeBundleAssociationsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface DescribeBundleAssociationsCommandOutput extends DescribeBundleA
5454
* // LastUpdatedTime: new Date("TIMESTAMP"),
5555
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
5656
* // StateReason: { // AssociationStateReason
57-
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
57+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable" || "ValidationError.ApplicationOldVersionExists",
5858
* // ErrorMessage: "STRING_VALUE",
5959
* // },
6060
* // },

clients/client-workspaces/src/commands/DescribeCustomWorkspaceImageImportCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ export interface DescribeCustomWorkspaceImageImportCommandOutput extends Describ
4747
* // { // DescribeCustomWorkspaceImageImportResult
4848
* // ImageId: "STRING_VALUE",
4949
* // InfrastructureConfigurationArn: "STRING_VALUE",
50-
* // State: "PENDING" || "IN_PROGRESS" || "COMPLETED" || "ERROR",
50+
* // State: "PENDING" || "IN_PROGRESS" || "PROCESSING_SOURCE_IMAGE" || "IMAGE_TESTING_START" || "UPDATING_OPERATING_SYSTEM" || "IMAGE_COMPATIBILITY_CHECKING" || "IMAGE_TESTING_GENERALIZATION" || "CREATING_TEST_INSTANCE" || "INSTALLING_COMPONENTS" || "GENERALIZING" || "VALIDATING" || "PUBLISHING" || "COMPLETED" || "ERROR",
51+
* // StateMessage: "STRING_VALUE",
52+
* // ProgressPercentage: Number("int"),
5153
* // Created: new Date("TIMESTAMP"),
5254
* // LastUpdatedTime: new Date("TIMESTAMP"),
5355
* // ImageSource: { // ImageSourceIdentifier Union: only one key present

clients/client-workspaces/src/commands/DescribeImageAssociationsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface DescribeImageAssociationsCommandOutput extends DescribeImageAss
5454
* // ImageId: "STRING_VALUE",
5555
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
5656
* // StateReason: { // AssociationStateReason
57-
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
57+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable" || "ValidationError.ApplicationOldVersionExists",
5858
* // ErrorMessage: "STRING_VALUE",
5959
* // },
6060
* // },

clients/client-workspaces/src/commands/DescribeWorkspaceAssociationsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface DescribeWorkspaceAssociationsCommandOutput extends DescribeWork
5353
* // LastUpdatedTime: new Date("TIMESTAMP"),
5454
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
5555
* // StateReason: { // AssociationStateReason
56-
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
56+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable" || "ValidationError.ApplicationOldVersionExists",
5757
* // ErrorMessage: "STRING_VALUE",
5858
* // },
5959
* // WorkspaceId: "STRING_VALUE",

clients/client-workspaces/src/commands/DisassociateWorkspaceApplicationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface DisassociateWorkspaceApplicationCommandOutput extends Disassoci
5353
* // LastUpdatedTime: new Date("TIMESTAMP"),
5454
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
5555
* // StateReason: { // AssociationStateReason
56-
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
56+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable" || "ValidationError.ApplicationOldVersionExists",
5757
* // ErrorMessage: "STRING_VALUE",
5858
* // },
5959
* // WorkspaceId: "STRING_VALUE",

clients/client-workspaces/src/commands/ImportCustomWorkspaceImageCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface ImportCustomWorkspaceImageCommandOutput extends ImportCustomWor
6565
* const response = await client.send(command);
6666
* // { // ImportCustomWorkspaceImageResult
6767
* // ImageId: "STRING_VALUE",
68-
* // State: "PENDING" || "IN_PROGRESS" || "COMPLETED" || "ERROR",
68+
* // State: "PENDING" || "IN_PROGRESS" || "PROCESSING_SOURCE_IMAGE" || "IMAGE_TESTING_START" || "UPDATING_OPERATING_SYSTEM" || "IMAGE_COMPATIBILITY_CHECKING" || "IMAGE_TESTING_GENERALIZATION" || "CREATING_TEST_INSTANCE" || "INSTALLING_COMPONENTS" || "GENERALIZING" || "VALIDATING" || "PUBLISHING" || "COMPLETED" || "ERROR",
6969
* // };
7070
*
7171
* ```

0 commit comments

Comments
 (0)