amazonka-workspaces-2.0: Amazon WorkSpaces SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkSpaces.DeleteWorkspaceImage

Description

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.

Synopsis

Creating a Request

data DeleteWorkspaceImage Source #

See: newDeleteWorkspaceImage smart constructor.

Constructors

DeleteWorkspaceImage' 

Fields

Instances

Instances details
ToJSON DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

ToHeaders DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

ToPath DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

ToQuery DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

AWSRequest DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

Associated Types

type AWSResponse DeleteWorkspaceImage #

Generic DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

Associated Types

type Rep DeleteWorkspaceImage :: Type -> Type #

Read DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

Show DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

NFData DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

Methods

rnf :: DeleteWorkspaceImage -> () #

Eq DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

Hashable DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

type AWSResponse DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

type Rep DeleteWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

type Rep DeleteWorkspaceImage = D1 ('MetaData "DeleteWorkspaceImage" "Amazonka.WorkSpaces.DeleteWorkspaceImage" "amazonka-workspaces-2.0-EI6zVIh1dgfFziJEJ0Fxkv" 'False) (C1 ('MetaCons "DeleteWorkspaceImage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteWorkspaceImage Source #

Create a value of DeleteWorkspaceImage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DeleteWorkspaceImage, deleteWorkspaceImage_imageId - The identifier of the image.

Request Lenses

Destructuring the Response

data DeleteWorkspaceImageResponse Source #

See: newDeleteWorkspaceImageResponse smart constructor.

Constructors

DeleteWorkspaceImageResponse' 

Fields

Instances

Instances details
Generic DeleteWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

Associated Types

type Rep DeleteWorkspaceImageResponse :: Type -> Type #

Read DeleteWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

Show DeleteWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

NFData DeleteWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

Eq DeleteWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

type Rep DeleteWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DeleteWorkspaceImage

type Rep DeleteWorkspaceImageResponse = D1 ('MetaData "DeleteWorkspaceImageResponse" "Amazonka.WorkSpaces.DeleteWorkspaceImage" "amazonka-workspaces-2.0-EI6zVIh1dgfFziJEJ0Fxkv" 'False) (C1 ('MetaCons "DeleteWorkspaceImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteWorkspaceImageResponse Source #

Create a value of DeleteWorkspaceImageResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteWorkspaceImageResponse', deleteWorkspaceImageResponse_httpStatus - The response's http status code.

Response Lenses