You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeArtifact::Types::ListPackageVersionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::ListPackageVersionsRequest
- Defined in:
- (unknown)
Overview
When passing ListPackageVersionsRequest 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
status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
sort_by: "PUBLISHED_TIME", # accepts PUBLISHED_TIME
max_results: 1,
next_token: "PaginationToken",
}
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain that contains the repository that contains the returned package versions.
-
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain.
-
#format ⇒ String
The format of the returned packages.
-
#max_results ⇒ Integer
The maximum number of results to return per page.
-
#namespace ⇒ String
The namespace of the package.
-
#next_token ⇒ String
The token for the next set of results.
-
#package ⇒ String
The name of the package for which you want to return a list of package versions.
-
#repository ⇒ String
The name of the repository that contains the package.
-
#sort_by ⇒ String
How to sort the returned list of package versions.
-
#status ⇒ String
A string that specifies the status of the package versions to include in the returned list.
Instance Attribute Details
#domain ⇒ String
The name of the domain that contains the repository that contains the returned package versions.
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
#format ⇒ String
The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.Possible values:
- npm
- pypi
- maven
#max_results ⇒ Integer
The maximum number of results to return per page.
#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.
#next_token ⇒ String
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
#package ⇒ String
The name of the package for which you want to return a list of package versions.
#repository ⇒ String
The name of the repository that contains the package.
#sort_by ⇒ String
How to sort the returned list of package versions.
Possible values:
- PUBLISHED_TIME
#status ⇒ String
A string that specifies the status of the package versions to include in the returned list. It can be one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
Possible values:
- Published
- Unfinished
- Unlisted
- Archived
- Disposed
- Deleted