| Copyright | (c) 2013-2021 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 |
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:
$sel:domainOwner:DeleteRepository', deleteRepository_domainOwner - The 12-digit account number of the AWS 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.
$sel:repository: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 AWS 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:
$sel:repository: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.