blib/lib/Paws/S3/CORSConfiguration.pm

filter: Statementstmt 100% 5 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 6 / 6 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/S3/BucketLoggingStatus.pm ↑ Summary blib/lib/Paws/S3/CORSRule.pm »
1 # Generated by default/object.tt
2 package Paws::S3::CORSConfiguration;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has CORSRules => (is => 'ro', isa => 'ArrayRef[Paws::S3::CORSRule]', request_name => 'CORSRule', traits => ['NameInRequest'], required => 1);
5  
6 1 1;
7  
8 ### main pod documentation begin ###
9  
10 =head1 NAME
11  
12 Paws::S3::CORSConfiguration
13  
14 =head1 USAGE
15  
16 This class represents one of two things:
17  
18 =head3 Arguments in a call to a service
19  
20 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21 Each attribute should be used as a named argument in the calls that expect this type of object.
22  
23 As an example, if Att1 is expected to be a Paws::S3::CORSConfiguration object:
24  
25 $service_obj->Method(Att1 => { CORSRules => $value, ..., CORSRules => $value });
26  
27 =head3 Results returned from an API call
28  
29 Use accessors for each attribute. If Att1 is expected to be an Paws::S3::CORSConfiguration object:
30  
31 $result = $service_obj->Method(...);
32 $result->Att1->CORSRules
33  
34 =head1 DESCRIPTION
35  
36 Describes the cross-origin access configuration for objects in an
37 Amazon S3 bucket. For more information, see Enabling Cross-Origin
38 Resource Sharing
39 (https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in the
40 I<Amazon S3 User Guide>.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 B<REQUIRED> CORSRules => ArrayRef[L<Paws::S3::CORSRule>]
46  
47 A set of origins and methods (cross-origin access that you want to
48 allow). You can add up to 100 rules to the configuration.
49  
50  
51  
52 =head1 SEE ALSO
53  
54 This class forms part of L<Paws>, describing an object used in L<Paws::S3>
55  
56 =head1 BUGS and CONTRIBUTIONS
57  
58 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
59  
60 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
61  
62 =cut
63  
« blib/lib/Paws/S3/BucketLoggingStatus.pm ↑ Summary blib/lib/Paws/S3/CORSRule.pm »