File Coverage

blib/lib/Paws/Rekognition/Celebrity.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Rekognition::Celebrity;
2 1     1   298 use Moose;
  1         3  
  1         6  
3             has Face => (is => 'ro', isa => 'Paws::Rekognition::ComparedFace');
4             has Id => (is => 'ro', isa => 'Str');
5             has MatchConfidence => (is => 'ro', isa => 'Num');
6             has Name => (is => 'ro', isa => 'Str');
7             has Urls => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::Rekognition::Celebrity
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::Rekognition::Celebrity object:
26              
27             $service_obj->Method(Att1 => { Face => $value, ..., Urls => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::Celebrity object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->Face
35              
36             =head1 DESCRIPTION
37              
38             Provides information about a celebrity recognized by the operation.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 Face => L<Paws::Rekognition::ComparedFace>
44              
45             Provides information about the celebrity's face, such as its location
46             on the image.
47              
48              
49             =head2 Id => Str
50              
51             A unique identifier for the celebrity.
52              
53              
54             =head2 MatchConfidence => Num
55              
56             The confidence, in percentage, that Rekognition has that the recognized
57             face is the celebrity.
58              
59              
60             =head2 Name => Str
61              
62             The name of the celebrity.
63              
64              
65             =head2 Urls => ArrayRef[Str|Undef]
66              
67             An array of URLs pointing to additional information about the
68             celebrity. If there is no additional information about the celebrity,
69             this list is empty.
70              
71              
72              
73             =head1 SEE ALSO
74              
75             This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition>
76              
77             =head1 BUGS and CONTRIBUTIONS
78              
79             The source code is located here: https://github.com/pplu/aws-sdk-perl
80              
81             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
82              
83             =cut
84