blib/lib/Paws/SageMaker/ListTrainingJobs.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SageMaker::ListTrainingJobs;
3 use Moose;
4 has CreationTimeAfter => (is => 'ro', isa => 'Str');
5 has CreationTimeBefore => (is => 'ro', isa => 'Str');
6 has LastModifiedTimeAfter => (is => 'ro', isa => 'Str');
7 has LastModifiedTimeBefore => (is => 'ro', isa => 'Str');
8 has MaxResults => (is => 'ro', isa => 'Int');
9 has NameContains => (is => 'ro', isa => 'Str');
10 has NextToken => (is => 'ro', isa => 'Str');
11 has SortBy => (is => 'ro', isa => 'Str');
12 has SortOrder => (is => 'ro', isa => 'Str');
13 has StatusEquals => (is => 'ro', isa => 'Str');
14  
15 use MooseX::ClassAttribute;
16  
17 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListTrainingJobs');
18 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::ListTrainingJobsResponse');
19 class_has _result_key => (isa => 'Str', is => 'ro');
20 1;
21  
22 ### main pod documentation begin ###
23  
24 =head1 NAME
25  
26 Paws::SageMaker::ListTrainingJobs - Arguments for method ListTrainingJobs on L<Paws::SageMaker>
27  
28 =head1 DESCRIPTION
29  
30 This class represents the parameters used for calling the method ListTrainingJobs on the
31 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
32 as arguments to method ListTrainingJobs.
33  
34 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTrainingJobs.
35  
36 =head1 SYNOPSIS
37  
38 my $api.sagemaker = Paws->service('SageMaker');
39 my $ListTrainingJobsResponse = $api . sagemaker->ListTrainingJobs(
40 CreationTimeAfter => '1970-01-01T01:00:00', # OPTIONAL
41 CreationTimeBefore => '1970-01-01T01:00:00', # OPTIONAL
42 LastModifiedTimeAfter => '1970-01-01T01:00:00', # OPTIONAL
43 LastModifiedTimeBefore => '1970-01-01T01:00:00', # OPTIONAL
44 MaxResults => 1, # OPTIONAL
45 NameContains => 'MyNameContains', # OPTIONAL
46 NextToken => 'MyNextToken', # OPTIONAL
47 SortBy => 'Name', # OPTIONAL
48 SortOrder => 'Ascending', # OPTIONAL
49 StatusEquals => 'InProgress', # OPTIONAL
50 );
51  
52 # Results:
53 my $NextToken = $ListTrainingJobsResponse->NextToken;
54 my $TrainingJobSummaries = $ListTrainingJobsResponse->TrainingJobSummaries;
55  
56 # Returns a L<Paws::SageMaker::ListTrainingJobsResponse> object.
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/ListTrainingJobs>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 CreationTimeAfter => Str
65  
66 A filter that returns only training jobs created after the specified
67 time (timestamp).
68  
69  
70  
71 =head2 CreationTimeBefore => Str
72  
73 A filter that returns only training jobs created before the specified
74 time (timestamp).
75  
76  
77  
78 =head2 LastModifiedTimeAfter => Str
79  
80 A filter that returns only training jobs modified after the specified
81 time (timestamp).
82  
83  
84  
85 =head2 LastModifiedTimeBefore => Str
86  
87 A filter that returns only training jobs modified before the specified
88 time (timestamp).
89  
90  
91  
92 =head2 MaxResults => Int
93  
94 The maximum number of training jobs to return in the response.
95  
96  
97  
98 =head2 NameContains => Str
99  
100 A string in the training job name. This filter returns only training
101 jobs whose name contains the specified string.
102  
103  
104  
105 =head2 NextToken => Str
106  
107 If the result of the previous C<ListTrainingJobs> request was
108 truncated, the response includes a C<NextToken>. To retrieve the next
109 set of training jobs, use the token in the next request.
110  
111  
112  
113 =head2 SortBy => Str
114  
115 The field to sort results by. The default is C<CreationTime>.
116  
117 Valid values are: C<"Name">, C<"CreationTime">, C<"Status">
118  
119 =head2 SortOrder => Str
120  
121 The sort order for results. The default is C<Ascending>.
122  
123 Valid values are: C<"Ascending">, C<"Descending">
124  
125 =head2 StatusEquals => Str
126  
127 A filter that retrieves only training jobs with a specific status.
128  
129 Valid values are: C<"InProgress">, C<"Completed">, C<"Failed">, C<"Stopping">, C<"Stopped">
130  
131  
132 =head1 SEE ALSO
133  
134 This class forms part of L<Paws>, documenting arguments for method ListTrainingJobs in L<Paws::SageMaker>
135  
136 =head1 BUGS and CONTRIBUTIONS
137  
138 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
139  
140 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
141  
142 =cut
143