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


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

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


    my $api.sagemaker = Paws->service('SageMaker');
    my $ListTrainingJobsResponse = $api . sagemaker->ListTrainingJobs(
      CreationTimeAfter      => '1970-01-01T01:00:00',    # OPTIONAL
      CreationTimeBefore     => '1970-01-01T01:00:00',    # OPTIONAL
      LastModifiedTimeAfter  => '1970-01-01T01:00:00',    # OPTIONAL
      LastModifiedTimeBefore => '1970-01-01T01:00:00',    # OPTIONAL
      MaxResults             => 1,                        # OPTIONAL
      NameContains           => 'MyNameContains',         # OPTIONAL
      NextToken              => 'MyNextToken',            # OPTIONAL
      SortBy                 => 'Name',                   # OPTIONAL
      SortOrder              => 'Ascending',              # OPTIONAL
      StatusEquals           => 'InProgress',             # OPTIONAL

    # Results:
    my $NextToken            = $ListTrainingJobsResponse->NextToken;
    my $TrainingJobSummaries = $ListTrainingJobsResponse->TrainingJobSummaries;

    # Returns a L<Paws::SageMaker::ListTrainingJobsResponse> 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


CreationTimeAfter => Str

A filter that returns only training jobs created after the specified time (timestamp).

CreationTimeBefore => Str

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

LastModifiedTimeAfter => Str

A filter that returns only training jobs modified after the specified time (timestamp).

LastModifiedTimeBefore => Str

A filter that returns only training jobs modified before the specified time (timestamp).

MaxResults => Int

The maximum number of training jobs to return in the response.

NameContains => Str

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

NextToken => Str

If the result of the previous ListTrainingJobs request was truncated, the response includes a NextToken. To retrieve the next set of training jobs, use the token in the next request.

SortBy => Str

The field to sort results by. The default is CreationTime.

Valid values are: "Name", "CreationTime", "Status"

SortOrder => Str

The sort order for results. The default is Ascending.

Valid values are: "Ascending", "Descending"

StatusEquals => Str

A filter that retrieves only training jobs with a specific status.

Valid values are: "InProgress", "Completed", "Failed", "Stopping", "Stopped"


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


The source code is located here:

Please report bugs to: