Skip to content

Delete Repository

codeartifact_delete_repository R Documentation

Deletes a repository

Description

Deletes a repository.

Usage

codeartifact_delete_repository(domain, domainOwner, repository)

Arguments

domain

[required] The name of the domain that contains the repository 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.

repository

[required] The name of the repository to delete.

Value

A list with the following syntax:

list(
  repository = list(
    name = "string",
    administratorAccount = "string",
    domainName = "string",
    domainOwner = "string",
    arn = "string",
    description = "string",
    upstreams = list(
      list(
        repositoryName = "string"
      )
    ),
    externalConnections = list(
      list(
        externalConnectionName = "string",
        packageFormat = "npm"|"pypi"|"maven"|"nuget"|"generic"|"ruby"|"swift"|"cargo",
        status = "Available"
      )
    ),
    createdTime = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$delete_repository(
  domain = "string",
  domainOwner = "string",
  repository = "string"
)