Amazon CodeArtifact · JSON Structure

Codeartifact Dispose Package Versions Request Structure

DisposePackageVersionsRequest schema from Amazon CodeArtifact API

Type: object Properties: 3 Required: 1
AmazonArtifact RepositoryPackage ManagementDevOpsSoftware Supply ChainnpmMavenPyPINuGet

DisposePackageVersionsRequest is a JSON Structure definition published by Amazon CodeArtifact, describing 3 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

versions versionRevisions expectedStatus

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-dispose-package-versions-request-structure.json",
  "name": "DisposePackageVersionsRequest",
  "description": "DisposePackageVersionsRequest schema from Amazon CodeArtifact API",
  "type": "object",
  "properties": {
    "versions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PackageVersionList"
        },
        {
          "description": " The versions of the package you want to dispose. "
        }
      ]
    },
    "versionRevisions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PackageVersionRevisionMap"
        },
        {
          "description": " The revisions of the package versions you want to dispose. "
        }
      ]
    },
    "expectedStatus": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PackageVersionStatus"
        },
        {
          "description": " The expected status of the package version to dispose. "
        }
      ]
    }
  },
  "required": [
    "versions"
  ]
}