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 an existing image repository. If a repository contains images, you must use the force
option to delete it.
- deleteRepository :: Text -> DeleteRepository
- data DeleteRepository
- dForce :: Lens' DeleteRepository (Maybe Bool)
- dRegistryId :: Lens' DeleteRepository (Maybe Text)
- dRepositoryName :: Lens' DeleteRepository Text
- deleteRepositoryResponse :: Int -> DeleteRepositoryResponse
- data DeleteRepositoryResponse
- drsRepository :: Lens' DeleteRepositoryResponse (Maybe Repository)
- drsResponseStatus :: 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:
dForce
- Force the deletion of the repository if it contains images.dRegistryId
- 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
- The name of the repository to delete.
data DeleteRepository Source #
See: deleteRepository
smart constructor.
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:
drsRepository
- The repository that was deleted.drsResponseStatus
- -- | The response status code.
data DeleteRepositoryResponse Source #
See: deleteRepositoryResponse
smart constructor.
Response Lenses
drsRepository :: Lens' DeleteRepositoryResponse (Maybe Repository) Source #
The repository that was deleted.
drsResponseStatus :: Lens' DeleteRepositoryResponse Int Source #
- - | The response status code.