code: @Override
      public DeleteWorkspaceImageResult deleteWorkspaceImage(DeleteWorkspaceImageRequest request) {
          request = beforeClientExecution(request);
          return executeDeleteWorkspaceImage(request);
      }
docs: <p>
  Deletes the specified image from your account. To delete an image, you must first delete any bundles that are
  associated with the image.
  </p>
  
  @param deleteWorkspaceImageRequest
  @return Result of the DeleteWorkspaceImage operation returned by the service.
  @throws ResourceAssociatedException
  The resource is associated with a directory.
  @throws InvalidResourceStateException
  The state of the resource is not valid for this operation.
  @throws AccessDeniedException
  The user is not authorized to access a resource.
  @sample AmazonWorkspaces.DeleteWorkspaceImage
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceImage"
  target="_top">AWS API Documentation</a>