View source: R/codeartifact_operations.R
codeartifact_update_package_versions_status | R Documentation |
Updates the status of one or more versions of a package. Using update_package_versions_status
, you can update the status of package versions to Archived
, Published
, or Unlisted
. To set the status of a package version to Disposed
, use dispose_package_versions
.
See https://www.paws-r-sdk.com/docs/codeartifact_update_package_versions_status/ for full documentation.
codeartifact_update_package_versions_status(
domain,
domainOwner = NULL,
repository,
format,
namespace = NULL,
package,
versions,
versionRevisions = NULL,
expectedStatus = NULL,
targetStatus
)
domain |
[required] The name of the domain that contains the repository that contains the package versions with a status to be updated. |
domainOwner |
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. |
repository |
[required] The repository that contains the package versions with the status you want to update. |
format |
[required] A format that specifies the type of the package with the statuses to update. |
namespace |
The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example:
|
package |
[required] The name of the package with the version statuses to update. |
versions |
[required] An array of strings that specify the versions of the package with the statuses to update. |
versionRevisions |
A map of package versions and package version revisions. The map |
expectedStatus |
The package version’s expected status before it is updated. If
|
targetStatus |
[required] The status you want to change the package version status to. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.