CmdID

CmdID / aws / aws codeartifact

aws codeartifact update-repository

Update the properties of a repository. AWS CLI reference

1 example 5 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 update a repository

The following update-repository example updates the description of a repo named test-repo in a domain named test-domain to "this is an updated description".

aws codeartifact update-repository --domain test-domain --repository test-repo --description "this is an updated description"Identify
--domainThe name of the domain associated with the repository to update.
--repositoryThe name of the repository to update.
--descriptionAn updated repository description.
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 an updated description",
        "upstreams": [],
        "externalConnections": []
    }
}

For more information, see View or modify a repository configuration in the AWS CodeArtifact User Guide.

Options

5 in the AWS CLI reference
--descriptionAn updated repository description.
--domain-ownerThe 12-digit account number of the Amazon Web Services account that owns the domain.
--domainThe name of the domain associated with the repository to update.
--repositoryThe name of the repository to update.
--upstreamsA list of upstream repositories to associate with the repository.