libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder
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.ImageBuilder.DeleteImage

Description

Deletes an Image Builder image resource. This does not delete any EC2 AMIs or ECR container images that are created during the image build process. You must clean those up separately, using the appropriate Amazon EC2 or Amazon ECR console actions, or API or CLI commands.

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.ImageBuilder.DeleteImage

Read DeleteImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Show DeleteImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Generic DeleteImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Associated Types

type Rep DeleteImage :: Type -> Type #

NFData DeleteImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Methods

rnf :: DeleteImage -> () #

Hashable DeleteImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

AWSRequest DeleteImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Associated Types

type AWSResponse DeleteImage #

ToHeaders DeleteImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Methods

toHeaders :: DeleteImage -> [Header] #

ToPath DeleteImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

ToQuery DeleteImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

type Rep DeleteImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

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

Defined in Amazonka.ImageBuilder.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:imageBuildVersionArn:DeleteImage', deleteImage_imageBuildVersionArn - The Amazon Resource Name (ARN) of the Image Builder image resource to delete.

Request Lenses

deleteImage_imageBuildVersionArn :: Lens' DeleteImage Text Source #

The Amazon Resource Name (ARN) of the Image Builder image resource to delete.

Destructuring the Response

data DeleteImageResponse Source #

See: newDeleteImageResponse smart constructor.

Constructors

DeleteImageResponse' 

Fields

Instances

Instances details
Eq DeleteImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Read DeleteImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Show DeleteImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Generic DeleteImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Associated Types

type Rep DeleteImageResponse :: Type -> Type #

NFData DeleteImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

Methods

rnf :: DeleteImageResponse -> () #

type Rep DeleteImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.DeleteImage

type Rep DeleteImageResponse = D1 ('MetaData "DeleteImageResponse" "Amazonka.ImageBuilder.DeleteImage" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "DeleteImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "imageBuildVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:requestId:DeleteImageResponse', deleteImageResponse_requestId - The request ID that uniquely identifies this request.

$sel:imageBuildVersionArn:DeleteImage', deleteImageResponse_imageBuildVersionArn - The Amazon Resource Name (ARN) of the Image Builder image resource that was deleted.

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

Response Lenses

deleteImageResponse_requestId :: Lens' DeleteImageResponse (Maybe Text) Source #

The request ID that uniquely identifies this request.

deleteImageResponse_imageBuildVersionArn :: Lens' DeleteImageResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Image Builder image resource that was deleted.