blib/lib/Paws/MediaLive/BatchUpdateSchedule.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::MediaLive::BatchUpdateSchedule;
3 use Moose;
4 has ChannelId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'channelId', required => 1);
5 has Creates => (is => 'ro', isa => 'Paws::MediaLive::BatchScheduleActionCreateRequest', traits => ['NameInRequest'], request_name => 'creates');
6 has Deletes => (is => 'ro', isa => 'Paws::MediaLive::BatchScheduleActionDeleteRequest', traits => ['NameInRequest'], request_name => 'deletes');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchUpdateSchedule');
11 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/prod/channels/{channelId}/schedule');
12 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaLive::BatchUpdateScheduleResponse');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::MediaLive::BatchUpdateSchedule - Arguments for method BatchUpdateSchedule on L<Paws::MediaLive>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method BatchUpdateSchedule on the
25 L<AWS Elemental MediaLive|Paws::MediaLive> service. Use the attributes of this class
26 as arguments to method BatchUpdateSchedule.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchUpdateSchedule.
29  
30 =head1 SYNOPSIS
31  
32 my $medialive = Paws->service('MediaLive');
33 my $BatchUpdateScheduleResponse = $medialive->BatchUpdateSchedule(
34 ChannelId => 'My__string',
35 Creates => {
36 ScheduleActions => [
37 {
38 ActionName => 'My__string',
39 ScheduleActionSettings => {
40 HlsId3SegmentTaggingSettings => {
41 Tag => 'My__string',
42  
43 }, # OPTIONAL
44 HlsTimedMetadataSettings => {
45 Id3 => 'My__string',
46  
47 }, # OPTIONAL
48 InputPrepareSettings => {
49 InputAttachmentNameReference => 'My__string',
50 InputClippingSettings => {
51 InputTimecodeSource =>
52 'ZEROBASED', # values: ZEROBASED, EMBEDDED
53 StartTimecode => { Timecode => 'My__string', }, # OPTIONAL
54 StopTimecode => {
55 LastFrameClippingBehavior => 'EXCLUDE_LAST_FRAME'
56 , # values: EXCLUDE_LAST_FRAME, INCLUDE_LAST_FRAME; OPTIONAL
57 Timecode => 'My__string',
58 }, # OPTIONAL
59 }, # OPTIONAL
60 UrlPath => [ 'My__string', ... ], # OPTIONAL
61 }, # OPTIONAL
62 InputSwitchSettings => {
63 InputAttachmentNameReference => 'My__string',
64 InputClippingSettings => {
65 InputTimecodeSource =>
66 'ZEROBASED', # values: ZEROBASED, EMBEDDED
67 StartTimecode => { Timecode => 'My__string', }, # OPTIONAL
68 StopTimecode => {
69 LastFrameClippingBehavior => 'EXCLUDE_LAST_FRAME'
70 , # values: EXCLUDE_LAST_FRAME, INCLUDE_LAST_FRAME; OPTIONAL
71 Timecode => 'My__string',
72 }, # OPTIONAL
73 }, # OPTIONAL
74 UrlPath => [ 'My__string', ... ], # OPTIONAL
75 }, # OPTIONAL
76 MotionGraphicsImageActivateSettings => {
77 Duration => 1, # max: 86400000; OPTIONAL
78 PasswordParam => 'My__string',
79 Url => 'My__string',
80 Username => 'My__string',
81 }, # OPTIONAL
82 MotionGraphicsImageDeactivateSettings => {
83  
84 }, # OPTIONAL
85 PauseStateSettings => {
86 Pipelines => [
87 {
88 PipelineId => 'PIPELINE_0', # values: PIPELINE_0, PIPELINE_1
89  
90 },
91 ...
92 ], # OPTIONAL
93 }, # OPTIONAL
94 Scte35ReturnToNetworkSettings => {
95 SpliceEventId => 1, # max: 4294967295
96  
97 }, # OPTIONAL
98 Scte35SpliceInsertSettings => {
99 SpliceEventId => 1, # max: 4294967295
100 Duration => 1, # max: 8589934591; OPTIONAL
101 }, # OPTIONAL
102 Scte35TimeSignalSettings => {
103 Scte35Descriptors => [
104 {
105 Scte35DescriptorSettings => {
106 SegmentationDescriptorScte35DescriptorSettings => {
107 SegmentationCancelIndicator =>
108 'SEGMENTATION_EVENT_NOT_CANCELED'
109 , # values: SEGMENTATION_EVENT_NOT_CANCELED, SEGMENTATION_EVENT_CANCELED
110 SegmentationEventId => 1, # max: 4294967295
111 DeliveryRestrictions => {
112 ArchiveAllowedFlag => 'ARCHIVE_NOT_ALLOWED'
113 , # values: ARCHIVE_NOT_ALLOWED, ARCHIVE_ALLOWED
114 DeviceRestrictions => 'NONE'
115 , # values: NONE, RESTRICT_GROUP0, RESTRICT_GROUP1, RESTRICT_GROUP2
116 NoRegionalBlackoutFlag => 'REGIONAL_BLACKOUT'
117 , # values: REGIONAL_BLACKOUT, NO_REGIONAL_BLACKOUT
118 WebDeliveryAllowedFlag => 'WEB_DELIVERY_NOT_ALLOWED'
119 , # values: WEB_DELIVERY_NOT_ALLOWED, WEB_DELIVERY_ALLOWED
120  
121 }, # OPTIONAL
122 SegmentNum => 1, # max: 255; OPTIONAL
123 SegmentationDuration =>
124 1, # max: 1099511627775; OPTIONAL
125 SegmentationTypeId => 1, # max: 255; OPTIONAL
126 SegmentationUpid => 'My__string',
127 SegmentationUpidType => 1, # max: 255; OPTIONAL
128 SegmentsExpected => 1, # max: 255; OPTIONAL
129 SubSegmentNum => 1, # max: 255; OPTIONAL
130 SubSegmentsExpected => 1, # max: 255; OPTIONAL
131 },
132  
133 },
134  
135 },
136 ...
137 ],
138  
139 }, # OPTIONAL
140 StaticImageActivateSettings => {
141 Image => {
142 Uri => 'My__string',
143 PasswordParam => 'My__string',
144 Username => 'My__string',
145 },
146 Duration => 1, # OPTIONAL
147 FadeIn => 1, # OPTIONAL
148 FadeOut => 1, # OPTIONAL
149 Height => 1, # min: 1; OPTIONAL
150 ImageX => 1, # OPTIONAL
151 ImageY => 1, # OPTIONAL
152 Layer => 1, # max: 7; OPTIONAL
153 Opacity => 1, # max: 100; OPTIONAL
154 Width => 1, # min: 1; OPTIONAL
155 }, # OPTIONAL
156 StaticImageDeactivateSettings => {
157 FadeOut => 1, # OPTIONAL
158 Layer => 1, # max: 7; OPTIONAL
159 }, # OPTIONAL
160 },
161 ScheduleActionStartSettings => {
162 FixedModeScheduleActionStartSettings => {
163 Time => 'My__string',
164  
165 }, # OPTIONAL
166 FollowModeScheduleActionStartSettings => {
167 FollowPoint => 'END', # values: END, START
168 ReferenceActionName => 'My__string',
169  
170 }, # OPTIONAL
171 ImmediateModeScheduleActionStartSettings => {
172  
173 }, # OPTIONAL
174 },
175  
176 },
177 ...
178 ],
179  
180 }, # OPTIONAL
181 Deletes => {
182 ActionNames => [ 'My__string', ... ], # OPTIONAL
183  
184 }, # OPTIONAL
185 );
186  
187 # Results:
188 my $Creates = $BatchUpdateScheduleResponse->Creates;
189 my $Deletes = $BatchUpdateScheduleResponse->Deletes;
190  
191 # Returns a L<Paws::MediaLive::BatchUpdateScheduleResponse> object.
192  
193 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
194 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/medialive/BatchUpdateSchedule>
195  
196 =head1 ATTRIBUTES
197  
198  
199 =head2 B<REQUIRED> ChannelId => Str
200  
201 Id of the channel whose schedule is being updated.
202  
203  
204  
205 =head2 Creates => L<Paws::MediaLive::BatchScheduleActionCreateRequest>
206  
207 Schedule actions to create in the schedule.
208  
209  
210  
211 =head2 Deletes => L<Paws::MediaLive::BatchScheduleActionDeleteRequest>
212  
213 Schedule actions to delete from the schedule.
214  
215  
216  
217  
218 =head1 SEE ALSO
219  
220 This class forms part of L<Paws>, documenting arguments for method BatchUpdateSchedule in L<Paws::MediaLive>
221  
222 =head1 BUGS and CONTRIBUTIONS
223  
224 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
225  
226 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
227  
228 =cut
229