File Coverage

blib/lib/Paws/Rekognition/S3Object.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::S3Object;
2 1     1   271 use Moose;
  1         3  
  1         6  
3             has Bucket => (is => 'ro', isa => 'Str');
4             has Name => (is => 'ro', isa => 'Str');
5             has Version => (is => 'ro', isa => 'Str');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::Rekognition::S3Object
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::S3Object object:
24              
25             $service_obj->Method(Att1 => { Bucket => $value, ..., Version => $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::S3Object object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Bucket
33              
34             =head1 DESCRIPTION
35              
36             Provides the S3 bucket name and object name.
37              
38             The region for the S3 bucket containing the S3 object must match the
39             region you use for Amazon Rekognition operations.
40              
41             For Amazon Rekognition to process an S3 object, the user must have
42             permission to access the S3 object. For more information, see
43             manage-access-resource-policies.
44              
45             =head1 ATTRIBUTES
46              
47              
48             =head2 Bucket => Str
49              
50             Name of the S3 bucket.
51              
52              
53             =head2 Name => Str
54              
55             S3 object key name.
56              
57              
58             =head2 Version => Str
59              
60             If the bucket is versioning enabled, you can specify the object
61             version.
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