File Coverage

blib/lib/Paws/Rekognition/ModerationLabel.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::ModerationLabel;
2 1     1   279 use Moose;
  1         3  
  1         7  
3             has Confidence => (is => 'ro', isa => 'Num');
4             has Name => (is => 'ro', isa => 'Str');
5             has ParentName => (is => 'ro', isa => 'Str');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::Rekognition::ModerationLabel
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::Rekognition::ModerationLabel object:
24              
25             $service_obj->Method(Att1 => { Confidence => $value, ..., ParentName => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::ModerationLabel object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Confidence
33              
34             =head1 DESCRIPTION
35              
36             Provides information about a single type of moderated content found in
37             an image. Each type of moderated content has a label within a
38             hierarchical taxonomy. For more information, see image-moderation.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 Confidence => Num
44              
45             Specifies the confidence that Amazon Rekognition has that the label has
46             been correctly identified.
47              
48             If you don't specify the C<MinConfidence> parameter in the call to
49             C<DetectModerationLabels>, the operation returns labels with a
50             confidence value greater than or equal to 50 percent.
51              
52              
53             =head2 Name => Str
54              
55             The label name for the type of content detected in the image.
56              
57              
58             =head2 ParentName => Str
59              
60             The name for the parent label. Labels at the top-level of the hierarchy
61             have the parent label C<"">.
62              
63              
64              
65             =head1 SEE ALSO
66              
67             This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition>
68              
69             =head1 BUGS and CONTRIBUTIONS
70              
71             The source code is located here: https://github.com/pplu/aws-sdk-perl
72              
73             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
74              
75             =cut
76