CmdID

CmdID / aws / aws codeartifact

aws codeartifact list-repositories

Returns a list of RepositorySummary objects. 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 list repositories

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

aws codeartifact list-repositoriesIdentify
Its output
{
    "repositories": [
        {
            "name": "npm-store",
            "administratorAccount": "123456789012",
            "domainName": "my-domain",
            "domainOwner": "123456789012",
            "arn": "arn:aws:codeartifact:us-west-2:123456789012:repository/my-domain/npm-store",
            "description": "Provides npm artifacts from npm, Inc."
        },
        {
            "name": "target-repo",
            "administratorAccount": "123456789012",
            "domainName": "my-domain",
            "domainOwner": "123456789012",
            "arn": "arn:aws:codeartifact:us-west-2:123456789012:repository/my-domain/target-repo",
            "description": "test target repo"
        },
        {
            "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

3 in the AWS CLI reference
--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.