Class: Aws::CodeArtifact::Types::DeletePackageVersionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::DeletePackageVersionsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
When making an API call, you may pass DeletePackageVersionsRequest 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
expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain that contains the package to delete.
-
#domain_owner ⇒ String
The 12-digit account number of the Amazon Web Services account that owns the domain.
-
#expected_status ⇒ String
The expected status of the package version to delete.
-
#format ⇒ String
The format of the package versions to delete.
-
#namespace ⇒ String
The namespace of the package versions to be deleted.
-
#package ⇒ String
The name of the package with the versions to delete.
-
#repository ⇒ String
The name of the repository that contains the package versions to delete.
-
#versions ⇒ Array<String>
An array of strings that specify the versions of the package to delete.
Instance Attribute Details
#domain ⇒ String
The name of the domain that contains the package to delete.
591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 591 class DeletePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#domain_owner ⇒ String
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 591 class DeletePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#expected_status ⇒ String
The expected status of the package version to delete.
591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 591 class DeletePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#format ⇒ String
The format of the package versions to delete.
591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 591 class DeletePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#namespace ⇒ String
The namespace of the package versions to be deleted. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its `groupId`. The namespace is required when deleting Maven package versions.
-
The namespace of an npm package version is its `scope`.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 591 class DeletePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#package ⇒ String
The name of the package with the versions to delete.
591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 591 class DeletePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#repository ⇒ String
The name of the repository that contains the package versions to delete.
591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 591 class DeletePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#versions ⇒ Array<String>
An array of strings that specify the versions of the package to delete.
591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 591 class DeletePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :expected_status) SENSITIVE = [] include Aws::Structure end |