Module Smaws_Client_WorkSpaces.DeleteWorkspaceImage

Deletes 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 ] -> string
val 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.result