Amazon CodeArtifact · JSON Structure

Codeartifact Delete Package Versions Result Structure

DeletePackageVersionsResult schema from Amazon CodeArtifact API

Type: object Properties: 2
AmazonArtifact RepositoryPackage ManagementDevOpsSoftware Supply ChainnpmMavenPyPINuGet

DeletePackageVersionsResult 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-delete-package-versions-result-structure.json",
  "name": "DeletePackageVersionsResult",
  "description": "DeletePackageVersionsResult schema from Amazon CodeArtifact API",
  "type": "object",
  "properties": {
    "successfulVersions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SuccessfulPackageVersionInfoMap"
        },
        {
          "description": " A list of the package versions that were successfully deleted. The status of every successful version will be <code>Deleted</code>. "
        }
      ]
    },
    "failedVersions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PackageVersionErrorMap"
        },
        {
          "description": "<p> A <code>PackageVersionError</code> object that contains a map of errors codes for the deleted package that failed. The possible 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>"
        }
      ]
    }
  }
}