blib/lib/Paws/AccessAnalyzer/S3AccessPointConfiguration.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::AccessAnalyzer::S3AccessPointConfiguration;
3 use Moose;
4 has AccessPointPolicy => (is => 'ro', isa => 'Str', request_name => 'accessPointPolicy', traits => ['NameInRequest']);
5 has NetworkOrigin => (is => 'ro', isa => 'Paws::AccessAnalyzer::NetworkOriginConfiguration', request_name => 'networkOrigin', traits => ['NameInRequest']);
6 has PublicAccessBlock => (is => 'ro', isa => 'Paws::AccessAnalyzer::S3PublicAccessBlockConfiguration', request_name => 'publicAccessBlock', traits => ['NameInRequest']);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::AccessAnalyzer::S3AccessPointConfiguration
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::AccessAnalyzer::S3AccessPointConfiguration object:
26  
27 $service_obj->Method(Att1 => { AccessPointPolicy => $value, ..., PublicAccessBlock => $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::AccessAnalyzer::S3AccessPointConfiguration object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->AccessPointPolicy
35  
36 =head1 DESCRIPTION
37  
38 The configuration for an Amazon S3 access point for the bucket. You can
39 propose up to 10 access points per bucket. If the proposed Amazon S3
40 access point configuration is for an existing bucket, the access
41 preview uses the proposed access point configuration in place of the
42 existing access points. To propose an access point without a policy,
43 you can provide an empty string as the access point policy. For more
44 information, see Creating access points
45 (https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/dev/creating-access-points.html).
46 For more information about access point policy limits, see Access
47 points restrictions and limitations
48 (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-points-restrictions-limitations.html).
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 AccessPointPolicy => Str
54  
55 The access point policy.
56  
57  
58 =head2 NetworkOrigin => L<Paws::AccessAnalyzer::NetworkOriginConfiguration>
59  
60 The proposed C<Internet> and C<VpcConfiguration> to apply to this
61 Amazon S3 access point. If the access preview is for a new resource and
62 neither is specified, the access preview uses C<Internet> for the
63 network origin. If the access preview is for an existing resource and
64 neither is specified, the access preview uses the exiting network
65 origin.
66  
67  
68 =head2 PublicAccessBlock => L<Paws::AccessAnalyzer::S3PublicAccessBlockConfiguration>
69  
70 The proposed C<S3PublicAccessBlock> configuration to apply to this
71 Amazon S3 Access Point.
72  
73  
74  
75 =head1 SEE ALSO
76  
77 This class forms part of L<Paws>, describing an object used in L<Paws::AccessAnalyzer>
78  
79 =head1 BUGS and CONTRIBUTIONS
80  
81 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
82  
83 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
84  
85 =cut
86