List Associated Packages
| codeartifact_list_associated_packages | R Documentation |
Returns a list of packages associated with the requested package group¶
Description¶
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.
Usage¶
codeartifact_list_associated_packages(domain, domainOwner, packageGroup,
maxResults, nextToken, preview)
Arguments¶
domain[required] The name of the domain that contains the package group from which to list associated packages.
domainOwnerThe 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
packageGroup[required] The pattern of the package group from which to list associated packages.
maxResultsThe maximum number of results to return per page.
nextTokenThe 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.
previewWhen this flag is included,
list_associated_packageswill return a list of packages that would be associated with a package group, even if it does not exist.
Value¶
A list with the following syntax:
list(
packages = list(
list(
format = "npm"|"pypi"|"maven"|"nuget"|"generic"|"ruby"|"swift"|"cargo",
namespace = "string",
package = "string",
associationType = "STRONG"|"WEAK"
)
),
nextToken = "string"
)