Skip to content

Commit ae91f03

Browse files
author
awstools
committed
feat(client-workspaces): Releasing new ErrorCodes for SysPrep failures during ImageImport and CreateImage process
1 parent 5b6c0db commit ae91f03

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

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

+1-1
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",
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",
7171
* // ErrorMessage: "STRING_VALUE",
7272
* // },
7373
* // ],

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

+3
Original file line numberDiff line numberDiff line change
@@ -5167,6 +5167,7 @@ export interface DescribeWorkspaceImagesRequest {
51675167
export const WorkspaceImageErrorDetailCode = {
51685168
ADDITIONAL_DRIVES_ATTACHED: "AdditionalDrivesAttached",
51695169
ANTI_VIRUS_INSTALLED: "AntiVirusInstalled",
5170+
APPX_PACKAGES_INSTALLED: "AppXPackagesInstalled",
51705171
AUTO_LOGON_ENABLED: "AutoLogonEnabled",
51715172
AUTO_MOUNT_DISABLED: "AutoMountDisabled",
51725173
AZURE_DOMAIN_JOINED: "AzureDomainJoined",
@@ -5184,8 +5185,10 @@ export const WorkspaceImageErrorDetailCode = {
51845185
PCOIP_AGENT_INSTALLED: "PCoIPAgentInstalled",
51855186
PENDING_REBOOT: "PendingReboot",
51865187
REALTIME_UNIVERSAL_DISABLED: "RealTimeUniversalDisabled",
5188+
RESERVED_STORAGE_IN_USE: "ReservedStorageInUse",
51875189
SIXTY_FOUR_BIT_OS: "Requires64BitOS",
51885190
UEFI_NOT_SUPPORTED: "UEFINotSupported",
5191+
UNKNOWN_ERROR: "UnknownError",
51895192
VMWARE_TOOLS_INSTALLED: "VMWareToolsInstalled",
51905193
WINDOWS_UPDATES_ENABLED: "WindowsUpdatesEnabled",
51915194
WORKSPACES_BYOL_ACCOUNT_DISABLED: "WorkspacesBYOLAccountDisabled",

codegen/sdk-codegen/aws-models/workspaces.json

+32-1
Original file line numberDiff line numberDiff line change
@@ -4833,7 +4833,20 @@
48334833
"outputToken": "NextToken",
48344834
"items": "Workspaces",
48354835
"pageSize": "Limit"
4836-
}
4836+
},
4837+
"smithy.test#smokeTests": [
4838+
{
4839+
"id": "DescribeWorkspacesSuccess",
4840+
"params": {},
4841+
"vendorParams": {
4842+
"region": "us-west-2"
4843+
},
4844+
"vendorParamsShape": "aws.test#AwsVendorParams",
4845+
"expect": {
4846+
"success": {}
4847+
}
4848+
}
4849+
]
48374850
}
48384851
},
48394852
"com.amazonaws.workspaces#DescribeWorkspacesConnectionStatus": {
@@ -10814,6 +10827,24 @@
1081410827
"traits": {
1081510828
"smithy.api#enumValue": "UEFINotSupported"
1081610829
}
10830+
},
10831+
"UNKNOWN_ERROR": {
10832+
"target": "smithy.api#Unit",
10833+
"traits": {
10834+
"smithy.api#enumValue": "UnknownError"
10835+
}
10836+
},
10837+
"APPX_PACKAGES_INSTALLED": {
10838+
"target": "smithy.api#Unit",
10839+
"traits": {
10840+
"smithy.api#enumValue": "AppXPackagesInstalled"
10841+
}
10842+
},
10843+
"RESERVED_STORAGE_IN_USE": {
10844+
"target": "smithy.api#Unit",
10845+
"traits": {
10846+
"smithy.api#enumValue": "ReservedStorageInUse"
10847+
}
1081710848
}
1081810849
}
1081910850
},

0 commit comments

Comments
 (0)