Skip to content

List Package Groups

codeartifact_list_package_groups R Documentation

Returns a list of package groups in the requested domain

Description

Returns a list of package groups in the requested domain.

Usage

codeartifact_list_package_groups(domain, domainOwner, maxResults,
  nextToken, prefix)

Arguments

domain

[required] The domain for which you want to list package groups.

domainOwner

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

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.

prefix

A prefix for which to search package groups. When included, list_package_groups will return only package groups with patterns that match the prefix.

Value

A list with the following syntax:

list(
  packageGroups = list(
    list(
      arn = "string",
      pattern = "string",
      domainName = "string",
      domainOwner = "string",
      createdTime = as.POSIXct(
        "2015-01-01"
      ),
      contactInfo = "string",
      description = "string",
      originConfiguration = list(
        restrictions = list(
          list(
            mode = "ALLOW"|"ALLOW_SPECIFIC_REPOSITORIES"|"BLOCK"|"INHERIT",
            effectiveMode = "ALLOW"|"ALLOW_SPECIFIC_REPOSITORIES"|"BLOCK"|"INHERIT",
            inheritedFrom = list(
              arn = "string",
              pattern = "string"
            ),
            repositoriesCount = 123
          )
        )
      ),
      parent = list(
        arn = "string",
        pattern = "string"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_package_groups(
  domain = "string",
  domainOwner = "string",
  maxResults = 123,
  nextToken = "string",
  prefix = "string"
)