« blib/lib/Paws/SageMaker/ListModelQualityJobDefinitionsResponse.pm
↑ Summary
blib/lib/Paws/SageMaker/ListModelsOutput.pm »
| 1 | |||
| 2 | package Paws::SageMaker::ListModels; | ||
| 3 | use Moose; | ||
| 4 | has CreationTimeAfter => (is => 'ro', isa => 'Str'); | ||
| 5 | has CreationTimeBefore => (is => 'ro', isa => 'Str'); | ||
| 6 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 7 | has NameContains => (is => 'ro', isa => 'Str'); | ||
| 8 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 9 | has SortBy => (is => 'ro', isa => 'Str'); | ||
| 10 | has SortOrder => (is => 'ro', isa => 'Str'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListModels'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::ListModelsOutput'); | ||
| 16 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::SageMaker::ListModels - Arguments for method ListModels on L<Paws::SageMaker> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method ListModels on the | ||
| 28 | L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class | ||
| 29 | as arguments to method ListModels. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListModels. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $api.sagemaker = Paws->service('SageMaker'); | ||
| 36 | my $ListModelsOutput = $api . sagemaker->ListModels( | ||
| 37 | CreationTimeAfter => '1970-01-01T01:00:00', # OPTIONAL | ||
| 38 | CreationTimeBefore => '1970-01-01T01:00:00', # OPTIONAL | ||
| 39 | MaxResults => 1, # OPTIONAL | ||
| 40 | NameContains => 'MyModelNameContains', # OPTIONAL | ||
| 41 | NextToken => 'MyPaginationToken', # OPTIONAL | ||
| 42 | SortBy => 'Name', # OPTIONAL | ||
| 43 | SortOrder => 'Ascending', # OPTIONAL | ||
| 44 | ); | ||
| 45 | |||
| 46 | # Results: | ||
| 47 | my $Models = $ListModelsOutput->Models; | ||
| 48 | my $NextToken = $ListModelsOutput->NextToken; | ||
| 49 | |||
| 50 | # Returns a L<Paws::SageMaker::ListModelsOutput> object. | ||
| 51 | |||
| 52 | 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. | ||
| 53 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/ListModels> | ||
| 54 | |||
| 55 | =head1 ATTRIBUTES | ||
| 56 | |||
| 57 | |||
| 58 | =head2 CreationTimeAfter => Str | ||
| 59 | |||
| 60 | A filter that returns only models with a creation time greater than or | ||
| 61 | equal to the specified time (timestamp). | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 CreationTimeBefore => Str | ||
| 66 | |||
| 67 | A filter that returns only models created before the specified time | ||
| 68 | (timestamp). | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 MaxResults => Int | ||
| 73 | |||
| 74 | The maximum number of models to return in the response. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 NameContains => Str | ||
| 79 | |||
| 80 | A string in the training job name. This filter returns only models in | ||
| 81 | the training job whose name contains the specified string. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head2 NextToken => Str | ||
| 86 | |||
| 87 | If the response to a previous C<ListModels> request was truncated, the | ||
| 88 | response includes a C<NextToken>. To retrieve the next set of models, | ||
| 89 | use the token in the next request. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 SortBy => Str | ||
| 94 | |||
| 95 | Sorts the list of results. The default is C<CreationTime>. | ||
| 96 | |||
| 97 | Valid values are: C<"Name">, C<"CreationTime"> | ||
| 98 | |||
| 99 | =head2 SortOrder => Str | ||
| 100 | |||
| 101 | The sort order for results. The default is C<Descending>. | ||
| 102 | |||
| 103 | Valid values are: C<"Ascending">, C<"Descending"> | ||
| 104 | |||
| 105 | |||
| 106 | =head1 SEE ALSO | ||
| 107 | |||
| 108 | This class forms part of L<Paws>, documenting arguments for method ListModels in L<Paws::SageMaker> | ||
| 109 | |||
| 110 | =head1 BUGS and CONTRIBUTIONS | ||
| 111 | |||
| 112 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 113 | |||
| 114 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 115 | |||
| 116 | =cut | ||
| 117 |