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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeartifact/types.rb

Overview

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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

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

Returns:

  • (String)


1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/aws-sdk-codeartifact/types.rb', line 1063

class DisposePackageVersionsRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status)
  SENSITIVE = []
  include Aws::Structure
end

#domain_ownerString

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

Returns:

  • (String)


1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/aws-sdk-codeartifact/types.rb', line 1063

class DisposePackageVersionsRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status)
  SENSITIVE = []
  include Aws::Structure
end

#expected_statusString

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

  • `Published`

  • `Unfinished`

  • `Unlisted`

  • `Archived`

  • `Disposed`

Returns:

  • (String)


1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/aws-sdk-codeartifact/types.rb', line 1063

class DisposePackageVersionsRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

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

  • `npm`

  • `pypi`

  • `maven`

Returns:

  • (String)


1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/aws-sdk-codeartifact/types.rb', line 1063

class DisposePackageVersionsRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status)
  SENSITIVE = []
  include Aws::Structure
end

#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)


1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/aws-sdk-codeartifact/types.rb', line 1063

class DisposePackageVersionsRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status)
  SENSITIVE = []
  include Aws::Structure
end

#packageString

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

Returns:

  • (String)


1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/aws-sdk-codeartifact/types.rb', line 1063

class DisposePackageVersionsRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status)
  SENSITIVE = []
  include Aws::Structure
end

#repositoryString

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

Returns:

  • (String)


1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/aws-sdk-codeartifact/types.rb', line 1063

class DisposePackageVersionsRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status)
  SENSITIVE = []
  include Aws::Structure
end

#version_revisionsHash<String,String>

The revisions of the package versions you want to dispose.

Returns:

  • (Hash<String,String>)


1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/aws-sdk-codeartifact/types.rb', line 1063

class DisposePackageVersionsRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status)
  SENSITIVE = []
  include Aws::Structure
end

#versionsArray<String>

The versions of the package you want to dispose.

Returns:

  • (Array<String>)


1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/aws-sdk-codeartifact/types.rb', line 1063

class DisposePackageVersionsRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status)
  SENSITIVE = []
  include Aws::Structure
end