Skip to content

Describe Repository

codeartifact_describe_repository R Documentation

Returns a RepositoryDescription object that contains detailed information about the requested repository

Description

Returns a RepositoryDescription object that contains detailed information about the requested repository.

Usage

codeartifact_describe_repository(domain, domainOwner, repository)

Arguments

domain

[required] The name of the domain that contains the repository to describe.

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] A string that specifies the name of the requested 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"|"cargo",
        status = "Available"
      )
    ),
    createdTime = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

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