File Coverage

blib/lib/Paws/CloudFront/DistributionList.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::DistributionList;
2 1     1   315 use Moose;
  1         2  
  1         6  
3             has IsTruncated => (is => 'ro', isa => 'Bool', required => 1);
4             has Items => (is => 'ro', isa => 'ArrayRef[Paws::CloudFront::DistributionSummary]', request_name => 'DistributionSummary', traits => ['NameInRequest']);
5             has Marker => (is => 'ro', isa => 'Str', required => 1);
6             has MaxItems => (is => 'ro', isa => 'Int', required => 1);
7             has NextMarker => (is => 'ro', isa => 'Str');
8             has Quantity => (is => 'ro', isa => 'Int', required => 1);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::CloudFront::DistributionList
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::CloudFront::DistributionList object:
27              
28             $service_obj->Method(Att1 => { IsTruncated => $value, ..., Quantity => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::DistributionList object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->IsTruncated
36              
37             =head1 DESCRIPTION
38              
39             A distribution list.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> IsTruncated => Bool
45              
46             A flag that indicates whether more distributions remain to be listed.
47             If your results were truncated, you can make a follow-up pagination
48             request using the C<Marker> request parameter to retrieve more
49             distributions in the list.
50              
51              
52             =head2 Items => ArrayRef[L<Paws::CloudFront::DistributionSummary>]
53              
54             A complex type that contains one C<DistributionSummary> element for
55             each distribution that was created by the current AWS account.
56              
57              
58             =head2 B<REQUIRED> Marker => Str
59              
60             The value you provided for the C<Marker> request parameter.
61              
62              
63             =head2 B<REQUIRED> MaxItems => Int
64              
65             The value you provided for the C<MaxItems> request parameter.
66              
67              
68             =head2 NextMarker => Str
69              
70             If C<IsTruncated> is C<true>, this element is present and contains the
71             value you can use for the C<Marker> request parameter to continue
72             listing your distributions where they left off.
73              
74              
75             =head2 B<REQUIRED> Quantity => Int
76              
77             The number of distributions that were created by the current AWS
78             account.
79              
80              
81              
82             =head1 SEE ALSO
83              
84             This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
85              
86             =head1 BUGS and CONTRIBUTIONS
87              
88             The source code is located here: https://github.com/pplu/aws-sdk-perl
89              
90             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
91              
92             =cut
93