Skip to content

Delete Package Group

codeartifact_delete_package_group R Documentation

Deletes a package group

Description

Deletes a package group. Deleting a package group does not delete packages or package versions associated with the package group. When a package group is deleted, the direct child package groups will become children of the package group's direct parent package group. Therefore, if any of the child groups are inheriting any settings from the parent, those settings could change.

Usage

codeartifact_delete_package_group(domain, domainOwner, packageGroup)

Arguments

domain

[required] The domain that contains the package group to be deleted.

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 deleted.

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$delete_package_group(
  domain = "string",
  domainOwner = "string",
  packageGroup = "string"
)