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.DeleteRepository

Contents

Description

Deletes an existing image repository. If a repository contains images, you must use the force option to delete it.

Synopsis

Creating a Request

deleteRepository Source

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

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

Request Lenses

dForce :: Lens' DeleteRepository (Maybe Bool) Source

Force the deletion of the repository if it contains images.

dRegistryId :: Lens' DeleteRepository (Maybe Text) Source

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

dRepositoryName :: Lens' DeleteRepository Text Source

The name of the repository to delete.

Destructuring the Response

deleteRepositoryResponse Source

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

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

Response Lenses