File Coverage

blib/lib/Paws/CloudFront/Distribution.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::Distribution;
2 1     1   610 use Moose;
  1         3  
  1         8  
3             has ActiveTrustedSigners => (is => 'ro', isa => 'Paws::CloudFront::ActiveTrustedSigners', required => 1);
4             has ARN => (is => 'ro', isa => 'Str', required => 1);
5             has DistributionConfig => (is => 'ro', isa => 'Paws::CloudFront::DistributionConfig', required => 1);
6             has DomainName => (is => 'ro', isa => 'Str', required => 1);
7             has Id => (is => 'ro', isa => 'Str', required => 1);
8             has InProgressInvalidationBatches => (is => 'ro', isa => 'Int', required => 1);
9             has LastModifiedTime => (is => 'ro', isa => 'Str', required => 1);
10             has Status => (is => 'ro', isa => 'Str', required => 1);
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::CloudFront::Distribution
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::CloudFront::Distribution object:
29              
30             $service_obj->Method(Att1 => { ActiveTrustedSigners => $value, ..., Status => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::Distribution object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->ActiveTrustedSigners
38              
39             =head1 DESCRIPTION
40              
41             The distribution's information.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 B<REQUIRED> ActiveTrustedSigners => L<Paws::CloudFront::ActiveTrustedSigners>
47              
48             CloudFront automatically adds this element to the response only if
49             you've set up the distribution to serve private content with signed
50             URLs. The element lists the key pair IDs that CloudFront is aware of
51             for each trusted signer. The C<Signer> child element lists the AWS
52             account number of the trusted signer (or an empty C<Self> element if
53             the signer is you). The C<Signer> element also includes the IDs of any
54             active key pairs associated with the trusted signer's AWS account. If
55             no C<KeyPairId> element appears for a C<Signer>, that signer can't
56             create working signed URLs.
57              
58              
59             =head2 B<REQUIRED> ARN => Str
60              
61             The ARN (Amazon Resource Name) for the distribution. For example:
62             C<arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5>, where
63             C<123456789012> is your AWS account ID.
64              
65              
66             =head2 B<REQUIRED> DistributionConfig => L<Paws::CloudFront::DistributionConfig>
67              
68             The current configuration information for the distribution. Send a
69             C<GET> request to the C</I<CloudFront API version>/distribution
70             ID/config> resource.
71              
72              
73             =head2 B<REQUIRED> DomainName => Str
74              
75             The domain name corresponding to the distribution. For example:
76             C<d604721fxaaqy9.cloudfront.net>.
77              
78              
79             =head2 B<REQUIRED> Id => Str
80              
81             The identifier for the distribution. For example: C<EDFDVBD632BHDS5>.
82              
83              
84             =head2 B<REQUIRED> InProgressInvalidationBatches => Int
85              
86             The number of invalidation batches currently in progress.
87              
88              
89             =head2 B<REQUIRED> LastModifiedTime => Str
90              
91             The date and time the distribution was last modified.
92              
93              
94             =head2 B<REQUIRED> Status => Str
95              
96             This response element indicates the current status of the distribution.
97             When the status is C<Deployed>, the distribution's information is fully
98             propagated to all CloudFront edge locations.
99              
100              
101              
102             =head1 SEE ALSO
103              
104             This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
105              
106             =head1 BUGS and CONTRIBUTIONS
107              
108             The source code is located here: https://github.com/pplu/aws-sdk-perl
109              
110             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
111              
112             =cut
113