blib/lib/Paws/CloudFront/DistributionSummary.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudFront::DistributionSummary;
3 use Moose;
4 has Aliases => (is => 'ro', isa => 'Paws::CloudFront::Aliases', required => 1);
5 has AliasICPRecordals => (is => 'ro', isa => 'ArrayRef[Paws::CloudFront::AliasICPRecordal]', request_name => 'AliasICPRecordal', traits => ['NameInRequest']);
6 has ARN => (is => 'ro', isa => 'Str', required => 1);
7 has CacheBehaviors => (is => 'ro', isa => 'Paws::CloudFront::CacheBehaviors', required => 1);
8 has Comment => (is => 'ro', isa => 'Str', required => 1);
9 has CustomErrorResponses => (is => 'ro', isa => 'Paws::CloudFront::CustomErrorResponses', required => 1);
10 has DefaultCacheBehavior => (is => 'ro', isa => 'Paws::CloudFront::DefaultCacheBehavior', required => 1);
11 has DomainName => (is => 'ro', isa => 'Str', required => 1);
12 has Enabled => (is => 'ro', isa => 'Bool', required => 1);
13 has HttpVersion => (is => 'ro', isa => 'Str', required => 1);
14 has Id => (is => 'ro', isa => 'Str', required => 1);
15 has IsIPV6Enabled => (is => 'ro', isa => 'Bool', required => 1);
16 has LastModifiedTime => (is => 'ro', isa => 'Str', required => 1);
17 has OriginGroups => (is => 'ro', isa => 'Paws::CloudFront::OriginGroups');
18 has Origins => (is => 'ro', isa => 'Paws::CloudFront::Origins', required => 1);
19 has PriceClass => (is => 'ro', isa => 'Str', required => 1);
20 has Restrictions => (is => 'ro', isa => 'Paws::CloudFront::Restrictions', required => 1);
21 has Status => (is => 'ro', isa => 'Str', required => 1);
22 has ViewerCertificate => (is => 'ro', isa => 'Paws::CloudFront::ViewerCertificate', required => 1);
23 has WebACLId => (is => 'ro', isa => 'Str', required => 1);
24  
25 1;
26  
27 ### main pod documentation begin ###
28  
29 =head1 NAME
30  
31 Paws::CloudFront::DistributionSummary
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::CloudFront::DistributionSummary object:
43  
44 $service_obj->Method(Att1 => { Aliases => $value, ..., WebACLId => $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::CloudFront::DistributionSummary object:
49  
50 $result = $service_obj->Method(...);
51 $result->Att1->Aliases
52  
53 =head1 DESCRIPTION
54  
55 A summary of the information about a CloudFront distribution.
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 B<REQUIRED> Aliases => L<Paws::CloudFront::Aliases>
61  
62 A complex type that contains information about CNAMEs (alternate domain
63 names), if any, for this distribution.
64  
65  
66 =head2 AliasICPRecordals => ArrayRef[L<Paws::CloudFront::AliasICPRecordal>]
67  
68 AWS services in China customers must file for an Internet Content
69 Provider (ICP) recordal if they want to serve content publicly on an
70 alternate domain name, also known as a CNAME, that they've added to
71 CloudFront. AliasICPRecordal provides the ICP recordal status for
72 CNAMEs associated with distributions.
73  
74 For more information about ICP recordals, see Signup, Accounts, and
75 Credentials
76 (https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html)
77 in I<Getting Started with AWS services in China>.
78  
79  
80 =head2 B<REQUIRED> ARN => Str
81  
82 The ARN (Amazon Resource Name) for the distribution. For example:
83 C<arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5>, where
84 C<123456789012> is your AWS account ID.
85  
86  
87 =head2 B<REQUIRED> CacheBehaviors => L<Paws::CloudFront::CacheBehaviors>
88  
89 A complex type that contains zero or more C<CacheBehavior> elements.
90  
91  
92 =head2 B<REQUIRED> Comment => Str
93  
94 The comment originally specified when this distribution was created.
95  
96  
97 =head2 B<REQUIRED> CustomErrorResponses => L<Paws::CloudFront::CustomErrorResponses>
98  
99 A complex type that contains zero or more C<CustomErrorResponses>
100 elements.
101  
102  
103 =head2 B<REQUIRED> DefaultCacheBehavior => L<Paws::CloudFront::DefaultCacheBehavior>
104  
105 A complex type that describes the default cache behavior if you don't
106 specify a C<CacheBehavior> element or if files don't match any of the
107 values of C<PathPattern> in C<CacheBehavior> elements. You must create
108 exactly one default cache behavior.
109  
110  
111 =head2 B<REQUIRED> DomainName => Str
112  
113 The domain name that corresponds to the distribution, for example,
114 C<d111111abcdef8.cloudfront.net>.
115  
116  
117 =head2 B<REQUIRED> Enabled => Bool
118  
119 Whether the distribution is enabled to accept user requests for
120 content.
121  
122  
123 =head2 B<REQUIRED> HttpVersion => Str
124  
125 Specify the maximum HTTP version that you want viewers to use to
126 communicate with CloudFront. The default value for new web
127 distributions is C<http2>. Viewers that don't support C<HTTP/2> will
128 automatically use an earlier version.
129  
130  
131 =head2 B<REQUIRED> Id => Str
132  
133 The identifier for the distribution. For example: C<EDFDVBD632BHDS5>.
134  
135  
136 =head2 B<REQUIRED> IsIPV6Enabled => Bool
137  
138 Whether CloudFront responds to IPv6 DNS requests with an IPv6 address
139 for your distribution.
140  
141  
142 =head2 B<REQUIRED> LastModifiedTime => Str
143  
144 The date and time the distribution was last modified.
145  
146  
147 =head2 OriginGroups => L<Paws::CloudFront::OriginGroups>
148  
149 A complex type that contains information about origin groups for this
150 distribution.
151  
152  
153 =head2 B<REQUIRED> Origins => L<Paws::CloudFront::Origins>
154  
155 A complex type that contains information about origins for this
156 distribution.
157  
158  
159 =head2 B<REQUIRED> PriceClass => Str
160  
161 A complex type that contains information about price class for this
162 streaming distribution.
163  
164  
165 =head2 B<REQUIRED> Restrictions => L<Paws::CloudFront::Restrictions>
166  
167 A complex type that identifies ways in which you want to restrict
168 distribution of your content.
169  
170  
171 =head2 B<REQUIRED> Status => Str
172  
173 The current status of the distribution. When the status is C<Deployed>,
174 the distribution's information is propagated to all CloudFront edge
175 locations.
176  
177  
178 =head2 B<REQUIRED> ViewerCertificate => L<Paws::CloudFront::ViewerCertificate>
179  
180 A complex type that determines the distributionE<rsquo>s SSL/TLS
181 configuration for communicating with viewers.
182  
183  
184 =head2 B<REQUIRED> WebACLId => Str
185  
186 The Web ACL Id (if any) associated with the distribution.
187  
188  
189  
190 =head1 SEE ALSO
191  
192 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
193  
194 =head1 BUGS and CONTRIBUTIONS
195  
196 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
197  
198 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
199  
200 =cut
201