blib/lib/Paws/Macie2/BlockPublicAccess.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::Macie2::BlockPublicAccess;
3 use Moose;
4 has BlockPublicAcls => (is => 'ro', isa => 'Bool', request_name => 'blockPublicAcls', traits => ['NameInRequest']);
5 has BlockPublicPolicy => (is => 'ro', isa => 'Bool', request_name => 'blockPublicPolicy', traits => ['NameInRequest']);
6 has IgnorePublicAcls => (is => 'ro', isa => 'Bool', request_name => 'ignorePublicAcls', traits => ['NameInRequest']);
7 has RestrictPublicBuckets => (is => 'ro', isa => 'Bool', request_name => 'restrictPublicBuckets', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Macie2::BlockPublicAccess
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::Macie2::BlockPublicAccess object:
27  
28 $service_obj->Method(Att1 => { BlockPublicAcls => $value, ..., RestrictPublicBuckets => $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::Macie2::BlockPublicAccess object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->BlockPublicAcls
36  
37 =head1 DESCRIPTION
38  
39 Provides information about the block public access settings for an S3
40 bucket. These settings can apply to a bucket at the account level or
41 bucket level. For detailed information about each setting, see Blocking
42 public access to your Amazon S3 storage
43 (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html)
44 in the I<Amazon Simple Storage Service User Guide>.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 BlockPublicAcls => Bool
50  
51 Specifies whether Amazon S3 blocks public access control lists (ACLs)
52 for the bucket and objects in the bucket.
53  
54  
55 =head2 BlockPublicPolicy => Bool
56  
57 Specifies whether Amazon S3 blocks public bucket policies for the
58 bucket.
59  
60  
61 =head2 IgnorePublicAcls => Bool
62  
63 Specifies whether Amazon S3 ignores public ACLs for the bucket and
64 objects in the bucket.
65  
66  
67 =head2 RestrictPublicBuckets => Bool
68  
69 Specifies whether Amazon S3 restricts public bucket policies for the
70 bucket.
71  
72  
73  
74 =head1 SEE ALSO
75  
76 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
77  
78 =head1 BUGS and CONTRIBUTIONS
79  
80 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
81  
82 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
83  
84 =cut
85