class Aws::CodeArtifact::Types::ListPackageVersionsRequest
@note When making an API call, you may pass ListPackageVersionsRequest
data as a hash: { domain: "DomainName", # required domain_owner: "AccountId", repository: "RepositoryName", # required format: "npm", # required, accepts npm, pypi, maven, nuget 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", }
@!attribute [rw] domain
The name of the domain that contains the repository that contains the returned package versions. @return [String]
@!attribute [rw] domain_owner
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces. @return [String]
@!attribute [rw] repository
The name of the repository that contains the package. @return [String]
@!attribute [rw] format
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. @return [String]
@!attribute [rw] namespace
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. @return [String]
@!attribute [rw] package
The name of the package for which you want to return a list of package versions. @return [String]
@!attribute [rw] status
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` @return [String]
@!attribute [rw] sort_by
How to sort the returned list of package versions. @return [String]
@!attribute [rw] max_results
The maximum number of results to return per page. @return [Integer]
@!attribute [rw] next_token
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. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionsRequest AWS API Documentation
Constants
- SENSITIVE