Skip to content

Lists the repositories in the added repositories list of the specified restriction type for a package group

Description

Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types and added repository lists, see Package group origin controls in the CodeArtifact User Guide.

Usage

codeartifact_list_allowed_repositories_for_group(domain, domainOwner,
  packageGroup, originRestrictionType, maxResults, nextToken)

Arguments

  • domain

    [required] The name of the domain that contains the package group from which to list allowed repositories.

  • domainOwner

    The 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 allowed repositories.

  • originRestrictionType

    [required] The origin configuration restriction type of which to list allowed repositories.

  • maxResults

    The maximum number of results to return per page.

  • nextToken

    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.

Value

A list with the following syntax:

list(
  allowedRepositories = list(
    "string"
  ),
  nextToken = "string"
)

Request syntax

svc$list_allowed_repositories_for_group(
  domain = "string",
  domainOwner = "string",
  packageGroup = "string",
  originRestrictionType = "EXTERNAL_UPSTREAM"|"INTERNAL_UPSTREAM"|"PUBLISH",
  maxResults = 123,
  nextToken = "string"
)