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

filter: Statementstmt 0.0% 0 / 43 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 44 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::LightsailDistribution;
3 use Moose;
4 has AbleToUpdateBundle => (is => 'ro', isa => 'Bool', request_name => 'ableToUpdateBundle', traits => ['NameInRequest']);
5 has AlternativeDomainNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'alternativeDomainNames', traits => ['NameInRequest']);
6 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
7 has BundleId => (is => 'ro', isa => 'Str', request_name => 'bundleId', traits => ['NameInRequest']);
8 has CacheBehaviors => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::CacheBehaviorPerPath]', request_name => 'cacheBehaviors', traits => ['NameInRequest']);
9 has CacheBehaviorSettings => (is => 'ro', isa => 'Paws::Lightsail::CacheSettings', request_name => 'cacheBehaviorSettings', traits => ['NameInRequest']);
10 has CertificateName => (is => 'ro', isa => 'Str', request_name => 'certificateName', traits => ['NameInRequest']);
11 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
12 has DefaultCacheBehavior => (is => 'ro', isa => 'Paws::Lightsail::CacheBehavior', request_name => 'defaultCacheBehavior', traits => ['NameInRequest']);
13 has DomainName => (is => 'ro', isa => 'Str', request_name => 'domainName', traits => ['NameInRequest']);
14 has IpAddressType => (is => 'ro', isa => 'Str', request_name => 'ipAddressType', traits => ['NameInRequest']);
15 has IsEnabled => (is => 'ro', isa => 'Bool', request_name => 'isEnabled', traits => ['NameInRequest']);
16 has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']);
17 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
18 has Origin => (is => 'ro', isa => 'Paws::Lightsail::Origin', request_name => 'origin', traits => ['NameInRequest']);
19 has OriginPublicDNS => (is => 'ro', isa => 'Str', request_name => 'originPublicDNS', traits => ['NameInRequest']);
20 has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
21 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
22 has SupportCode => (is => 'ro', isa => 'Str', request_name => 'supportCode', traits => ['NameInRequest']);
23 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::Tag]', request_name => 'tags', traits => ['NameInRequest']);
24  
25 1;
26  
27 ### main pod documentation begin ###
28  
29 =head1 NAME
30  
31 Paws::Lightsail::LightsailDistribution
32  
33 =head1 USAGE
34  
35 This class represents one of two things:
36  
37 =head3 Arguments in a call to a service
38  
39 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
40 Each attribute should be used as a named argument in the calls that expect this type of object.
41  
42 As an example, if Att1 is expected to be a Paws::Lightsail::LightsailDistribution object:
43  
44 $service_obj->Method(Att1 => { AbleToUpdateBundle => $value, ..., Tags => $value });
45  
46 =head3 Results returned from an API call
47  
48 Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::LightsailDistribution object:
49  
50 $result = $service_obj->Method(...);
51 $result->Att1->AbleToUpdateBundle
52  
53 =head1 DESCRIPTION
54  
55 Describes an Amazon Lightsail content delivery network (CDN)
56 distribution.
57  
58 =head1 ATTRIBUTES
59  
60  
61 =head2 AbleToUpdateBundle => Bool
62  
63 Indicates whether the bundle that is currently applied to your
64 distribution, specified using the C<distributionName> parameter, can be
65 changed to another bundle.
66  
67 Use the C<UpdateDistributionBundle> action to change your
68 distribution's bundle.
69  
70  
71 =head2 AlternativeDomainNames => ArrayRef[Str|Undef]
72  
73 The alternate domain names of the distribution.
74  
75  
76 =head2 Arn => Str
77  
78 The Amazon Resource Name (ARN) of the distribution.
79  
80  
81 =head2 BundleId => Str
82  
83 The ID of the bundle currently applied to the distribution.
84  
85  
86 =head2 CacheBehaviors => ArrayRef[L<Paws::Lightsail::CacheBehaviorPerPath>]
87  
88 An array of objects that describe the per-path cache behavior of the
89 distribution.
90  
91  
92 =head2 CacheBehaviorSettings => L<Paws::Lightsail::CacheSettings>
93  
94 An object that describes the cache behavior settings of the
95 distribution.
96  
97  
98 =head2 CertificateName => Str
99  
100 The name of the SSL/TLS certificate attached to the distribution, if
101 any.
102  
103  
104 =head2 CreatedAt => Str
105  
106 The timestamp when the distribution was created.
107  
108  
109 =head2 DefaultCacheBehavior => L<Paws::Lightsail::CacheBehavior>
110  
111 An object that describes the default cache behavior of the
112 distribution.
113  
114  
115 =head2 DomainName => Str
116  
117 The domain name of the distribution.
118  
119  
120 =head2 IpAddressType => Str
121  
122 The IP address type of the distribution.
123  
124 The possible values are C<ipv4> for IPv4 only, and C<dualstack> for
125 IPv4 and IPv6.
126  
127  
128 =head2 IsEnabled => Bool
129  
130 Indicates whether the distribution is enabled.
131  
132  
133 =head2 Location => L<Paws::Lightsail::ResourceLocation>
134  
135 An object that describes the location of the distribution, such as the
136 AWS Region and Availability Zone.
137  
138 Lightsail distributions are global resources that can reference an
139 origin in any AWS Region, and distribute its content globally. However,
140 all distributions are located in the C<us-east-1> Region.
141  
142  
143 =head2 Name => Str
144  
145 The name of the distribution.
146  
147  
148 =head2 Origin => L<Paws::Lightsail::Origin>
149  
150 An object that describes the origin resource of the distribution, such
151 as a Lightsail instance or load balancer.
152  
153 The distribution pulls, caches, and serves content from the origin.
154  
155  
156 =head2 OriginPublicDNS => Str
157  
158 The public DNS of the origin.
159  
160  
161 =head2 ResourceType => Str
162  
163 The Lightsail resource type (e.g., C<Distribution>).
164  
165  
166 =head2 Status => Str
167  
168 The status of the distribution.
169  
170  
171 =head2 SupportCode => Str
172  
173 The support code. Include this code in your email to support when you
174 have questions about your Lightsail distribution. This code enables our
175 support team to look up your Lightsail information more easily.
176  
177  
178 =head2 Tags => ArrayRef[L<Paws::Lightsail::Tag>]
179  
180 The tag keys and optional values for the resource. For more information
181 about tags in Lightsail, see the Lightsail Dev Guide
182 (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
183  
184  
185  
186 =head1 SEE ALSO
187  
188 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
189  
190 =head1 BUGS and CONTRIBUTIONS
191  
192 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
193  
194 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
195  
196 =cut
197