Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_workspace_image

delete_workspace_image(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.delete_workspace_image(
    ImageId='string'
)
Parameters
ImageId (string) --

[REQUIRED]

The identifier of the image.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • WorkSpaces.Client.exceptions.ResourceAssociatedException
  • WorkSpaces.Client.exceptions.InvalidResourceStateException
  • WorkSpaces.Client.exceptions.AccessDeniedException