Paws::SageMaker::ListModelPackages - Arguments for method ListModelPackages on Paws::SageMaker
This class represents the parameters used for calling the method ListModelPackages on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method ListModelPackages.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListModelPackages.
my $api.sagemaker = Paws->service('SageMaker'); my $ListModelPackagesOutput = $api . sagemaker->ListModelPackages( CreationTimeAfter => '1970-01-01T01:00:00', # OPTIONAL CreationTimeBefore => '1970-01-01T01:00:00', # OPTIONAL MaxResults => 1, # OPTIONAL ModelApprovalStatus => 'Approved', # OPTIONAL ModelPackageGroupName => 'MyArnOrName', # OPTIONAL ModelPackageType => 'Versioned', # OPTIONAL NameContains => 'MyNameContains', # OPTIONAL NextToken => 'MyNextToken', # OPTIONAL SortBy => 'Name', # OPTIONAL SortOrder => 'Ascending', # OPTIONAL ); # Results: my $ModelPackageSummaryList = $ListModelPackagesOutput->ModelPackageSummaryList; my $NextToken = $ListModelPackagesOutput->NextToken; # Returns a L<Paws::SageMaker::ListModelPackagesOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/ListModelPackages
A filter that returns only model packages created after the specified time (timestamp).
A filter that returns only model packages created before the specified time (timestamp).
The maximum number of model packages to return in the response.
A filter that returns only the model packages with the specified approval status.
Valid values are: "Approved", "Rejected", "PendingManualApproval"
"Approved"
"Rejected"
"PendingManualApproval"
A filter that returns only model versions that belong to the specified model group.
A filter that returns onlyl the model packages of the specified type. This can be one of the following values.
VERSIONED - List only versioned models.
VERSIONED
UNVERSIONED - List only unversioined models.
UNVERSIONED
BOTH - List both versioned and unversioned models.
BOTH
Valid values are: "Versioned", "Unversioned", "Both"
"Versioned"
"Unversioned"
"Both"
A string in the model package name. This filter returns only model packages whose name contains the specified string.
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.
ListModelPackages
NextToken
The parameter by which to sort the results. The default is CreationTime.
CreationTime
Valid values are: "Name", "CreationTime"
"Name"
"CreationTime"
The sort order for the results. The default is Ascending.
Ascending
Valid values are: "Ascending", "Descending"
"Ascending"
"Descending"
This class forms part of Paws, documenting arguments for method ListModelPackages in Paws::SageMaker
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.