Skip to content

Delete Domain

codeartifact_delete_domain R Documentation

Deletes a domain

Description

Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories.

Usage

codeartifact_delete_domain(domain, domainOwner)

Arguments

domain

[required] The name of the domain to delete.

domainOwner

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

Value

A list with the following syntax:

list(
  domain = list(
    name = "string",
    owner = "string",
    arn = "string",
    status = "Active"|"Deleted",
    createdTime = as.POSIXct(
      "2015-01-01"
    ),
    encryptionKey = "string",
    repositoryCount = 123,
    assetSizeBytes = 123,
    s3BucketArn = "string"
  )
)

Request syntax

svc$delete_domain(
  domain = "string",
  domainOwner = "string"
)