amazonka-ecr-1.4.0: Amazon EC2 Container Registry SDK.

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

Network.AWS.ECR.BatchDeleteImage

Contents

Description

Deletes a list of specified images within a specified repository. Images are specified with either imageTag or imageDigest.

Synopsis

Creating a Request

batchDeleteImage Source

Creates a value of BatchDeleteImage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

bdiRegistryId :: Lens' BatchDeleteImage (Maybe Text) Source

The AWS account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.

bdiRepositoryName :: Lens' BatchDeleteImage Text Source

The repository that contains the image to delete.

bdiImageIds :: Lens' BatchDeleteImage (NonEmpty ImageIdentifier) Source

A list of image ID references that correspond to images to delete. The format of the imageIds reference is 'imageTag=tag' or 'imageDigest=digest'.

Destructuring the Response

batchDeleteImageResponse Source

Creates a value of BatchDeleteImageResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

bdirsFailures :: Lens' BatchDeleteImageResponse [ImageFailure] Source

Any failures associated with the call.