File Coverage

blib/lib/Paws/CloudFront/ActiveTrustedSigners.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::ActiveTrustedSigners;
2 1     1   820 use Moose;
  1         3  
  1         10  
3             has Enabled => (is => 'ro', isa => 'Bool', required => 1);
4             has Items => (is => 'ro', isa => 'ArrayRef[Paws::CloudFront::Signer]', request_name => 'Signer', traits => ['NameInRequest']);
5             has Quantity => (is => 'ro', isa => 'Int', required => 1);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::CloudFront::ActiveTrustedSigners
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::CloudFront::ActiveTrustedSigners object:
24              
25             $service_obj->Method(Att1 => { Enabled => $value, ..., Quantity => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::ActiveTrustedSigners object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Enabled
33              
34             =head1 DESCRIPTION
35              
36             A complex type that lists the AWS accounts, if any, that you included
37             in the C<TrustedSigners> complex type for this distribution. These are
38             the accounts that you want to allow to create signed URLs for private
39             content.
40              
41             The C<Signer> complex type lists the AWS account number of the trusted
42             signer or C<self> if the signer is the AWS account that created the
43             distribution. The C<Signer> element also includes the IDs of any active
44             CloudFront key pairs that are associated with the trusted signer's AWS
45             account. If no C<KeyPairId> element appears for a C<Signer>, that
46             signer can't create signed URLs.
47              
48             For more information, see Serving Private Content through CloudFront in
49             the I<Amazon CloudFront Developer Guide>.
50              
51             =head1 ATTRIBUTES
52              
53              
54             =head2 B<REQUIRED> Enabled => Bool
55              
56             Enabled is C<true> if any of the AWS accounts listed in the
57             C<TrustedSigners> complex type for this RTMP distribution have active
58             CloudFront key pairs. If not, C<Enabled> is C<false>.
59              
60             For more information, see ActiveTrustedSigners.
61              
62              
63             =head2 Items => ArrayRef[L<Paws::CloudFront::Signer>]
64              
65             A complex type that contains one C<Signer> complex type for each
66             trusted signer that is specified in the C<TrustedSigners> complex type.
67              
68             For more information, see ActiveTrustedSigners.
69              
70              
71             =head2 B<REQUIRED> Quantity => Int
72              
73             A complex type that contains one C<Signer> complex type for each
74             trusted signer specified in the C<TrustedSigners> complex type.
75              
76             For more information, see ActiveTrustedSigners.
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
83              
84             =head1 BUGS and CONTRIBUTIONS
85              
86             The source code is located here: https://github.com/pplu/aws-sdk-perl
87              
88             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
89              
90             =cut
91