View source: R/codeartifact_operations.R
codeartifact_copy_package_versions | R Documentation |
Copies package versions from one repository to another repository in the same domain.
See https://www.paws-r-sdk.com/docs/codeartifact_copy_package_versions/ for full documentation.
codeartifact_copy_package_versions(
domain,
domainOwner = NULL,
sourceRepository,
destinationRepository,
format,
namespace = NULL,
package,
versions = NULL,
versionRevisions = NULL,
allowOverwrite = NULL,
includeFromUpstream = NULL
)
domain |
[required] The name of the domain that contains the source and destination repositories. |
domainOwner |
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. |
sourceRepository |
[required] The name of the repository that contains the package versions to be copied. |
destinationRepository |
[required] The name of the repository into which package versions are copied. |
format |
[required] The format of the package versions to be copied. |
namespace |
The namespace of the package versions to be copied. The package component that specifies its namespace depends on its type. For example: The namespace is required when copying package versions of the following formats:
|
package |
[required] The name of the package that contains the versions to be copied. |
versions |
The versions of the package to be copied. You must specify |
versionRevisions |
A list of key-value pairs. The keys are package versions and the values
are package version revisions. A You must specify |
allowOverwrite |
Set to true to overwrite a package version that already exists in the
destination repository. If set to false and the package version already
exists in the destination repository, the package version is returned in
the |
includeFromUpstream |
Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.