File Coverage

blib/lib/Paws/CloudFront/StreamingDistributionConfig.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::StreamingDistributionConfig;
2 1     1   858 use Moose;
  1         3  
  1         8  
3             has Aliases => (is => 'ro', isa => 'Paws::CloudFront::Aliases');
4             has CallerReference => (is => 'ro', isa => 'Str', required => 1);
5             has Comment => (is => 'ro', isa => 'Str', required => 1);
6             has Enabled => (is => 'ro', isa => 'Bool', required => 1);
7             has Logging => (is => 'ro', isa => 'Paws::CloudFront::StreamingLoggingConfig');
8             has PriceClass => (is => 'ro', isa => 'Str');
9             has S3Origin => (is => 'ro', isa => 'Paws::CloudFront::S3Origin', required => 1);
10             has TrustedSigners => (is => 'ro', isa => 'Paws::CloudFront::TrustedSigners', required => 1);
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::CloudFront::StreamingDistributionConfig
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::StreamingDistributionConfig object:
29              
30             $service_obj->Method(Att1 => { Aliases => $value, ..., TrustedSigners => $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::StreamingDistributionConfig object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->Aliases
38              
39             =head1 DESCRIPTION
40              
41             The RTMP distribution's configuration information.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 Aliases => L<Paws::CloudFront::Aliases>
47              
48             A complex type that contains information about CNAMEs (alternate domain
49             names), if any, for this streaming distribution.
50              
51              
52             =head2 B<REQUIRED> CallerReference => Str
53              
54             A unique number that ensures that the request can't be replayed. If the
55             C<CallerReference> is new (no matter the content of the
56             C<StreamingDistributionConfig> object), a new streaming distribution is
57             created. If the C<CallerReference> is a value that you already sent in
58             a previous request to create a streaming distribution, and the content
59             of the C<StreamingDistributionConfig> is identical to the original
60             request (ignoring white space), the response includes the same
61             information returned to the original request. If the C<CallerReference>
62             is a value that you already sent in a previous request to create a
63             streaming distribution but the content of the
64             C<StreamingDistributionConfig> is different from the original request,
65             CloudFront returns a 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 in the I<Amazon CloudFront
105             Developer Guide>.
106              
107              
108              
109             =head1 SEE ALSO
110              
111             This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
112              
113             =head1 BUGS and CONTRIBUTIONS
114              
115             The source code is located here: https://github.com/pplu/aws-sdk-perl
116              
117             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
118              
119             =cut
120