CmdID

CmdID / aws / aws codeartifact

aws codeartifact list-repositories-in-domain

Returns a list of RepositorySummary objects. AWS CLI reference

1 example 6 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 repositories in a domain

The following list-repositories-in-domain example returns a summary of all repositories in the test-domain domain.

aws codeartifact list-repositories-in-domain --domain test-domainIdentify
--domainThe name of the domain that contains the returned list of repositories.
Its output
{
    "repositories": [
        {
            "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."
        },
        {
            "name": "test-repo2",
            "administratorAccount": "123456789012",
            "domainName": "test-domain",
            "domainOwner": "123456789012",
            "arn": "arn:aws:codeartifact:us-west-2:123456789012:repository/test-domain/test-repo2",
            "description": "This is a test repository."
        }
    ]
}

For more information, see List repositories in the AWS CodeArtifact User Guide.

Options

6 in the AWS CLI reference
--administrator-accountFilter the list of repositories to only include those that are managed by the Amazon Web Services account ID.
--domain-ownerThe 12-digit account number of the Amazon Web Services account that owns the domain.
--domainThe name of the domain that contains the returned list of repositories.
--max-resultsThe maximum number of results to return per page.
--next-tokenThe token for the next set of results.
--repository-prefixA prefix used to filter returned repositories.