You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeArtifact::Types::DisposePackageVersionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DisposePackageVersionsRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

The name of the domain that contains the repository you want to dispose.

Returns:

  • (String)

    The name of the domain that contains the repository you want to dispose.

#domain_ownerString

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

Returns:

  • (String)

    The 12-digit account number of the AWS account that owns the domain.

#expected_statusString

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

  • Published

  • Unfinished

  • Unlisted

  • Archived

  • Disposed

    Possible values:

    • Published
    • Unfinished
    • Unlisted
    • Archived
    • Disposed
    • Deleted

Returns:

  • (String)

    The expected status of the package version to dispose.

#formatString

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

  • npm

  • pypi

  • maven

    Possible values:

    • npm
    • pypi
    • maven

Returns:

  • (String)

    A format that specifies the type of package versions you want to dispose.

#namespaceString

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.

Returns:

  • (String)

    The namespace of the package.

#packageString

The name of the package with the versions you want to dispose.

Returns:

  • (String)

    The name of the package with the versions you want to dispose.

#repositoryString

The name of the repository that contains the package versions you want to dispose.

Returns:

  • (String)

    The name of the repository that contains the package versions you want to dispose.

#version_revisionsHash<String,String>

The revisions of the package versions you want to dispose.

Returns:

  • (Hash<String,String>)

    The revisions of the package versions you want to dispose.

#versionsArray<String>

The versions of the package you want to dispose.

Returns:

  • (Array<String>)

    The versions of the package you want to dispose.