amazonka-codecommit-1.3.5: Amazon CodeCommit SDK.

Copyright(c) 2013-2015 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.CodeCommit.DeleteRepository

Contents

Description

Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.

See: AWS API Reference for DeleteRepository.

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

drRepositoryName :: 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

drrsRepositoryId :: Lens' DeleteRepositoryResponse (Maybe Text) Source

The ID of the repository that was deleted.