Skip to content

Update Package Group

codeartifact_update_package_group R Documentation

Updates a package group

Description

Updates a package group. This API cannot be used to update a package group's origin configuration or pattern. To update a package group's origin configuration, use update_package_group_origin_configuration.

Usage

codeartifact_update_package_group(domain, domainOwner, packageGroup,
  contactInfo, description)

Arguments

domain

[required] The name of the domain which contains the package group to be updated.

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 to be updated.

contactInfo

Contact information which you want to update the requested package group with.

description

The description you want to update the requested package group with.

Value

A list with the following syntax:

list(
  packageGroup = 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"
    )
  )
)

Request syntax

svc$update_package_group(
  domain = "string",
  domainOwner = "string",
  packageGroup = "string",
  contactInfo = "string",
  description = "string"
)