class Aws::CodeArtifact::Types::CopyPackageVersionsRequest
@see docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CopyPackageVersionsRequest AWS API Documentation
@return [Boolean]<br>: docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html<br><br><br><br>upstream repositories].
default setting is false. For more information, see [Working with
from the source repository to the destination repository. The
Set to true to copy packages from repositories that are upstream
@!attribute [rw] include_from_upstream
@return [Boolean]
‘ALREADY_EXISTS` error code.
returned in the `failedVersions` field of the response with an
already exists in the destination repository, the package version is
the destination repository. If set to false and the package version
Set to true to overwrite a package version that already exists in
@!attribute [rw] allow_overwrite
@return [Hash<String,String>]
</note>
specify both.
<note markdown=“1”> You must specify `versions` or `versionRevisions`. You cannot
repository match the specified package version revision.
operation succeeds if the specified versions in the source
values are package version revisions. A `CopyPackageVersion`
A list of key-value pairs. The keys are package versions and the
@!attribute [rw] version_revisions
@return [Array<String>]
</note>
specify both.
<note markdown=“1”> You must specify `versions` or `versionRevisions`. You cannot
The versions of the package to be copied.
@!attribute [rw] versions
@return [String]
The name of the package that contains the versions to be copied.
@!attribute [rw] package
@return [String]
have a namespace.
corresponding component, package versions of those formats do not
* Python, NuGet, Ruby, and Cargo package versions do not contain a
* The namespace of a generic package is its `namespace`.
* The namespace of an npm or Swift package version is its `scope`.
* The namespace of a Maven package version is its `groupId`.
</note>
* generic
* Swift
* Maven
following formats:
<note markdown=“1”> The namespace is required when copying package versions of the
example:
component that specifies its namespace depends on its type. For
The namespace of the package versions to be copied. The package
@!attribute [rw] namespace
@return [String]
The format of the package versions to be copied.
@!attribute [rw] format
@return [String]
The name of the repository into which package versions are copied.
@!attribute [rw] destination_repository
@return [String]
copied.
The name of the repository that contains the package versions to be
@!attribute [rw] source_repository
@return [String]
owns the domain. It does not include dashes or spaces.
The 12-digit account number of the Amazon Web Services account that
@!attribute [rw] domain_owner
@return [String]
repositories.
The name of the domain that contains the source and destination
@!attribute [rw] domain