Associate External Connection
codeartifact_associate_external_connection | R Documentation |
Adds an existing external connection to a repository¶
Description¶
Adds an existing external connection to a repository. One external connection is allowed per repository.
A repository can have one or more upstream repositories, or an external connection.
Usage¶
codeartifact_associate_external_connection(domain, domainOwner,
repository, externalConnection)
Arguments¶
domain |
[required] The name of the domain that contains the repository. |
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 which the external connection is added. |
externalConnection |
[required] The name of the external connection to add to the repository. The following values are supported:
|
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$associate_external_connection(
domain = "string",
domainOwner = "string",
repository = "string",
externalConnection = "string"
)