Skip to content

List Sub Package Groups

codeartifact_list_sub_package_groups R Documentation

Returns a list of direct children of the specified package group

Description

Returns a list of direct children of the specified package group.

For information package group hierarchy, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.

Usage

codeartifact_list_sub_package_groups(domain, domainOwner, packageGroup,
  maxResults, nextToken)

Arguments

domain

[required] The name of the domain which contains the package group from which to list sub 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.

packageGroup

[required] The pattern of the package group from which to list sub package groups.

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(
  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_sub_package_groups(
  domain = "string",
  domainOwner = "string",
  packageGroup = "string",
  maxResults = 123,
  nextToken = "string"
)