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

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 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::StreamingDistributionConfig;
3 use Moose;
4 has Aliases => (is => 'ro', isa => 'Paws::CloudFront::Aliases');
5 has CallerReference => (is => 'ro', isa => 'Str', required => 1);
6 has Comment => (is => 'ro', isa => 'Str', required => 1);
7 has Enabled => (is => 'ro', isa => 'Bool', required => 1);
8 has Logging => (is => 'ro', isa => 'Paws::CloudFront::StreamingLoggingConfig');
9 has PriceClass => (is => 'ro', isa => 'Str');
10 has S3Origin => (is => 'ro', isa => 'Paws::CloudFront::S3Origin', required => 1);
11 has TrustedSigners => (is => 'ro', isa => 'Paws::CloudFront::TrustedSigners', required => 1);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::CloudFront::StreamingDistributionConfig
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::CloudFront::StreamingDistributionConfig object:
31  
32 $service_obj->Method(Att1 => { Aliases => $value, ..., TrustedSigners => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::StreamingDistributionConfig object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->Aliases
40  
41 =head1 DESCRIPTION
42  
43 The RTMP distribution's configuration information.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 Aliases => L<Paws::CloudFront::Aliases>
49  
50 A complex type that contains information about CNAMEs (alternate domain
51 names), if any, for this streaming distribution.
52  
53  
54 =head2 B<REQUIRED> CallerReference => Str
55  
56 A unique value (for example, a date-time stamp) that ensures that the
57 request can't be replayed.
58  
59 If the value of C<CallerReference> is new (regardless of the content of
60 the C<StreamingDistributionConfig> object), CloudFront creates a new
61 distribution.
62  
63 If C<CallerReference> is a value that you already sent in a previous
64 request to create a distribution, CloudFront returns a
65 C<DistributionAlreadyExists> error.
66  
67  
68 =head2 B<REQUIRED> Comment => Str
69  
70 Any comments you want to include about the streaming distribution.
71  
72  
73 =head2 B<REQUIRED> Enabled => Bool
74  
75 Whether the streaming distribution is enabled to accept user requests
76 for content.
77  
78  
79 =head2 Logging => L<Paws::CloudFront::StreamingLoggingConfig>
80  
81 A complex type that controls whether access logs are written for the
82 streaming distribution.
83  
84  
85 =head2 PriceClass => Str
86  
87 A complex type that contains information about price class for this
88 streaming distribution.
89  
90  
91 =head2 B<REQUIRED> S3Origin => L<Paws::CloudFront::S3Origin>
92  
93 A complex type that contains information about the Amazon S3 bucket
94 from which you want CloudFront to get your media files for
95 distribution.
96  
97  
98 =head2 B<REQUIRED> TrustedSigners => L<Paws::CloudFront::TrustedSigners>
99  
100 A complex type that specifies any AWS accounts that you want to permit
101 to create signed URLs for private content. If you want the distribution
102 to use signed URLs, include this element; if you want the distribution
103 to use public URLs, remove this element. For more information, see
104 Serving Private Content through CloudFront
105 (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html)
106 in the I<Amazon CloudFront Developer Guide>.
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121