libZSservicesZSamazonka-appstreamZSamazonka-appstream
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppStream.DeleteImage

Description

Deletes the specified image. You cannot delete an image when it is in use. After you delete an image, you cannot provision new capacity using the image.

Synopsis

Creating a Request

data DeleteImage Source #

See: newDeleteImage smart constructor.

Constructors

DeleteImage' 

Fields

Instances

Instances details
Eq DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Read DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Show DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Generic DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Associated Types

type Rep DeleteImage :: Type -> Type #

NFData DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Methods

rnf :: DeleteImage -> () #

Hashable DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

ToJSON DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

AWSRequest DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Associated Types

type AWSResponse DeleteImage #

ToHeaders DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Methods

toHeaders :: DeleteImage -> [Header] #

ToPath DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

ToQuery DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

type Rep DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

type Rep DeleteImage = D1 ('MetaData "DeleteImage" "Amazonka.AppStream.DeleteImage" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "DeleteImage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteImage Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

newDeleteImage Source #

Create a value of DeleteImage 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:name:DeleteImage', deleteImage_name - The name of the image.

Request Lenses

deleteImage_name :: Lens' DeleteImage Text Source #

The name of the image.

Destructuring the Response

data DeleteImageResponse Source #

See: newDeleteImageResponse smart constructor.

Constructors

DeleteImageResponse' 

Fields

Instances

Instances details
Eq DeleteImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Read DeleteImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Show DeleteImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Generic DeleteImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Associated Types

type Rep DeleteImageResponse :: Type -> Type #

NFData DeleteImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

Methods

rnf :: DeleteImageResponse -> () #

type Rep DeleteImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.DeleteImage

type Rep DeleteImageResponse = D1 ('MetaData "DeleteImageResponse" "Amazonka.AppStream.DeleteImage" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "DeleteImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Image)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteImageResponse Source #

Create a value of DeleteImageResponse 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:image:DeleteImageResponse', deleteImageResponse_image - Information about the image.

$sel:httpStatus:DeleteImageResponse', deleteImageResponse_httpStatus - The response's http status code.

Response Lenses