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

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 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::BucketCountPolicyAllowsUnencryptedObjectUploads;
3 use Moose;
4 has AllowsUnencryptedObjectUploads => (is => 'ro', isa => 'Int', request_name => 'allowsUnencryptedObjectUploads', traits => ['NameInRequest']);
5 has DeniesUnencryptedObjectUploads => (is => 'ro', isa => 'Int', request_name => 'deniesUnencryptedObjectUploads', traits => ['NameInRequest']);
6 has Unknown => (is => 'ro', isa => 'Int', request_name => 'unknown', traits => ['NameInRequest']);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::Macie2::BucketCountPolicyAllowsUnencryptedObjectUploads
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::Macie2::BucketCountPolicyAllowsUnencryptedObjectUploads object:
26  
27 $service_obj->Method(Att1 => { AllowsUnencryptedObjectUploads => $value, ..., Unknown => $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::Macie2::BucketCountPolicyAllowsUnencryptedObjectUploads object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->AllowsUnencryptedObjectUploads
35  
36 =head1 DESCRIPTION
37  
38 Provides information about the number of S3 buckets whose bucket
39 policies do or don't require server-side encryption of objects when
40 objects are uploaded to the buckets.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 AllowsUnencryptedObjectUploads => Int
46  
47 The total number of buckets that don't have a bucket policy or have a
48 bucket policy that doesn't require server-side encryption of new
49 objects. If a bucket policy exists, the policy doesn't require
50 PutObject requests to include the x-amz-server-side-encryption header
51 and it doesn't require the value for that header to be AES256 or
52 aws:kms.
53  
54  
55 =head2 DeniesUnencryptedObjectUploads => Int
56  
57 The total number of buckets whose bucket policies require server-side
58 encryption of new objects. PutObject requests for these buckets must
59 include the x-amz-server-side-encryption header and the value for that
60 header must be AES256 or aws:kms.
61  
62  
63 =head2 Unknown => Int
64  
65 The total number of buckets that Amazon Macie wasn't able to evaluate
66 server-side encryption requirements for. Macie can't determine whether
67 the bucket policies for these buckets require server-side encryption of
68 new objects.
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
75  
76 =head1 BUGS and CONTRIBUTIONS
77  
78 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
79  
80 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
81  
82 =cut
83