Skip to content

Commit 5649e47

Browse files
author
awstools
committed
feat(client-workspaces): Releasing new ErrorCodes for Image Validation failure during CreateWorkspaceImage process
1 parent cb3d07b commit 5649e47

File tree

4 files changed

+126
-14
lines changed

4 files changed

+126
-14
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface CreateWorkspacesCommandOutput extends CreateWorkspacesResult, _
4040
* </li>
4141
* <li>
4242
* <p>You don't need to specify the <code>PCOIP</code> protocol for Linux bundles
43-
* because <code>DCV</code> (formerly WSP) is the default protocol for those bundles.</p>
43+
* because <code>WSP</code> is the default protocol for those bundles.</p>
4444
* </li>
4545
* <li>
4646
* <p>User-decoupled WorkSpaces are only supported by Amazon WorkSpaces

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface DescribeWorkspaceImagesCommandOutput extends DescribeWorkspaceI
6767
* // },
6868
* // ErrorDetails: [ // ErrorDetailsList
6969
* // { // ErrorDetails
70-
* // ErrorCode: "OutdatedPowershellVersion" || "OfficeInstalled" || "PCoIPAgentInstalled" || "WindowsUpdatesEnabled" || "AutoMountDisabled" || "WorkspacesBYOLAccountNotFound" || "WorkspacesBYOLAccountDisabled" || "DHCPDisabled" || "DiskFreeSpace" || "AdditionalDrivesAttached" || "OSNotSupported" || "DomainJoined" || "AzureDomainJoined" || "FirewallEnabled" || "VMWareToolsInstalled" || "DiskSizeExceeded" || "IncompatiblePartitioning" || "PendingReboot" || "AutoLogonEnabled" || "RealTimeUniversalDisabled" || "MultipleBootPartition" || "Requires64BitOS" || "ZeroRearmCount" || "InPlaceUpgrade" || "AntiVirusInstalled" || "UEFINotSupported" || "UnknownError" || "AppXPackagesInstalled" || "ReservedStorageInUse",
70+
* // ErrorCode: "OutdatedPowershellVersion" || "OfficeInstalled" || "PCoIPAgentInstalled" || "WindowsUpdatesEnabled" || "AutoMountDisabled" || "WorkspacesBYOLAccountNotFound" || "WorkspacesBYOLAccountDisabled" || "DHCPDisabled" || "DiskFreeSpace" || "AdditionalDrivesAttached" || "OSNotSupported" || "DomainJoined" || "AzureDomainJoined" || "FirewallEnabled" || "VMWareToolsInstalled" || "DiskSizeExceeded" || "IncompatiblePartitioning" || "PendingReboot" || "AutoLogonEnabled" || "RealTimeUniversalDisabled" || "MultipleBootPartition" || "Requires64BitOS" || "ZeroRearmCount" || "InPlaceUpgrade" || "AntiVirusInstalled" || "UEFINotSupported" || "UnknownError" || "AppXPackagesInstalled" || "ReservedStorageInUse" || "AdditionalDrivesPresent" || "WindowsUpdatesRequired" || "SysPrepFileMissing" || "UserProfileMissing" || "InsufficientDiskSpace" || "EnvironmentVariablesPathMissingEntries" || "DomainAccountServicesFound" || "InvalidIp" || "RemoteDesktopServicesDisabled" || "WindowsModulesInstallerDisabled" || "AmazonSsmAgentEnabled" || "UnsupportedSecurityProtocol" || "MultipleUserProfiles" || "StagedAppxPackage" || "UnsupportedOsUpgrade" || "InsufficientRearmCount",
7171
* // ErrorMessage: "STRING_VALUE",
7272
* // },
7373
* // ],

