The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::SageMaker::ListModels - Arguments for method ListModels on Paws::SageMaker

DESCRIPTION

This class represents the parameters used for calling the method ListModels on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method ListModels.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListModels.

SYNOPSIS

my $api.sagemaker = Paws->service('SageMaker');
my $ListModelsOutput = $api . sagemaker->ListModels(
  CreationTimeAfter  => '1970-01-01T01:00:00',    # OPTIONAL
  CreationTimeBefore => '1970-01-01T01:00:00',    # OPTIONAL
  MaxResults         => 1,                        # OPTIONAL
  NameContains       => 'MyModelNameContains',    # OPTIONAL
  NextToken          => 'MyPaginationToken',      # OPTIONAL
  SortBy             => 'Name',                   # OPTIONAL
  SortOrder          => 'Ascending',              # OPTIONAL
);

# Results:
my $Models    = $ListModelsOutput->Models;
my $NextToken = $ListModelsOutput->NextToken;

# Returns a L<Paws::SageMaker::ListModelsOutput> 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/ListModels

ATTRIBUTES

CreationTimeAfter => Str

A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).

CreationTimeBefore => Str

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

MaxResults => Int

The maximum number of models to return in the response.

NameContains => Str

A string in the training job name. This filter returns only models in the training job whose name contains the specified string.

NextToken => Str

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

SortBy => Str

Sorts the list of results. The default is CreationTime.

Valid values are: "Name", "CreationTime"

SortOrder => Str

The sort order for results. The default is Descending.

Valid values are: "Ascending", "Descending"

SEE ALSO

This class forms part of Paws, documenting arguments for method ListModels in Paws::SageMaker

BUGS and CONTRIBUTIONS

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