CmdID / aws / aws codeartifact
aws codeartifact describe-repository
Returns a RepositoryDescription object that contains detailed information about the requested repository. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To get information about a repository
The following describe-repository example returns a RepositoryDescription object for a repository named test-repo.
aws codeartifact describe-repository --domain test-domain --repository test-repoIdentify--domainThe name of the domain that contains the repository to describe.--repositoryA string that specifies the name of the requested repository.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 Create a domain in the AWS CodeArtifact User Guide.
Options
--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 describe.--repositoryA string that specifies the name of the requested repository.