/AWS1/CL_ART=>UPDATEPACKAGEVERSIONSSTATUS()
¶
About UpdatePackageVersionsStatus¶
Updates the status of one or more versions of a package. Using UpdatePackageVersionsStatus
,
you can update the status of package versions to Archived
, Published
, or Unlisted
.
To set the status of a package version to Disposed
, use
DisposePackageVersions.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_DOMAIN
TYPE /AWS1/ARTDOMAINNAME
/AWS1/ARTDOMAINNAME
¶
The name of the domain that contains the repository that contains the package versions with a status to be updated.
IV_REPOSITORY
TYPE /AWS1/ARTREPOSITORYNAME
/AWS1/ARTREPOSITORYNAME
¶
The repository that contains the package versions with the status you want to update.
IV_FORMAT
TYPE /AWS1/ARTPACKAGEFORMAT
/AWS1/ARTPACKAGEFORMAT
¶
A format that specifies the type of the package with the statuses to update.
IV_PACKAGE
TYPE /AWS1/ARTPACKAGENAME
/AWS1/ARTPACKAGENAME
¶
The name of the package with the version statuses to update.
IT_VERSIONS
TYPE /AWS1/CL_ARTPACKAGEVRSLIST_W=>TT_PACKAGEVERSIONLIST
TT_PACKAGEVERSIONLIST
¶
An array of strings that specify the versions of the package with the statuses to update.
IV_TARGETSTATUS
TYPE /AWS1/ARTPACKAGEVERSIONSTATUS
/AWS1/ARTPACKAGEVERSIONSTATUS
¶
The status you want to change the package version status to.
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.
IV_NAMESPACE
TYPE /AWS1/ARTPACKAGENAMESPACE
/AWS1/ARTPACKAGENAMESPACE
¶
The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its
groupId
.The namespace of an npm or Swift package version is its
scope
.The namespace of a generic package is its
namespace
.Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
IT_VERSIONREVISIONS
TYPE /AWS1/CL_ARTPACKAGEVRSREVISI00=>TT_PACKAGEVERSIONREVISIONMAP
TT_PACKAGEVERSIONREVISIONMAP
¶
A map of package versions and package version revisions. The map
key
is the package version (for example,3.5.2
), and the mapvalue
is the package version revision.
IV_EXPECTEDSTATUS
TYPE /AWS1/ARTPACKAGEVERSIONSTATUS
/AWS1/ARTPACKAGEVERSIONSTATUS
¶
The package version’s expected status before it is updated. If
expectedStatus
is provided, the package version's status is updated only if its status at the timeUpdatePackageVersionsStatus
is called matchesexpectedStatus
.