You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeArtifact::Types::DescribePackageVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::DescribePackageVersionRequest
- Defined in:
- (unknown)
Overview
When passing DescribePackageVersionRequest 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
package_version: "PackageVersion", # required
}
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain that contains the repository that contains the package version.
-
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain.
-
#format ⇒ String
A format that specifies the type of the requested package version.
-
#namespace ⇒ String
The namespace of the package.
-
#package ⇒ String
The name of the requested package version.
-
#package_version ⇒ String
A string that contains the package version (for example,
3.5.2
). -
#repository ⇒ String
The name of the repository that contains the package version.
Instance Attribute Details
#domain ⇒ String
The name of the domain that contains the repository that contains the package version.
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
#format ⇒ String
A format that specifies the type of the requested package version. The valid values are:
npm
pypi
maven
Possible values:
- npm
- pypi
- maven
#namespace ⇒ String
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.
#package ⇒ String
The name of the requested package version.
#package_version ⇒ String
A string that contains the package version (for example, 3.5.2
).
#repository ⇒ String
The name of the repository that contains the package version.