| 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 |
Amazonka.CodeArtifact.DeleteRepository
Description
Deletes a repository.
Synopsis
- data DeleteRepository = DeleteRepository' {
- domainOwner :: Maybe Text
- domain :: Text
- repository :: Text
- newDeleteRepository :: Text -> Text -> DeleteRepository
- deleteRepository_domainOwner :: Lens' DeleteRepository (Maybe Text)
- deleteRepository_domain :: Lens' DeleteRepository Text
- deleteRepository_repository :: Lens' DeleteRepository Text
- data DeleteRepositoryResponse = DeleteRepositoryResponse' {}
- newDeleteRepositoryResponse :: Int -> DeleteRepositoryResponse
- deleteRepositoryResponse_repository :: Lens' DeleteRepositoryResponse (Maybe RepositoryDescription)
- deleteRepositoryResponse_httpStatus :: Lens' DeleteRepositoryResponse Int
Creating a Request
data DeleteRepository Source #
See: newDeleteRepository smart constructor.
Constructors
| DeleteRepository' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteRepository |
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_domainOwner - The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:domain:DeleteRepository', deleteRepository_domain - The name of the domain that contains the repository to delete.
DeleteRepository, deleteRepository_repository - The name of the repository to delete.
Request Lenses
deleteRepository_domainOwner :: Lens' DeleteRepository (Maybe Text) Source #
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
deleteRepository_domain :: Lens' DeleteRepository Text Source #
The name of the domain that contains the repository to delete.
deleteRepository_repository :: Lens' DeleteRepository Text Source #
The name of the repository to delete.
Destructuring the Response
data DeleteRepositoryResponse Source #
See: newDeleteRepositoryResponse smart constructor.
Constructors
| DeleteRepositoryResponse' | |
Fields
| |
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:
DeleteRepository, deleteRepositoryResponse_repository - Information about the deleted repository after processing the request.
$sel:httpStatus:DeleteRepositoryResponse', deleteRepositoryResponse_httpStatus - The response's http status code.
Response Lenses
deleteRepositoryResponse_repository :: Lens' DeleteRepositoryResponse (Maybe RepositoryDescription) Source #
Information about the deleted repository after processing the request.
deleteRepositoryResponse_httpStatus :: Lens' DeleteRepositoryResponse Int Source #
The response's http status code.