Skip to content

/AWS1/CL_ART=>LISTASSOCIATEDPACKAGES()

About ListAssociatedPackages

Returns a list of packages associated with the requested package group. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.

Method Signature

IMPORTING

Required arguments:

IV_DOMAIN TYPE /AWS1/ARTDOMAINNAME /AWS1/ARTDOMAINNAME

The name of the domain that contains the package group from which to list associated packages.

IV_PACKAGEGROUP TYPE /AWS1/ARTPACKAGEGROUPPATTERN /AWS1/ARTPACKAGEGROUPPATTERN

The pattern of the package group from which to list associated 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_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_PREVIEW TYPE /AWS1/ARTBOOLEANOPTIONAL /AWS1/ARTBOOLEANOPTIONAL

When this flag is included, ListAssociatedPackages will return a list of packages that would be associated with a package group, even if it does not exist.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ARTLSTASSCDPACKAGESRS /AWS1/CL_ARTLSTASSCDPACKAGESRS