Smaws_Client_WorkSpaces.DeleteWorkspaceImageDeletes the specified image from your account. To delete an image, you must first delete any bundles that are associated with the image and unshare the image if it is shared with other accounts.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InvalidResourceStateException of Types.invalid_resource_state_exception
| `ResourceAssociatedException of Types.resource_associated_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_workspace_image_request ->
(Types.delete_workspace_image_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InvalidResourceStateException of Types.invalid_resource_state_exception
| `ResourceAssociatedException of Types.resource_associated_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_workspace_image_request ->
(Types.delete_workspace_image_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InvalidResourceStateException of Types.invalid_resource_state_exception
| `ResourceAssociatedException of Types.resource_associated_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result