class Aws::CodeArtifact::Types::DisposePackageVersionsRequest

@note When making an API call, you may pass DisposePackageVersionsRequest

data as a hash:

    {
      domain: "DomainName", # required
      domain_owner: "AccountId",
      repository: "RepositoryName", # required
      format: "npm", # required, accepts npm, pypi, maven, nuget
      namespace: "PackageNamespace",
      package: "PackageName", # required
      versions: ["PackageVersion"], # required
      version_revisions: {
        "PackageVersion" => "PackageVersionRevision",
      },
      expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
    }

@!attribute [rw] domain

The name of the domain that contains the repository you want to
dispose.
@return [String]

@!attribute [rw] domain_owner

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

@!attribute [rw] repository

The name of the repository that contains the package versions you
want to dispose.
@return [String]

@!attribute [rw] format

A format that specifies the type of package versions you want to
dispose. The valid values are:

* `npm`

* `pypi`

* `maven`
@return [String]

@!attribute [rw] namespace

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.
@return [String]

@!attribute [rw] package

The name of the package with the versions you want to dispose.
@return [String]

@!attribute [rw] versions

The versions of the package you want to dispose.
@return [Array<String>]

@!attribute [rw] version_revisions

The revisions of the package versions you want to dispose.
@return [Hash<String,String>]

@!attribute [rw] expected_status

The expected status of the package version to dispose. Valid values
are:

* `Published`

* `Unfinished`

* `Unlisted`

* `Archived`

* `Disposed`
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisposePackageVersionsRequest AWS API Documentation

Constants

SENSITIVE