File Coverage

blib/lib/Paws/CloudFront/DistributionSummary.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CloudFront::DistributionSummary;
2 1     1   593 use Moose;
  1         3  
  1         8  
3             has Aliases => (is => 'ro', isa => 'Paws::CloudFront::Aliases', required => 1);
4             has ARN => (is => 'ro', isa => 'Str', required => 1);
5             has CacheBehaviors => (is => 'ro', isa => 'Paws::CloudFront::CacheBehaviors', required => 1);
6             has Comment => (is => 'ro', isa => 'Str', required => 1);
7             has CustomErrorResponses => (is => 'ro', isa => 'Paws::CloudFront::CustomErrorResponses', required => 1);
8             has DefaultCacheBehavior => (is => 'ro', isa => 'Paws::CloudFront::DefaultCacheBehavior', required => 1);
9             has DomainName => (is => 'ro', isa => 'Str', required => 1);
10             has Enabled => (is => 'ro', isa => 'Bool', required => 1);
11             has HttpVersion => (is => 'ro', isa => 'Str', required => 1);
12             has Id => (is => 'ro', isa => 'Str', required => 1);
13             has IsIPV6Enabled => (is => 'ro', isa => 'Bool', required => 1);
14             has LastModifiedTime => (is => 'ro', isa => 'Str', required => 1);
15             has Origins => (is => 'ro', isa => 'Paws::CloudFront::Origins', required => 1);
16             has PriceClass => (is => 'ro', isa => 'Str', required => 1);
17             has Restrictions => (is => 'ro', isa => 'Paws::CloudFront::Restrictions', required => 1);
18             has Status => (is => 'ro', isa => 'Str', required => 1);
19             has ViewerCertificate => (is => 'ro', isa => 'Paws::CloudFront::ViewerCertificate', required => 1);
20             has WebACLId => (is => 'ro', isa => 'Str', required => 1);
21             1;
22              
23             ### main pod documentation begin ###
24              
25             =head1 NAME
26              
27             Paws::CloudFront::DistributionSummary
28              
29             =head1 USAGE
30              
31             This class represents one of two things:
32              
33             =head3 Arguments in a call to a service
34              
35             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36             Each attribute should be used as a named argument in the calls that expect this type of object.
37              
38             As an example, if Att1 is expected to be a Paws::CloudFront::DistributionSummary object:
39              
40             $service_obj->Method(Att1 => { Aliases => $value, ..., WebACLId => $value });
41              
42             =head3 Results returned from an API call
43              
44             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::DistributionSummary object:
45              
46             $result = $service_obj->Method(...);
47             $result->Att1->Aliases
48              
49             =head1 DESCRIPTION
50              
51             A summary of the information about a CloudFront distribution.
52              
53             =head1 ATTRIBUTES
54              
55              
56             =head2 B<REQUIRED> Aliases => L<Paws::CloudFront::Aliases>
57              
58             A complex type that contains information about CNAMEs (alternate domain
59             names), if any, for this distribution.
60              
61              
62             =head2 B<REQUIRED> ARN => Str
63              
64             The ARN (Amazon Resource Name) for the distribution. For example:
65             C<arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5>, where
66             C<123456789012> is your AWS account ID.
67              
68              
69             =head2 B<REQUIRED> CacheBehaviors => L<Paws::CloudFront::CacheBehaviors>
70              
71             A complex type that contains zero or more C<CacheBehavior> elements.
72              
73              
74             =head2 B<REQUIRED> Comment => Str
75              
76             The comment originally specified when this distribution was created.
77              
78              
79             =head2 B<REQUIRED> CustomErrorResponses => L<Paws::CloudFront::CustomErrorResponses>
80              
81             A complex type that contains zero or more C<CustomErrorResponses>
82             elements.
83              
84              
85             =head2 B<REQUIRED> DefaultCacheBehavior => L<Paws::CloudFront::DefaultCacheBehavior>
86              
87             A complex type that describes the default cache behavior if you do not
88             specify a C<CacheBehavior> element or if files don't match any of the
89             values of C<PathPattern> in C<CacheBehavior> elements. You must create
90             exactly one default cache behavior.
91              
92              
93             =head2 B<REQUIRED> DomainName => Str
94              
95             The domain name that corresponds to the distribution. For example:
96             C<d604721fxaaqy9.cloudfront.net>.
97              
98              
99             =head2 B<REQUIRED> Enabled => Bool
100              
101             Whether the distribution is enabled to accept user requests for
102             content.
103              
104              
105             =head2 B<REQUIRED> HttpVersion => Str
106              
107             Specify the maximum HTTP version that you want viewers to use to
108             communicate with CloudFront. The default value for new web
109             distributions is C<http2>. Viewers that don't support C<HTTP/2> will
110             automatically use an earlier version.
111              
112              
113             =head2 B<REQUIRED> Id => Str
114              
115             The identifier for the distribution. For example: C<EDFDVBD632BHDS5>.
116              
117              
118             =head2 B<REQUIRED> IsIPV6Enabled => Bool
119              
120             Whether CloudFront responds to IPv6 DNS requests with an IPv6 address
121             for your distribution.
122              
123              
124             =head2 B<REQUIRED> LastModifiedTime => Str
125              
126             The date and time the distribution was last modified.
127              
128              
129             =head2 B<REQUIRED> Origins => L<Paws::CloudFront::Origins>
130              
131             A complex type that contains information about origins for this
132             distribution.
133              
134              
135             =head2 B<REQUIRED> PriceClass => Str
136              
137            
138              
139              
140             =head2 B<REQUIRED> Restrictions => L<Paws::CloudFront::Restrictions>
141              
142            
143              
144              
145             =head2 B<REQUIRED> Status => Str
146              
147             The current status of the distribution. When the status is C<Deployed>,
148             the distribution's information is propagated to all CloudFront edge
149             locations.
150              
151              
152             =head2 B<REQUIRED> ViewerCertificate => L<Paws::CloudFront::ViewerCertificate>
153              
154            
155              
156              
157             =head2 B<REQUIRED> WebACLId => Str
158              
159             The Web ACL Id (if any) associated with the distribution.
160              
161              
162              
163             =head1 SEE ALSO
164              
165             This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
166              
167             =head1 BUGS and CONTRIBUTIONS
168              
169             The source code is located here: https://github.com/pplu/aws-sdk-perl
170              
171             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
172              
173             =cut
174