Amazon CodeArtifact · JSON Structure

Codeartifact Copy Package Versions Result Structure

CopyPackageVersionsResult schema from Amazon CodeArtifact API

Type: object Properties: 2
AmazonArtifact RepositoryPackage ManagementDevOpsSoftware Supply ChainnpmMavenPyPINuGet

CopyPackageVersionsResult is a JSON Structure definition published by Amazon CodeArtifact, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

successfulVersions failedVersions

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeartifact/refs/heads/main/json-structure/codeartifact-copy-package-versions-result-structure.json",
  "name": "CopyPackageVersionsResult",
  "description": "CopyPackageVersionsResult schema from Amazon CodeArtifact API",
  "type": "object",
  "properties": {
    "successfulVersions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SuccessfulPackageVersionInfoMap"
        },
        {
          "description": " A list of the package versions that were successfully copied to your repository. "
        }
      ]
    },
    "failedVersions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PackageVersionErrorMap"
        },
        {
          "description": "<p> A map of package versions that failed to copy and their error codes. The possible error codes are in the <code>PackageVersionError</code> data type. They are: </p> <ul> <li> <p> <code>ALREADY_EXISTS</code> </p> </li> <li> <p> <code>MISMATCHED_REVISION</code> </p> </li> <li> <p> <code>MISMATCHED_STATUS</code> </p> </li> <li> <p> <code>NOT_ALLOWED</code> </p> </li> <li> <p> <code>NOT_FOUND</code> </p> </li> <li> <p> <code>SKIPPED</code> </p> </li> </ul>"
        }
      ]
    }
  }
}