Skip to content

Disassociate External Connection

codeartifact_disassociate_external_connection R Documentation

Removes an existing external connection from a repository

Description

Removes an existing external connection from a repository.

Usage

codeartifact_disassociate_external_connection(domain, domainOwner,
  repository, externalConnection)

Arguments

domain

[required] The name of the domain that contains the repository from which to remove the external repository.

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 from which the external connection will be removed.

externalConnection

[required] The name of the external connection to be removed from the repository.

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",
        status = "Available"
      )
    ),
    createdTime = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$disassociate_external_connection(
  domain = "string",
  domainOwner = "string",
  repository = "string",
  externalConnection = "string"
)