Amazon CodeArtifact · JSON Structure

Codeartifact Package Version Error Structure

l An error associated with package.

Type: object Properties: 2
AmazonArtifact RepositoryPackage ManagementDevOpsSoftware Supply ChainnpmMavenPyPINuGet

PackageVersionError 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

errorCode errorMessage

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-package-version-error-structure.json",
  "name": "PackageVersionError",
  "description": "l An error associated with package. ",
  "type": "object",
  "properties": {
    "errorCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PackageVersionErrorCode"
        },
        {
          "description": "<p> The error code associated with the error. Valid error codes 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>"
        }
      ]
    },
    "errorMessage": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ErrorMessage"
        },
        {
          "description": " The error message associated with the error. "
        }
      ]
    }
  }
}