blib/lib/Paws/Rekognition/StartPersonTracking.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::StartPersonTracking;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str');
5 has JobTag => (is => 'ro', isa => 'Str');
6 has NotificationChannel => (is => 'ro', isa => 'Paws::Rekognition::NotificationChannel');
7 has Video => (is => 'ro', isa => 'Paws::Rekognition::Video', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartPersonTracking');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Rekognition::StartPersonTrackingResponse');
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::StartPersonTracking - Arguments for method StartPersonTracking on L<Paws::Rekognition>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method StartPersonTracking on the
25 L<Amazon Rekognition|Paws::Rekognition> service. Use the attributes of this class
26 as arguments to method StartPersonTracking.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartPersonTracking.
29  
30 =head1 SYNOPSIS
31  
32 my $rekognition = Paws->service('Rekognition');
33 my $StartPersonTrackingResponse = $rekognition->StartPersonTracking(
34 Video => {
35 S3Object => {
36 Bucket => 'MyS3Bucket', # min: 3, max: 255; OPTIONAL
37 Name => 'MyS3ObjectName', # min: 1, max: 1024; OPTIONAL
38 Version => 'MyS3ObjectVersion', # min: 1, max: 1024; OPTIONAL
39 }, # OPTIONAL
40 },
41 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
42 JobTag => 'MyJobTag', # OPTIONAL
43 NotificationChannel => {
44 RoleArn => 'MyRoleArn',
45 SNSTopicArn => 'MySNSTopicArn',
46  
47 }, # OPTIONAL
48 );
49  
50 # Results:
51 my $JobId = $StartPersonTrackingResponse->JobId;
52  
53 # Returns a L<Paws::Rekognition::StartPersonTrackingResponse> object.
54  
55 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.
56 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rekognition/StartPersonTracking>
57  
58 =head1 ATTRIBUTES
59  
60  
61 =head2 ClientRequestToken => Str
62  
63 Idempotent token used to identify the start request. If you use the
64 same token with multiple C<StartPersonTracking> requests, the same
65 C<JobId> is returned. Use C<ClientRequestToken> to prevent the same job
66 from being accidently started more than once.
67  
68  
69  
70 =head2 JobTag => Str
71  
72 An identifier you specify that's returned in the completion
73 notification that's published to your Amazon Simple Notification
74 Service topic. For example, you can use C<JobTag> to group related jobs
75 and identify them in the completion notification.
76  
77  
78  
79 =head2 NotificationChannel => L<Paws::Rekognition::NotificationChannel>
80  
81 The Amazon SNS topic ARN you want Amazon Rekognition Video to publish
82 the completion status of the people detection operation to.
83  
84  
85  
86 =head2 B<REQUIRED> Video => L<Paws::Rekognition::Video>
87  
88 The video in which you want to detect people. The video must be stored
89 in an Amazon S3 bucket.
90  
91  
92  
93  
94 =head1 SEE ALSO
95  
96 This class forms part of L<Paws>, documenting arguments for method StartPersonTracking in L<Paws::Rekognition>
97  
98 =head1 BUGS and CONTRIBUTIONS
99  
100 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
101  
102 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
103  
104 =cut
105