blib/lib/Paws/Macie2/S3Object.pm untested

filter: Statementstmt 0.0% 0 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 28 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Macie2::S3Object;
3 use Moose;
4 has BucketArn => (is => 'ro', isa => 'Str', request_name => 'bucketArn', traits => ['NameInRequest']);
5 has ETag => (is => 'ro', isa => 'Str', request_name => 'eTag', traits => ['NameInRequest']);
6 has Extension => (is => 'ro', isa => 'Str', request_name => 'extension', traits => ['NameInRequest']);
7 has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest']);
8 has LastModified => (is => 'ro', isa => 'Str', request_name => 'lastModified', traits => ['NameInRequest']);
9 has Path => (is => 'ro', isa => 'Str', request_name => 'path', traits => ['NameInRequest']);
10 has PublicAccess => (is => 'ro', isa => 'Bool', request_name => 'publicAccess', traits => ['NameInRequest']);
11 has ServerSideEncryption => (is => 'ro', isa => 'Paws::Macie2::ServerSideEncryption', request_name => 'serverSideEncryption', traits => ['NameInRequest']);
12 has Size => (is => 'ro', isa => 'Int', request_name => 'size', traits => ['NameInRequest']);
13 has StorageClass => (is => 'ro', isa => 'Str', request_name => 'storageClass', traits => ['NameInRequest']);
14 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Macie2::KeyValuePair]', request_name => 'tags', traits => ['NameInRequest']);
15 has VersionId => (is => 'ro', isa => 'Str', request_name => 'versionId', traits => ['NameInRequest']);
16  
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::Macie2::S3Object
24  
25 =head1 USAGE
26  
27 This class represents one of two things:
28  
29 =head3 Arguments in a call to a service
30  
31 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32 Each attribute should be used as a named argument in the calls that expect this type of object.
33  
34 As an example, if Att1 is expected to be a Paws::Macie2::S3Object object:
35  
36 $service_obj->Method(Att1 => { BucketArn => $value, ..., VersionId => $value });
37  
38 =head3 Results returned from an API call
39  
40 Use accessors for each attribute. If Att1 is expected to be an Paws::Macie2::S3Object object:
41  
42 $result = $service_obj->Method(...);
43 $result->Att1->BucketArn
44  
45 =head1 DESCRIPTION
46  
47 Provides information about the S3 object that a finding applies to.
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 BucketArn => Str
53  
54 The Amazon Resource Name (ARN) of the bucket that contains the object.
55  
56  
57 =head2 ETag => Str
58  
59 The entity tag (ETag) that identifies the affected version of the
60 object. If the object was overwritten or changed after Amazon Macie
61 produced the finding, this value might be different from the current
62 ETag for the object.
63  
64  
65 =head2 Extension => Str
66  
67 The file name extension of the object. If the object doesn't have a
68 file name extension, this value is "".
69  
70  
71 =head2 Key => Str
72  
73 The full key (name) that's assigned to the object.
74  
75  
76 =head2 LastModified => Str
77  
78 The date and time, in UTC and extended ISO 8601 format, when the object
79 was last modified.
80  
81  
82 =head2 Path => Str
83  
84 The path to the object, including the full key (name).
85  
86  
87 =head2 PublicAccess => Bool
88  
89 Specifies whether the object is publicly accessible due to the
90 combination of permissions settings that apply to the object.
91  
92  
93 =head2 ServerSideEncryption => L<Paws::Macie2::ServerSideEncryption>
94  
95 The type of server-side encryption that's used to encrypt the object.
96  
97  
98 =head2 Size => Int
99  
100 The total storage size, in bytes, of the object.
101  
102  
103 =head2 StorageClass => Str
104  
105 The storage class of the object.
106  
107  
108 =head2 Tags => ArrayRef[L<Paws::Macie2::KeyValuePair>]
109  
110 The tags that are associated with the object.
111  
112  
113 =head2 VersionId => Str
114  
115 The identifier for the affected version of the object.
116  
117  
118  
119 =head1 SEE ALSO
120  
121 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
122  
123 =head1 BUGS and CONTRIBUTIONS
124  
125 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
126  
127 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
128  
129 =cut
130