| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <[email protected]> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CodeCommit.DeleteRepository
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.
- deleteRepository :: Text -> DeleteRepository
- data DeleteRepository
- drRepositoryName :: Lens' DeleteRepository Text
- deleteRepositoryResponse :: Int -> DeleteRepositoryResponse
- data DeleteRepositoryResponse
- drrsRepositoryId :: Lens' DeleteRepositoryResponse (Maybe Text)
- drrsResponseStatus :: Lens' DeleteRepositoryResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DeleteRepository |
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:
data DeleteRepository Source #
Represents the input of a delete repository operation.
See: deleteRepository smart constructor.
Instances
Request Lenses
drRepositoryName :: Lens' DeleteRepository Text Source #
The name of the repository to delete.
Destructuring the Response
deleteRepositoryResponse Source #
Arguments
| :: Int | |
| -> DeleteRepositoryResponse |
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:
data DeleteRepositoryResponse Source #
Represents the output of a delete repository operation.
See: deleteRepositoryResponse smart constructor.
Response Lenses
drrsRepositoryId :: Lens' DeleteRepositoryResponse (Maybe Text) Source #
The ID of the repository that was deleted.
drrsResponseStatus :: Lens' DeleteRepositoryResponse Int Source #
The response status code.