| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ECR.DeleteRepository
Description
Deletes an existing image repository. If a repository contains images, you must use the force option to delete it.
Synopsis
- 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
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:
dForce- If a repository contains images, forces the deletion.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.
Instances
Request Lenses
dForce :: Lens' DeleteRepository (Maybe Bool) Source #
If a repository contains images, forces the deletion.
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 #
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:
drsRepository- The repository that was deleted.drsResponseStatus- -- | The response status code.
data DeleteRepositoryResponse Source #
See: deleteRepositoryResponse smart constructor.
Instances
Response Lenses
drsRepository :: Lens' DeleteRepositoryResponse (Maybe Repository) Source #
The repository that was deleted.
drsResponseStatus :: Lens' DeleteRepositoryResponse Int Source #
- - | The response status code.