AWS SDK Version 3 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.

Container for the parameters to the ListModelPackages operation. Lists the model packages that have been created.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SageMaker.AmazonSageMakerRequest
      Amazon.SageMaker.Model.ListModelPackagesRequest

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

Syntax

C#
public class ListModelPackagesRequest : AmazonSageMakerRequest
         IAmazonWebServiceRequest

The ListModelPackagesRequest type exposes the following members

Constructors

NameDescription
Public Method ListModelPackagesRequest()

Properties

NameTypeDescription
Public Property CreationTimeAfter System.DateTime

Gets and sets the property CreationTimeAfter.

A filter that returns only model packages created after the specified time (timestamp).

Public Property CreationTimeBefore System.DateTime

Gets and sets the property CreationTimeBefore.

A filter that returns only model packages created before the specified time (timestamp).

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of model packages to return in the response.

Public Property ModelApprovalStatus Amazon.SageMaker.ModelApprovalStatus

Gets and sets the property ModelApprovalStatus.

A filter that returns only the model packages with the specified approval status.

Public Property ModelPackageGroupName System.String

Gets and sets the property ModelPackageGroupName.

A filter that returns only model versions that belong to the specified model group.

Public Property ModelPackageType Amazon.SageMaker.ModelPackageType

Gets and sets the property ModelPackageType.

A filter that returns only the model packages of the specified type. This can be one of the following values.

  • UNVERSIONED - List only unversioined models. This is the default value if no ModelPackageType is specified.

  • VERSIONED - List only versioned models.

  • BOTH - List both versioned and unversioned models.

Public Property NameContains System.String

Gets and sets the property NameContains.

A string in the model package name. This filter returns only model packages whose name contains the specified string.

Public Property NextToken System.String

Gets and sets the property NextToken.

If the response to a previous ListModelPackages request was truncated, the response includes a NextToken. To retrieve the next set of model packages, use the token in the next request.

Public Property SortBy Amazon.SageMaker.ModelPackageSortBy

Gets and sets the property SortBy.

The parameter by which to sort the results. The default is CreationTime.

Public Property SortOrder Amazon.SageMaker.SortOrder

Gets and sets the property SortOrder.

The sort order for the results. The default is Ascending.

Version Information

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

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5