Class: Aws::CodeArtifact::Types::DisposePackageVersionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::DisposePackageVersionsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
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
-
#domain ⇒ String
The name of the domain that contains the repository you want to dispose.
-
#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 dispose.
-
#format ⇒ String
A format that specifies the type of package versions you want to dispose.
-
#namespace ⇒ String
The namespace of the package versions to be disposed.
-
#package ⇒ String
The name of the package with the versions you want to dispose.
-
#repository ⇒ String
The name of the repository that contains the package versions you want to dispose.
-
#version_revisions ⇒ Hash<String,String>
The revisions of the package versions you want to dispose.
-
#versions ⇒ Array<String>
The versions of the package you want to dispose.
Instance Attribute Details
#domain ⇒ String
The name of the domain that contains the repository you want to dispose.
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1103 class DisposePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :version_revisions, :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.
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1103 class DisposePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :version_revisions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#expected_status ⇒ String
The expected status of the package version to dispose.
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1103 class DisposePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :version_revisions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#format ⇒ String
A format that specifies the type of package versions you want to dispose.
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1103 class DisposePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :version_revisions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#namespace ⇒ String
The namespace of the package versions to be disposed. 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 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.
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1103 class DisposePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :version_revisions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#package ⇒ String
The name of the package with the versions you want to dispose.
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1103 class DisposePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :version_revisions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#repository ⇒ String
The name of the repository that contains the package versions you want to dispose.
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1103 class DisposePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :version_revisions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#version_revisions ⇒ Hash<String,String>
The revisions of the package versions you want to dispose.
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1103 class DisposePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :version_revisions, :expected_status) SENSITIVE = [] include Aws::Structure end |
#versions ⇒ Array<String>
The versions of the package you want to dispose.
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1103 class DisposePackageVersionsRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :versions, :version_revisions, :expected_status) SENSITIVE = [] include Aws::Structure end |