Skip to content

Commit 893a4ac

Browse files
A new field "ErrorDetails" will be added to the output of "DescribeWorkspaceImages" API call. This field provides in-depth details about the error occurred during image import process. These details include the possible causes of the errors and troubleshooting information.
1 parent f6261a6 commit 893a4ac

File tree

9 files changed

+616
-191
lines changed

9 files changed

+616
-191
lines changed

generator/ServiceModels/workspaces/workspaces-2015-04-08.api.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,6 +1990,17 @@
19901990
"type":"string",
19911991
"pattern":"^ami\\-([a-f0-9]{8}|[a-f0-9]{17})$"
19921992
},
1993+
"ErrorDetails":{
1994+
"type":"structure",
1995+
"members":{
1996+
"ErrorCode":{"shape":"WorkspaceImageErrorDetailCode"},
1997+
"ErrorMessage":{"shape":"Description"}
1998+
}
1999+
},
2000+
"ErrorDetailsList":{
2001+
"type":"list",
2002+
"member":{"shape":"ErrorDetails"}
2003+
},
19932004
"ErrorType":{"type":"string"},
19942005
"ExceptionErrorCode":{"type":"string"},
19952006
"ExceptionMessage":{"type":"string"},
@@ -3148,7 +3159,8 @@
31483159
"ErrorMessage":{"shape":"Description"},
31493160
"Created":{"shape":"Timestamp"},
31503161
"OwnerAccountId":{"shape":"AwsAccount"},
3151-
"Updates":{"shape":"UpdateResult"}
3162+
"Updates":{"shape":"UpdateResult"},
3163+
"ErrorDetails":{"shape":"ErrorDetailsList"}
31523164
}
31533165
},
31543166
"WorkspaceImageDescription":{
@@ -3158,6 +3170,37 @@
31583170
"pattern":"^[a-zA-Z0-9_./() -]+$"
31593171
},
31603172
"WorkspaceImageErrorCode":{"type":"string"},
3173+
"WorkspaceImageErrorDetailCode":{
3174+
"type":"string",
3175+
"enum":[
3176+
"OutdatedPowershellVersion",
3177+
"OfficeInstalled",
3178+
"PCoIPAgentInstalled",
3179+
"WindowsUpdatesEnabled",
3180+
"AutoMountDisabled",
3181+
"WorkspacesBYOLAccountNotFound",
3182+
"WorkspacesBYOLAccountDisabled",
3183+
"DHCPDisabled",
3184+
"DiskFreeSpace",
3185+
"AdditionalDrivesAttached",
3186+
"OSNotSupported",
3187+
"DomainJoined",
3188+
"AzureDomainJoined",
3189+
"FirewallEnabled",
3190+
"VMWareToolsInstalled",
3191+
"DiskSizeExceeded",
3192+
"IncompatiblePartitioning",
3193+
"PendingReboot",
3194+
"AutoLogonEnabled",
3195+
"RealTimeUniversalDisabled",
3196+
"MultipleBootPartition",
3197+
"Requires64BitOS",
3198+
"ZeroRearmCount",
3199+
"InPlaceUpgrade",
3200+
"AntiVirusInstalled",
3201+
"UEFINotSupported"
3202+
]
3203+
},
31613204
"WorkspaceImageId":{
31623205
"type":"string",
31633206
"pattern":"wsi-[0-9a-z]{9,63}$"

generator/ServiceModels/workspaces/workspaces-2015-04-08.docs.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,7 @@
905905
"base": null,
906906
"refs": {
907907
"AccountModification$ErrorMessage": "<p>The text of the error message that is returned if the configuration of BYOL cannot be modified.</p>",
908+
"ErrorDetails$ErrorMessage": "<p>The text of the error message related the error code.</p>",
908909
"FailedCreateStandbyWorkspacesRequest$ErrorMessage": "<p>The text of the error message that is returned if the standby WorkSpace could not be created.</p>",
909910
"FailedCreateWorkspaceRequest$ErrorMessage": "<p>The text of the error message that is returned if the WorkSpace cannot be created.</p>",
910911
"FailedWorkspaceChangeRequest$ErrorMessage": "<p>The text of the error message that is returned if the WorkSpace cannot be rebooted.</p>",
@@ -992,6 +993,18 @@
992993
"ImportWorkspaceImageRequest$Ec2ImageId": "<p>The identifier of the EC2 image.</p>"
993994
}
994995
},
996+
"ErrorDetails": {
997+
"base": "<p>Provides in-depth details about the error. These details include the possible causes of the errors and troubleshooting information.</p>",
998+
"refs": {
999+
"ErrorDetailsList$member": null
1000+
}
1001+
},
1002+
"ErrorDetailsList": {
1003+
"base": null,
1004+
"refs": {
1005+
"WorkspaceImage$ErrorDetails": "<p>The details of the error returned for the image.</p>"
1006+
}
1007+
},
9951008
"ErrorType": {
9961009
"base": null,
9971010
"refs": {
@@ -2139,6 +2152,12 @@
21392152
"WorkspaceImage$ErrorCode": "<p>The error code that is returned for the image.</p>"
21402153
}
21412154
},
2155+
"WorkspaceImageErrorDetailCode": {
2156+
"base": null,
2157+
"refs": {
2158+
"ErrorDetails$ErrorCode": "<p>Indicates the error code returned.</p>"
2159+
}
2160+
},
21422161
"WorkspaceImageId": {
21432162
"base": null,
21442163
"refs": {

0 commit comments

Comments
 (0)