blib/lib/Paws/AccessAnalyzer/S3BucketConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AccessAnalyzer::S3BucketConfiguration;
3 use Moose;
4 has AccessPoints => (is => 'ro', isa => 'Paws::AccessAnalyzer::S3AccessPointConfigurationsMap', request_name => 'accessPoints', traits => ['NameInRequest']);
5 has BucketAclGrants => (is => 'ro', isa => 'ArrayRef[Paws::AccessAnalyzer::S3BucketAclGrantConfiguration]', request_name => 'bucketAclGrants', traits => ['NameInRequest']);
6 has BucketPolicy => (is => 'ro', isa => 'Str', request_name => 'bucketPolicy', traits => ['NameInRequest']);
7 has BucketPublicAccessBlock => (is => 'ro', isa => 'Paws::AccessAnalyzer::S3PublicAccessBlockConfiguration', request_name => 'bucketPublicAccessBlock', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::AccessAnalyzer::S3BucketConfiguration
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::AccessAnalyzer::S3BucketConfiguration object:
27  
28 $service_obj->Method(Att1 => { AccessPoints => $value, ..., BucketPublicAccessBlock => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::AccessAnalyzer::S3BucketConfiguration object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->AccessPoints
36  
37 =head1 DESCRIPTION
38  
39 Proposed access control configuration for an Amazon S3 bucket. You can
40 propose a configuration for a new Amazon S3 bucket or an existing
41 Amazon S3 bucket that you own by specifying the Amazon S3 bucket
42 policy, bucket ACLs, bucket BPA settings, and Amazon S3 access points
43 attached to the bucket. If the configuration is for an existing Amazon
44 S3 bucket and you do not specify the Amazon S3 bucket policy, the
45 access preview uses the existing policy attached to the bucket. If the
46 access preview is for a new resource and you do not specify the Amazon
47 S3 bucket policy, the access preview assumes a bucket without a policy.
48 To propose deletion of an existing bucket policy, you can specify an
49 empty string. For more information about bucket policy limits, see
50 Bucket Policy Examples
51 (https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html).
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 AccessPoints => L<Paws::AccessAnalyzer::S3AccessPointConfigurationsMap>
57  
58 The configuration of Amazon S3 access points for the bucket.
59  
60  
61 =head2 BucketAclGrants => ArrayRef[L<Paws::AccessAnalyzer::S3BucketAclGrantConfiguration>]
62  
63 The proposed list of ACL grants for the Amazon S3 bucket. You can
64 propose up to 100 ACL grants per bucket. If the proposed grant
65 configuration is for an existing bucket, the access preview uses the
66 proposed list of grant configurations in place of the existing grants.
67 Otherwise, the access preview uses the existing grants for the bucket.
68  
69  
70 =head2 BucketPolicy => Str
71  
72 The proposed bucket policy for the Amazon S3 bucket.
73  
74  
75 =head2 BucketPublicAccessBlock => L<Paws::AccessAnalyzer::S3PublicAccessBlockConfiguration>
76  
77 The proposed block public access configuration for the Amazon S3
78 bucket.
79  
80  
81  
82 =head1 SEE ALSO
83  
84 This class forms part of L<Paws>, describing an object used in L<Paws::AccessAnalyzer>
85  
86 =head1 BUGS and CONTRIBUTIONS
87  
88 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
89  
90 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
91  
92 =cut
93