AWS SDK Version 4 for .NET
API Reference

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.

This is the response object from the GetPackageVersionAsset operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.CodeArtifact.Model.GetPackageVersionAssetResponse

Namespace: Amazon.CodeArtifact.Model
Assembly: AWSSDK.CodeArtifact.dll
Version: 3.x.y.z

Syntax

C#
public class GetPackageVersionAssetResponse : AmazonWebServiceResponse
         IDisposable

The GetPackageVersionAssetResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Asset System.IO.Stream

Gets and sets the property Asset.

The binary file, or asset, that is downloaded.

Public Property AssetName System.String

Gets and sets the property AssetName.

The name of the asset that is downloaded.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property PackageVersion System.String

Gets and sets the property PackageVersion.

A string that contains the package version (for example, 3.5.2).

Public Property PackageVersionRevision System.String

Gets and sets the property PackageVersionRevision.

The name of the package version revision that contains the downloaded asset.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.7.2 or higher.

NameDescription
Public Method Dispose()

Disposes of all managed and unmanaged resources.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer