You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeArtifact::Types::GetPackageVersionAssetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::GetPackageVersionAssetRequest
- Defined in:
- (unknown)
Overview
When passing GetPackageVersionAssetRequest 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
asset: "AssetName", # required
package_version_revision: "PackageVersionRevision",
}
Instance Attribute Summary collapse
-
#asset ⇒ String
The name of the requested asset.
-
#domain ⇒ String
The domain that contains the repository that contains the package version with the requested asset.
-
#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 package version with the requested asset file.
-
#namespace ⇒ String
The namespace of the package.
-
#package ⇒ String
The name of the package that contains the requested asset.
-
#package_version ⇒ String
A string that contains the package version (for example,
3.5.2
). -
#package_version_revision ⇒ String
The name of the package version revision that contains the requested asset.
-
#repository ⇒ String
The repository that contains the package version with the requested asset.
Instance Attribute Details
#asset ⇒ String
The name of the requested asset.
#domain ⇒ String
The domain that contains the repository that contains the package version with the requested asset.
#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 package version with the requested asset file. 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 package that contains the requested asset.
#package_version ⇒ String
A string that contains the package version (for example, 3.5.2
).
#package_version_revision ⇒ String
The name of the package version revision that contains the requested asset.
#repository ⇒ String
The repository that contains the package version with the requested asset.