CmdID

CmdID / aws / aws codeartifact

aws codeartifact list-domains

Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes this call. 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 list domains

The following list-domains example returns a summary of all domains owned by the AWS account that makes the call.

aws codeartifact list-domainsIdentify
Its output
{
    "domains": [
        {
            "name": "my-domain",
            "owner": "123456789012",
            "status": "Active",
            "encryptionKey": "arn:aws:kms:us-west-2:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
        },
        {
            "name": "test-domain",
            "owner": "123456789012",
            "status": "Active",
            "encryptionKey": "arn:aws:kms:us-west-2:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
        }
    ]
}

For more information, see Working with domains in CodeArtifact in the AWS CodeArtifact User Guide.

Options

2 in the AWS CLI reference
--max-resultsThe maximum number of results to return per page.
--next-tokenThe token for the next set of results.