class Aws::CodeArtifact::Types::PutPackageOriginConfigurationRequest


@see docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutPackageOriginConfigurationRequest AWS API Documentation
@return [Types::PackageOriginRestrictions]<br>: docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html<br><br><br><br>restrictions.
You must include both the desired ‘upstream` and `publish`
versions can be published directly to the repository.
repositories. The `publish` restriction determines if new package
ingested or retained from external connections or upstream
`upstream` restriction determines if new package versions can be
about the `upstream` and `publish` package origin restrictions. The
A [PackageOriginRestrictions] object that contains information
@!attribute [rw] restrictions
@return [String]
The name of the package to be updated.
@!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`.
that specifies its namespace depends on its type. For example:
The namespace of the package to be updated. The package component
@!attribute [rw] namespace
@return [String]
A format that specifies the type of the package to be updated.
@!attribute [rw] format
@return [String]
The name of the repository that contains the package.
@!attribute [rw] 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]
the package.
The name of the domain that contains the repository that contains
@!attribute [rw] domain