CmdID

CmdID / aws / aws codeartifact

aws codeartifact delete-repository

Deletes a repository. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To delete a repository

The following delete-repository example deletes a repository named test-repo in a domain named test-domain.

aws codeartifact delete-repository --domain test-domain --repository test-repoIdentify
--domainThe name of the domain that contains the repository to delete.
--repositoryThe name of the repository to delete.
Its output
{
    "repository": {
        "name": "test-repo",
        "administratorAccount": "123456789012",
        "domainName": "test-domain",
        "domainOwner": "123456789012",
        "arn": "arn:aws:codeartifact:us-west-2:123456789012:repository/test-domain/test-repo",
        "description": "This is a test repository",
        "upstreams": [],
        "externalConnections": []
    }
}

For more information, see Delete a repository in the AWS CodeArtifact User Guide.

Options

3 in the AWS CLI reference
--domain-ownerThe 12-digit account number of the Amazon Web Services account that owns the domain.
--domainThe name of the domain that contains the repository to delete.
--repositoryThe name of the repository to delete.