You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeArtifact::Types::DeletePackageVersionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::DeletePackageVersionsRequest
- Defined in:
- (unknown)
Overview
When passing DeletePackageVersionsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
domain: "DomainName", # required
domain_owner: "AccountId",
repository: "RepositoryName", # required
format: "npm", # required, accepts npm, pypi, maven
namespace: "PackageNamespace",
package: "PackageName", # required
versions: ["PackageVersion"], # required
expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
}
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain that contains the package to delete.
-
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain.
-
#expected_status ⇒ String
The expected status of the package version to delete.
-
#format ⇒ String
The format of the package versions to delete.
-
#namespace ⇒ String
The namespace of the package.
-
#package ⇒ String
The name of the package with the versions to delete.
-
#repository ⇒ String
The name of the repository that contains the package versions to delete.
-
#versions ⇒ Array<String>
An array of strings that specify the versions of the package to delete.
Instance Attribute Details
#domain ⇒ String
The name of the domain that contains the package to delete.
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
#expected_status ⇒ String
The expected status of the package version to delete. Valid values are:
Published
Unfinished
Unlisted
Archived
Disposed
Possible values:
- Published
- Unfinished
- Unlisted
- Archived
- Disposed
- Deleted
#format ⇒ String
The format of the package versions to delete. The valid values are:
npm
pypi
maven
Possible values:
- npm
- pypi
- maven
#namespace ⇒ String
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its
groupId
.The namespace of an npm package is its
scope
.A Python package does not contain a corresponding component, so Python packages do not have a namespace.
#package ⇒ String
The name of the package with the versions to delete.
#repository ⇒ String
The name of the repository that contains the package versions to delete.
#versions ⇒ Array<String>
An array of strings that specify the versions of the package to delete.