Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.
Important: 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
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:
drRepositoryName
- The name of the repository to delete.
data DeleteRepository Source #
Represents the input of a delete repository operation.
See: deleteRepository
smart constructor.
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:
drrsRepositoryId
- The ID of the repository that was deleted.drrsResponseStatus
- -- | The response status code.
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.