blib/lib/Paws/Lightsail/CacheBehavior.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Lightsail::CacheBehavior;
3 use Moose;
4 has Behavior => (is => 'ro', isa => 'Str', request_name => 'behavior', traits => ['NameInRequest']);
5  
6 1;
7  
8 ### main pod documentation begin ###
9  
10 =head1 NAME
11  
12 Paws::Lightsail::CacheBehavior
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::Lightsail::CacheBehavior object:
24  
25 $service_obj->Method(Att1 => { Behavior => $value, ..., Behavior => $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::Lightsail::CacheBehavior object:
30  
31 $result = $service_obj->Method(...);
32 $result->Att1->Behavior
33  
34 =head1 DESCRIPTION
35  
36 Describes the default cache behavior of an Amazon Lightsail content
37 delivery network (CDN) distribution.
38  
39 =head1 ATTRIBUTES
40  
41  
42 =head2 Behavior => Str
43  
44 The cache behavior of the distribution.
45  
46 The following cache behaviors can be specified:
47  
48 =over
49  
50 =item *
51  
52 B<C<cache> > - This option is best for static sites. When specified,
53 your distribution caches and serves your entire website as static
54 content. This behavior is ideal for websites with static content that
55 doesn't change depending on who views it, or for websites that don't
56 use cookies, headers, or query strings to personalize content.
57  
58 =item *
59  
60 B<C<dont-cache> > - This option is best for sites that serve a mix of
61 static and dynamic content. When specified, your distribution caches
62 and serve only the content that is specified in the distribution's
63 C<CacheBehaviorPerPath> parameter. This behavior is ideal for websites
64 or web applications that use cookies, headers, and query strings to
65 personalize content for individual users.
66  
67 =back
68  
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
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