blib/lib/Paws/MediaPackage/OriginEndpointCreateParameters.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 32 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaPackage::OriginEndpointCreateParameters;
3 use Moose;
4 has Authorization => (is => 'ro', isa => 'Paws::MediaPackage::Authorization', request_name => 'authorization', traits => ['NameInRequest']);
5 has ChannelId => (is => 'ro', isa => 'Str', request_name => 'channelId', traits => ['NameInRequest'], required => 1);
6 has CmafPackage => (is => 'ro', isa => 'Paws::MediaPackage::CmafPackageCreateOrUpdateParameters', request_name => 'cmafPackage', traits => ['NameInRequest']);
7 has DashPackage => (is => 'ro', isa => 'Paws::MediaPackage::DashPackage', request_name => 'dashPackage', traits => ['NameInRequest']);
8 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
9 has HlsPackage => (is => 'ro', isa => 'Paws::MediaPackage::HlsPackage', request_name => 'hlsPackage', traits => ['NameInRequest']);
10 has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1);
11 has ManifestName => (is => 'ro', isa => 'Str', request_name => 'manifestName', traits => ['NameInRequest']);
12 has MssPackage => (is => 'ro', isa => 'Paws::MediaPackage::MssPackage', request_name => 'mssPackage', traits => ['NameInRequest']);
13 has Origination => (is => 'ro', isa => 'Str', request_name => 'origination', traits => ['NameInRequest']);
14 has StartoverWindowSeconds => (is => 'ro', isa => 'Int', request_name => 'startoverWindowSeconds', traits => ['NameInRequest']);
15 has Tags => (is => 'ro', isa => 'Paws::MediaPackage::Tags', request_name => 'tags', traits => ['NameInRequest']);
16 has TimeDelaySeconds => (is => 'ro', isa => 'Int', request_name => 'timeDelaySeconds', traits => ['NameInRequest']);
17 has Whitelist => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'whitelist', traits => ['NameInRequest']);
18  
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::MediaPackage::OriginEndpointCreateParameters
26  
27 =head1 USAGE
28  
29 This class represents one of two things:
30  
31 =head3 Arguments in a call to a service
32  
33 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34 Each attribute should be used as a named argument in the calls that expect this type of object.
35  
36 As an example, if Att1 is expected to be a Paws::MediaPackage::OriginEndpointCreateParameters object:
37  
38 $service_obj->Method(Att1 => { Authorization => $value, ..., Whitelist => $value });
39  
40 =head3 Results returned from an API call
41  
42 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaPackage::OriginEndpointCreateParameters object:
43  
44 $result = $service_obj->Method(...);
45 $result->Att1->Authorization
46  
47 =head1 DESCRIPTION
48  
49 Configuration parameters for a new OriginEndpoint.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 Authorization => L<Paws::MediaPackage::Authorization>
55  
56  
57  
58  
59 =head2 B<REQUIRED> ChannelId => Str
60  
61 The ID of the Channel that the OriginEndpoint will be associated with.
62 This cannot be changed after the OriginEndpoint is created.
63  
64  
65 =head2 CmafPackage => L<Paws::MediaPackage::CmafPackageCreateOrUpdateParameters>
66  
67  
68  
69  
70 =head2 DashPackage => L<Paws::MediaPackage::DashPackage>
71  
72  
73  
74  
75 =head2 Description => Str
76  
77 A short text description of the OriginEndpoint.
78  
79  
80 =head2 HlsPackage => L<Paws::MediaPackage::HlsPackage>
81  
82  
83  
84  
85 =head2 B<REQUIRED> Id => Str
86  
87 The ID of the OriginEndpoint. The ID must be unique within the region
88 and it cannot be changed after the OriginEndpoint is created.
89  
90  
91 =head2 ManifestName => Str
92  
93 A short string that will be used as the filename of the OriginEndpoint
94 URL (defaults to "index").
95  
96  
97 =head2 MssPackage => L<Paws::MediaPackage::MssPackage>
98  
99  
100  
101  
102 =head2 Origination => Str
103  
104 Control whether origination of video is allowed for this
105 OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested,
106 pursuant to any other form of access control. If set to DENY, the
107 OriginEndpoint may not be requested. This can be helpful for Live to
108 VOD harvesting, or for temporarily disabling origination
109  
110  
111 =head2 StartoverWindowSeconds => Int
112  
113 Maximum duration (seconds) of content to retain for startover playback.
114 If not specified, startover playback will be disabled for the
115 OriginEndpoint.
116  
117  
118 =head2 Tags => L<Paws::MediaPackage::Tags>
119  
120  
121  
122  
123 =head2 TimeDelaySeconds => Int
124  
125 Amount of delay (seconds) to enforce on the playback of live content.
126 If not specified, there will be no time delay in effect for the
127 OriginEndpoint.
128  
129  
130 =head2 Whitelist => ArrayRef[Str|Undef]
131  
132 A list of source IP CIDR blocks that will be allowed to access the
133 OriginEndpoint.
134  
135  
136  
137 =head1 SEE ALSO
138  
139 This class forms part of L<Paws>, describing an object used in L<Paws::MediaPackage>
140  
141 =head1 BUGS and CONTRIBUTIONS
142  
143 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
144  
145 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
146  
147 =cut
148