class Aws::CodeArtifact::Types::UpdatePackageVersionsStatusRequest

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

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
      target_status: "Published", # required, accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
    }

@!attribute [rw] domain

The name of the domain that contains the repository that contains
the package versions with a status to be updated.
@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 repository that contains the package versions with the status
you want to update.
@return [String]

@!attribute [rw] format

A format that specifies the type of the package with the statuses to
update. 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 version statuses to update.
@return [String]

@!attribute [rw] versions

An array of strings that specify the versions of the package with
the statuses to update.
@return [Array<String>]

@!attribute [rw] version_revisions

A map of package versions and package version revisions. The map
`key` is the package version (for example, `3.5.2`), and the map
`value` is the package version revision.
@return [Hash<String,String>]

@!attribute [rw] expected_status

The package version’s expected status before it is updated. If
`expectedStatus` is provided, the package version's status is
updated only if its status at the time `UpdatePackageVersionsStatus`
is called matches `expectedStatus`.
@return [String]

@!attribute [rw] target_status

The status you want to change the package version status to.
@return [String]

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

Constants

SENSITIVE