AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdatePackageVersionsStatus operation.
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.
Namespace: Amazon.CodeArtifact.Model
Assembly: AWSSDK.CodeArtifact.dll
Version: 3.x.y.z
public class UpdatePackageVersionsStatusRequest : AmazonCodeArtifactRequest IAmazonWebServiceRequest
The UpdatePackageVersionsStatusRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
UpdatePackageVersionsStatusRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
Domain | System.String |
Gets and sets the property Domain. The name of the domain that contains the repository that contains the package versions with a status to be updated. |
![]() |
DomainOwner | System.String |
Gets and sets the property DomainOwner. The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. |
![]() |
ExpectedStatus | Amazon.CodeArtifact.PackageVersionStatus |
Gets and sets the property ExpectedStatus.
The package version’s expected status before it is updated. If |
![]() |
Format | Amazon.CodeArtifact.PackageFormat |
Gets and sets the property Format. A format that specifies the type of the package with the statuses to update. |
![]() |
Namespace | System.String |
Gets and sets the property Namespace. The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example:
|
![]() |
Package | System.String |
Gets and sets the property Package. The name of the package with the version statuses to update. |
![]() |
Repository | System.String |
Gets and sets the property Repository. The repository that contains the package versions with the status you want to update. |
![]() |
TargetStatus | Amazon.CodeArtifact.PackageVersionStatus |
Gets and sets the property TargetStatus. The status you want to change the package version status to. |
![]() |
VersionRevisions | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property VersionRevisions.
A map of package versions and package version revisions. The map |
![]() |
Versions | System.Collections.Generic.List<System.String> |
Gets and sets the property Versions. An array of strings that specify the versions of the package with the statuses to update. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5