Skip to content

Returns the endpoint of a repository for a specific package format

Description

Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:

  • cargo
  • generic
  • maven
  • npm
  • nuget
  • pypi
  • ruby
  • swift

Usage

codeartifact_get_repository_endpoint(domain, domainOwner, repository,
  format, endpointType)

Arguments

  • domain

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

  • domainOwner

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

  • repository

    [required] The name of the repository.

  • format

    [required] Returns which endpoint of a repository to return. A repository has one endpoint for each package format.

  • endpointType

    A string that specifies the type of endpoint.

Value

A list with the following syntax:

list(
  repositoryEndpoint = "string"
)

Request syntax

svc$get_repository_endpoint(
  domain = "string",
  domainOwner = "string",
  repository = "string",
  format = "npm"|"pypi"|"maven"|"nuget"|"generic"|"ruby"|"swift"|"cargo",
  endpointType = "dualstack"|"ipv4"
)