CmdID

CmdID / aws / aws codeartifact

aws codeartifact delete-domain

Deletes a domain. AWS CLI reference

1 example 2 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 domain

The following delete-domain example deletes a domain named test-domain.

aws codeartifact delete-domain --domain test-domainIdentify
--domainThe name of the domain to delete.
Its output
{
    "domain": {
        "name": "test-domain",
        "owner": "123456789012",
        "arn": "arn:aws:codeartifact:us-west-2:123456789012:domain/test-domain",
        "status": "Deleted",
        "createdTime": "2020-10-20T13:16:48.559000-04:00",
        "encryptionKey": "arn:aws:kms:us-west-2:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "repositoryCount": 0,
        "assetSizeBytes": 0
    }
}

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

Options

2 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 to delete.