blib/lib/Paws/LookoutVision.pm untested

filter: Statementstmt 0.0% 0 / 130 Branchbran 0.0% 0 / 12 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 28 Podpod 0.0% 0 / 27 totaltotal 0.0% 0 / 197 CC 7 SCAR 15.4
CC
7
Cov
0%
ListAllDatasetEntries
12.0
ListAllModels
12.0
ListAllProjects
12.0
CRAP 4.6
1 package Paws::LookoutVision;
2 use Moose;
3 sub service { 'lookoutvision' }
4 sub signing_name { 'lookoutvision' }
5 sub version { '2020-11-20' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub CreateDataset {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::LookoutVision::CreateDataset', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub CreateModel {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::LookoutVision::CreateModel', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub CreateProject {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::LookoutVision::CreateProject', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub DeleteDataset {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::LookoutVision::DeleteDataset', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub DeleteModel {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::LookoutVision::DeleteModel', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub DeleteProject {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::LookoutVision::DeleteProject', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub DescribeDataset {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::LookoutVision::DescribeDataset', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub DescribeModel {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::LookoutVision::DescribeModel', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub DescribeProject {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::LookoutVision::DescribeProject', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub DetectAnomalies {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::LookoutVision::DetectAnomalies', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub ListDatasetEntries {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::LookoutVision::ListDatasetEntries', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub ListModels {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::LookoutVision::ListModels', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub ListProjects {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::LookoutVision::ListProjects', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub ListTagsForResource {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::LookoutVision::ListTagsForResource', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub StartModel {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::LookoutVision::StartModel', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub StopModel {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::LookoutVision::StopModel', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub TagResource {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::LookoutVision::TagResource', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub UntagResource {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::LookoutVision::UntagResource', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub UpdateDatasetEntries {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::LookoutVision::UpdateDatasetEntries', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112
113 sub ListAllDatasetEntries {
114 my $self = shift;
115  
116 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
117 my $result = $self->ListDatasetEntries(@_);
118 my $next_result = $result;
119  
120 if (not defined $callback) {
121 while ($next_result->NextToken) {
122 $next_result = $self->ListDatasetEntries(@_, NextToken => $next_result->NextToken);
123 push @{ $result->DatasetEntries }, @{ $next_result->DatasetEntries };
124 }
125 return $result;
126 } else {
127 while ($result->NextToken) {
128 $callback->($_ => 'DatasetEntries') foreach (@{ $result->DatasetEntries });
129 $result = $self->ListDatasetEntries(@_, NextToken => $result->NextToken);
130 }
131 $callback->($_ => 'DatasetEntries') foreach (@{ $result->DatasetEntries });
132 }
133  
134 return undef
135 }
136 sub ListAllModels {
137 my $self = shift;
138  
139 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
140 my $result = $self->ListModels(@_);
141 my $next_result = $result;
142  
143 if (not defined $callback) {
144 while ($next_result->NextToken) {
145 $next_result = $self->ListModels(@_, NextToken => $next_result->NextToken);
146 push @{ $result->Models }, @{ $next_result->Models };
147 }
148 return $result;
149 } else {
150 while ($result->NextToken) {
151 $callback->($_ => 'Models') foreach (@{ $result->Models });
152 $result = $self->ListModels(@_, NextToken => $result->NextToken);
153 }
154 $callback->($_ => 'Models') foreach (@{ $result->Models });
155 }
156  
157 return undef
158 }
159 sub ListAllProjects {
160 my $self = shift;
161  
162 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
163 my $result = $self->ListProjects(@_);
164 my $next_result = $result;
165  
166 if (not defined $callback) {
167 while ($next_result->NextToken) {
168 $next_result = $self->ListProjects(@_, NextToken => $next_result->NextToken);
169 push @{ $result->Projects }, @{ $next_result->Projects };
170 }
171 return $result;
172 } else {
173 while ($result->NextToken) {
174 $callback->($_ => 'Projects') foreach (@{ $result->Projects });
175 $result = $self->ListProjects(@_, NextToken => $result->NextToken);
176 }
177 $callback->($_ => 'Projects') foreach (@{ $result->Projects });
178 }
179  
180 return undef
181 }
182  
183  
184 sub operations { qw/CreateDataset CreateModel CreateProject DeleteDataset DeleteModel DeleteProject DescribeDataset DescribeModel DescribeProject DetectAnomalies ListDatasetEntries ListModels ListProjects ListTagsForResource StartModel StopModel TagResource UntagResource UpdateDatasetEntries / }
185  
186 1;
187  
188 ### main pod documentation begin ###
189  
190 =head1 NAME
191  
192 Paws::LookoutVision - Perl Interface to AWS Amazon Lookout for Vision
193  
194 =head1 SYNOPSIS
195  
196 use Paws;
197  
198 my $obj = Paws->service('LookoutVision');
199 my $res = $obj->Method(
200 Arg1 => $val1,
201 Arg2 => [ 'V1', 'V2' ],
202 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
203 # of the arguments type
204 Arg3 => { Att1 => 'Val1' },
205 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
206 # the constructor of the arguments type
207 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
208 );
209  
210 =head1 DESCRIPTION
211  
212 This is the Amazon Lookout for Vision API Reference. It provides
213 descriptions of actions, data types, common parameters, and common
214 errors.
215  
216 Amazon Lookout for Vision enables you to find visual defects in
217 industrial products, accurately and at scale. It uses computer vision
218 to identify missing components in an industrial product, damage to
219 vehicles or structures, irregularities in production lines, and even
220 minuscule defects in silicon wafers E<mdash> or any other physical item
221 where quality is important such as a missing capacitor on printed
222 circuit boards.
223  
224 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20>
225  
226  
227 =head1 METHODS
228  
229 =head2 CreateDataset
230  
231 =over
232  
233 =item DatasetType => Str
234  
235 =item ProjectName => Str
236  
237 =item [ClientToken => Str]
238  
239 =item [DatasetSource => L<Paws::LookoutVision::DatasetSource>]
240  
241  
242 =back
243  
244 Each argument is described in detail in: L<Paws::LookoutVision::CreateDataset>
245  
246 Returns: a L<Paws::LookoutVision::CreateDatasetResponse> instance
247  
248 Creates a new dataset in an Amazon Lookout for Vision project.
249 C<CreateDataset> can create a training or a test dataset from a valid
250 dataset source (C<DatasetSource>).
251  
252 If you want a single dataset project, specify C<train> for the value of
253 C<DatasetType>.
254  
255 To have a project with separate training and test datasets, call
256 C<CreateDataset> twice. On the first call, specify C<train> for the
257 value of C<DatasetType>. On the second call, specify C<test> for the
258 value of C<DatasetType>.
259  
260 This operation requires permissions to perform the
261 C<lookoutvision:CreateDataset> operation.
262  
263  
264 =head2 CreateModel
265  
266 =over
267  
268 =item OutputConfig => L<Paws::LookoutVision::OutputConfig>
269  
270 =item ProjectName => Str
271  
272 =item [ClientToken => Str]
273  
274 =item [Description => Str]
275  
276 =item [KmsKeyId => Str]
277  
278 =item [Tags => ArrayRef[L<Paws::LookoutVision::Tag>]]
279  
280  
281 =back
282  
283 Each argument is described in detail in: L<Paws::LookoutVision::CreateModel>
284  
285 Returns: a L<Paws::LookoutVision::CreateModelResponse> instance
286  
287 Creates a new version of a model within an an Amazon Lookout for Vision
288 project. C<CreateModel> is an asynchronous operation in which Amazon
289 Lookout for Vision trains, tests, and evaluates a new version of a
290 model.
291  
292 To get the current status, check the C<Status> field returned in the
293 response from DescribeModel.
294  
295 If the project has a single dataset, Amazon Lookout for Vision
296 internally splits the dataset to create a training and a test dataset.
297 If the project has a training and a test dataset, Lookout for Vision
298 uses the respective datasets to train and test the model.
299  
300 After training completes, the evaluation metrics are stored at the
301 location specified in C<OutputConfig>.
302  
303 This operation requires permissions to perform the
304 C<lookoutvision:CreateModel> operation. If you want to tag your model,
305 you also require permission to the C<lookoutvision:TagResource>
306 operation.
307  
308  
309 =head2 CreateProject
310  
311 =over
312  
313 =item ProjectName => Str
314  
315 =item [ClientToken => Str]
316  
317  
318 =back
319  
320 Each argument is described in detail in: L<Paws::LookoutVision::CreateProject>
321  
322 Returns: a L<Paws::LookoutVision::CreateProjectResponse> instance
323  
324 Creates an empty Amazon Lookout for Vision project. After you create
325 the project, add a dataset by calling CreateDataset.
326  
327 This operation requires permissions to perform the
328 C<lookoutvision:CreateProject> operation.
329  
330  
331 =head2 DeleteDataset
332  
333 =over
334  
335 =item DatasetType => Str
336  
337 =item ProjectName => Str
338  
339 =item [ClientToken => Str]
340  
341  
342 =back
343  
344 Each argument is described in detail in: L<Paws::LookoutVision::DeleteDataset>
345  
346 Returns: a L<Paws::LookoutVision::DeleteDatasetResponse> instance
347  
348 Deletes an existing Amazon Lookout for Vision C<dataset>.
349  
350 If your the project has a single dataset, you must create a new dataset
351 before you can create a model.
352  
353 If you project has a training dataset and a test dataset consider the
354 following.
355  
356 =over
357  
358 =item *
359  
360 If you delete the test dataset, your project reverts to a single
361 dataset project. If you then train the model, Amazon Lookout for Vision
362 internally splits the remaining dataset into a training and test
363 dataset.
364  
365 =item *
366  
367 If you delete the training dataset, you must create a training dataset
368 before you can create a model.
369  
370 =back
371  
372 This operation requires permissions to perform the
373 C<lookoutvision:DeleteDataset> operation.
374  
375  
376 =head2 DeleteModel
377  
378 =over
379  
380 =item ModelVersion => Str
381  
382 =item ProjectName => Str
383  
384 =item [ClientToken => Str]
385  
386  
387 =back
388  
389 Each argument is described in detail in: L<Paws::LookoutVision::DeleteModel>
390  
391 Returns: a L<Paws::LookoutVision::DeleteModelResponse> instance
392  
393 Deletes an Amazon Lookout for Vision model. You can't delete a running
394 model. To stop a running model, use the StopModel operation.
395  
396 It might take a few seconds to delete a model. To determine if a model
397 has been deleted, call ListProjects and check if the version of the
398 model (C<ModelVersion>) is in the C<Models> array.
399  
400 This operation requires permissions to perform the
401 C<lookoutvision:DeleteModel> operation.
402  
403  
404 =head2 DeleteProject
405  
406 =over
407  
408 =item ProjectName => Str
409  
410 =item [ClientToken => Str]
411  
412  
413 =back
414  
415 Each argument is described in detail in: L<Paws::LookoutVision::DeleteProject>
416  
417 Returns: a L<Paws::LookoutVision::DeleteProjectResponse> instance
418  
419 Deletes an Amazon Lookout for Vision project.
420  
421 To delete a project, you must first delete each version of the model
422 associated with the project. To delete a model use the DeleteModel
423 operation.
424  
425 You also have to delete the dataset(s) associated with the model. For
426 more information, see DeleteDataset. The images referenced by the
427 training and test datasets aren't deleted.
428  
429 This operation requires permissions to perform the
430 C<lookoutvision:DeleteProject> operation.
431  
432  
433 =head2 DescribeDataset
434  
435 =over
436  
437 =item DatasetType => Str
438  
439 =item ProjectName => Str
440  
441  
442 =back
443  
444 Each argument is described in detail in: L<Paws::LookoutVision::DescribeDataset>
445  
446 Returns: a L<Paws::LookoutVision::DescribeDatasetResponse> instance
447  
448 Describe an Amazon Lookout for Vision dataset.
449  
450 This operation requires permissions to perform the
451 C<lookoutvision:DescribeDataset> operation.
452  
453  
454 =head2 DescribeModel
455  
456 =over
457  
458 =item ModelVersion => Str
459  
460 =item ProjectName => Str
461  
462  
463 =back
464  
465 Each argument is described in detail in: L<Paws::LookoutVision::DescribeModel>
466  
467 Returns: a L<Paws::LookoutVision::DescribeModelResponse> instance
468  
469 Describes a version of an Amazon Lookout for Vision model.
470  
471 This operation requires permissions to perform the
472 C<lookoutvision:DescribeModel> operation.
473  
474  
475 =head2 DescribeProject
476  
477 =over
478  
479 =item ProjectName => Str
480  
481  
482 =back
483  
484 Each argument is described in detail in: L<Paws::LookoutVision::DescribeProject>
485  
486 Returns: a L<Paws::LookoutVision::DescribeProjectResponse> instance
487  
488 Describes an Amazon Lookout for Vision project.
489  
490 This operation requires permissions to perform the
491 C<lookoutvision:DescribeProject> operation.
492  
493  
494 =head2 DetectAnomalies
495  
496 =over
497  
498 =item Body => Str
499  
500 =item ContentType => Str
501  
502 =item ModelVersion => Str
503  
504 =item ProjectName => Str
505  
506  
507 =back
508  
509 Each argument is described in detail in: L<Paws::LookoutVision::DetectAnomalies>
510  
511 Returns: a L<Paws::LookoutVision::DetectAnomaliesResponse> instance
512  
513 Detects anomalies in an image that you supply.
514  
515 The response from C<DetectAnomalies> includes a boolean prediction that
516 the image contains one or more anomalies and a confidence value for the
517 prediction.
518  
519 Before calling C<DetectAnomalies>, you must first start your model with
520 the StartModel operation. You are charged for the amount of time, in
521 minutes, that a model runs and for the number of anomaly detection
522 units that your model uses. If you are not using a model, use the
523 StopModel operation to stop your model.
524  
525 This operation requires permissions to perform the
526 C<lookoutvision:DetectAnomalies> operation.
527  
528  
529 =head2 ListDatasetEntries
530  
531 =over
532  
533 =item DatasetType => Str
534  
535 =item ProjectName => Str
536  
537 =item [AfterCreationDate => Str]
538  
539 =item [AnomalyClass => Str]
540  
541 =item [BeforeCreationDate => Str]
542  
543 =item [Labeled => Bool]
544  
545 =item [MaxResults => Int]
546  
547 =item [NextToken => Str]
548  
549 =item [SourceRefContains => Str]
550  
551  
552 =back
553  
554 Each argument is described in detail in: L<Paws::LookoutVision::ListDatasetEntries>
555  
556 Returns: a L<Paws::LookoutVision::ListDatasetEntriesResponse> instance
557  
558 Lists the JSON Lines within a dataset. An Amazon Lookout for Vision
559 JSON Line contains the anomaly information for a single image,
560 including the image location and the assigned label.
561  
562 This operation requires permissions to perform the
563 C<lookoutvision:ListDatasetEntries> operation.
564  
565  
566 =head2 ListModels
567  
568 =over
569  
570 =item ProjectName => Str
571  
572 =item [MaxResults => Int]
573  
574 =item [NextToken => Str]
575  
576  
577 =back
578  
579 Each argument is described in detail in: L<Paws::LookoutVision::ListModels>
580  
581 Returns: a L<Paws::LookoutVision::ListModelsResponse> instance
582  
583 Lists the versions of a model in an Amazon Lookout for Vision project.
584  
585 This operation requires permissions to perform the
586 C<lookoutvision:ListModels> operation.
587  
588  
589 =head2 ListProjects
590  
591 =over
592  
593 =item [MaxResults => Int]
594  
595 =item [NextToken => Str]
596  
597  
598 =back
599  
600 Each argument is described in detail in: L<Paws::LookoutVision::ListProjects>
601  
602 Returns: a L<Paws::LookoutVision::ListProjectsResponse> instance
603  
604 Lists the Amazon Lookout for Vision projects in your AWS account.
605  
606 This operation requires permissions to perform the
607 C<lookoutvision:ListProjects> operation.
608  
609  
610 =head2 ListTagsForResource
611  
612 =over
613  
614 =item ResourceArn => Str
615  
616  
617 =back
618  
619 Each argument is described in detail in: L<Paws::LookoutVision::ListTagsForResource>
620  
621 Returns: a L<Paws::LookoutVision::ListTagsForResourceResponse> instance
622  
623 Returns a list of tags attached to the specified Amazon Lookout for
624 Vision model.
625  
626 This operation requires permissions to perform the
627 C<lookoutvision:ListTagsForResource> operation.
628  
629  
630 =head2 StartModel
631  
632 =over
633  
634 =item MinInferenceUnits => Int
635  
636 =item ModelVersion => Str
637  
638 =item ProjectName => Str
639  
640 =item [ClientToken => Str]
641  
642  
643 =back
644  
645 Each argument is described in detail in: L<Paws::LookoutVision::StartModel>
646  
647 Returns: a L<Paws::LookoutVision::StartModelResponse> instance
648  
649 Starts the running of the version of an Amazon Lookout for Vision
650 model. Starting a model takes a while to complete. To check the current
651 state of the model, use DescribeModel.
652  
653 A model is ready to use when its status is C<HOSTED>.
654  
655 Once the model is running, you can detect custom labels in new images
656 by calling DetectAnomalies.
657  
658 You are charged for the amount of time that the model is running. To
659 stop a running model, call StopModel.
660  
661 This operation requires permissions to perform the
662 C<lookoutvision:StartModel> operation.
663  
664  
665 =head2 StopModel
666  
667 =over
668  
669 =item ModelVersion => Str
670  
671 =item ProjectName => Str
672  
673 =item [ClientToken => Str]
674  
675  
676 =back
677  
678 Each argument is described in detail in: L<Paws::LookoutVision::StopModel>
679  
680 Returns: a L<Paws::LookoutVision::StopModelResponse> instance
681  
682 Stops the hosting of a running model. The operation might take a while
683 to complete. To check the current status, call DescribeModel.
684  
685 After the model hosting stops, the C<Status> of the model is
686 C<TRAINED>.
687  
688 This operation requires permissions to perform the
689 C<lookoutvision:StopModel> operation.
690  
691  
692 =head2 TagResource
693  
694 =over
695  
696 =item ResourceArn => Str
697  
698 =item Tags => ArrayRef[L<Paws::LookoutVision::Tag>]
699  
700  
701 =back
702  
703 Each argument is described in detail in: L<Paws::LookoutVision::TagResource>
704  
705 Returns: a L<Paws::LookoutVision::TagResourceResponse> instance
706  
707 Adds one or more key-value tags to an Amazon Lookout for Vision model.
708 For more information, see I<Tagging a model> in the I<Amazon Lookout
709 for Vision Developer Guide>.
710  
711 This operation requires permissions to perform the
712 C<lookoutvision:TagResource> operation.
713  
714  
715 =head2 UntagResource
716  
717 =over
718  
719 =item ResourceArn => Str
720  
721 =item TagKeys => ArrayRef[Str|Undef]
722  
723  
724 =back
725  
726 Each argument is described in detail in: L<Paws::LookoutVision::UntagResource>
727  
728 Returns: a L<Paws::LookoutVision::UntagResourceResponse> instance
729  
730 Removes one or more tags from an Amazon Lookout for Vision model. For
731 more information, see I<Tagging a model> in the I<Amazon Lookout for
732 Vision Developer Guide>.
733  
734 This operation requires permissions to perform the
735 C<lookoutvision:UntagResource> operation.
736  
737  
738 =head2 UpdateDatasetEntries
739  
740 =over
741  
742 =item Changes => Str
743  
744 =item DatasetType => Str
745  
746 =item ProjectName => Str
747  
748 =item [ClientToken => Str]
749  
750  
751 =back
752  
753 Each argument is described in detail in: L<Paws::LookoutVision::UpdateDatasetEntries>
754  
755 Returns: a L<Paws::LookoutVision::UpdateDatasetEntriesResponse> instance
756  
757 Adds one or more JSON Line entries to a dataset. A JSON Line includes
758 information about an image used for training or testing an Amazon
759 Lookout for Vision model. The following is an example JSON Line.
760  
761 Updating a dataset might take a while to complete. To check the current
762 status, call DescribeDataset and check the C<Status> field in the
763 response.
764  
765 This operation requires permissions to perform the
766 C<lookoutvision:UpdateDatasetEntries> operation.
767  
768  
769  
770  
771 =head1 PAGINATORS
772  
773 Paginator methods are helpers that repetively call methods that return partial results
774  
775 =head2 ListAllDatasetEntries(sub { },DatasetType => Str, ProjectName => Str, [AfterCreationDate => Str, AnomalyClass => Str, BeforeCreationDate => Str, Labeled => Bool, MaxResults => Int, NextToken => Str, SourceRefContains => Str])
776  
777 =head2 ListAllDatasetEntries(DatasetType => Str, ProjectName => Str, [AfterCreationDate => Str, AnomalyClass => Str, BeforeCreationDate => Str, Labeled => Bool, MaxResults => Int, NextToken => Str, SourceRefContains => Str])
778  
779  
780 If passed a sub as first parameter, it will call the sub for each element found in :
781  
782 - DatasetEntries, passing the object as the first parameter, and the string 'DatasetEntries' as the second parameter
783  
784 If not, it will return a a L<Paws::LookoutVision::ListDatasetEntriesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
785  
786  
787 =head2 ListAllModels(sub { },ProjectName => Str, [MaxResults => Int, NextToken => Str])
788  
789 =head2 ListAllModels(ProjectName => Str, [MaxResults => Int, NextToken => Str])
790  
791  
792 If passed a sub as first parameter, it will call the sub for each element found in :
793  
794 - Models, passing the object as the first parameter, and the string 'Models' as the second parameter
795  
796 If not, it will return a a L<Paws::LookoutVision::ListModelsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
797  
798  
799 =head2 ListAllProjects(sub { },[MaxResults => Int, NextToken => Str])
800  
801 =head2 ListAllProjects([MaxResults => Int, NextToken => Str])
802  
803  
804 If passed a sub as first parameter, it will call the sub for each element found in :
805  
806 - Projects, passing the object as the first parameter, and the string 'Projects' as the second parameter
807  
808 If not, it will return a a L<Paws::LookoutVision::ListProjectsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
809  
810  
811  
812  
813  
814 =head1 SEE ALSO
815  
816 This service class forms part of L<Paws>
817  
818 =head1 BUGS and CONTRIBUTIONS
819  
820 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
821  
822 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
823  
824 =cut
825