AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the GetPackageVersionAsset operation.
Returns an asset (or file) that is in a package. For example, for a Maven package
version, use GetPackageVersionAsset
to download a JAR
file, a POM
file, or any other assets in the package version.
Namespace: Amazon.CodeArtifact.Model
Assembly: AWSSDK.CodeArtifact.dll
Version: 3.x.y.z
public class GetPackageVersionAssetRequest : AmazonCodeArtifactRequest IAmazonWebServiceRequest
The GetPackageVersionAssetRequest type exposes the following members
Name | Description | |
---|---|---|
GetPackageVersionAssetRequest() |
Name | Type | Description | |
---|---|---|---|
Asset | System.String |
Gets and sets the property Asset. The name of the requested asset. |
|
Domain | System.String |
Gets and sets the property Domain. The name of the domain that contains the repository that contains the package version with the requested asset. |
|
DomainOwner | System.String |
Gets and sets the property DomainOwner. The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. |
|
Format | Amazon.CodeArtifact.PackageFormat |
Gets and sets the property Format. A format that specifies the type of the package version with the requested asset file. |
|
Namespace | System.String |
Gets and sets the property Namespace. The namespace of the package version with the requested asset file. The package component that specifies its namespace depends on its type. For example: The namespace is required when requesting assets from package versions of the following formats:
|
|
Package | System.String |
Gets and sets the property Package. The name of the package that contains the requested asset. |
|
PackageVersion | System.String |
Gets and sets the property PackageVersion.
A string that contains the package version (for example, |
|
PackageVersionRevision | System.String |
Gets and sets the property PackageVersionRevision. The name of the package version revision that contains the requested asset. |
|
Repository | System.String |
Gets and sets the property Repository. The repository that contains the package version with the requested asset. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5