Skip to content

/AWS1/CL_ART=>UPDATEPACKAGEGROUPORIGINCONF()

About UpdatePackageGroupOriginConfiguration

Updates the package origin configuration for a package group.

The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package group origin controls and configuration, see Package group origin controls in the CodeArtifact User Guide.

Method Signature

IMPORTING

Required arguments:

IV_DOMAIN TYPE /AWS1/ARTDOMAINNAME /AWS1/ARTDOMAINNAME

The name of the domain which contains the package group for which to update the origin configuration.

IV_PACKAGEGROUP TYPE /AWS1/ARTPACKAGEGROUPPATTERN /AWS1/ARTPACKAGEGROUPPATTERN

The pattern of the package group for which to update the origin configuration.

Optional arguments:

IV_DOMAINOWNER TYPE /AWS1/ARTACCOUNTID /AWS1/ARTACCOUNTID

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

IT_RESTRICTIONS TYPE /AWS1/CL_ARTORIGINRESTRICTIO00=>TT_ORIGINRESTRICTIONS TT_ORIGINRESTRICTIONS

The origin configuration settings that determine how package versions can enter repositories.

IT_ADDALLOWEDREPOSITORIES TYPE /AWS1/CL_ARTPACKAGEGRALWEDRE00=>TT_PACKAGEGRALWEDREPOSITORYLST TT_PACKAGEGRALWEDREPOSITORYLST

The repository name and restrictions to add to the allowed repository list of the specified package group.

IT_REMOVEALLOWEDREPOSITORIES TYPE /AWS1/CL_ARTPACKAGEGRALWEDRE00=>TT_PACKAGEGRALWEDREPOSITORYLST TT_PACKAGEGRALWEDREPOSITORYLST

The repository name and restrictions to remove from the allowed repository list of the specified package group.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ARTUPPACKAGEGRORIGI01 /AWS1/CL_ARTUPPACKAGEGRORIGI01