codeartifact_list_package_version_dependencies: Returns the direct dependencies for a package version

View source: R/codeartifact_operations.R

codeartifact_list_package_version_dependenciesR Documentation

Returns the direct dependencies for a package version

Description

Returns the direct dependencies for a package version. The dependencies are returned as PackageDependency objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package format (for example, the package.json file for npm packages and the pom.xml file for Maven). Any package version dependencies that are not listed in the configuration file are not returned.

See https://www.paws-r-sdk.com/docs/codeartifact_list_package_version_dependencies/ for full documentation.

Usage

codeartifact_list_package_version_dependencies(
  domain,
  domainOwner = NULL,
  repository,
  format,
  namespace = NULL,
  package,
  packageVersion,
  nextToken = NULL
)

Arguments

domain

[required] The name of the domain that contains the repository that contains the requested package version dependencies.

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 that contains the requested package version.

format

[required] The format of the package with the requested dependencies.

namespace

The namespace of the package version with the requested dependencies. The package component that specifies its namespace depends on its type. For example:

The namespace is required when listing dependencies from package versions of the following formats:

  • Maven

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

package

[required] The name of the package versions' package.

packageVersion

[required] A string that contains the package version (for example, ⁠3.5.2⁠).

nextToken

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.


paws.developer.tools documentation built on Sept. 12, 2024, 6:46 a.m.