Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
De-register and unlink your repository.
Synopsis
- data DeleteRepository = DeleteRepository' {}
- newDeleteRepository :: Text -> RepositoryProvider -> DeleteRepository
- deleteRepository_name :: Lens' DeleteRepository Text
- deleteRepository_provider :: Lens' DeleteRepository RepositoryProvider
- data DeleteRepositoryResponse = DeleteRepositoryResponse' {}
- newDeleteRepositoryResponse :: Int -> DeleteRepositoryResponse
- deleteRepositoryResponse_repository :: Lens' DeleteRepositoryResponse (Maybe Repository)
- deleteRepositoryResponse_httpStatus :: Lens' DeleteRepositoryResponse Int
Creating a Request
data DeleteRepository Source #
See: newDeleteRepository
smart constructor.
DeleteRepository' | |
|
Instances
Create a value of DeleteRepository
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteRepository
, deleteRepository_name
- The repository name.
DeleteRepository
, deleteRepository_provider
- The repository provider.
Request Lenses
deleteRepository_name :: Lens' DeleteRepository Text Source #
The repository name.
deleteRepository_provider :: Lens' DeleteRepository RepositoryProvider Source #
The repository provider.
Destructuring the Response
data DeleteRepositoryResponse Source #
See: newDeleteRepositoryResponse
smart constructor.
DeleteRepositoryResponse' | |
|
Instances
newDeleteRepositoryResponse Source #
Create a value of DeleteRepositoryResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:repository:DeleteRepositoryResponse'
, deleteRepositoryResponse_repository
- The deleted repository link's detail data that's returned by Proton.
$sel:httpStatus:DeleteRepositoryResponse'
, deleteRepositoryResponse_httpStatus
- The response's http status code.
Response Lenses
deleteRepositoryResponse_repository :: Lens' DeleteRepositoryResponse (Maybe Repository) Source #
The deleted repository link's detail data that's returned by Proton.
deleteRepositoryResponse_httpStatus :: Lens' DeleteRepositoryResponse Int Source #
The response's http status code.