Skip to content

Commit

Permalink
feat(client-workspaces): Releasing new ErrorCodes for SysPrep failure…
Browse files Browse the repository at this point in the history
…s during ImageImport and CreateImage process
  • Loading branch information
awstools committed Sep 20, 2024
1 parent 5b6c0db commit ae91f03
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export interface DescribeWorkspaceImagesCommandOutput extends DescribeWorkspaceI
* // },
* // ErrorDetails: [ // ErrorDetailsList
* // { // ErrorDetails
* // 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",
* // 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",
* // ErrorMessage: "STRING_VALUE",
* // },
* // ],
Expand Down
3 changes: 3 additions & 0 deletions clients/client-workspaces/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5167,6 +5167,7 @@ export interface DescribeWorkspaceImagesRequest {
export const WorkspaceImageErrorDetailCode = {
ADDITIONAL_DRIVES_ATTACHED: "AdditionalDrivesAttached",
ANTI_VIRUS_INSTALLED: "AntiVirusInstalled",
APPX_PACKAGES_INSTALLED: "AppXPackagesInstalled",
AUTO_LOGON_ENABLED: "AutoLogonEnabled",
AUTO_MOUNT_DISABLED: "AutoMountDisabled",
AZURE_DOMAIN_JOINED: "AzureDomainJoined",
Expand All @@ -5184,8 +5185,10 @@ export const WorkspaceImageErrorDetailCode = {
PCOIP_AGENT_INSTALLED: "PCoIPAgentInstalled",
PENDING_REBOOT: "PendingReboot",
REALTIME_UNIVERSAL_DISABLED: "RealTimeUniversalDisabled",
RESERVED_STORAGE_IN_USE: "ReservedStorageInUse",
SIXTY_FOUR_BIT_OS: "Requires64BitOS",
UEFI_NOT_SUPPORTED: "UEFINotSupported",
UNKNOWN_ERROR: "UnknownError",
VMWARE_TOOLS_INSTALLED: "VMWareToolsInstalled",
WINDOWS_UPDATES_ENABLED: "WindowsUpdatesEnabled",
WORKSPACES_BYOL_ACCOUNT_DISABLED: "WorkspacesBYOLAccountDisabled",
Expand Down
33 changes: 32 additions & 1 deletion codegen/sdk-codegen/aws-models/workspaces.json
Original file line number Diff line number Diff line change
Expand Up @@ -4833,7 +4833,20 @@
"outputToken": "NextToken",
"items": "Workspaces",
"pageSize": "Limit"
}
},
"smithy.test#smokeTests": [
{
"id": "DescribeWorkspacesSuccess",
"params": {},
"vendorParams": {
"region": "us-west-2"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
}
]
}
},
"com.amazonaws.workspaces#DescribeWorkspacesConnectionStatus": {
Expand Down Expand Up @@ -10814,6 +10827,24 @@
"traits": {
"smithy.api#enumValue": "UEFINotSupported"
}
},
"UNKNOWN_ERROR": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "UnknownError"
}
},
"APPX_PACKAGES_INSTALLED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "AppXPackagesInstalled"
}
},
"RESERVED_STORAGE_IN_USE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ReservedStorageInUse"
}
}
}
},
Expand Down

0 comments on commit ae91f03

Please sign in to comment.