Update Repository
codeartifact_update_repository | R Documentation |
Update the properties of a repository¶
Description¶
Update the properties of a repository.
Usage¶
codeartifact_update_repository(domain, domainOwner, repository,
description, upstreams)
Arguments¶
domain |
[required] The name of the domain associated with the repository to update. |
domainOwner |
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. |
repository |
[required] The name of the repository to update. |
description |
An updated repository description. |
upstreams |
A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories. |
Value¶
A list with the following syntax:
list(
repository = list(
name = "string",
administratorAccount = "string",
domainName = "string",
domainOwner = "string",
arn = "string",
description = "string",
upstreams = list(
list(
repositoryName = "string"
)
),
externalConnections = list(
list(
externalConnectionName = "string",
packageFormat = "npm"|"pypi"|"maven"|"nuget"|"generic"|"ruby"|"swift"|"cargo",
status = "Available"
)
),
createdTime = as.POSIXct(
"2015-01-01"
)
)
)
Request syntax¶
svc$update_repository(
domain = "string",
domainOwner = "string",
repository = "string",
description = "string",
upstreams = list(
list(
repositoryName = "string"
)
)
)