clients/client-workspaces/src/models/models_0.ts

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,7 +2293,7 @@ export interface WorkspaceProperties {
22932293
* <p>Only available for WorkSpaces created with PCoIP bundles.</p>
22942294
* </li>
22952295
* <li>
2296-
* <p>The <code>Protocols</code> property is case sensitive. Ensure you use <code>PCOIP</code> or <code>DCV</code> (formerly WSP).</p>
2296+
* <p>The <code>Protocols</code> property is case sensitive. Ensure you use <code>PCOIP</code> or <code>WSP</code>.</p>
22972297
* </li>
22982298
* <li>
22992299
* <p>Unavailable for Windows 7 WorkSpaces and WorkSpaces using GPU-based bundles
@@ -5166,6 +5166,8 @@ export interface DescribeWorkspaceImagesRequest {
51665166
*/
51675167
export const WorkspaceImageErrorDetailCode = {
51685168
ADDITIONAL_DRIVES_ATTACHED: "AdditionalDrivesAttached",
5169+
ADDITIONAL_DRIVES_PRESENT: "AdditionalDrivesPresent",
5170+
AMAZON_SSM_AGENT_ENABLED: "AmazonSsmAgentEnabled",
51695171
ANTI_VIRUS_INSTALLED: "AntiVirusInstalled",
51705172
APPX_PACKAGES_INSTALLED: "AppXPackagesInstalled",
51715173
AUTO_LOGON_ENABLED: "AutoLogonEnabled",
@@ -5174,23 +5176,37 @@ export const WorkspaceImageErrorDetailCode = {
51745176
DHCP_DISABLED: "DHCPDisabled",
51755177
DISK_FREE_SPACE: "DiskFreeSpace",
51765178
DISK_SIZE_EXCEEDED: "DiskSizeExceeded",
5179+
DOMAIN_ACCOUNT_SERVICES_FOUND: "DomainAccountServicesFound",
51775180
DOMAIN_JOINED: "DomainJoined",
5181+
ENVIRONMENT_VARIABLES_PATH_MISSING_ENTRIES: "EnvironmentVariablesPathMissingEntries",
51785182
FIREWALL_ENABLED: "FirewallEnabled",
51795183
INCOMPATIBLE_PARTITIONING: "IncompatiblePartitioning",
5184+
INSUFFICIENT_DISK_SPACE: "InsufficientDiskSpace",
5185+
INSUFFICIENT_REARM_COUNT: "InsufficientRearmCount",
5186+
INVALID_IP: "InvalidIp",
51805187
IN_PLACE_UPGRADE: "InPlaceUpgrade",
51815188
MULTIPLE_BOOT_PARTITION: "MultipleBootPartition",
5189+
MULTIPLE_USER_PROFILES: "MultipleUserProfiles",
51825190
OFFICE_INSTALLED: "OfficeInstalled",
51835191
OS_NOT_SUPPORTED: "OSNotSupported",
51845192
OUTDATED_POWERSHELL_VERSION: "OutdatedPowershellVersion",
51855193
PCOIP_AGENT_INSTALLED: "PCoIPAgentInstalled",
51865194
PENDING_REBOOT: "PendingReboot",
51875195
REALTIME_UNIVERSAL_DISABLED: "RealTimeUniversalDisabled",
5196+
REMOTE_DESKTOP_SERVICES_DISABLED: "RemoteDesktopServicesDisabled",
51885197
RESERVED_STORAGE_IN_USE: "ReservedStorageInUse",
51895198
SIXTY_FOUR_BIT_OS: "Requires64BitOS",
5199+
STAGED_APPX_PACKAGE: "StagedAppxPackage",
5200+
SYSPREP_FILE_MISSING: "SysPrepFileMissing",
51905201
UEFI_NOT_SUPPORTED: "UEFINotSupported",
51915202
UNKNOWN_ERROR: "UnknownError",
5203+
UNSUPPORTED_OS_UPGRADE: "UnsupportedOsUpgrade",
5204+
UNSUPPORTED_SECURITY_PROTOCOL: "UnsupportedSecurityProtocol",
5205+
USER_PROFILE_MISSING: "UserProfileMissing",
51925206
VMWARE_TOOLS_INSTALLED: "VMWareToolsInstalled",
5207+
WINDOWS_MODULES_INSTALLER_DISABLED: "WindowsModulesInstallerDisabled",
51935208
WINDOWS_UPDATES_ENABLED: "WindowsUpdatesEnabled",
5209+
WINDOWS_UPDATES_REQUIRED: "WindowsUpdatesRequired",
51945210
WORKSPACES_BYOL_ACCOUNT_DISABLED: "WorkspacesBYOLAccountDisabled",
51955211
WORKSPACES_BYOL_ACCOUNT_NOT_FOUND: "WorkspacesBYOLAccountNotFound",
51965212
ZERO_REARM_COUNT: "ZeroRearmCount",
@@ -6114,12 +6130,12 @@ export interface ImportWorkspaceImageRequest {
61146130

61156131
/**
61166132
* <p>The ingestion process to be used when importing the image, depending on which protocol
6117-
* you want to use for your BYOL Workspace image, either PCoIP, DCV, or
6118-
* bring your own protocol (BYOP). To use WSP, specify a value that ends in
6119-
* <code>_DCV</code>. To use PCoIP, specify a value that does not end in <code>_DCV</code>.
6133+
* you want to use for your BYOL Workspace image, either PCoIP, WorkSpaces Streaming Protocol
6134+
* (WSP), or bring your own protocol (BYOP). To use WSP, specify a value that ends in
6135+
* <code>_WSP</code>. To use PCoIP, specify a value that does not end in <code>_WSP</code>.
61206136
* To use BYOP, specify a value that ends in <code>_BYOP</code>.</p>
61216137
* <p>For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify
6122-
* <code>BYOL_REGULAR</code>, <code>BYOL_REGULAR_DCV</code>, or <code>BYOL_REGULAR_BYOP</code>,
6138+
* <code>BYOL_REGULAR</code>, <code>BYOL_REGULAR_WSP</code>, or <code>BYOL_REGULAR_BYOP</code>,
61236139
* depending on the protocol.</p>
61246140
* <note>
61256141
* <p>The <code>BYOL_REGULAR_BYOP</code> and <code>BYOL_GRAPHICS_G4DN_BYOP</code> values
@@ -6159,8 +6175,8 @@ export interface ImportWorkspaceImageRequest {
61596175
* time.</p>
61606176
* </li>
61616177
* <li>
6162-
* <p>During the image import process, non-GPU DCV (formerly WSP) WorkSpaces with Windows 11 support
6163-
* only <code>Microsoft_Office_2019</code>. GPU DCV (formerly WSP) WorkSpaces with Windows 11 do not
6178+
* <p>During the image import process, non-GPU WSP WorkSpaces with Windows 11 support
6179+
* only <code>Microsoft_Office_2019</code>. GPU WSP WorkSpaces with Windows 11 do not
61646180
* support Office installation.</p>
61656181
* </li>
61666182
* </ul>

0 commit comments

Comments
 (0)