Skip to content

/AWS1/CL_ART=>LISTPACKAGES()

About ListPackages

Returns a list of PackageSummary objects for packages in a repository that match the request parameters.

Method Signature

IMPORTING

Required arguments:

IV_DOMAIN TYPE /AWS1/ARTDOMAINNAME /AWS1/ARTDOMAINNAME

The name of the domain that contains the repository that contains the requested packages.

IV_REPOSITORY TYPE /AWS1/ARTREPOSITORYNAME /AWS1/ARTREPOSITORYNAME

The name of the repository that contains the requested packages.

Optional arguments:

IV_DOMAINOWNER TYPE /AWS1/ARTACCOUNTID /AWS1/ARTACCOUNTID

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

IV_FORMAT TYPE /AWS1/ARTPACKAGEFORMAT /AWS1/ARTPACKAGEFORMAT

The format used to filter requested packages. Only packages from the provided format will be returned.

IV_NAMESPACE TYPE /AWS1/ARTPACKAGENAMESPACE /AWS1/ARTPACKAGENAMESPACE

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 and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

IV_PACKAGEPREFIX TYPE /AWS1/ARTPACKAGENAME /AWS1/ARTPACKAGENAME

A prefix used to filter requested packages. Only packages with names that start with packagePrefix are returned.

IV_MAXRESULTS TYPE /AWS1/ARTLISTPACKAGESMAXRSLTS /AWS1/ARTLISTPACKAGESMAXRSLTS

The maximum number of results to return per page.

IV_NEXTTOKEN TYPE /AWS1/ARTPAGINATIONTOKEN /AWS1/ARTPAGINATIONTOKEN

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.

IV_PUBLISH TYPE /AWS1/ARTALLOWPUBLISH /AWS1/ARTALLOWPUBLISH

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.

IV_UPSTREAM TYPE /AWS1/ARTALLOWUPSTREAM /AWS1/ARTALLOWUPSTREAM

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ARTLISTPACKAGESRESULT /AWS1/CL_ARTLISTPACKAGESRESULT