Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UpdatePackageVersionsStatusRequest

import type { UpdatePackageVersionsStatusRequest } from "https://aws-api.deno.dev/v0.3/services/codeartifact.ts?docs=full";
interface UpdatePackageVersionsStatusRequest {
domain: string;
domainOwner?: string | null;
expectedStatus?: PackageVersionStatus | null;
format: PackageFormat;
namespace?: string | null;
package: string;
repository: string;
targetStatus: PackageVersionStatus;
versionRevisions?: {
[key: string]: string | null | undefined;
}
| null;
versions: string[];
}

§Properties

§
domain: string
[src]

The name of the domain that contains the repository that contains the package versions with a status to be updated.

§
domainOwner?: string | null
[src]

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

§
expectedStatus?: PackageVersionStatus | null
[src]

The package version’s expected status before it is updated. If expectedStatus is provided, the package version's status is updated only if its status at the time UpdatePackageVersionsStatus is called matches expectedStatus.

§

A format that specifies the type of the package with the statuses to update. The valid values are:

  • npm
    
  • pypi
    
  • maven
    
§
namespace?: string | null
[src]

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

  • The namespace of a Maven package is its groupId.
  • The namespace of an npm package is its scope.
  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.
§
package: string
[src]

The name of the package with the version statuses to update.

§
repository: string
[src]

The repository that contains the package versions with the status you want to update.

§

The status you want to change the package version status to.

§
versionRevisions?: {
[key: string]: string | null | undefined;
}
| null
[src]

A map of package versions and package version revisions. The map key is the package version (for example, 3.5.2), and the map value is the package version revision.

§
versions: string[]
[src]

An array of strings that specify the versions of the package with the statuses to update.