blib/lib/Paws/Rekognition/GetPersonTracking.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Rekognition::GetPersonTracking;
3 use Moose;
4 has JobId => (is => 'ro', isa => 'Str', required => 1);
5 has MaxResults => (is => 'ro', isa => 'Int');
6 has NextToken => (is => 'ro', isa => 'Str');
7 has SortBy => (is => 'ro', isa => 'Str');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetPersonTracking');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Rekognition::GetPersonTrackingResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Rekognition::GetPersonTracking - Arguments for method GetPersonTracking on L<Paws::Rekognition>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method GetPersonTracking on the
25 L<Amazon Rekognition|Paws::Rekognition> service. Use the attributes of this class
26 as arguments to method GetPersonTracking.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetPersonTracking.
29  
30 =head1 SYNOPSIS
31  
32 my $rekognition = Paws->service('Rekognition');
33 my $GetPersonTrackingResponse = $rekognition->GetPersonTracking(
34 JobId => 'MyJobId',
35 MaxResults => 1, # OPTIONAL
36 NextToken => 'MyPaginationToken', # OPTIONAL
37 SortBy => 'INDEX', # OPTIONAL
38 );
39  
40 # Results:
41 my $JobStatus = $GetPersonTrackingResponse->JobStatus;
42 my $NextToken = $GetPersonTrackingResponse->NextToken;
43 my $Persons = $GetPersonTrackingResponse->Persons;
44 my $StatusMessage = $GetPersonTrackingResponse->StatusMessage;
45 my $VideoMetadata = $GetPersonTrackingResponse->VideoMetadata;
46  
47 # Returns a L<Paws::Rekognition::GetPersonTrackingResponse> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rekognition/GetPersonTracking>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 B<REQUIRED> JobId => Str
56  
57 The identifier for a job that tracks persons in a video. You get the
58 C<JobId> from a call to C<StartPersonTracking>.
59  
60  
61  
62 =head2 MaxResults => Int
63  
64 Maximum number of results to return per paginated call. The largest
65 value you can specify is 1000. If you specify a value greater than
66 1000, a maximum of 1000 results is returned. The default value is 1000.
67  
68  
69  
70 =head2 NextToken => Str
71  
72 If the previous response was incomplete (because there are more persons
73 to retrieve), Amazon Rekognition Video returns a pagination token in
74 the response. You can use this pagination token to retrieve the next
75 set of persons.
76  
77  
78  
79 =head2 SortBy => Str
80  
81 Sort to use for elements in the C<Persons> array. Use C<TIMESTAMP> to
82 sort array elements by the time persons are detected. Use C<INDEX> to
83 sort by the tracked persons. If you sort by C<INDEX>, the array
84 elements for each person are sorted by detection confidence. The
85 default sort is by C<TIMESTAMP>.
86  
87 Valid values are: C<"INDEX">, C<"TIMESTAMP">
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method GetPersonTracking in L<Paws::Rekognition>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101