codeartifact_put_package_origin_configuration: Sets the package origin configuration for a package

View source: R/codeartifact_operations.R

codeartifact_put_package_origin_configurationR Documentation

Sets the package origin configuration for a package

Description

Sets the package origin configuration for a package.

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

Usage

codeartifact_put_package_origin_configuration(
  domain,
  domainOwner = NULL,
  repository,
  format,
  namespace = NULL,
  package,
  restrictions
)

Arguments

domain

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

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 package.

format

[required] A format that specifies the type of the package to be updated.

namespace

The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:

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

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

  • The namespace of a generic package is its namespace.

  • Python, NuGet, Ruby, and Cargo 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 to be updated.

restrictions

[required] A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository.

You must include both the desired upstream and publish restrictions.


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