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 ListPackageVersionAssets operation.

Inheritance Hierarchy

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

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

Syntax

C#
public class ListPackageVersionAssetsResponse : AmazonWebServiceResponse

The ListPackageVersionAssetsResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Assets System.Collections.Generic.List<Amazon.CodeArtifact.Model.AssetSummary>

Gets and sets the property Assets.

The returned list of AssetSummary objects.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Format Amazon.CodeArtifact.PackageFormat

Gets and sets the property Format.

The format of the package that contains the requested package version assets.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Namespace System.String

Gets and sets the property Namespace.

The namespace of the package version that contains the requested package version assets. The package 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 or Swift package version is its scope.

  • The namespace of a generic package is its namespace.

  • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

Public Property NextToken System.String

Gets and sets the property NextToken.

If there are additional results, this is the token for the next set of results.

Public Property Package System.String

Gets and sets the property Package.

The name of the package that contains the requested package version assets.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Version System.String

Gets and sets the property Version.

The version of the package associated with the requested assets.

Public Property VersionRevision System.String

Gets and sets the property VersionRevision.

The current revision associated with the package version.

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