Returns a list of PackageSummary objects for packages in a repository that match the request parameters.
See https://www.paws-r-sdk.com/docs/codeartifact_list_packages/ for full documentation.
codeartifact_list_packages(
domain,
domainOwner = NULL,
repository,
format = NULL,
namespace = NULL,
packagePrefix = NULL,
maxResults = NULL,
nextToken = NULL,
publish = NULL,
upstream = NULL
)
[required] The name of the domain that contains the repository that contains the requested packages.
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 packages.
The format used to filter requested packages. Only packages from the provided format will be returned.
The namespace prefix used to filter requested packages. Only packages
with a namespace that starts with the provided string value are
returned. Note that although this option is called --namespace
and not
--namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
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.
A prefix used to filter requested packages. Only packages with names
that start with packagePrefix
are returned.
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 value of the Publish
package origin control restriction used to
filter requested packages. Only packages with the provided restriction
are returned. For more information, see
PackageOriginRestrictions.
The value of the Upstream
package origin control restriction used to
filter requested packages. Only packages with the provided restriction
are returned. For more information, see
PackageOriginRestrictions.