Returns a list of PackageVersionSummary objects for package versions in a repository that match the request parameters. Package versions of all statuses will be returned by default when calling list-package-versions
with no --status
parameter.
See https://www.paws-r-sdk.com/docs/codeartifact_list_package_versions/ for full documentation.
codeartifact_list_package_versions(
domain,
domainOwner = NULL,
repository,
format,
namespace = NULL,
package,
status = NULL,
sortBy = NULL,
maxResults = NULL,
nextToken = NULL,
originType = NULL
)
[required] The name of the domain that contains the repository that contains the requested package versions.
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
[required] The name of the repository that contains the requested package versions.
[required] The format of the package versions you want to list.
The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
[required] The name of the package for which you want to request package versions.
A string that filters the requested package versions by status.
How to sort the requested list of package versions.
The maximum number of results to return per page.
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.
The originType
used to filter package versions. Only package versions
with the provided originType
will be returned.