UNPKG

200 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {WaiterConfiguration} from '../lib/service';
6import {ServiceConfigurationOptions} from '../lib/service';
7import {ConfigBase as Config} from '../lib/config';
8interface Blob {}
9declare class MediaLive extends Service {
10 /**
11 * Constructs a service object. This object has one method for each API operation.
12 */
13 constructor(options?: MediaLive.Types.ClientConfiguration)
14 config: Config & MediaLive.Types.ClientConfiguration;
15 /**
16 * Update a channel schedule
17 */
18 batchUpdateSchedule(params: MediaLive.Types.BatchUpdateScheduleRequest, callback?: (err: AWSError, data: MediaLive.Types.BatchUpdateScheduleResponse) => void): Request<MediaLive.Types.BatchUpdateScheduleResponse, AWSError>;
19 /**
20 * Update a channel schedule
21 */
22 batchUpdateSchedule(callback?: (err: AWSError, data: MediaLive.Types.BatchUpdateScheduleResponse) => void): Request<MediaLive.Types.BatchUpdateScheduleResponse, AWSError>;
23 /**
24 * Creates a new channel
25 */
26 createChannel(params: MediaLive.Types.CreateChannelRequest, callback?: (err: AWSError, data: MediaLive.Types.CreateChannelResponse) => void): Request<MediaLive.Types.CreateChannelResponse, AWSError>;
27 /**
28 * Creates a new channel
29 */
30 createChannel(callback?: (err: AWSError, data: MediaLive.Types.CreateChannelResponse) => void): Request<MediaLive.Types.CreateChannelResponse, AWSError>;
31 /**
32 * Create an input
33 */
34 createInput(params: MediaLive.Types.CreateInputRequest, callback?: (err: AWSError, data: MediaLive.Types.CreateInputResponse) => void): Request<MediaLive.Types.CreateInputResponse, AWSError>;
35 /**
36 * Create an input
37 */
38 createInput(callback?: (err: AWSError, data: MediaLive.Types.CreateInputResponse) => void): Request<MediaLive.Types.CreateInputResponse, AWSError>;
39 /**
40 * Creates a Input Security Group
41 */
42 createInputSecurityGroup(params: MediaLive.Types.CreateInputSecurityGroupRequest, callback?: (err: AWSError, data: MediaLive.Types.CreateInputSecurityGroupResponse) => void): Request<MediaLive.Types.CreateInputSecurityGroupResponse, AWSError>;
43 /**
44 * Creates a Input Security Group
45 */
46 createInputSecurityGroup(callback?: (err: AWSError, data: MediaLive.Types.CreateInputSecurityGroupResponse) => void): Request<MediaLive.Types.CreateInputSecurityGroupResponse, AWSError>;
47 /**
48 * Create tags for a resource
49 */
50 createTags(params: MediaLive.Types.CreateTagsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
51 /**
52 * Create tags for a resource
53 */
54 createTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
55 /**
56 * Starts deletion of channel. The associated outputs are also deleted.
57 */
58 deleteChannel(params: MediaLive.Types.DeleteChannelRequest, callback?: (err: AWSError, data: MediaLive.Types.DeleteChannelResponse) => void): Request<MediaLive.Types.DeleteChannelResponse, AWSError>;
59 /**
60 * Starts deletion of channel. The associated outputs are also deleted.
61 */
62 deleteChannel(callback?: (err: AWSError, data: MediaLive.Types.DeleteChannelResponse) => void): Request<MediaLive.Types.DeleteChannelResponse, AWSError>;
63 /**
64 * Deletes the input end point
65 */
66 deleteInput(params: MediaLive.Types.DeleteInputRequest, callback?: (err: AWSError, data: MediaLive.Types.DeleteInputResponse) => void): Request<MediaLive.Types.DeleteInputResponse, AWSError>;
67 /**
68 * Deletes the input end point
69 */
70 deleteInput(callback?: (err: AWSError, data: MediaLive.Types.DeleteInputResponse) => void): Request<MediaLive.Types.DeleteInputResponse, AWSError>;
71 /**
72 * Deletes an Input Security Group
73 */
74 deleteInputSecurityGroup(params: MediaLive.Types.DeleteInputSecurityGroupRequest, callback?: (err: AWSError, data: MediaLive.Types.DeleteInputSecurityGroupResponse) => void): Request<MediaLive.Types.DeleteInputSecurityGroupResponse, AWSError>;
75 /**
76 * Deletes an Input Security Group
77 */
78 deleteInputSecurityGroup(callback?: (err: AWSError, data: MediaLive.Types.DeleteInputSecurityGroupResponse) => void): Request<MediaLive.Types.DeleteInputSecurityGroupResponse, AWSError>;
79 /**
80 * Delete an expired reservation.
81 */
82 deleteReservation(params: MediaLive.Types.DeleteReservationRequest, callback?: (err: AWSError, data: MediaLive.Types.DeleteReservationResponse) => void): Request<MediaLive.Types.DeleteReservationResponse, AWSError>;
83 /**
84 * Delete an expired reservation.
85 */
86 deleteReservation(callback?: (err: AWSError, data: MediaLive.Types.DeleteReservationResponse) => void): Request<MediaLive.Types.DeleteReservationResponse, AWSError>;
87 /**
88 * Delete all schedule actions on a channel.
89 */
90 deleteSchedule(params: MediaLive.Types.DeleteScheduleRequest, callback?: (err: AWSError, data: MediaLive.Types.DeleteScheduleResponse) => void): Request<MediaLive.Types.DeleteScheduleResponse, AWSError>;
91 /**
92 * Delete all schedule actions on a channel.
93 */
94 deleteSchedule(callback?: (err: AWSError, data: MediaLive.Types.DeleteScheduleResponse) => void): Request<MediaLive.Types.DeleteScheduleResponse, AWSError>;
95 /**
96 * Removes tags for a resource
97 */
98 deleteTags(params: MediaLive.Types.DeleteTagsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
99 /**
100 * Removes tags for a resource
101 */
102 deleteTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
103 /**
104 * Gets details about a channel
105 */
106 describeChannel(params: MediaLive.Types.DescribeChannelRequest, callback?: (err: AWSError, data: MediaLive.Types.DescribeChannelResponse) => void): Request<MediaLive.Types.DescribeChannelResponse, AWSError>;
107 /**
108 * Gets details about a channel
109 */
110 describeChannel(callback?: (err: AWSError, data: MediaLive.Types.DescribeChannelResponse) => void): Request<MediaLive.Types.DescribeChannelResponse, AWSError>;
111 /**
112 * Produces details about an input
113 */
114 describeInput(params: MediaLive.Types.DescribeInputRequest, callback?: (err: AWSError, data: MediaLive.Types.DescribeInputResponse) => void): Request<MediaLive.Types.DescribeInputResponse, AWSError>;
115 /**
116 * Produces details about an input
117 */
118 describeInput(callback?: (err: AWSError, data: MediaLive.Types.DescribeInputResponse) => void): Request<MediaLive.Types.DescribeInputResponse, AWSError>;
119 /**
120 * Produces a summary of an Input Security Group
121 */
122 describeInputSecurityGroup(params: MediaLive.Types.DescribeInputSecurityGroupRequest, callback?: (err: AWSError, data: MediaLive.Types.DescribeInputSecurityGroupResponse) => void): Request<MediaLive.Types.DescribeInputSecurityGroupResponse, AWSError>;
123 /**
124 * Produces a summary of an Input Security Group
125 */
126 describeInputSecurityGroup(callback?: (err: AWSError, data: MediaLive.Types.DescribeInputSecurityGroupResponse) => void): Request<MediaLive.Types.DescribeInputSecurityGroupResponse, AWSError>;
127 /**
128 * Get details for an offering.
129 */
130 describeOffering(params: MediaLive.Types.DescribeOfferingRequest, callback?: (err: AWSError, data: MediaLive.Types.DescribeOfferingResponse) => void): Request<MediaLive.Types.DescribeOfferingResponse, AWSError>;
131 /**
132 * Get details for an offering.
133 */
134 describeOffering(callback?: (err: AWSError, data: MediaLive.Types.DescribeOfferingResponse) => void): Request<MediaLive.Types.DescribeOfferingResponse, AWSError>;
135 /**
136 * Get details for a reservation.
137 */
138 describeReservation(params: MediaLive.Types.DescribeReservationRequest, callback?: (err: AWSError, data: MediaLive.Types.DescribeReservationResponse) => void): Request<MediaLive.Types.DescribeReservationResponse, AWSError>;
139 /**
140 * Get details for a reservation.
141 */
142 describeReservation(callback?: (err: AWSError, data: MediaLive.Types.DescribeReservationResponse) => void): Request<MediaLive.Types.DescribeReservationResponse, AWSError>;
143 /**
144 * Get a channel schedule
145 */
146 describeSchedule(params: MediaLive.Types.DescribeScheduleRequest, callback?: (err: AWSError, data: MediaLive.Types.DescribeScheduleResponse) => void): Request<MediaLive.Types.DescribeScheduleResponse, AWSError>;
147 /**
148 * Get a channel schedule
149 */
150 describeSchedule(callback?: (err: AWSError, data: MediaLive.Types.DescribeScheduleResponse) => void): Request<MediaLive.Types.DescribeScheduleResponse, AWSError>;
151 /**
152 * Produces list of channels that have been created
153 */
154 listChannels(params: MediaLive.Types.ListChannelsRequest, callback?: (err: AWSError, data: MediaLive.Types.ListChannelsResponse) => void): Request<MediaLive.Types.ListChannelsResponse, AWSError>;
155 /**
156 * Produces list of channels that have been created
157 */
158 listChannels(callback?: (err: AWSError, data: MediaLive.Types.ListChannelsResponse) => void): Request<MediaLive.Types.ListChannelsResponse, AWSError>;
159 /**
160 * Produces a list of Input Security Groups for an account
161 */
162 listInputSecurityGroups(params: MediaLive.Types.ListInputSecurityGroupsRequest, callback?: (err: AWSError, data: MediaLive.Types.ListInputSecurityGroupsResponse) => void): Request<MediaLive.Types.ListInputSecurityGroupsResponse, AWSError>;
163 /**
164 * Produces a list of Input Security Groups for an account
165 */
166 listInputSecurityGroups(callback?: (err: AWSError, data: MediaLive.Types.ListInputSecurityGroupsResponse) => void): Request<MediaLive.Types.ListInputSecurityGroupsResponse, AWSError>;
167 /**
168 * Produces list of inputs that have been created
169 */
170 listInputs(params: MediaLive.Types.ListInputsRequest, callback?: (err: AWSError, data: MediaLive.Types.ListInputsResponse) => void): Request<MediaLive.Types.ListInputsResponse, AWSError>;
171 /**
172 * Produces list of inputs that have been created
173 */
174 listInputs(callback?: (err: AWSError, data: MediaLive.Types.ListInputsResponse) => void): Request<MediaLive.Types.ListInputsResponse, AWSError>;
175 /**
176 * List offerings available for purchase.
177 */
178 listOfferings(params: MediaLive.Types.ListOfferingsRequest, callback?: (err: AWSError, data: MediaLive.Types.ListOfferingsResponse) => void): Request<MediaLive.Types.ListOfferingsResponse, AWSError>;
179 /**
180 * List offerings available for purchase.
181 */
182 listOfferings(callback?: (err: AWSError, data: MediaLive.Types.ListOfferingsResponse) => void): Request<MediaLive.Types.ListOfferingsResponse, AWSError>;
183 /**
184 * List purchased reservations.
185 */
186 listReservations(params: MediaLive.Types.ListReservationsRequest, callback?: (err: AWSError, data: MediaLive.Types.ListReservationsResponse) => void): Request<MediaLive.Types.ListReservationsResponse, AWSError>;
187 /**
188 * List purchased reservations.
189 */
190 listReservations(callback?: (err: AWSError, data: MediaLive.Types.ListReservationsResponse) => void): Request<MediaLive.Types.ListReservationsResponse, AWSError>;
191 /**
192 * Produces list of tags that have been created for a resource
193 */
194 listTagsForResource(params: MediaLive.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: MediaLive.Types.ListTagsForResourceResponse) => void): Request<MediaLive.Types.ListTagsForResourceResponse, AWSError>;
195 /**
196 * Produces list of tags that have been created for a resource
197 */
198 listTagsForResource(callback?: (err: AWSError, data: MediaLive.Types.ListTagsForResourceResponse) => void): Request<MediaLive.Types.ListTagsForResourceResponse, AWSError>;
199 /**
200 * Purchase an offering and create a reservation.
201 */
202 purchaseOffering(params: MediaLive.Types.PurchaseOfferingRequest, callback?: (err: AWSError, data: MediaLive.Types.PurchaseOfferingResponse) => void): Request<MediaLive.Types.PurchaseOfferingResponse, AWSError>;
203 /**
204 * Purchase an offering and create a reservation.
205 */
206 purchaseOffering(callback?: (err: AWSError, data: MediaLive.Types.PurchaseOfferingResponse) => void): Request<MediaLive.Types.PurchaseOfferingResponse, AWSError>;
207 /**
208 * Starts an existing channel
209 */
210 startChannel(params: MediaLive.Types.StartChannelRequest, callback?: (err: AWSError, data: MediaLive.Types.StartChannelResponse) => void): Request<MediaLive.Types.StartChannelResponse, AWSError>;
211 /**
212 * Starts an existing channel
213 */
214 startChannel(callback?: (err: AWSError, data: MediaLive.Types.StartChannelResponse) => void): Request<MediaLive.Types.StartChannelResponse, AWSError>;
215 /**
216 * Stops a running channel
217 */
218 stopChannel(params: MediaLive.Types.StopChannelRequest, callback?: (err: AWSError, data: MediaLive.Types.StopChannelResponse) => void): Request<MediaLive.Types.StopChannelResponse, AWSError>;
219 /**
220 * Stops a running channel
221 */
222 stopChannel(callback?: (err: AWSError, data: MediaLive.Types.StopChannelResponse) => void): Request<MediaLive.Types.StopChannelResponse, AWSError>;
223 /**
224 * Updates a channel.
225 */
226 updateChannel(params: MediaLive.Types.UpdateChannelRequest, callback?: (err: AWSError, data: MediaLive.Types.UpdateChannelResponse) => void): Request<MediaLive.Types.UpdateChannelResponse, AWSError>;
227 /**
228 * Updates a channel.
229 */
230 updateChannel(callback?: (err: AWSError, data: MediaLive.Types.UpdateChannelResponse) => void): Request<MediaLive.Types.UpdateChannelResponse, AWSError>;
231 /**
232 * Changes the class of the channel.
233 */
234 updateChannelClass(params: MediaLive.Types.UpdateChannelClassRequest, callback?: (err: AWSError, data: MediaLive.Types.UpdateChannelClassResponse) => void): Request<MediaLive.Types.UpdateChannelClassResponse, AWSError>;
235 /**
236 * Changes the class of the channel.
237 */
238 updateChannelClass(callback?: (err: AWSError, data: MediaLive.Types.UpdateChannelClassResponse) => void): Request<MediaLive.Types.UpdateChannelClassResponse, AWSError>;
239 /**
240 * Updates an input.
241 */
242 updateInput(params: MediaLive.Types.UpdateInputRequest, callback?: (err: AWSError, data: MediaLive.Types.UpdateInputResponse) => void): Request<MediaLive.Types.UpdateInputResponse, AWSError>;
243 /**
244 * Updates an input.
245 */
246 updateInput(callback?: (err: AWSError, data: MediaLive.Types.UpdateInputResponse) => void): Request<MediaLive.Types.UpdateInputResponse, AWSError>;
247 /**
248 * Update an Input Security Group's Whilelists.
249 */
250 updateInputSecurityGroup(params: MediaLive.Types.UpdateInputSecurityGroupRequest, callback?: (err: AWSError, data: MediaLive.Types.UpdateInputSecurityGroupResponse) => void): Request<MediaLive.Types.UpdateInputSecurityGroupResponse, AWSError>;
251 /**
252 * Update an Input Security Group's Whilelists.
253 */
254 updateInputSecurityGroup(callback?: (err: AWSError, data: MediaLive.Types.UpdateInputSecurityGroupResponse) => void): Request<MediaLive.Types.UpdateInputSecurityGroupResponse, AWSError>;
255 /**
256 * Update reservation.
257 */
258 updateReservation(params: MediaLive.Types.UpdateReservationRequest, callback?: (err: AWSError, data: MediaLive.Types.UpdateReservationResponse) => void): Request<MediaLive.Types.UpdateReservationResponse, AWSError>;
259 /**
260 * Update reservation.
261 */
262 updateReservation(callback?: (err: AWSError, data: MediaLive.Types.UpdateReservationResponse) => void): Request<MediaLive.Types.UpdateReservationResponse, AWSError>;
263 /**
264 * Waits for the channelCreated state by periodically calling the underlying MediaLive.describeChanneloperation every 3 seconds (at most 5 times). Wait until a channel has been created
265 */
266 waitFor(state: "channelCreated", params: MediaLive.Types.DescribeChannelRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: MediaLive.Types.DescribeChannelResponse) => void): Request<MediaLive.Types.DescribeChannelResponse, AWSError>;
267 /**
268 * Waits for the channelCreated state by periodically calling the underlying MediaLive.describeChanneloperation every 3 seconds (at most 5 times). Wait until a channel has been created
269 */
270 waitFor(state: "channelCreated", callback?: (err: AWSError, data: MediaLive.Types.DescribeChannelResponse) => void): Request<MediaLive.Types.DescribeChannelResponse, AWSError>;
271 /**
272 * Waits for the channelRunning state by periodically calling the underlying MediaLive.describeChanneloperation every 5 seconds (at most 120 times). Wait until a channel is running
273 */
274 waitFor(state: "channelRunning", params: MediaLive.Types.DescribeChannelRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: MediaLive.Types.DescribeChannelResponse) => void): Request<MediaLive.Types.DescribeChannelResponse, AWSError>;
275 /**
276 * Waits for the channelRunning state by periodically calling the underlying MediaLive.describeChanneloperation every 5 seconds (at most 120 times). Wait until a channel is running
277 */
278 waitFor(state: "channelRunning", callback?: (err: AWSError, data: MediaLive.Types.DescribeChannelResponse) => void): Request<MediaLive.Types.DescribeChannelResponse, AWSError>;
279 /**
280 * Waits for the channelStopped state by periodically calling the underlying MediaLive.describeChanneloperation every 5 seconds (at most 28 times). Wait until a channel has is stopped
281 */
282 waitFor(state: "channelStopped", params: MediaLive.Types.DescribeChannelRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: MediaLive.Types.DescribeChannelResponse) => void): Request<MediaLive.Types.DescribeChannelResponse, AWSError>;
283 /**
284 * Waits for the channelStopped state by periodically calling the underlying MediaLive.describeChanneloperation every 5 seconds (at most 28 times). Wait until a channel has is stopped
285 */
286 waitFor(state: "channelStopped", callback?: (err: AWSError, data: MediaLive.Types.DescribeChannelResponse) => void): Request<MediaLive.Types.DescribeChannelResponse, AWSError>;
287 /**
288 * Waits for the channelDeleted state by periodically calling the underlying MediaLive.describeChanneloperation every 5 seconds (at most 20 times). Wait until a channel has been deleted
289 */
290 waitFor(state: "channelDeleted", params: MediaLive.Types.DescribeChannelRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: MediaLive.Types.DescribeChannelResponse) => void): Request<MediaLive.Types.DescribeChannelResponse, AWSError>;
291 /**
292 * Waits for the channelDeleted state by periodically calling the underlying MediaLive.describeChanneloperation every 5 seconds (at most 20 times). Wait until a channel has been deleted
293 */
294 waitFor(state: "channelDeleted", callback?: (err: AWSError, data: MediaLive.Types.DescribeChannelResponse) => void): Request<MediaLive.Types.DescribeChannelResponse, AWSError>;
295}
296declare namespace MediaLive {
297 export type AacCodingMode = "AD_RECEIVER_MIX"|"CODING_MODE_1_0"|"CODING_MODE_1_1"|"CODING_MODE_2_0"|"CODING_MODE_5_1"|string;
298 export type AacInputType = "BROADCASTER_MIXED_AD"|"NORMAL"|string;
299 export type AacProfile = "HEV1"|"HEV2"|"LC"|string;
300 export type AacRateControlMode = "CBR"|"VBR"|string;
301 export type AacRawFormat = "LATM_LOAS"|"NONE"|string;
302 export interface AacSettings {
303 /**
304 * Average bitrate in bits/second. Valid values depend on rate control mode and profile.
305 */
306 Bitrate?: __double;
307 /**
308 * Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. The adReceiverMix setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.
309 */
310 CodingMode?: AacCodingMode;
311 /**
312 * Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair. The Audio Type field (audioType) will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd.
313
314Leave set to "normal" when input does not contain pre-mixed audio + AD.
315 */
316 InputType?: AacInputType;
317 /**
318 * AAC Profile.
319 */
320 Profile?: AacProfile;
321 /**
322 * Rate Control Mode.
323 */
324 RateControlMode?: AacRateControlMode;
325 /**
326 * Sets LATM / LOAS AAC output for raw containers.
327 */
328 RawFormat?: AacRawFormat;
329 /**
330 * Sample rate in Hz. Valid values depend on rate control mode and profile.
331 */
332 SampleRate?: __double;
333 /**
334 * Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
335 */
336 Spec?: AacSpec;
337 /**
338 * VBR Quality Level - Only used if rateControlMode is VBR.
339 */
340 VbrQuality?: AacVbrQuality;
341 }
342 export type AacSpec = "MPEG2"|"MPEG4"|string;
343 export type AacVbrQuality = "HIGH"|"LOW"|"MEDIUM_HIGH"|"MEDIUM_LOW"|string;
344 export type Ac3BitstreamMode = "COMMENTARY"|"COMPLETE_MAIN"|"DIALOGUE"|"EMERGENCY"|"HEARING_IMPAIRED"|"MUSIC_AND_EFFECTS"|"VISUALLY_IMPAIRED"|"VOICE_OVER"|string;
345 export type Ac3CodingMode = "CODING_MODE_1_0"|"CODING_MODE_1_1"|"CODING_MODE_2_0"|"CODING_MODE_3_2_LFE"|string;
346 export type Ac3DrcProfile = "FILM_STANDARD"|"NONE"|string;
347 export type Ac3LfeFilter = "DISABLED"|"ENABLED"|string;
348 export type Ac3MetadataControl = "FOLLOW_INPUT"|"USE_CONFIGURED"|string;
349 export interface Ac3Settings {
350 /**
351 * Average bitrate in bits/second. Valid bitrates depend on the coding mode.
352 */
353 Bitrate?: __double;
354 /**
355 * Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC A/52-2012 for background on these values.
356 */
357 BitstreamMode?: Ac3BitstreamMode;
358 /**
359 * Dolby Digital coding mode. Determines number of channels.
360 */
361 CodingMode?: Ac3CodingMode;
362 /**
363 * Sets the dialnorm for the output. If excluded and input audio is Dolby Digital, dialnorm will be passed through.
364 */
365 Dialnorm?: __integerMin1Max31;
366 /**
367 * If set to filmStandard, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.
368 */
369 DrcProfile?: Ac3DrcProfile;
370 /**
371 * When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid in codingMode32Lfe mode.
372 */
373 LfeFilter?: Ac3LfeFilter;
374 /**
375 * When set to "followInput", encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
376 */
377 MetadataControl?: Ac3MetadataControl;
378 }
379 export type AfdSignaling = "AUTO"|"FIXED"|"NONE"|string;
380 export interface ArchiveContainerSettings {
381 M2tsSettings?: M2tsSettings;
382 }
383 export interface ArchiveGroupSettings {
384 /**
385 * A directory and base filename where archive files should be written.
386 */
387 Destination: OutputLocationRef;
388 /**
389 * Number of seconds to write to archive file before closing and starting a new one.
390 */
391 RolloverInterval?: __integerMin1;
392 }
393 export interface ArchiveOutputSettings {
394 /**
395 * Settings specific to the container type of the file.
396 */
397 ContainerSettings: ArchiveContainerSettings;
398 /**
399 * Output file extension. If excluded, this will be auto-selected from the container type.
400 */
401 Extension?: __string;
402 /**
403 * String concatenated to the end of the destination filename. Required for multiple outputs of the same type.
404 */
405 NameModifier?: __string;
406 }
407 export interface AribDestinationSettings {
408 }
409 export interface AribSourceSettings {
410 }
411 export interface AudioChannelMapping {
412 /**
413 * Indices and gain values for each input channel that should be remixed into this output channel.
414 */
415 InputChannelLevels: __listOfInputChannelLevel;
416 /**
417 * The index of the output channel being produced.
418 */
419 OutputChannel: __integerMin0Max7;
420 }
421 export interface AudioCodecSettings {
422 AacSettings?: AacSettings;
423 Ac3Settings?: Ac3Settings;
424 Eac3Settings?: Eac3Settings;
425 Mp2Settings?: Mp2Settings;
426 PassThroughSettings?: PassThroughSettings;
427 }
428 export interface AudioDescription {
429 /**
430 * Advanced audio normalization settings.
431 */
432 AudioNormalizationSettings?: AudioNormalizationSettings;
433 /**
434 * The name of the AudioSelector used as the source for this AudioDescription.
435 */
436 AudioSelectorName: __string;
437 /**
438 * Applies only if audioTypeControl is useConfigured. The values for audioType are defined in ISO-IEC 13818-1.
439 */
440 AudioType?: AudioType;
441 /**
442 * Determines how audio type is determined.
443 followInput: If the input contains an ISO 639 audioType, then that value is passed through to the output. If the input contains no ISO 639 audioType, the value in Audio Type is included in the output.
444 useConfigured: The value in Audio Type is included in the output.
445Note that this field and audioType are both ignored if inputType is broadcasterMixedAd.
446 */
447 AudioTypeControl?: AudioDescriptionAudioTypeControl;
448 /**
449 * Audio codec settings.
450 */
451 CodecSettings?: AudioCodecSettings;
452 /**
453 * Indicates the language of the audio output track. Only used if languageControlMode is useConfigured, or there is no ISO 639 language code specified in the input.
454 */
455 LanguageCode?: __stringMin3Max3;
456 /**
457 * Choosing followInput will cause the ISO 639 language code of the output to follow the ISO 639 language code of the input. The languageCode will be used when useConfigured is set, or when followInput is selected but there is no ISO 639 language code specified by the input.
458 */
459 LanguageCodeControl?: AudioDescriptionLanguageCodeControl;
460 /**
461 * The name of this AudioDescription. Outputs will use this name to uniquely identify this AudioDescription. Description names should be unique within this Live Event.
462 */
463 Name: __string;
464 /**
465 * Settings that control how input audio channels are remixed into the output audio channels.
466 */
467 RemixSettings?: RemixSettings;
468 /**
469 * Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by the player (eg. English, or Director Commentary).
470 */
471 StreamName?: __string;
472 }
473 export type AudioDescriptionAudioTypeControl = "FOLLOW_INPUT"|"USE_CONFIGURED"|string;
474 export type AudioDescriptionLanguageCodeControl = "FOLLOW_INPUT"|"USE_CONFIGURED"|string;
475 export interface AudioLanguageSelection {
476 /**
477 * Selects a specific three-letter language code from within an audio source.
478 */
479 LanguageCode: __string;
480 /**
481 * When set to "strict", the transport stream demux strictly identifies audio streams by their language descriptor. If a PMT update occurs such that an audio stream matching the initially selected language is no longer present then mute will be encoded until the language returns. If "loose", then on a PMT update the demux will choose another audio stream in the program with the same stream type if it can't find one with the same language.
482 */
483 LanguageSelectionPolicy?: AudioLanguageSelectionPolicy;
484 }
485 export type AudioLanguageSelectionPolicy = "LOOSE"|"STRICT"|string;
486 export type AudioNormalizationAlgorithm = "ITU_1770_1"|"ITU_1770_2"|string;
487 export type AudioNormalizationAlgorithmControl = "CORRECT_AUDIO"|string;
488 export interface AudioNormalizationSettings {
489 /**
490 * Audio normalization algorithm to use. itu17701 conforms to the CALM Act specification, itu17702 conforms to the EBU R-128 specification.
491 */
492 Algorithm?: AudioNormalizationAlgorithm;
493 /**
494 * When set to correctAudio the output audio is corrected using the chosen algorithm. If set to measureOnly, the audio will be measured but not adjusted.
495 */
496 AlgorithmControl?: AudioNormalizationAlgorithmControl;
497 /**
498 * Target LKFS(loudness) to adjust volume to. If no value is entered, a default value will be used according to the chosen algorithm. The CALM Act (1770-1) recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends a target of -23 LKFS.
499 */
500 TargetLkfs?: __doubleMinNegative59Max0;
501 }
502 export interface AudioOnlyHlsSettings {
503 /**
504 * Specifies the group to which the audio Rendition belongs.
505 */
506 AudioGroupId?: __string;
507 /**
508 * Optional. Specifies the .jpg or .png image to use as the cover art for an audio-only output. We recommend a low bit-size file because the image increases the output audio bandwidth.
509
510The image is attached to the audio as an ID3 tag, frame type APIC, picture type 0x10, as per the "ID3 tag version 2.4.0 - Native Frames" standard.
511 */
512 AudioOnlyImage?: InputLocation;
513 /**
514 * Four types of audio-only tracks are supported:
515
516Audio-Only Variant Stream
517The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest.
518
519Alternate Audio, Auto Select, Default
520Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES
521
522Alternate Audio, Auto Select, Not Default
523Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES
524
525Alternate Audio, not Auto Select
526Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
527 */
528 AudioTrackType?: AudioOnlyHlsTrackType;
529 }
530 export type AudioOnlyHlsTrackType = "ALTERNATE_AUDIO_AUTO_SELECT"|"ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT"|"ALTERNATE_AUDIO_NOT_AUTO_SELECT"|"AUDIO_ONLY_VARIANT_STREAM"|string;
531 export interface AudioPidSelection {
532 /**
533 * Selects a specific PID from within a source.
534 */
535 Pid: __integerMin0Max8191;
536 }
537 export interface AudioSelector {
538 /**
539 * The name of this AudioSelector. AudioDescriptions will use this name to uniquely identify this Selector. Selector names should be unique per input.
540 */
541 Name: __stringMin1;
542 /**
543 * The audio selector settings.
544 */
545 SelectorSettings?: AudioSelectorSettings;
546 }
547 export interface AudioSelectorSettings {
548 AudioLanguageSelection?: AudioLanguageSelection;
549 AudioPidSelection?: AudioPidSelection;
550 }
551 export type AudioType = "CLEAN_EFFECTS"|"HEARING_IMPAIRED"|"UNDEFINED"|"VISUAL_IMPAIRED_COMMENTARY"|string;
552 export type AuthenticationScheme = "AKAMAI"|"COMMON"|string;
553 export interface AvailBlanking {
554 /**
555 * Blanking image to be used. Leave empty for solid black. Only bmp and png images are supported.
556 */
557 AvailBlankingImage?: InputLocation;
558 /**
559 * When set to enabled, causes video, audio and captions to be blanked when insertion metadata is added.
560 */
561 State?: AvailBlankingState;
562 }
563 export type AvailBlankingState = "DISABLED"|"ENABLED"|string;
564 export interface AvailConfiguration {
565 /**
566 * Ad avail settings.
567 */
568 AvailSettings?: AvailSettings;
569 }
570 export interface AvailSettings {
571 Scte35SpliceInsert?: Scte35SpliceInsert;
572 Scte35TimeSignalApos?: Scte35TimeSignalApos;
573 }
574 export interface BatchScheduleActionCreateRequest {
575 /**
576 * A list of schedule actions to create.
577 */
578 ScheduleActions: __listOfScheduleAction;
579 }
580 export interface BatchScheduleActionCreateResult {
581 /**
582 * List of actions that have been created in the schedule.
583 */
584 ScheduleActions: __listOfScheduleAction;
585 }
586 export interface BatchScheduleActionDeleteRequest {
587 /**
588 * A list of schedule actions to delete.
589 */
590 ActionNames: __listOf__string;
591 }
592 export interface BatchScheduleActionDeleteResult {
593 /**
594 * List of actions that have been deleted from the schedule.
595 */
596 ScheduleActions: __listOfScheduleAction;
597 }
598 export interface BatchUpdateScheduleRequest {
599 /**
600 * Id of the channel whose schedule is being updated.
601 */
602 ChannelId: __string;
603 /**
604 * Schedule actions to create in the schedule.
605 */
606 Creates?: BatchScheduleActionCreateRequest;
607 /**
608 * Schedule actions to delete from the schedule.
609 */
610 Deletes?: BatchScheduleActionDeleteRequest;
611 }
612 export interface BatchUpdateScheduleResponse {
613 /**
614 * Schedule actions created in the schedule.
615 */
616 Creates?: BatchScheduleActionCreateResult;
617 /**
618 * Schedule actions deleted from the schedule.
619 */
620 Deletes?: BatchScheduleActionDeleteResult;
621 }
622 export interface BlackoutSlate {
623 /**
624 * Blackout slate image to be used. Leave empty for solid black. Only bmp and png images are supported.
625 */
626 BlackoutSlateImage?: InputLocation;
627 /**
628 * Setting to enabled causes the encoder to blackout the video, audio, and captions, and raise the "Network Blackout Image" slate when an SCTE104/35 Network End Segmentation Descriptor is encountered. The blackout will be lifted when the Network Start Segmentation Descriptor is encountered. The Network End and Network Start descriptors must contain a network ID that matches the value entered in "Network ID".
629 */
630 NetworkEndBlackout?: BlackoutSlateNetworkEndBlackout;
631 /**
632 * Path to local file to use as Network End Blackout image. Image will be scaled to fill the entire output raster.
633 */
634 NetworkEndBlackoutImage?: InputLocation;
635 /**
636 * Provides Network ID that matches EIDR ID format (e.g., "10.XXXX/XXXX-XXXX-XXXX-XXXX-XXXX-C").
637 */
638 NetworkId?: __stringMin34Max34;
639 /**
640 * When set to enabled, causes video, audio and captions to be blanked when indicated by program metadata.
641 */
642 State?: BlackoutSlateState;
643 }
644 export type BlackoutSlateNetworkEndBlackout = "DISABLED"|"ENABLED"|string;
645 export type BlackoutSlateState = "DISABLED"|"ENABLED"|string;
646 export type BurnInAlignment = "CENTERED"|"LEFT"|"SMART"|string;
647 export type BurnInBackgroundColor = "BLACK"|"NONE"|"WHITE"|string;
648 export interface BurnInDestinationSettings {
649 /**
650 * If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. Selecting "smart" justification will left-justify live subtitles and center-justify pre-recorded subtitles. All burn-in and DVB-Sub font settings must match.
651 */
652 Alignment?: BurnInAlignment;
653 /**
654 * Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must match.
655 */
656 BackgroundColor?: BurnInBackgroundColor;
657 /**
658 * Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
659 */
660 BackgroundOpacity?: __integerMin0Max255;
661 /**
662 * External font file used for caption burn-in. File extension must be 'ttf' or 'tte'. Although the user can select output fonts for many different types of input captions, embedded, STL and teletext sources use a strict grid system. Using external fonts with these caption sources could cause unexpected display of proportional fonts. All burn-in and DVB-Sub font settings must match.
663 */
664 Font?: InputLocation;
665 /**
666 * Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
667 */
668 FontColor?: BurnInFontColor;
669 /**
670 * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub font settings must match.
671 */
672 FontOpacity?: __integerMin0Max255;
673 /**
674 * Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must match.
675 */
676 FontResolution?: __integerMin96Max600;
677 /**
678 * When set to 'auto' fontSize will scale depending on the size of the output. Giving a positive integer will specify the exact font size in points. All burn-in and DVB-Sub font settings must match.
679 */
680 FontSize?: __string;
681 /**
682 * Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
683 */
684 OutlineColor?: BurnInOutlineColor;
685 /**
686 * Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
687 */
688 OutlineSize?: __integerMin0Max10;
689 /**
690 * Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.
691 */
692 ShadowColor?: BurnInShadowColor;
693 /**
694 * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
695 */
696 ShadowOpacity?: __integerMin0Max255;
697 /**
698 * Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.
699 */
700 ShadowXOffset?: __integer;
701 /**
702 * Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.
703 */
704 ShadowYOffset?: __integer;
705 /**
706 * Controls whether a fixed grid size will be used to generate the output subtitles bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs.
707 */
708 TeletextGridControl?: BurnInTeletextGridControl;
709 /**
710 * Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit xPosition is provided, the horizontal caption position will be determined by the alignment parameter. All burn-in and DVB-Sub font settings must match.
711 */
712 XPosition?: __integerMin0;
713 /**
714 * Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit yPosition is provided, the caption will be positioned towards the bottom of the output. All burn-in and DVB-Sub font settings must match.
715 */
716 YPosition?: __integerMin0;
717 }
718 export type BurnInFontColor = "BLACK"|"BLUE"|"GREEN"|"RED"|"WHITE"|"YELLOW"|string;
719 export type BurnInOutlineColor = "BLACK"|"BLUE"|"GREEN"|"RED"|"WHITE"|"YELLOW"|string;
720 export type BurnInShadowColor = "BLACK"|"NONE"|"WHITE"|string;
721 export type BurnInTeletextGridControl = "FIXED"|"SCALED"|string;
722 export interface CaptionDescription {
723 /**
724 * Specifies which input caption selector to use as a caption source when generating output captions. This field should match a captionSelector name.
725 */
726 CaptionSelectorName: __string;
727 /**
728 * Additional settings for captions destination that depend on the destination type.
729 */
730 DestinationSettings?: CaptionDestinationSettings;
731 /**
732 * ISO 639-2 three-digit code: http://www.loc.gov/standards/iso639-2/
733 */
734 LanguageCode?: __string;
735 /**
736 * Human readable information to indicate captions available for players (eg. English, or Spanish).
737 */
738 LanguageDescription?: __string;
739 /**
740 * Name of the caption description. Used to associate a caption description with an output. Names must be unique within an event.
741 */
742 Name: __string;
743 }
744 export interface CaptionDestinationSettings {
745 AribDestinationSettings?: AribDestinationSettings;
746 BurnInDestinationSettings?: BurnInDestinationSettings;
747 DvbSubDestinationSettings?: DvbSubDestinationSettings;
748 EmbeddedDestinationSettings?: EmbeddedDestinationSettings;
749 EmbeddedPlusScte20DestinationSettings?: EmbeddedPlusScte20DestinationSettings;
750 RtmpCaptionInfoDestinationSettings?: RtmpCaptionInfoDestinationSettings;
751 Scte20PlusEmbeddedDestinationSettings?: Scte20PlusEmbeddedDestinationSettings;
752 Scte27DestinationSettings?: Scte27DestinationSettings;
753 SmpteTtDestinationSettings?: SmpteTtDestinationSettings;
754 TeletextDestinationSettings?: TeletextDestinationSettings;
755 TtmlDestinationSettings?: TtmlDestinationSettings;
756 WebvttDestinationSettings?: WebvttDestinationSettings;
757 }
758 export interface CaptionLanguageMapping {
759 /**
760 * The closed caption channel being described by this CaptionLanguageMapping. Each channel mapping must have a unique channel number (maximum of 4)
761 */
762 CaptionChannel: __integerMin1Max4;
763 /**
764 * Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2)
765 */
766 LanguageCode: __stringMin3Max3;
767 /**
768 * Textual description of language
769 */
770 LanguageDescription: __stringMin1;
771 }
772 export interface CaptionSelector {
773 /**
774 * When specified this field indicates the three letter language code of the caption track to extract from the source.
775 */
776 LanguageCode?: __string;
777 /**
778 * Name identifier for a caption selector. This name is used to associate this caption selector with one or more caption descriptions. Names must be unique within an event.
779 */
780 Name: __stringMin1;
781 /**
782 * Caption selector settings.
783 */
784 SelectorSettings?: CaptionSelectorSettings;
785 }
786 export interface CaptionSelectorSettings {
787 AribSourceSettings?: AribSourceSettings;
788 DvbSubSourceSettings?: DvbSubSourceSettings;
789 EmbeddedSourceSettings?: EmbeddedSourceSettings;
790 Scte20SourceSettings?: Scte20SourceSettings;
791 Scte27SourceSettings?: Scte27SourceSettings;
792 TeletextSourceSettings?: TeletextSourceSettings;
793 }
794 export interface Channel {
795 /**
796 * The unique arn of the channel.
797 */
798 Arn?: __string;
799 /**
800 * The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
801 */
802 ChannelClass?: ChannelClass;
803 /**
804 * A list of destinations of the channel. For UDP outputs, there is one
805destination per output. For other types (HLS, for example), there is
806one destination per packager.
807
808 */
809 Destinations?: __listOfOutputDestination;
810 /**
811 * The endpoints where outgoing connections initiate from
812 */
813 EgressEndpoints?: __listOfChannelEgressEndpoint;
814 EncoderSettings?: EncoderSettings;
815 /**
816 * The unique id of the channel.
817 */
818 Id?: __string;
819 /**
820 * List of input attachments for channel.
821 */
822 InputAttachments?: __listOfInputAttachment;
823 InputSpecification?: InputSpecification;
824 /**
825 * The log level being written to CloudWatch Logs.
826 */
827 LogLevel?: LogLevel;
828 /**
829 * The name of the channel. (user-mutable)
830 */
831 Name?: __string;
832 /**
833 * Runtime details for the pipelines of a running channel.
834 */
835 PipelineDetails?: __listOfPipelineDetail;
836 /**
837 * The number of currently healthy pipelines.
838 */
839 PipelinesRunningCount?: __integer;
840 /**
841 * The Amazon Resource Name (ARN) of the role assumed when running the Channel.
842 */
843 RoleArn?: __string;
844 State?: ChannelState;
845 /**
846 * A collection of key-value pairs.
847 */
848 Tags?: Tags;
849 }
850 export type ChannelClass = "STANDARD"|"SINGLE_PIPELINE"|string;
851 export interface ChannelEgressEndpoint {
852 /**
853 * Public IP of where a channel's output comes from
854 */
855 SourceIp?: __string;
856 }
857 export type ChannelState = "CREATING"|"CREATE_FAILED"|"IDLE"|"STARTING"|"RUNNING"|"RECOVERING"|"STOPPING"|"DELETING"|"DELETED"|"UPDATING"|"UPDATE_FAILED"|string;
858 export interface ChannelSummary {
859 /**
860 * The unique arn of the channel.
861 */
862 Arn?: __string;
863 /**
864 * The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
865 */
866 ChannelClass?: ChannelClass;
867 /**
868 * A list of destinations of the channel. For UDP outputs, there is one
869destination per output. For other types (HLS, for example), there is
870one destination per packager.
871
872 */
873 Destinations?: __listOfOutputDestination;
874 /**
875 * The endpoints where outgoing connections initiate from
876 */
877 EgressEndpoints?: __listOfChannelEgressEndpoint;
878 /**
879 * The unique id of the channel.
880 */
881 Id?: __string;
882 /**
883 * List of input attachments for channel.
884 */
885 InputAttachments?: __listOfInputAttachment;
886 InputSpecification?: InputSpecification;
887 /**
888 * The log level being written to CloudWatch Logs.
889 */
890 LogLevel?: LogLevel;
891 /**
892 * The name of the channel. (user-mutable)
893 */
894 Name?: __string;
895 /**
896 * The number of currently healthy pipelines.
897 */
898 PipelinesRunningCount?: __integer;
899 /**
900 * The Amazon Resource Name (ARN) of the role assumed when running the Channel.
901 */
902 RoleArn?: __string;
903 State?: ChannelState;
904 /**
905 * A collection of key-value pairs.
906 */
907 Tags?: Tags;
908 }
909 export interface ColorSpacePassthroughSettings {
910 }
911 export interface CreateChannelRequest {
912 /**
913 * The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
914 */
915 ChannelClass?: ChannelClass;
916 Destinations?: __listOfOutputDestination;
917 EncoderSettings?: EncoderSettings;
918 /**
919 * List of input attachments for channel.
920 */
921 InputAttachments?: __listOfInputAttachment;
922 /**
923 * Specification of input for this channel (max. bitrate, resolution, codec, etc.)
924 */
925 InputSpecification?: InputSpecification;
926 /**
927 * The log level to write to CloudWatch Logs.
928 */
929 LogLevel?: LogLevel;
930 /**
931 * Name of channel.
932 */
933 Name?: __string;
934 /**
935 * Unique request ID to be specified. This is needed to prevent retries from
936creating multiple resources.
937
938 */
939 RequestId?: __string;
940 /**
941 * Deprecated field that's only usable by whitelisted customers.
942 */
943 Reserved?: __string;
944 /**
945 * An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.
946 */
947 RoleArn?: __string;
948 /**
949 * A collection of key-value pairs.
950 */
951 Tags?: Tags;
952 }
953 export interface CreateChannelResponse {
954 Channel?: Channel;
955 }
956 export interface CreateInputRequest {
957 /**
958 * Destination settings for PUSH type inputs.
959 */
960 Destinations?: __listOfInputDestinationRequest;
961 /**
962 * A list of security groups referenced by IDs to attach to the input.
963 */
964 InputSecurityGroups?: __listOf__string;
965 /**
966 * A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one
967Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a
968separate Availability Zone as this ensures your EML input is redundant to AZ issues.
969
970 */
971 MediaConnectFlows?: __listOfMediaConnectFlowRequest;
972 /**
973 * Name of the input.
974 */
975 Name?: __string;
976 /**
977 * Unique identifier of the request to ensure the request is handled
978exactly once in case of retries.
979
980 */
981 RequestId?: __string;
982 /**
983 * The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
984 */
985 RoleArn?: __string;
986 /**
987 * The source URLs for a PULL-type input. Every PULL type input needs
988exactly two source URLs for redundancy.
989Only specify sources for PULL type Inputs. Leave Destinations empty.
990
991 */
992 Sources?: __listOfInputSourceRequest;
993 /**
994 * A collection of key-value pairs.
995 */
996 Tags?: Tags;
997 Type?: InputType;
998 Vpc?: InputVpcRequest;
999 }
1000 export interface CreateInputResponse {
1001 Input?: Input;
1002 }
1003 export interface CreateInputSecurityGroupRequest {
1004 /**
1005 * A collection of key-value pairs.
1006 */
1007 Tags?: Tags;
1008 /**
1009 * List of IPv4 CIDR addresses to whitelist
1010 */
1011 WhitelistRules?: __listOfInputWhitelistRuleCidr;
1012 }
1013 export interface CreateInputSecurityGroupResponse {
1014 SecurityGroup?: InputSecurityGroup;
1015 }
1016 export interface CreateTagsRequest {
1017 ResourceArn: __string;
1018 Tags?: Tags;
1019 }
1020 export interface DeleteChannelRequest {
1021 /**
1022 * Unique ID of the channel.
1023 */
1024 ChannelId: __string;
1025 }
1026 export interface DeleteChannelResponse {
1027 /**
1028 * The unique arn of the channel.
1029 */
1030 Arn?: __string;
1031 /**
1032 * The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
1033 */
1034 ChannelClass?: ChannelClass;
1035 /**
1036 * A list of destinations of the channel. For UDP outputs, there is one
1037destination per output. For other types (HLS, for example), there is
1038one destination per packager.
1039
1040 */
1041 Destinations?: __listOfOutputDestination;
1042 /**
1043 * The endpoints where outgoing connections initiate from
1044 */
1045 EgressEndpoints?: __listOfChannelEgressEndpoint;
1046 EncoderSettings?: EncoderSettings;
1047 /**
1048 * The unique id of the channel.
1049 */
1050 Id?: __string;
1051 /**
1052 * List of input attachments for channel.
1053 */
1054 InputAttachments?: __listOfInputAttachment;
1055 InputSpecification?: InputSpecification;
1056 /**
1057 * The log level being written to CloudWatch Logs.
1058 */
1059 LogLevel?: LogLevel;
1060 /**
1061 * The name of the channel. (user-mutable)
1062 */
1063 Name?: __string;
1064 /**
1065 * Runtime details for the pipelines of a running channel.
1066 */
1067 PipelineDetails?: __listOfPipelineDetail;
1068 /**
1069 * The number of currently healthy pipelines.
1070 */
1071 PipelinesRunningCount?: __integer;
1072 /**
1073 * The Amazon Resource Name (ARN) of the role assumed when running the Channel.
1074 */
1075 RoleArn?: __string;
1076 State?: ChannelState;
1077 /**
1078 * A collection of key-value pairs.
1079 */
1080 Tags?: Tags;
1081 }
1082 export interface DeleteInputRequest {
1083 /**
1084 * Unique ID of the input
1085 */
1086 InputId: __string;
1087 }
1088 export interface DeleteInputResponse {
1089 }
1090 export interface DeleteInputSecurityGroupRequest {
1091 /**
1092 * The Input Security Group to delete
1093 */
1094 InputSecurityGroupId: __string;
1095 }
1096 export interface DeleteInputSecurityGroupResponse {
1097 }
1098 export interface DeleteReservationRequest {
1099 /**
1100 * Unique reservation ID, e.g. '1234567'
1101 */
1102 ReservationId: __string;
1103 }
1104 export interface DeleteReservationResponse {
1105 /**
1106 * Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
1107 */
1108 Arn?: __string;
1109 /**
1110 * Number of reserved resources
1111 */
1112 Count?: __integer;
1113 /**
1114 * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
1115 */
1116 CurrencyCode?: __string;
1117 /**
1118 * Lease duration, e.g. '12'
1119 */
1120 Duration?: __integer;
1121 /**
1122 * Units for duration, e.g. 'MONTHS'
1123 */
1124 DurationUnits?: OfferingDurationUnits;
1125 /**
1126 * Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
1127 */
1128 End?: __string;
1129 /**
1130 * One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
1131 */
1132 FixedPrice?: __double;
1133 /**
1134 * User specified reservation name
1135 */
1136 Name?: __string;
1137 /**
1138 * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
1139 */
1140 OfferingDescription?: __string;
1141 /**
1142 * Unique offering ID, e.g. '87654321'
1143 */
1144 OfferingId?: __string;
1145 /**
1146 * Offering type, e.g. 'NO_UPFRONT'
1147 */
1148 OfferingType?: OfferingType;
1149 /**
1150 * AWS region, e.g. 'us-west-2'
1151 */
1152 Region?: __string;
1153 /**
1154 * Unique reservation ID, e.g. '1234567'
1155 */
1156 ReservationId?: __string;
1157 /**
1158 * Resource configuration details
1159 */
1160 ResourceSpecification?: ReservationResourceSpecification;
1161 /**
1162 * Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'
1163 */
1164 Start?: __string;
1165 /**
1166 * Current state of reservation, e.g. 'ACTIVE'
1167 */
1168 State?: ReservationState;
1169 /**
1170 * A collection of key-value pairs
1171 */
1172 Tags?: Tags;
1173 /**
1174 * Recurring usage charge for each reserved resource, e.g. '157.0'
1175 */
1176 UsagePrice?: __double;
1177 }
1178 export interface DeleteScheduleRequest {
1179 /**
1180 * Id of the channel whose schedule is being deleted.
1181 */
1182 ChannelId: __string;
1183 }
1184 export interface DeleteScheduleResponse {
1185 }
1186 export interface DeleteTagsRequest {
1187 ResourceArn: __string;
1188 /**
1189 * An array of tag keys to delete
1190 */
1191 TagKeys: __listOf__string;
1192 }
1193 export interface DescribeChannelRequest {
1194 /**
1195 * channel ID
1196 */
1197 ChannelId: __string;
1198 }
1199 export interface DescribeChannelResponse {
1200 /**
1201 * The unique arn of the channel.
1202 */
1203 Arn?: __string;
1204 /**
1205 * The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
1206 */
1207 ChannelClass?: ChannelClass;
1208 /**
1209 * A list of destinations of the channel. For UDP outputs, there is one
1210destination per output. For other types (HLS, for example), there is
1211one destination per packager.
1212
1213 */
1214 Destinations?: __listOfOutputDestination;
1215 /**
1216 * The endpoints where outgoing connections initiate from
1217 */
1218 EgressEndpoints?: __listOfChannelEgressEndpoint;
1219 EncoderSettings?: EncoderSettings;
1220 /**
1221 * The unique id of the channel.
1222 */
1223 Id?: __string;
1224 /**
1225 * List of input attachments for channel.
1226 */
1227 InputAttachments?: __listOfInputAttachment;
1228 InputSpecification?: InputSpecification;
1229 /**
1230 * The log level being written to CloudWatch Logs.
1231 */
1232 LogLevel?: LogLevel;
1233 /**
1234 * The name of the channel. (user-mutable)
1235 */
1236 Name?: __string;
1237 /**
1238 * Runtime details for the pipelines of a running channel.
1239 */
1240 PipelineDetails?: __listOfPipelineDetail;
1241 /**
1242 * The number of currently healthy pipelines.
1243 */
1244 PipelinesRunningCount?: __integer;
1245 /**
1246 * The Amazon Resource Name (ARN) of the role assumed when running the Channel.
1247 */
1248 RoleArn?: __string;
1249 State?: ChannelState;
1250 /**
1251 * A collection of key-value pairs.
1252 */
1253 Tags?: Tags;
1254 }
1255 export interface DescribeInputRequest {
1256 /**
1257 * Unique ID of the input
1258 */
1259 InputId: __string;
1260 }
1261 export interface DescribeInputResponse {
1262 /**
1263 * The Unique ARN of the input (generated, immutable).
1264 */
1265 Arn?: __string;
1266 /**
1267 * A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
1268 */
1269 AttachedChannels?: __listOf__string;
1270 /**
1271 * A list of the destinations of the input (PUSH-type).
1272 */
1273 Destinations?: __listOfInputDestination;
1274 /**
1275 * The generated ID of the input (unique for user account, immutable).
1276 */
1277 Id?: __string;
1278 /**
1279 * STANDARD - MediaLive expects two sources to be connected to this input. If the channel is also STANDARD, both sources will be ingested. If the channel is SINGLE_PIPELINE, only the first source will be ingested; the second source will always be ignored, even if the first source fails.
1280SINGLE_PIPELINE - You can connect only one source to this input. If the ChannelClass is also SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this value is not valid because the channel requires two sources in the input.
1281
1282 */
1283 InputClass?: InputClass;
1284 /**
1285 * Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes
1286during input switch actions. Presently, this functionality only works with MP4_FILE inputs.
1287
1288 */
1289 InputSourceType?: InputSourceType;
1290 /**
1291 * A list of MediaConnect Flows for this input.
1292 */
1293 MediaConnectFlows?: __listOfMediaConnectFlow;
1294 /**
1295 * The user-assigned name (This is a mutable value).
1296 */
1297 Name?: __string;
1298 /**
1299 * The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
1300 */
1301 RoleArn?: __string;
1302 /**
1303 * A list of IDs for all the Input Security Groups attached to the input.
1304 */
1305 SecurityGroups?: __listOf__string;
1306 /**
1307 * A list of the sources of the input (PULL-type).
1308 */
1309 Sources?: __listOfInputSource;
1310 State?: InputState;
1311 /**
1312 * A collection of key-value pairs.
1313 */
1314 Tags?: Tags;
1315 Type?: InputType;
1316 }
1317 export interface DescribeInputSecurityGroupRequest {
1318 /**
1319 * The id of the Input Security Group to describe
1320 */
1321 InputSecurityGroupId: __string;
1322 }
1323 export interface DescribeInputSecurityGroupResponse {
1324 /**
1325 * Unique ARN of Input Security Group
1326 */
1327 Arn?: __string;
1328 /**
1329 * The Id of the Input Security Group
1330 */
1331 Id?: __string;
1332 /**
1333 * The list of inputs currently using this Input Security Group.
1334 */
1335 Inputs?: __listOf__string;
1336 /**
1337 * The current state of the Input Security Group.
1338 */
1339 State?: InputSecurityGroupState;
1340 /**
1341 * A collection of key-value pairs.
1342 */
1343 Tags?: Tags;
1344 /**
1345 * Whitelist rules and their sync status
1346 */
1347 WhitelistRules?: __listOfInputWhitelistRule;
1348 }
1349 export interface DescribeOfferingRequest {
1350 /**
1351 * Unique offering ID, e.g. '87654321'
1352 */
1353 OfferingId: __string;
1354 }
1355 export interface DescribeOfferingResponse {
1356 /**
1357 * Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
1358 */
1359 Arn?: __string;
1360 /**
1361 * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
1362 */
1363 CurrencyCode?: __string;
1364 /**
1365 * Lease duration, e.g. '12'
1366 */
1367 Duration?: __integer;
1368 /**
1369 * Units for duration, e.g. 'MONTHS'
1370 */
1371 DurationUnits?: OfferingDurationUnits;
1372 /**
1373 * One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
1374 */
1375 FixedPrice?: __double;
1376 /**
1377 * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
1378 */
1379 OfferingDescription?: __string;
1380 /**
1381 * Unique offering ID, e.g. '87654321'
1382 */
1383 OfferingId?: __string;
1384 /**
1385 * Offering type, e.g. 'NO_UPFRONT'
1386 */
1387 OfferingType?: OfferingType;
1388 /**
1389 * AWS region, e.g. 'us-west-2'
1390 */
1391 Region?: __string;
1392 /**
1393 * Resource configuration details
1394 */
1395 ResourceSpecification?: ReservationResourceSpecification;
1396 /**
1397 * Recurring usage charge for each reserved resource, e.g. '157.0'
1398 */
1399 UsagePrice?: __double;
1400 }
1401 export interface DescribeReservationRequest {
1402 /**
1403 * Unique reservation ID, e.g. '1234567'
1404 */
1405 ReservationId: __string;
1406 }
1407 export interface DescribeReservationResponse {
1408 /**
1409 * Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
1410 */
1411 Arn?: __string;
1412 /**
1413 * Number of reserved resources
1414 */
1415 Count?: __integer;
1416 /**
1417 * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
1418 */
1419 CurrencyCode?: __string;
1420 /**
1421 * Lease duration, e.g. '12'
1422 */
1423 Duration?: __integer;
1424 /**
1425 * Units for duration, e.g. 'MONTHS'
1426 */
1427 DurationUnits?: OfferingDurationUnits;
1428 /**
1429 * Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
1430 */
1431 End?: __string;
1432 /**
1433 * One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
1434 */
1435 FixedPrice?: __double;
1436 /**
1437 * User specified reservation name
1438 */
1439 Name?: __string;
1440 /**
1441 * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
1442 */
1443 OfferingDescription?: __string;
1444 /**
1445 * Unique offering ID, e.g. '87654321'
1446 */
1447 OfferingId?: __string;
1448 /**
1449 * Offering type, e.g. 'NO_UPFRONT'
1450 */
1451 OfferingType?: OfferingType;
1452 /**
1453 * AWS region, e.g. 'us-west-2'
1454 */
1455 Region?: __string;
1456 /**
1457 * Unique reservation ID, e.g. '1234567'
1458 */
1459 ReservationId?: __string;
1460 /**
1461 * Resource configuration details
1462 */
1463 ResourceSpecification?: ReservationResourceSpecification;
1464 /**
1465 * Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'
1466 */
1467 Start?: __string;
1468 /**
1469 * Current state of reservation, e.g. 'ACTIVE'
1470 */
1471 State?: ReservationState;
1472 /**
1473 * A collection of key-value pairs
1474 */
1475 Tags?: Tags;
1476 /**
1477 * Recurring usage charge for each reserved resource, e.g. '157.0'
1478 */
1479 UsagePrice?: __double;
1480 }
1481 export interface DescribeScheduleRequest {
1482 /**
1483 * Id of the channel whose schedule is being updated.
1484 */
1485 ChannelId: __string;
1486 MaxResults?: MaxResults;
1487 NextToken?: __string;
1488 }
1489 export interface DescribeScheduleResponse {
1490 /**
1491 * The next token; for use in pagination.
1492 */
1493 NextToken?: __string;
1494 /**
1495 * The list of actions in the schedule.
1496 */
1497 ScheduleActions?: __listOfScheduleAction;
1498 }
1499 export interface DvbNitSettings {
1500 /**
1501 * The numeric value placed in the Network Information Table (NIT).
1502 */
1503 NetworkId: __integerMin0Max65536;
1504 /**
1505 * The network name text placed in the networkNameDescriptor inside the Network Information Table. Maximum length is 256 characters.
1506 */
1507 NetworkName: __stringMin1Max256;
1508 /**
1509 * The number of milliseconds between instances of this table in the output transport stream.
1510 */
1511 RepInterval?: __integerMin25Max10000;
1512 }
1513 export type DvbSdtOutputSdt = "SDT_FOLLOW"|"SDT_FOLLOW_IF_PRESENT"|"SDT_MANUAL"|"SDT_NONE"|string;
1514 export interface DvbSdtSettings {
1515 /**
1516 * Selects method of inserting SDT information into output stream. The sdtFollow setting copies SDT information from input stream to output stream. The sdtFollowIfPresent setting copies SDT information from input stream to output stream if SDT information is present in the input, otherwise it will fall back on the user-defined values. The sdtManual setting means user will enter the SDT information. The sdtNone setting means output stream will not contain SDT information.
1517 */
1518 OutputSdt?: DvbSdtOutputSdt;
1519 /**
1520 * The number of milliseconds between instances of this table in the output transport stream.
1521 */
1522 RepInterval?: __integerMin25Max2000;
1523 /**
1524 * The service name placed in the serviceDescriptor in the Service Description Table. Maximum length is 256 characters.
1525 */
1526 ServiceName?: __stringMin1Max256;
1527 /**
1528 * The service provider name placed in the serviceDescriptor in the Service Description Table. Maximum length is 256 characters.
1529 */
1530 ServiceProviderName?: __stringMin1Max256;
1531 }
1532 export type DvbSubDestinationAlignment = "CENTERED"|"LEFT"|"SMART"|string;
1533 export type DvbSubDestinationBackgroundColor = "BLACK"|"NONE"|"WHITE"|string;
1534 export type DvbSubDestinationFontColor = "BLACK"|"BLUE"|"GREEN"|"RED"|"WHITE"|"YELLOW"|string;
1535 export type DvbSubDestinationOutlineColor = "BLACK"|"BLUE"|"GREEN"|"RED"|"WHITE"|"YELLOW"|string;
1536 export interface DvbSubDestinationSettings {
1537 /**
1538 * If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. Selecting "smart" justification will left-justify live subtitles and center-justify pre-recorded subtitles. This option is not valid for source captions that are STL or 608/embedded. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1539 */
1540 Alignment?: DvbSubDestinationAlignment;
1541 /**
1542 * Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must match.
1543 */
1544 BackgroundColor?: DvbSubDestinationBackgroundColor;
1545 /**
1546 * Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
1547 */
1548 BackgroundOpacity?: __integerMin0Max255;
1549 /**
1550 * External font file used for caption burn-in. File extension must be 'ttf' or 'tte'. Although the user can select output fonts for many different types of input captions, embedded, STL and teletext sources use a strict grid system. Using external fonts with these caption sources could cause unexpected display of proportional fonts. All burn-in and DVB-Sub font settings must match.
1551 */
1552 Font?: InputLocation;
1553 /**
1554 * Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1555 */
1556 FontColor?: DvbSubDestinationFontColor;
1557 /**
1558 * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub font settings must match.
1559 */
1560 FontOpacity?: __integerMin0Max255;
1561 /**
1562 * Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must match.
1563 */
1564 FontResolution?: __integerMin96Max600;
1565 /**
1566 * When set to auto fontSize will scale depending on the size of the output. Giving a positive integer will specify the exact font size in points. All burn-in and DVB-Sub font settings must match.
1567 */
1568 FontSize?: __string;
1569 /**
1570 * Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1571 */
1572 OutlineColor?: DvbSubDestinationOutlineColor;
1573 /**
1574 * Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1575 */
1576 OutlineSize?: __integerMin0Max10;
1577 /**
1578 * Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.
1579 */
1580 ShadowColor?: DvbSubDestinationShadowColor;
1581 /**
1582 * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
1583 */
1584 ShadowOpacity?: __integerMin0Max255;
1585 /**
1586 * Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.
1587 */
1588 ShadowXOffset?: __integer;
1589 /**
1590 * Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.
1591 */
1592 ShadowYOffset?: __integer;
1593 /**
1594 * Controls whether a fixed grid size will be used to generate the output subtitles bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs.
1595 */
1596 TeletextGridControl?: DvbSubDestinationTeletextGridControl;
1597 /**
1598 * Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit xPosition is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1599 */
1600 XPosition?: __integerMin0;
1601 /**
1602 * Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit yPosition is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1603 */
1604 YPosition?: __integerMin0;
1605 }
1606 export type DvbSubDestinationShadowColor = "BLACK"|"NONE"|"WHITE"|string;
1607 export type DvbSubDestinationTeletextGridControl = "FIXED"|"SCALED"|string;
1608 export interface DvbSubSourceSettings {
1609 /**
1610 * When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.
1611 */
1612 Pid?: __integerMin1;
1613 }
1614 export interface DvbTdtSettings {
1615 /**
1616 * The number of milliseconds between instances of this table in the output transport stream.
1617 */
1618 RepInterval?: __integerMin1000Max30000;
1619 }
1620 export type Eac3AttenuationControl = "ATTENUATE_3_DB"|"NONE"|string;
1621 export type Eac3BitstreamMode = "COMMENTARY"|"COMPLETE_MAIN"|"EMERGENCY"|"HEARING_IMPAIRED"|"VISUALLY_IMPAIRED"|string;
1622 export type Eac3CodingMode = "CODING_MODE_1_0"|"CODING_MODE_2_0"|"CODING_MODE_3_2"|string;
1623 export type Eac3DcFilter = "DISABLED"|"ENABLED"|string;
1624 export type Eac3DrcLine = "FILM_LIGHT"|"FILM_STANDARD"|"MUSIC_LIGHT"|"MUSIC_STANDARD"|"NONE"|"SPEECH"|string;
1625 export type Eac3DrcRf = "FILM_LIGHT"|"FILM_STANDARD"|"MUSIC_LIGHT"|"MUSIC_STANDARD"|"NONE"|"SPEECH"|string;
1626 export type Eac3LfeControl = "LFE"|"NO_LFE"|string;
1627 export type Eac3LfeFilter = "DISABLED"|"ENABLED"|string;
1628 export type Eac3MetadataControl = "FOLLOW_INPUT"|"USE_CONFIGURED"|string;
1629 export type Eac3PassthroughControl = "NO_PASSTHROUGH"|"WHEN_POSSIBLE"|string;
1630 export type Eac3PhaseControl = "NO_SHIFT"|"SHIFT_90_DEGREES"|string;
1631 export interface Eac3Settings {
1632 /**
1633 * When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.
1634 */
1635 AttenuationControl?: Eac3AttenuationControl;
1636 /**
1637 * Average bitrate in bits/second. Valid bitrates depend on the coding mode.
1638 */
1639 Bitrate?: __double;
1640 /**
1641 * Specifies the bitstream mode (bsmod) for the emitted E-AC-3 stream. See ATSC A/52-2012 (Annex E) for background on these values.
1642 */
1643 BitstreamMode?: Eac3BitstreamMode;
1644 /**
1645 * Dolby Digital Plus coding mode. Determines number of channels.
1646 */
1647 CodingMode?: Eac3CodingMode;
1648 /**
1649 * When set to enabled, activates a DC highpass filter for all input channels.
1650 */
1651 DcFilter?: Eac3DcFilter;
1652 /**
1653 * Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through.
1654 */
1655 Dialnorm?: __integerMin1Max31;
1656 /**
1657 * Sets the Dolby dynamic range compression profile.
1658 */
1659 DrcLine?: Eac3DrcLine;
1660 /**
1661 * Sets the profile for heavy Dolby dynamic range compression, ensures that the instantaneous signal peaks do not exceed specified levels.
1662 */
1663 DrcRf?: Eac3DrcRf;
1664 /**
1665 * When encoding 3/2 audio, setting to lfe enables the LFE channel
1666 */
1667 LfeControl?: Eac3LfeControl;
1668 /**
1669 * When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with codingMode32 coding mode.
1670 */
1671 LfeFilter?: Eac3LfeFilter;
1672 /**
1673 * Left only/Right only center mix level. Only used for 3/2 coding mode.
1674 */
1675 LoRoCenterMixLevel?: __double;
1676 /**
1677 * Left only/Right only surround mix level. Only used for 3/2 coding mode.
1678 */
1679 LoRoSurroundMixLevel?: __double;
1680 /**
1681 * Left total/Right total center mix level. Only used for 3/2 coding mode.
1682 */
1683 LtRtCenterMixLevel?: __double;
1684 /**
1685 * Left total/Right total surround mix level. Only used for 3/2 coding mode.
1686 */
1687 LtRtSurroundMixLevel?: __double;
1688 /**
1689 * When set to followInput, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
1690 */
1691 MetadataControl?: Eac3MetadataControl;
1692 /**
1693 * When set to whenPossible, input DD+ audio will be passed through if it is present on the input. This detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding.
1694 */
1695 PassthroughControl?: Eac3PassthroughControl;
1696 /**
1697 * When set to shift90Degrees, applies a 90-degree phase shift to the surround channels. Only used for 3/2 coding mode.
1698 */
1699 PhaseControl?: Eac3PhaseControl;
1700 /**
1701 * Stereo downmix preference. Only used for 3/2 coding mode.
1702 */
1703 StereoDownmix?: Eac3StereoDownmix;
1704 /**
1705 * When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.
1706 */
1707 SurroundExMode?: Eac3SurroundExMode;
1708 /**
1709 * When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.
1710 */
1711 SurroundMode?: Eac3SurroundMode;
1712 }
1713 export type Eac3StereoDownmix = "DPL2"|"LO_RO"|"LT_RT"|"NOT_INDICATED"|string;
1714 export type Eac3SurroundExMode = "DISABLED"|"ENABLED"|"NOT_INDICATED"|string;
1715 export type Eac3SurroundMode = "DISABLED"|"ENABLED"|"NOT_INDICATED"|string;
1716 export type EmbeddedConvert608To708 = "DISABLED"|"UPCONVERT"|string;
1717 export interface EmbeddedDestinationSettings {
1718 }
1719 export interface EmbeddedPlusScte20DestinationSettings {
1720 }
1721 export type EmbeddedScte20Detection = "AUTO"|"OFF"|string;
1722 export interface EmbeddedSourceSettings {
1723 /**
1724 * If upconvert, 608 data is both passed through via the "608 compatibility bytes" fields of the 708 wrapper as well as translated into 708. 708 data present in the source content will be discarded.
1725 */
1726 Convert608To708?: EmbeddedConvert608To708;
1727 /**
1728 * Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 and Embedded captions.
1729 */
1730 Scte20Detection?: EmbeddedScte20Detection;
1731 /**
1732 * Specifies the 608/708 channel number within the video track from which to extract captions. Unused for passthrough.
1733 */
1734 Source608ChannelNumber?: __integerMin1Max4;
1735 /**
1736 * This field is unused and deprecated.
1737 */
1738 Source608TrackNumber?: __integerMin1Max5;
1739 }
1740 export interface EncoderSettings {
1741 AudioDescriptions: __listOfAudioDescription;
1742 /**
1743 * Settings for ad avail blanking.
1744 */
1745 AvailBlanking?: AvailBlanking;
1746 /**
1747 * Event-wide configuration settings for ad avail insertion.
1748 */
1749 AvailConfiguration?: AvailConfiguration;
1750 /**
1751 * Settings for blackout slate.
1752 */
1753 BlackoutSlate?: BlackoutSlate;
1754 /**
1755 * Settings for caption decriptions
1756 */
1757 CaptionDescriptions?: __listOfCaptionDescription;
1758 /**
1759 * Configuration settings that apply to the event as a whole.
1760 */
1761 GlobalConfiguration?: GlobalConfiguration;
1762 OutputGroups: __listOfOutputGroup;
1763 /**
1764 * Contains settings used to acquire and adjust timecode information from inputs.
1765 */
1766 TimecodeConfig: TimecodeConfig;
1767 VideoDescriptions: __listOfVideoDescription;
1768 }
1769 export type FecOutputIncludeFec = "COLUMN"|"COLUMN_AND_ROW"|string;
1770 export interface FecOutputSettings {
1771 /**
1772 * Parameter D from SMPTE 2022-1. The height of the FEC protection matrix. The number of transport stream packets per column error correction packet. Must be between 4 and 20, inclusive.
1773 */
1774 ColumnDepth?: __integerMin4Max20;
1775 /**
1776 * Enables column only or column and row based FEC
1777 */
1778 IncludeFec?: FecOutputIncludeFec;
1779 /**
1780 * Parameter L from SMPTE 2022-1. The width of the FEC protection matrix. Must be between 1 and 20, inclusive. If only Column FEC is used, then larger values increase robustness. If Row FEC is used, then this is the number of transport stream packets per row error correction packet, and the value must be between 4 and 20, inclusive, if includeFec is columnAndRow. If includeFec is column, this value must be 1 to 20, inclusive.
1781 */
1782 RowLength?: __integerMin1Max20;
1783 }
1784 export type FixedAfd = "AFD_0000"|"AFD_0010"|"AFD_0011"|"AFD_0100"|"AFD_1000"|"AFD_1001"|"AFD_1010"|"AFD_1011"|"AFD_1101"|"AFD_1110"|"AFD_1111"|string;
1785 export interface FixedModeScheduleActionStartSettings {
1786 /**
1787 * Start time for the action to start in the channel. (Not the time for the action to be added to the schedule: actions are always added to the schedule immediately.) UTC format: yyyy-mm-ddThh:mm:ss.nnnZ. All the letters are digits (for example, mm might be 01) except for the two constants "T" for time and "Z" for "UTC format".
1788 */
1789 Time: __string;
1790 }
1791 export interface FollowModeScheduleActionStartSettings {
1792 /**
1793 * Identifies whether this action starts relative to the start or relative to the end of the reference action.
1794 */
1795 FollowPoint: FollowPoint;
1796 /**
1797 * The action name of another action that this one refers to.
1798 */
1799 ReferenceActionName: __string;
1800 }
1801 export type FollowPoint = "END"|"START"|string;
1802 export interface FrameCaptureGroupSettings {
1803 /**
1804 * The destination for the frame capture files. Either the URI for an Amazon S3 bucket and object, plus a file name prefix (for example, s3ssl://sportsDelivery/highlights/20180820/curling_) or the URI for a MediaStore container, plus a file name prefix (for example, mediastoressl://sportsDelivery/20180820/curling_). The final file names consist of the prefix from the destination field (for example, "curling_") + name modifier + the counter (5 digits, starting from 00001) + extension (which is always .jpg). For example, curlingLow.00001.jpg
1805 */
1806 Destination: OutputLocationRef;
1807 }
1808 export interface FrameCaptureOutputSettings {
1809 /**
1810 * Required if the output group contains more than one output. This modifier forms part of the output file name.
1811 */
1812 NameModifier?: __string;
1813 }
1814 export interface FrameCaptureSettings {
1815 /**
1816 * The frequency, in seconds, for capturing frames for inclusion in the output. For example, "10" means capture a frame every 10 seconds.
1817 */
1818 CaptureInterval: __integerMin1Max3600;
1819 }
1820 export interface GlobalConfiguration {
1821 /**
1822 * Value to set the initial audio gain for the Live Event.
1823 */
1824 InitialAudioGain?: __integerMinNegative60Max60;
1825 /**
1826 * Indicates the action to take when the current input completes (e.g. end-of-file). When switchAndLoopInputs is configured the encoder will restart at the beginning of the first input. When "none" is configured the encoder will transcode either black, a solid color, or a user specified slate images per the "Input Loss Behavior" configuration until the next input switch occurs (which is controlled through the Channel Schedule API).
1827 */
1828 InputEndAction?: GlobalConfigurationInputEndAction;
1829 /**
1830 * Settings for system actions when input is lost.
1831 */
1832 InputLossBehavior?: InputLossBehavior;
1833 /**
1834 * Indicates how MediaLive pipelines are synchronized.
1835
1836PIPELINELOCKING - MediaLive will attempt to synchronize the output of each pipeline to the other.
1837EPOCHLOCKING - MediaLive will attempt to synchronize the output of each pipeline to the Unix epoch.
1838 */
1839 OutputLockingMode?: GlobalConfigurationOutputLockingMode;
1840 /**
1841 * Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.
1842 */
1843 OutputTimingSource?: GlobalConfigurationOutputTimingSource;
1844 /**
1845 * Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second.
1846 */
1847 SupportLowFramerateInputs?: GlobalConfigurationLowFramerateInputs;
1848 }
1849 export type GlobalConfigurationInputEndAction = "NONE"|"SWITCH_AND_LOOP_INPUTS"|string;
1850 export type GlobalConfigurationLowFramerateInputs = "DISABLED"|"ENABLED"|string;
1851 export type GlobalConfigurationOutputLockingMode = "EPOCH_LOCKING"|"PIPELINE_LOCKING"|string;
1852 export type GlobalConfigurationOutputTimingSource = "INPUT_CLOCK"|"SYSTEM_CLOCK"|string;
1853 export type H264AdaptiveQuantization = "HIGH"|"HIGHER"|"LOW"|"MAX"|"MEDIUM"|"OFF"|string;
1854 export type H264ColorMetadata = "IGNORE"|"INSERT"|string;
1855 export interface H264ColorSpaceSettings {
1856 ColorSpacePassthroughSettings?: ColorSpacePassthroughSettings;
1857 Rec601Settings?: Rec601Settings;
1858 Rec709Settings?: Rec709Settings;
1859 }
1860 export type H264EntropyEncoding = "CABAC"|"CAVLC"|string;
1861 export type H264FlickerAq = "DISABLED"|"ENABLED"|string;
1862 export type H264FramerateControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string;
1863 export type H264GopBReference = "DISABLED"|"ENABLED"|string;
1864 export type H264GopSizeUnits = "FRAMES"|"SECONDS"|string;
1865 export type H264Level = "H264_LEVEL_1"|"H264_LEVEL_1_1"|"H264_LEVEL_1_2"|"H264_LEVEL_1_3"|"H264_LEVEL_2"|"H264_LEVEL_2_1"|"H264_LEVEL_2_2"|"H264_LEVEL_3"|"H264_LEVEL_3_1"|"H264_LEVEL_3_2"|"H264_LEVEL_4"|"H264_LEVEL_4_1"|"H264_LEVEL_4_2"|"H264_LEVEL_5"|"H264_LEVEL_5_1"|"H264_LEVEL_5_2"|"H264_LEVEL_AUTO"|string;
1866 export type H264LookAheadRateControl = "HIGH"|"LOW"|"MEDIUM"|string;
1867 export type H264ParControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string;
1868 export type H264Profile = "BASELINE"|"HIGH"|"HIGH_10BIT"|"HIGH_422"|"HIGH_422_10BIT"|"MAIN"|string;
1869 export type H264RateControlMode = "CBR"|"MULTIPLEX"|"QVBR"|"VBR"|string;
1870 export type H264ScanType = "INTERLACED"|"PROGRESSIVE"|string;
1871 export type H264SceneChangeDetect = "DISABLED"|"ENABLED"|string;
1872 export interface H264Settings {
1873 /**
1874 * Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.
1875 */
1876 AdaptiveQuantization?: H264AdaptiveQuantization;
1877 /**
1878 * Indicates that AFD values will be written into the output stream. If afdSignaling is "auto", the system will try to preserve the input AFD value (in cases where multiple AFD values are valid). If set to "fixed", the AFD value will be the value configured in the fixedAfd parameter.
1879 */
1880 AfdSignaling?: AfdSignaling;
1881 /**
1882 * Average bitrate in bits/second. Required when the rate control mode is VBR or CBR. Not used for QVBR. In an MS Smooth output group, each output must have a unique value when its bitrate is rounded down to the nearest multiple of 1000.
1883 */
1884 Bitrate?: __integerMin1000;
1885 /**
1886 * Percentage of the buffer that should initially be filled (HRD buffer model).
1887 */
1888 BufFillPct?: __integerMin0Max100;
1889 /**
1890 * Size of buffer (HRD buffer model) in bits.
1891 */
1892 BufSize?: __integerMin0;
1893 /**
1894 * Includes colorspace metadata in the output.
1895 */
1896 ColorMetadata?: H264ColorMetadata;
1897 /**
1898 * Color Space settings
1899 */
1900 ColorSpaceSettings?: H264ColorSpaceSettings;
1901 /**
1902 * Entropy encoding mode. Use cabac (must be in Main or High profile) or cavlc.
1903 */
1904 EntropyEncoding?: H264EntropyEncoding;
1905 /**
1906 * Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.
1907 */
1908 FixedAfd?: FixedAfd;
1909 /**
1910 * If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
1911 */
1912 FlickerAq?: H264FlickerAq;
1913 /**
1914 * This field indicates how the output video frame rate is specified. If "specified" is selected then the output video frame rate is determined by framerateNumerator and framerateDenominator, else if "initializeFromSource" is selected then the output video frame rate will be set equal to the input video frame rate of the first input.
1915 */
1916 FramerateControl?: H264FramerateControl;
1917 /**
1918 * Framerate denominator.
1919 */
1920 FramerateDenominator?: __integerMin1;
1921 /**
1922 * Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.
1923 */
1924 FramerateNumerator?: __integerMin1;
1925 /**
1926 * Documentation update needed
1927 */
1928 GopBReference?: H264GopBReference;
1929 /**
1930 * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.
1931 */
1932 GopClosedCadence?: __integerMin0;
1933 /**
1934 * Number of B-frames between reference frames.
1935 */
1936 GopNumBFrames?: __integerMin0Max7;
1937 /**
1938 * GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits. Must be greater than zero.
1939 */
1940 GopSize?: __doubleMin1;
1941 /**
1942 * Indicates if the gopSize is specified in frames or seconds. If seconds the system will convert the gopSize into a frame count at run time.
1943 */
1944 GopSizeUnits?: H264GopSizeUnits;
1945 /**
1946 * H.264 Level.
1947 */
1948 Level?: H264Level;
1949 /**
1950 * Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.
1951 */
1952 LookAheadRateControl?: H264LookAheadRateControl;
1953 /**
1954 * For QVBR: See the tooltip for Quality level
1955
1956For VBR: Set the maximum bitrate in order to accommodate expected spikes in the complexity of the video.
1957 */
1958 MaxBitrate?: __integerMin1000;
1959 /**
1960 * Only meaningful if sceneChangeDetect is set to enabled. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1
1961 */
1962 MinIInterval?: __integerMin0Max30;
1963 /**
1964 * Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.
1965 */
1966 NumRefFrames?: __integerMin1Max6;
1967 /**
1968 * This field indicates how the output pixel aspect ratio is specified. If "specified" is selected then the output video pixel aspect ratio is determined by parNumerator and parDenominator, else if "initializeFromSource" is selected then the output pixsel aspect ratio will be set equal to the input video pixel aspect ratio of the first input.
1969 */
1970 ParControl?: H264ParControl;
1971 /**
1972 * Pixel Aspect Ratio denominator.
1973 */
1974 ParDenominator?: __integerMin1;
1975 /**
1976 * Pixel Aspect Ratio numerator.
1977 */
1978 ParNumerator?: __integer;
1979 /**
1980 * H.264 Profile.
1981 */
1982 Profile?: H264Profile;
1983 /**
1984 * Controls the target quality for the video encode. Applies only when the rate control mode is QVBR. Set values for the QVBR quality level field and Max bitrate field that suit your most important viewing devices. Recommended values are:
1985- Primary screen: Quality level: 8 to 10. Max bitrate: 4M
1986- PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M
1987- Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M
1988 */
1989 QvbrQualityLevel?: __integerMin1Max10;
1990 /**
1991 * Rate control mode.
1992
1993QVBR: Quality will match the specified quality level except when it is constrained by the
1994maximum bitrate. Recommended if you or your viewers pay for bandwidth.
1995
1996VBR: Quality and bitrate vary, depending on the video complexity. Recommended instead of QVBR
1997if you want to maintain a specific average bitrate over the duration of the channel.
1998
1999CBR: Quality varies, depending on the video complexity. Recommended only if you distribute
2000your assets to devices that cannot handle variable bitrates.
2001 */
2002 RateControlMode?: H264RateControlMode;
2003 /**
2004 * Sets the scan type of the output to progressive or top-field-first interlaced.
2005 */
2006 ScanType?: H264ScanType;
2007 /**
2008 * Scene change detection.
2009
2010- On: inserts I-frames when scene change is detected.
2011- Off: does not force an I-frame when scene change is detected.
2012 */
2013 SceneChangeDetect?: H264SceneChangeDetect;
2014 /**
2015 * Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.
2016This field is optional; when no value is specified the encoder will choose the number of slices based on encode resolution.
2017 */
2018 Slices?: __integerMin1Max32;
2019 /**
2020 * Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.
2021 */
2022 Softness?: __integerMin0Max128;
2023 /**
2024 * If set to enabled, adjust quantization within each frame based on spatial variation of content complexity.
2025 */
2026 SpatialAq?: H264SpatialAq;
2027 /**
2028 * If set to fixed, use gopNumBFrames B-frames per sub-GOP. If set to dynamic, optimize the number of B-frames used for each sub-GOP to improve visual quality.
2029 */
2030 SubgopLength?: H264SubGopLength;
2031 /**
2032 * Produces a bitstream compliant with SMPTE RP-2027.
2033 */
2034 Syntax?: H264Syntax;
2035 /**
2036 * If set to enabled, adjust quantization within each frame based on temporal variation of content complexity.
2037 */
2038 TemporalAq?: H264TemporalAq;
2039 /**
2040 * Determines how timecodes should be inserted into the video elementary stream.
2041- 'disabled': Do not include timecodes
2042- 'picTimingSei': Pass through picture timing SEI messages from the source specified in Timecode Config
2043 */
2044 TimecodeInsertion?: H264TimecodeInsertionBehavior;
2045 }
2046 export type H264SpatialAq = "DISABLED"|"ENABLED"|string;
2047 export type H264SubGopLength = "DYNAMIC"|"FIXED"|string;
2048 export type H264Syntax = "DEFAULT"|"RP2027"|string;
2049 export type H264TemporalAq = "DISABLED"|"ENABLED"|string;
2050 export type H264TimecodeInsertionBehavior = "DISABLED"|"PIC_TIMING_SEI"|string;
2051 export type H265AdaptiveQuantization = "HIGH"|"HIGHER"|"LOW"|"MAX"|"MEDIUM"|"OFF"|string;
2052 export type H265AlternativeTransferFunction = "INSERT"|"OMIT"|string;
2053 export type H265ColorMetadata = "IGNORE"|"INSERT"|string;
2054 export interface H265ColorSpaceSettings {
2055 ColorSpacePassthroughSettings?: ColorSpacePassthroughSettings;
2056 Hdr10Settings?: Hdr10Settings;
2057 Rec601Settings?: Rec601Settings;
2058 Rec709Settings?: Rec709Settings;
2059 }
2060 export type H265FlickerAq = "DISABLED"|"ENABLED"|string;
2061 export type H265GopSizeUnits = "FRAMES"|"SECONDS"|string;
2062 export type H265Level = "H265_LEVEL_1"|"H265_LEVEL_2"|"H265_LEVEL_2_1"|"H265_LEVEL_3"|"H265_LEVEL_3_1"|"H265_LEVEL_4"|"H265_LEVEL_4_1"|"H265_LEVEL_5"|"H265_LEVEL_5_1"|"H265_LEVEL_5_2"|"H265_LEVEL_6"|"H265_LEVEL_6_1"|"H265_LEVEL_6_2"|"H265_LEVEL_AUTO"|string;
2063 export type H265LookAheadRateControl = "HIGH"|"LOW"|"MEDIUM"|string;
2064 export type H265Profile = "MAIN"|"MAIN_10BIT"|string;
2065 export type H265RateControlMode = "CBR"|"QVBR"|string;
2066 export type H265ScanType = "PROGRESSIVE"|string;
2067 export type H265SceneChangeDetect = "DISABLED"|"ENABLED"|string;
2068 export interface H265Settings {
2069 /**
2070 * Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.
2071 */
2072 AdaptiveQuantization?: H265AdaptiveQuantization;
2073 /**
2074 * Indicates that AFD values will be written into the output stream. If afdSignaling is "auto", the system will try to preserve the input AFD value (in cases where multiple AFD values are valid). If set to "fixed", the AFD value will be the value configured in the fixedAfd parameter.
2075 */
2076 AfdSignaling?: AfdSignaling;
2077 /**
2078 * Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.
2079 */
2080 AlternativeTransferFunction?: H265AlternativeTransferFunction;
2081 /**
2082 * Average bitrate in bits/second. Required when the rate control mode is VBR or CBR. Not used for QVBR. In an MS Smooth output group, each output must have a unique value when its bitrate is rounded down to the nearest multiple of 1000.
2083 */
2084 Bitrate?: __integerMin100000Max40000000;
2085 /**
2086 * Size of buffer (HRD buffer model) in bits.
2087 */
2088 BufSize?: __integerMin100000Max80000000;
2089 /**
2090 * Includes colorspace metadata in the output.
2091 */
2092 ColorMetadata?: H265ColorMetadata;
2093 /**
2094 * Color Space settings
2095 */
2096 ColorSpaceSettings?: H265ColorSpaceSettings;
2097 /**
2098 * Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.
2099 */
2100 FixedAfd?: FixedAfd;
2101 /**
2102 * If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
2103 */
2104 FlickerAq?: H265FlickerAq;
2105 /**
2106 * Framerate denominator.
2107 */
2108 FramerateDenominator: __integerMin1Max3003;
2109 /**
2110 * Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.
2111 */
2112 FramerateNumerator: __integerMin1;
2113 /**
2114 * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.
2115 */
2116 GopClosedCadence?: __integerMin0;
2117 /**
2118 * GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits. Must be greater than zero.
2119 */
2120 GopSize?: __doubleMin1;
2121 /**
2122 * Indicates if the gopSize is specified in frames or seconds. If seconds the system will convert the gopSize into a frame count at run time.
2123 */
2124 GopSizeUnits?: H265GopSizeUnits;
2125 /**
2126 * H.265 Level.
2127 */
2128 Level?: H265Level;
2129 /**
2130 * Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.
2131 */
2132 LookAheadRateControl?: H265LookAheadRateControl;
2133 /**
2134 * For QVBR: See the tooltip for Quality level
2135 */
2136 MaxBitrate?: __integerMin100000Max40000000;
2137 /**
2138 * Only meaningful if sceneChangeDetect is set to enabled. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1
2139 */
2140 MinIInterval?: __integerMin0Max30;
2141 /**
2142 * Pixel Aspect Ratio denominator.
2143 */
2144 ParDenominator?: __integerMin1;
2145 /**
2146 * Pixel Aspect Ratio numerator.
2147 */
2148 ParNumerator?: __integerMin1;
2149 /**
2150 * H.265 Profile.
2151 */
2152 Profile?: H265Profile;
2153 /**
2154 * Controls the target quality for the video encode. Applies only when the rate control mode is QVBR. Set values for the QVBR quality level field and Max bitrate field that suit your most important viewing devices. Recommended values are:
2155- Primary screen: Quality level: 8 to 10. Max bitrate: 4M
2156- PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M
2157- Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M
2158 */
2159 QvbrQualityLevel?: __integerMin1Max10;
2160 /**
2161 * Rate control mode.
2162
2163QVBR: Quality will match the specified quality level except when it is constrained by the
2164maximum bitrate. Recommended if you or your viewers pay for bandwidth.
2165
2166CBR: Quality varies, depending on the video complexity. Recommended only if you distribute
2167your assets to devices that cannot handle variable bitrates.
2168 */
2169 RateControlMode?: H265RateControlMode;
2170 /**
2171 * Sets the scan type of the output to progressive or top-field-first interlaced.
2172 */
2173 ScanType?: H265ScanType;
2174 /**
2175 * Scene change detection.
2176 */
2177 SceneChangeDetect?: H265SceneChangeDetect;
2178 /**
2179 * Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.
2180This field is optional; when no value is specified the encoder will choose the number of slices based on encode resolution.
2181 */
2182 Slices?: __integerMin1Max16;
2183 /**
2184 * H.265 Tier.
2185 */
2186 Tier?: H265Tier;
2187 /**
2188 * Determines how timecodes should be inserted into the video elementary stream.
2189- 'disabled': Do not include timecodes
2190- 'picTimingSei': Pass through picture timing SEI messages from the source specified in Timecode Config
2191 */
2192 TimecodeInsertion?: H265TimecodeInsertionBehavior;
2193 }
2194 export type H265Tier = "HIGH"|"MAIN"|string;
2195 export type H265TimecodeInsertionBehavior = "DISABLED"|"PIC_TIMING_SEI"|string;
2196 export interface Hdr10Settings {
2197 /**
2198 * Maximum Content Light Level
2199An integer metadata value defining the maximum light level, in nits,
2200of any single pixel within an encoded HDR video stream or file.
2201 */
2202 MaxCll?: __integerMin0Max32768;
2203 /**
2204 * Maximum Frame Average Light Level
2205An integer metadata value defining the maximum average light level, in nits,
2206for any single frame within an encoded HDR video stream or file.
2207 */
2208 MaxFall?: __integerMin0Max32768;
2209 }
2210 export type HlsAdMarkers = "ADOBE"|"ELEMENTAL"|"ELEMENTAL_SCTE35"|string;
2211 export type HlsAkamaiHttpTransferMode = "CHUNKED"|"NON_CHUNKED"|string;
2212 export interface HlsAkamaiSettings {
2213 /**
2214 * Number of seconds to wait before retrying connection to the CDN if the connection is lost.
2215 */
2216 ConnectionRetryInterval?: __integerMin0;
2217 /**
2218 * Size in seconds of file cache for streaming outputs.
2219 */
2220 FilecacheDuration?: __integerMin0Max600;
2221 /**
2222 * Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.
2223 */
2224 HttpTransferMode?: HlsAkamaiHttpTransferMode;
2225 /**
2226 * Number of retry attempts that will be made before the Live Event is put into an error state.
2227 */
2228 NumRetries?: __integerMin0;
2229 /**
2230 * If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
2231 */
2232 RestartDelay?: __integerMin0Max15;
2233 /**
2234 * Salt for authenticated Akamai.
2235 */
2236 Salt?: __string;
2237 /**
2238 * Token parameter for authenticated akamai. If not specified, _gda_ is used.
2239 */
2240 Token?: __string;
2241 }
2242 export interface HlsBasicPutSettings {
2243 /**
2244 * Number of seconds to wait before retrying connection to the CDN if the connection is lost.
2245 */
2246 ConnectionRetryInterval?: __integerMin0;
2247 /**
2248 * Size in seconds of file cache for streaming outputs.
2249 */
2250 FilecacheDuration?: __integerMin0Max600;
2251 /**
2252 * Number of retry attempts that will be made before the Live Event is put into an error state.
2253 */
2254 NumRetries?: __integerMin0;
2255 /**
2256 * If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
2257 */
2258 RestartDelay?: __integerMin0Max15;
2259 }
2260 export type HlsCaptionLanguageSetting = "INSERT"|"NONE"|"OMIT"|string;
2261 export interface HlsCdnSettings {
2262 HlsAkamaiSettings?: HlsAkamaiSettings;
2263 HlsBasicPutSettings?: HlsBasicPutSettings;
2264 HlsMediaStoreSettings?: HlsMediaStoreSettings;
2265 HlsWebdavSettings?: HlsWebdavSettings;
2266 }
2267 export type HlsClientCache = "DISABLED"|"ENABLED"|string;
2268 export type HlsCodecSpecification = "RFC_4281"|"RFC_6381"|string;
2269 export type HlsDirectoryStructure = "SINGLE_DIRECTORY"|"SUBDIRECTORY_PER_STREAM"|string;
2270 export type HlsEncryptionType = "AES128"|"SAMPLE_AES"|string;
2271 export interface HlsGroupSettings {
2272 /**
2273 * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
2274 */
2275 AdMarkers?: __listOfHlsAdMarkers;
2276 /**
2277 * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest is delivered from a different URL than the main .m3u8 file.
2278 */
2279 BaseUrlContent?: __string;
2280 /**
2281 * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest is delivered from a different URL than the main .m3u8 file.
2282 */
2283 BaseUrlManifest?: __string;
2284 /**
2285 * Mapping of up to 4 caption channels to caption languages. Is only meaningful if captionLanguageSetting is set to "insert".
2286 */
2287 CaptionLanguageMappings?: __listOfCaptionLanguageMapping;
2288 /**
2289 * Applies only to 608 Embedded output captions.
2290insert: Include CLOSED-CAPTIONS lines in the manifest. Specify at least one language in the CC1 Language Code field. One CLOSED-CAPTION line is added for each Language Code you specify. Make sure to specify the languages in the order in which they appear in the original source (if the source is embedded format) or the order of the caption selectors (if the source is other than embedded). Otherwise, languages in the manifest will not match up properly with the output captions.
2291none: Include CLOSED-CAPTIONS=NONE line in the manifest.
2292omit: Omit any CLOSED-CAPTIONS line from the manifest.
2293 */
2294 CaptionLanguageSetting?: HlsCaptionLanguageSetting;
2295 /**
2296 * When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, which prevents clients from saving media segments for later replay.
2297 */
2298 ClientCache?: HlsClientCache;
2299 /**
2300 * Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
2301 */
2302 CodecSpecification?: HlsCodecSpecification;
2303 /**
2304 * For use with encryptionType. This is a 128-bit, 16-byte hex value represented by a 32-character text string. If ivSource is set to "explicit" then this parameter is required and is used as the IV for encryption.
2305 */
2306 ConstantIv?: __stringMin32Max32;
2307 /**
2308 * A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).
2309 */
2310 Destination: OutputLocationRef;
2311 /**
2312 * Place segments in subdirectories.
2313 */
2314 DirectoryStructure?: HlsDirectoryStructure;
2315 /**
2316 * Encrypts the segments with the given encryption scheme. Exclude this parameter if no encryption is desired.
2317 */
2318 EncryptionType?: HlsEncryptionType;
2319 /**
2320 * Parameters that control interactions with the CDN.
2321 */
2322 HlsCdnSettings?: HlsCdnSettings;
2323 /**
2324 * DISABLED: Do not create an I-frame-only manifest, but do create the master and media manifests (according to the Output Selection field).
2325
2326STANDARD: Create an I-frame-only manifest for each output that contains video, as well as the other manifests (according to the Output Selection field). The I-frame manifest contains a #EXT-X-I-FRAMES-ONLY tag to indicate it is I-frame only, and one or more #EXT-X-BYTERANGE entries identifying the I-frame position. For example, #EXT-X-BYTERANGE:160364@1461888"
2327 */
2328 IFrameOnlyPlaylists?: IFrameOnlyPlaylistType;
2329 /**
2330 * Applies only if Mode field is LIVE. Specifies the maximum number of segments in the media manifest file. After this maximum, older segments are removed from the media manifest. This number must be less than or equal to the Keep Segments field.
2331 */
2332 IndexNSegments?: __integerMin3;
2333 /**
2334 * Parameter that control output group behavior on input loss.
2335 */
2336 InputLossAction?: InputLossActionForHlsOut;
2337 /**
2338 * For use with encryptionType. The IV (Initialization Vector) is a 128-bit number used in conjunction with the key for encrypting blocks. If set to "include", IV is listed in the manifest, otherwise the IV is not in the manifest.
2339 */
2340 IvInManifest?: HlsIvInManifest;
2341 /**
2342 * For use with encryptionType. The IV (Initialization Vector) is a 128-bit number used in conjunction with the key for encrypting blocks. If this setting is "followsSegmentNumber", it will cause the IV to change every segment (to match the segment number). If this is set to "explicit", you must enter a constantIv value.
2343 */
2344 IvSource?: HlsIvSource;
2345 /**
2346 * Applies only if Mode field is LIVE. Specifies the number of media segments (.ts files) to retain in the destination directory.
2347 */
2348 KeepSegments?: __integerMin1;
2349 /**
2350 * The value specifies how the key is represented in the resource identified by the URI. If parameter is absent, an implicit value of "identity" is used. A reverse DNS string can also be given.
2351 */
2352 KeyFormat?: __string;
2353 /**
2354 * Either a single positive integer version value or a slash delimited list of version values (1/2/3).
2355 */
2356 KeyFormatVersions?: __string;
2357 /**
2358 * The key provider settings.
2359 */
2360 KeyProviderSettings?: KeyProviderSettings;
2361 /**
2362 * When set to gzip, compresses HLS playlist.
2363 */
2364 ManifestCompression?: HlsManifestCompression;
2365 /**
2366 * Indicates whether the output manifest should use floating point or integer values for segment duration.
2367 */
2368 ManifestDurationFormat?: HlsManifestDurationFormat;
2369 /**
2370 * When set, minimumSegmentLength is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.
2371 */
2372 MinSegmentLength?: __integerMin0;
2373 /**
2374 * If "vod", all segments are indexed and kept permanently in the destination and manifest. If "live", only the number segments specified in keepSegments and indexNSegments are kept; newer segments replace older segments, which may prevent players from rewinding all the way to the beginning of the event.
2375
2376VOD mode uses HLS EXT-X-PLAYLIST-TYPE of EVENT while the channel is running, converting it to a "VOD" type manifest on completion of the stream.
2377 */
2378 Mode?: HlsMode;
2379 /**
2380 * MANIFESTSANDSEGMENTS: Generates manifests (master manifest, if applicable, and media manifests) for this output group.
2381
2382SEGMENTSONLY: Does not generate any manifests for this output group.
2383 */
2384 OutputSelection?: HlsOutputSelection;
2385 /**
2386 * Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as follows: either the program date and time are initialized using the input timecode source, or the time is initialized using the input timecode source and the date is initialized using the timestampOffset.
2387 */
2388 ProgramDateTime?: HlsProgramDateTime;
2389 /**
2390 * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.
2391 */
2392 ProgramDateTimePeriod?: __integerMin0Max3600;
2393 /**
2394 * ENABLED: The master manifest (.m3u8 file) for each pipeline includes information about both pipelines: first its own media files, then the media files of the other pipeline. This feature allows playout device that support stale manifest detection to switch from one manifest to the other, when the current manifest seems to be stale. There are still two destinations and two master manifests, but both master manifests reference the media files from both pipelines.
2395
2396DISABLED: The master manifest (.m3u8 file) for each pipeline includes information about its own pipeline only.
2397
2398For an HLS output group with MediaPackage as the destination, the DISABLED behavior is always followed. MediaPackage regenerates the manifests it serves to players so a redundant manifest from MediaLive is irrelevant.
2399 */
2400 RedundantManifest?: HlsRedundantManifest;
2401 /**
2402 * Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer.
2403 */
2404 SegmentLength?: __integerMin1;
2405 /**
2406 * useInputSegmentation has been deprecated. The configured segment size is always used.
2407 */
2408 SegmentationMode?: HlsSegmentationMode;
2409 /**
2410 * Number of segments to write to a subdirectory before starting a new one. directoryStructure must be subdirectoryPerStream for this setting to have an effect.
2411 */
2412 SegmentsPerSubdirectory?: __integerMin1;
2413 /**
2414 * Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
2415 */
2416 StreamInfResolution?: HlsStreamInfResolution;
2417 /**
2418 * Indicates ID3 frame that has the timecode.
2419 */
2420 TimedMetadataId3Frame?: HlsTimedMetadataId3Frame;
2421 /**
2422 * Timed Metadata interval in seconds.
2423 */
2424 TimedMetadataId3Period?: __integerMin0;
2425 /**
2426 * Provides an extra millisecond delta offset to fine tune the timestamps.
2427 */
2428 TimestampDeltaMilliseconds?: __integerMin0;
2429 /**
2430 * SEGMENTEDFILES: Emit the program as segments - multiple .ts media files.
2431
2432SINGLEFILE: Applies only if Mode field is VOD. Emit the program as a single .ts media file. The media manifest includes #EXT-X-BYTERANGE tags to index segments for playback. A typical use for this value is when sending the output to AWS Elemental MediaConvert, which can accept only a single media file. Playback while the channel is running is not guaranteed due to HTTP server caching.
2433 */
2434 TsFileMode?: HlsTsFileMode;
2435 }
2436 export interface HlsInputSettings {
2437 /**
2438 * When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen, otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per second, as in an HLS manifest.
2439 */
2440 Bandwidth?: __integerMin0;
2441 /**
2442 * When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written segment). When not specified, the HLS input will begin with the first segment specified in the m3u8.
2443 */
2444 BufferSegments?: __integerMin0;
2445 /**
2446 * The number of consecutive times that attempts to read a manifest or segment must fail before the input is considered unavailable.
2447 */
2448 Retries?: __integerMin0;
2449 /**
2450 * The number of seconds between retries when an attempt to read a manifest or segment fails.
2451 */
2452 RetryInterval?: __integerMin0;
2453 }
2454 export type HlsIvInManifest = "EXCLUDE"|"INCLUDE"|string;
2455 export type HlsIvSource = "EXPLICIT"|"FOLLOWS_SEGMENT_NUMBER"|string;
2456 export type HlsManifestCompression = "GZIP"|"NONE"|string;
2457 export type HlsManifestDurationFormat = "FLOATING_POINT"|"INTEGER"|string;
2458 export interface HlsMediaStoreSettings {
2459 /**
2460 * Number of seconds to wait before retrying connection to the CDN if the connection is lost.
2461 */
2462 ConnectionRetryInterval?: __integerMin0;
2463 /**
2464 * Size in seconds of file cache for streaming outputs.
2465 */
2466 FilecacheDuration?: __integerMin0Max600;
2467 /**
2468 * When set to temporal, output files are stored in non-persistent memory for faster reading and writing.
2469 */
2470 MediaStoreStorageClass?: HlsMediaStoreStorageClass;
2471 /**
2472 * Number of retry attempts that will be made before the Live Event is put into an error state.
2473 */
2474 NumRetries?: __integerMin0;
2475 /**
2476 * If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
2477 */
2478 RestartDelay?: __integerMin0Max15;
2479 }
2480 export type HlsMediaStoreStorageClass = "TEMPORAL"|string;
2481 export type HlsMode = "LIVE"|"VOD"|string;
2482 export type HlsOutputSelection = "MANIFESTS_AND_SEGMENTS"|"SEGMENTS_ONLY"|string;
2483 export interface HlsOutputSettings {
2484 /**
2485 * Settings regarding the underlying stream. These settings are different for audio-only outputs.
2486 */
2487 HlsSettings: HlsSettings;
2488 /**
2489 * String concatenated to the end of the destination filename. Accepts \"Format Identifiers\":#formatIdentifierParameters.
2490 */
2491 NameModifier?: __stringMin1;
2492 /**
2493 * String concatenated to end of segment filenames.
2494 */
2495 SegmentModifier?: __string;
2496 }
2497 export type HlsProgramDateTime = "EXCLUDE"|"INCLUDE"|string;
2498 export type HlsRedundantManifest = "DISABLED"|"ENABLED"|string;
2499 export type HlsSegmentationMode = "USE_INPUT_SEGMENTATION"|"USE_SEGMENT_DURATION"|string;
2500 export interface HlsSettings {
2501 AudioOnlyHlsSettings?: AudioOnlyHlsSettings;
2502 StandardHlsSettings?: StandardHlsSettings;
2503 }
2504 export type HlsStreamInfResolution = "EXCLUDE"|"INCLUDE"|string;
2505 export type HlsTimedMetadataId3Frame = "NONE"|"PRIV"|"TDRL"|string;
2506 export interface HlsTimedMetadataScheduleActionSettings {
2507 /**
2508 * Base64 string formatted according to the ID3 specification: http://id3.org/id3v2.4.0-structure
2509 */
2510 Id3: __string;
2511 }
2512 export type HlsTsFileMode = "SEGMENTED_FILES"|"SINGLE_FILE"|string;
2513 export type HlsWebdavHttpTransferMode = "CHUNKED"|"NON_CHUNKED"|string;
2514 export interface HlsWebdavSettings {
2515 /**
2516 * Number of seconds to wait before retrying connection to the CDN if the connection is lost.
2517 */
2518 ConnectionRetryInterval?: __integerMin0;
2519 /**
2520 * Size in seconds of file cache for streaming outputs.
2521 */
2522 FilecacheDuration?: __integerMin0Max600;
2523 /**
2524 * Specify whether or not to use chunked transfer encoding to WebDAV.
2525 */
2526 HttpTransferMode?: HlsWebdavHttpTransferMode;
2527 /**
2528 * Number of retry attempts that will be made before the Live Event is put into an error state.
2529 */
2530 NumRetries?: __integerMin0;
2531 /**
2532 * If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
2533 */
2534 RestartDelay?: __integerMin0Max15;
2535 }
2536 export type IFrameOnlyPlaylistType = "DISABLED"|"STANDARD"|string;
2537 export interface ImmediateModeScheduleActionStartSettings {
2538 }
2539 export interface Input {
2540 /**
2541 * The Unique ARN of the input (generated, immutable).
2542 */
2543 Arn?: __string;
2544 /**
2545 * A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
2546 */
2547 AttachedChannels?: __listOf__string;
2548 /**
2549 * A list of the destinations of the input (PUSH-type).
2550 */
2551 Destinations?: __listOfInputDestination;
2552 /**
2553 * The generated ID of the input (unique for user account, immutable).
2554 */
2555 Id?: __string;
2556 /**
2557 * STANDARD - MediaLive expects two sources to be connected to this input. If the channel is also STANDARD, both sources will be ingested. If the channel is SINGLE_PIPELINE, only the first source will be ingested; the second source will always be ignored, even if the first source fails.
2558SINGLE_PIPELINE - You can connect only one source to this input. If the ChannelClass is also SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this value is not valid because the channel requires two sources in the input.
2559
2560 */
2561 InputClass?: InputClass;
2562 /**
2563 * Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes
2564during input switch actions. Presently, this functionality only works with MP4_FILE inputs.
2565
2566 */
2567 InputSourceType?: InputSourceType;
2568 /**
2569 * A list of MediaConnect Flows for this input.
2570 */
2571 MediaConnectFlows?: __listOfMediaConnectFlow;
2572 /**
2573 * The user-assigned name (This is a mutable value).
2574 */
2575 Name?: __string;
2576 /**
2577 * The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
2578 */
2579 RoleArn?: __string;
2580 /**
2581 * A list of IDs for all the Input Security Groups attached to the input.
2582 */
2583 SecurityGroups?: __listOf__string;
2584 /**
2585 * A list of the sources of the input (PULL-type).
2586 */
2587 Sources?: __listOfInputSource;
2588 State?: InputState;
2589 /**
2590 * A collection of key-value pairs.
2591 */
2592 Tags?: Tags;
2593 Type?: InputType;
2594 }
2595 export interface InputAttachment {
2596 /**
2597 * User-specified name for the attachment. This is required if the user wants to use this input in an input switch action.
2598 */
2599 InputAttachmentName?: __string;
2600 /**
2601 * The ID of the input
2602 */
2603 InputId?: __string;
2604 /**
2605 * Settings of an input (caption selector, etc.)
2606 */
2607 InputSettings?: InputSettings;
2608 }
2609 export interface InputChannelLevel {
2610 /**
2611 * Remixing value. Units are in dB and acceptable values are within the range from -60 (mute) and 6 dB.
2612 */
2613 Gain: __integerMinNegative60Max6;
2614 /**
2615 * The index of the input channel used as a source.
2616 */
2617 InputChannel: __integerMin0Max15;
2618 }
2619 export type InputClass = "STANDARD"|"SINGLE_PIPELINE"|string;
2620 export interface InputClippingSettings {
2621 /**
2622 * The source of the timecodes in the source being clipped.
2623 */
2624 InputTimecodeSource: InputTimecodeSource;
2625 /**
2626 * Settings to identify the start of the clip.
2627 */
2628 StartTimecode?: StartTimecode;
2629 /**
2630 * Settings to identify the end of the clip.
2631 */
2632 StopTimecode?: StopTimecode;
2633 }
2634 export type InputCodec = "MPEG2"|"AVC"|"HEVC"|string;
2635 export type InputDeblockFilter = "DISABLED"|"ENABLED"|string;
2636 export type InputDenoiseFilter = "DISABLED"|"ENABLED"|string;
2637 export interface InputDestination {
2638 /**
2639 * The system-generated static IP address of endpoint.
2640It remains fixed for the lifetime of the input.
2641
2642 */
2643 Ip?: __string;
2644 /**
2645 * The port number for the input.
2646 */
2647 Port?: __string;
2648 /**
2649 * This represents the endpoint that the customer stream will be
2650pushed to.
2651
2652 */
2653 Url?: __string;
2654 Vpc?: InputDestinationVpc;
2655 }
2656 export interface InputDestinationRequest {
2657 /**
2658 * A unique name for the location the RTMP stream is being pushed
2659to.
2660
2661 */
2662 StreamName?: __string;
2663 }
2664 export interface InputDestinationVpc {
2665 /**
2666 * The availability zone of the Input destination.
2667
2668 */
2669 AvailabilityZone?: __string;
2670 /**
2671 * The network interface ID of the Input destination in the VPC.
2672
2673 */
2674 NetworkInterfaceId?: __string;
2675 }
2676 export type InputFilter = "AUTO"|"DISABLED"|"FORCED"|string;
2677 export interface InputLocation {
2678 /**
2679 * key used to extract the password from EC2 Parameter store
2680 */
2681 PasswordParam?: __string;
2682 /**
2683 * Uniform Resource Identifier - This should be a path to a file accessible to the Live system (eg. a http:// URI) depending on the output type. For example, a RTMP destination should have a uri simliar to: "rtmp://fmsserver/live".
2684 */
2685 Uri: __string;
2686 /**
2687 * Documentation update needed
2688 */
2689 Username?: __string;
2690 }
2691 export type InputLossActionForHlsOut = "EMIT_OUTPUT"|"PAUSE_OUTPUT"|string;
2692 export type InputLossActionForMsSmoothOut = "EMIT_OUTPUT"|"PAUSE_OUTPUT"|string;
2693 export type InputLossActionForRtmpOut = "EMIT_OUTPUT"|"PAUSE_OUTPUT"|string;
2694 export type InputLossActionForUdpOut = "DROP_PROGRAM"|"DROP_TS"|"EMIT_PROGRAM"|string;
2695 export interface InputLossBehavior {
2696 /**
2697 * Documentation update needed
2698 */
2699 BlackFrameMsec?: __integerMin0Max1000000;
2700 /**
2701 * When input loss image type is "color" this field specifies the color to use. Value: 6 hex characters representing the values of RGB.
2702 */
2703 InputLossImageColor?: __stringMin6Max6;
2704 /**
2705 * When input loss image type is "slate" these fields specify the parameters for accessing the slate.
2706 */
2707 InputLossImageSlate?: InputLocation;
2708 /**
2709 * Indicates whether to substitute a solid color or a slate into the output after input loss exceeds blackFrameMsec.
2710 */
2711 InputLossImageType?: InputLossImageType;
2712 /**
2713 * Documentation update needed
2714 */
2715 RepeatFrameMsec?: __integerMin0Max1000000;
2716 }
2717 export type InputLossImageType = "COLOR"|"SLATE"|string;
2718 export type InputMaximumBitrate = "MAX_10_MBPS"|"MAX_20_MBPS"|"MAX_50_MBPS"|string;
2719 export type InputResolution = "SD"|"HD"|"UHD"|string;
2720 export interface InputSecurityGroup {
2721 /**
2722 * Unique ARN of Input Security Group
2723 */
2724 Arn?: __string;
2725 /**
2726 * The Id of the Input Security Group
2727 */
2728 Id?: __string;
2729 /**
2730 * The list of inputs currently using this Input Security Group.
2731 */
2732 Inputs?: __listOf__string;
2733 /**
2734 * The current state of the Input Security Group.
2735 */
2736 State?: InputSecurityGroupState;
2737 /**
2738 * A collection of key-value pairs.
2739 */
2740 Tags?: Tags;
2741 /**
2742 * Whitelist rules and their sync status
2743 */
2744 WhitelistRules?: __listOfInputWhitelistRule;
2745 }
2746 export type InputSecurityGroupState = "IDLE"|"IN_USE"|"UPDATING"|"DELETED"|string;
2747 export interface InputSettings {
2748 /**
2749 * Used to select the audio stream to decode for inputs that have multiple available.
2750 */
2751 AudioSelectors?: __listOfAudioSelector;
2752 /**
2753 * Used to select the caption input to use for inputs that have multiple available.
2754 */
2755 CaptionSelectors?: __listOfCaptionSelector;
2756 /**
2757 * Enable or disable the deblock filter when filtering.
2758 */
2759 DeblockFilter?: InputDeblockFilter;
2760 /**
2761 * Enable or disable the denoise filter when filtering.
2762 */
2763 DenoiseFilter?: InputDenoiseFilter;
2764 /**
2765 * Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).
2766 */
2767 FilterStrength?: __integerMin1Max5;
2768 /**
2769 * Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default.
27701) auto - filtering will be applied depending on input type/quality
27712) disabled - no filtering will be applied to the input
27723) forced - filtering will be applied regardless of input type
2773 */
2774 InputFilter?: InputFilter;
2775 /**
2776 * Input settings.
2777 */
2778 NetworkInputSettings?: NetworkInputSettings;
2779 /**
2780 * Loop input if it is a file. This allows a file input to be streamed indefinitely.
2781 */
2782 SourceEndBehavior?: InputSourceEndBehavior;
2783 /**
2784 * Informs which video elementary stream to decode for input types that have multiple available.
2785 */
2786 VideoSelector?: VideoSelector;
2787 }
2788 export interface InputSource {
2789 /**
2790 * The key used to extract the password from EC2 Parameter store.
2791 */
2792 PasswordParam?: __string;
2793 /**
2794 * This represents the customer's source URL where stream is
2795pulled from.
2796
2797 */
2798 Url?: __string;
2799 /**
2800 * The username for the input source.
2801 */
2802 Username?: __string;
2803 }
2804 export type InputSourceEndBehavior = "CONTINUE"|"LOOP"|string;
2805 export interface InputSourceRequest {
2806 /**
2807 * The key used to extract the password from EC2 Parameter store.
2808 */
2809 PasswordParam?: __string;
2810 /**
2811 * This represents the customer's source URL where stream is
2812pulled from.
2813
2814 */
2815 Url?: __string;
2816 /**
2817 * The username for the input source.
2818 */
2819 Username?: __string;
2820 }
2821 export type InputSourceType = "STATIC"|"DYNAMIC"|string;
2822 export interface InputSpecification {
2823 /**
2824 * Input codec
2825 */
2826 Codec?: InputCodec;
2827 /**
2828 * Maximum input bitrate, categorized coarsely
2829 */
2830 MaximumBitrate?: InputMaximumBitrate;
2831 /**
2832 * Input resolution, categorized coarsely
2833 */
2834 Resolution?: InputResolution;
2835 }
2836 export type InputState = "CREATING"|"DETACHED"|"ATTACHED"|"DELETING"|"DELETED"|string;
2837 export interface InputSwitchScheduleActionSettings {
2838 /**
2839 * The name of the input attachment (not the name of the input!) to switch to. The name is specified in the channel configuration.
2840 */
2841 InputAttachmentNameReference: __string;
2842 /**
2843 * Settings to let you create a clip of the file input, in order to set up the input to ingest only a portion of the file.
2844 */
2845 InputClippingSettings?: InputClippingSettings;
2846 /**
2847 * The value for the variable portion of the URL for the dynamic input, for this instance of the input. Each time you use the same dynamic input in an input switch action, you can provide a different value, in order to connect the input to a different content source.
2848 */
2849 UrlPath?: __listOf__string;
2850 }
2851 export type InputTimecodeSource = "ZEROBASED"|"EMBEDDED"|string;
2852 export type InputType = "UDP_PUSH"|"RTP_PUSH"|"RTMP_PUSH"|"RTMP_PULL"|"URL_PULL"|"MP4_FILE"|"MEDIACONNECT"|string;
2853 export interface InputVpcRequest {
2854 /**
2855 * A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network interfaces.
2856Requires subnetIds. If none are specified then the VPC default security group will be used.
2857
2858 */
2859 SecurityGroupIds?: __listOf__string;
2860 /**
2861 * A list of 2 VPC subnet IDs from the same VPC.
2862Subnet IDs must be mapped to two unique availability zones (AZ).
2863
2864 */
2865 SubnetIds: __listOf__string;
2866 }
2867 export interface InputWhitelistRule {
2868 /**
2869 * The IPv4 CIDR that's whitelisted.
2870 */
2871 Cidr?: __string;
2872 }
2873 export interface InputWhitelistRuleCidr {
2874 /**
2875 * The IPv4 CIDR to whitelist.
2876 */
2877 Cidr?: __string;
2878 }
2879 export interface KeyProviderSettings {
2880 StaticKeySettings?: StaticKeySettings;
2881 }
2882 export type LastFrameClippingBehavior = "EXCLUDE_LAST_FRAME"|"INCLUDE_LAST_FRAME"|string;
2883 export interface ListChannelsRequest {
2884 MaxResults?: MaxResults;
2885 NextToken?: __string;
2886 }
2887 export interface ListChannelsResponse {
2888 Channels?: __listOfChannelSummary;
2889 NextToken?: __string;
2890 }
2891 export interface ListInputSecurityGroupsRequest {
2892 MaxResults?: MaxResults;
2893 NextToken?: __string;
2894 }
2895 export interface ListInputSecurityGroupsResponse {
2896 /**
2897 * List of input security groups
2898 */
2899 InputSecurityGroups?: __listOfInputSecurityGroup;
2900 NextToken?: __string;
2901 }
2902 export interface ListInputsRequest {
2903 MaxResults?: MaxResults;
2904 NextToken?: __string;
2905 }
2906 export interface ListInputsResponse {
2907 Inputs?: __listOfInput;
2908 NextToken?: __string;
2909 }
2910 export interface ListOfferingsRequest {
2911 /**
2912 * Filter by channel class, 'STANDARD' or 'SINGLE_PIPELINE'
2913
2914 */
2915 ChannelClass?: __string;
2916 /**
2917 * Filter to offerings that match the configuration of an existing channel, e.g. '2345678' (a channel ID)
2918
2919 */
2920 ChannelConfiguration?: __string;
2921 /**
2922 * Filter by codec, 'AVC', 'HEVC', 'MPEG2', or 'AUDIO'
2923 */
2924 Codec?: __string;
2925 MaxResults?: MaxResults;
2926 /**
2927 * Filter by bitrate, 'MAX_10_MBPS', 'MAX_20_MBPS', or 'MAX_50_MBPS'
2928
2929 */
2930 MaximumBitrate?: __string;
2931 /**
2932 * Filter by framerate, 'MAX_30_FPS' or 'MAX_60_FPS'
2933 */
2934 MaximumFramerate?: __string;
2935 NextToken?: __string;
2936 /**
2937 * Filter by resolution, 'SD', 'HD', or 'UHD'
2938 */
2939 Resolution?: __string;
2940 /**
2941 * Filter by resource type, 'INPUT', 'OUTPUT', or 'CHANNEL'
2942 */
2943 ResourceType?: __string;
2944 /**
2945 * Filter by special feature, 'ADVANCED_AUDIO' or 'AUDIO_NORMALIZATION'
2946
2947 */
2948 SpecialFeature?: __string;
2949 /**
2950 * Filter by video quality, 'STANDARD', 'ENHANCED', or 'PREMIUM'
2951
2952 */
2953 VideoQuality?: __string;
2954 }
2955 export interface ListOfferingsResponse {
2956 /**
2957 * Token to retrieve the next page of results
2958 */
2959 NextToken?: __string;
2960 /**
2961 * List of offerings
2962 */
2963 Offerings?: __listOfOffering;
2964 }
2965 export interface ListReservationsRequest {
2966 /**
2967 * Filter by channel class, 'STANDARD' or 'SINGLE_PIPELINE'
2968
2969 */
2970 ChannelClass?: __string;
2971 /**
2972 * Filter by codec, 'AVC', 'HEVC', 'MPEG2', or 'AUDIO'
2973 */
2974 Codec?: __string;
2975 MaxResults?: MaxResults;
2976 /**
2977 * Filter by bitrate, 'MAX_10_MBPS', 'MAX_20_MBPS', or 'MAX_50_MBPS'
2978
2979 */
2980 MaximumBitrate?: __string;
2981 /**
2982 * Filter by framerate, 'MAX_30_FPS' or 'MAX_60_FPS'
2983 */
2984 MaximumFramerate?: __string;
2985 NextToken?: __string;
2986 /**
2987 * Filter by resolution, 'SD', 'HD', or 'UHD'
2988 */
2989 Resolution?: __string;
2990 /**
2991 * Filter by resource type, 'INPUT', 'OUTPUT', or 'CHANNEL'
2992 */
2993 ResourceType?: __string;
2994 /**
2995 * Filter by special feature, 'ADVANCED_AUDIO' or 'AUDIO_NORMALIZATION'
2996
2997 */
2998 SpecialFeature?: __string;
2999 /**
3000 * Filter by video quality, 'STANDARD', 'ENHANCED', or 'PREMIUM'
3001
3002 */
3003 VideoQuality?: __string;
3004 }
3005 export interface ListReservationsResponse {
3006 /**
3007 * Token to retrieve the next page of results
3008 */
3009 NextToken?: __string;
3010 /**
3011 * List of reservations
3012 */
3013 Reservations?: __listOfReservation;
3014 }
3015 export interface ListTagsForResourceRequest {
3016 ResourceArn: __string;
3017 }
3018 export interface ListTagsForResourceResponse {
3019 Tags?: Tags;
3020 }
3021 export type LogLevel = "ERROR"|"WARNING"|"INFO"|"DEBUG"|"DISABLED"|string;
3022 export type M2tsAbsentInputAudioBehavior = "DROP"|"ENCODE_SILENCE"|string;
3023 export type M2tsArib = "DISABLED"|"ENABLED"|string;
3024 export type M2tsAribCaptionsPidControl = "AUTO"|"USE_CONFIGURED"|string;
3025 export type M2tsAudioBufferModel = "ATSC"|"DVB"|string;
3026 export type M2tsAudioInterval = "VIDEO_AND_FIXED_INTERVALS"|"VIDEO_INTERVAL"|string;
3027 export type M2tsAudioStreamType = "ATSC"|"DVB"|string;
3028 export type M2tsBufferModel = "MULTIPLEX"|"NONE"|string;
3029 export type M2tsCcDescriptor = "DISABLED"|"ENABLED"|string;
3030 export type M2tsEbifControl = "NONE"|"PASSTHROUGH"|string;
3031 export type M2tsEbpPlacement = "VIDEO_AND_AUDIO_PIDS"|"VIDEO_PID"|string;
3032 export type M2tsEsRateInPes = "EXCLUDE"|"INCLUDE"|string;
3033 export type M2tsKlv = "NONE"|"PASSTHROUGH"|string;
3034 export type M2tsPcrControl = "CONFIGURED_PCR_PERIOD"|"PCR_EVERY_PES_PACKET"|string;
3035 export type M2tsRateMode = "CBR"|"VBR"|string;
3036 export type M2tsScte35Control = "NONE"|"PASSTHROUGH"|string;
3037 export type M2tsSegmentationMarkers = "EBP"|"EBP_LEGACY"|"NONE"|"PSI_SEGSTART"|"RAI_ADAPT"|"RAI_SEGSTART"|string;
3038 export type M2tsSegmentationStyle = "MAINTAIN_CADENCE"|"RESET_CADENCE"|string;
3039 export interface M2tsSettings {
3040 /**
3041 * When set to drop, output audio streams will be removed from the program if the selected input audio stream is removed from the input. This allows the output audio configuration to dynamically change based on input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream.
3042 */
3043 AbsentInputAudioBehavior?: M2tsAbsentInputAudioBehavior;
3044 /**
3045 * When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.
3046 */
3047 Arib?: M2tsArib;
3048 /**
3049 * Packet Identifier (PID) for ARIB Captions in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3050 */
3051 AribCaptionsPid?: __string;
3052 /**
3053 * If set to auto, pid number used for ARIB Captions will be auto-selected from unused pids. If set to useConfigured, ARIB Captions will be on the configured pid number.
3054 */
3055 AribCaptionsPidControl?: M2tsAribCaptionsPidControl;
3056 /**
3057 * When set to dvb, uses DVB buffer model for Dolby Digital audio. When set to atsc, the ATSC model is used.
3058 */
3059 AudioBufferModel?: M2tsAudioBufferModel;
3060 /**
3061 * The number of audio frames to insert for each PES packet.
3062 */
3063 AudioFramesPerPes?: __integerMin0;
3064 /**
3065 * Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).
3066 */
3067 AudioPids?: __string;
3068 /**
3069 * When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. When set to dvb, uses stream type = 0x06.
3070 */
3071 AudioStreamType?: M2tsAudioStreamType;
3072 /**
3073 * The output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate.
3074 */
3075 Bitrate?: __integerMin0;
3076 /**
3077 * If set to multiplex, use multiplex buffer model for accurate interleaving. Setting to bufferModel to none can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions.
3078 */
3079 BufferModel?: M2tsBufferModel;
3080 /**
3081 * When set to enabled, generates captionServiceDescriptor in PMT.
3082 */
3083 CcDescriptor?: M2tsCcDescriptor;
3084 /**
3085 * Inserts DVB Network Information Table (NIT) at the specified table repetition interval.
3086 */
3087 DvbNitSettings?: DvbNitSettings;
3088 /**
3089 * Inserts DVB Service Description Table (SDT) at the specified table repetition interval.
3090 */
3091 DvbSdtSettings?: DvbSdtSettings;
3092 /**
3093 * Packet Identifier (PID) for input source DVB Subtitle data to this output. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).
3094 */
3095 DvbSubPids?: __string;
3096 /**
3097 * Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.
3098 */
3099 DvbTdtSettings?: DvbTdtSettings;
3100 /**
3101 * Packet Identifier (PID) for input source DVB Teletext data to this output. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3102 */
3103 DvbTeletextPid?: __string;
3104 /**
3105 * If set to passthrough, passes any EBIF data from the input source to this output.
3106 */
3107 Ebif?: M2tsEbifControl;
3108 /**
3109 * When videoAndFixedIntervals is selected, audio EBP markers will be added to partitions 3 and 4. The interval between these additional markers will be fixed, and will be slightly shorter than the video EBP marker interval. Only available when EBP Cablelabs segmentation markers are selected. Partitions 1 and 2 will always follow the video interval.
3110 */
3111 EbpAudioInterval?: M2tsAudioInterval;
3112 /**
3113 * When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is "stretched" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate.
3114 */
3115 EbpLookaheadMs?: __integerMin0Max10000;
3116 /**
3117 * Controls placement of EBP on Audio PIDs. If set to videoAndAudioPids, EBP markers will be placed on the video PID and all audio PIDs. If set to videoPid, EBP markers will be placed on only the video PID.
3118 */
3119 EbpPlacement?: M2tsEbpPlacement;
3120 /**
3121 * This field is unused and deprecated.
3122 */
3123 EcmPid?: __string;
3124 /**
3125 * Include or exclude the ES Rate field in the PES header.
3126 */
3127 EsRateInPes?: M2tsEsRateInPes;
3128 /**
3129 * Packet Identifier (PID) for input source ETV Platform data to this output. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3130 */
3131 EtvPlatformPid?: __string;
3132 /**
3133 * Packet Identifier (PID) for input source ETV Signal data to this output. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3134 */
3135 EtvSignalPid?: __string;
3136 /**
3137 * The length in seconds of each fragment. Only used with EBP markers.
3138 */
3139 FragmentTime?: __doubleMin0;
3140 /**
3141 * If set to passthrough, passes any KLV data from the input source to this output.
3142 */
3143 Klv?: M2tsKlv;
3144 /**
3145 * Packet Identifier (PID) for input source KLV data to this output. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).
3146 */
3147 KlvDataPids?: __string;
3148 /**
3149 * Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets.
3150 */
3151 NullPacketBitrate?: __doubleMin0;
3152 /**
3153 * The number of milliseconds between instances of this table in the output transport stream. Valid values are 0, 10..1000.
3154 */
3155 PatInterval?: __integerMin0Max1000;
3156 /**
3157 * When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.
3158 */
3159 PcrControl?: M2tsPcrControl;
3160 /**
3161 * Maximum time in milliseconds between Program Clock Reference (PCRs) inserted into the transport stream.
3162 */
3163 PcrPeriod?: __integerMin0Max500;
3164 /**
3165 * Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3166 */
3167 PcrPid?: __string;
3168 /**
3169 * The number of milliseconds between instances of this table in the output transport stream. Valid values are 0, 10..1000.
3170 */
3171 PmtInterval?: __integerMin0Max1000;
3172 /**
3173 * Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3174 */
3175 PmtPid?: __string;
3176 /**
3177 * The value of the program number field in the Program Map Table.
3178 */
3179 ProgramNum?: __integerMin0Max65535;
3180 /**
3181 * When vbr, does not insert null packets into transport stream to fill specified bitrate. The bitrate setting acts as the maximum bitrate when vbr is set.
3182 */
3183 RateMode?: M2tsRateMode;
3184 /**
3185 * Packet Identifier (PID) for input source SCTE-27 data to this output. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).
3186 */
3187 Scte27Pids?: __string;
3188 /**
3189 * Optionally pass SCTE-35 signals from the input source to this output.
3190 */
3191 Scte35Control?: M2tsScte35Control;
3192 /**
3193 * Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3194 */
3195 Scte35Pid?: __string;
3196 /**
3197 * Inserts segmentation markers at each segmentationTime period. raiSegstart sets the Random Access Indicator bit in the adaptation field. raiAdapt sets the RAI bit and adds the current timecode in the private data bytes. psiSegstart inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary Point information to the adaptation field as per OpenCable specification OC-SP-EBP-I01-130118. ebpLegacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format.
3198 */
3199 SegmentationMarkers?: M2tsSegmentationMarkers;
3200 /**
3201 * The segmentation style parameter controls how segmentation markers are inserted into the transport stream. With avails, it is possible that segments may be truncated, which can influence where future segmentation markers are inserted.
3202
3203When a segmentation style of "resetCadence" is selected and a segment is truncated due to an avail, we will reset the segmentation cadence. This means the subsequent segment will have a duration of $segmentationTime seconds.
3204
3205When a segmentation style of "maintainCadence" is selected and a segment is truncated due to an avail, we will not reset the segmentation cadence. This means the subsequent segment will likely be truncated as well. However, all segments after that will have a duration of $segmentationTime seconds. Note that EBP lookahead is a slight exception to this rule.
3206 */
3207 SegmentationStyle?: M2tsSegmentationStyle;
3208 /**
3209 * The length in seconds of each segment. Required unless markers is set to None_.
3210 */
3211 SegmentationTime?: __doubleMin1;
3212 /**
3213 * When set to passthrough, timed metadata will be passed through from input to output.
3214 */
3215 TimedMetadataBehavior?: M2tsTimedMetadataBehavior;
3216 /**
3217 * Packet Identifier (PID) of the timed metadata stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3218 */
3219 TimedMetadataPid?: __string;
3220 /**
3221 * The value of the transport stream ID field in the Program Map Table.
3222 */
3223 TransportStreamId?: __integerMin0Max65535;
3224 /**
3225 * Packet Identifier (PID) of the elementary video stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3226 */
3227 VideoPid?: __string;
3228 }
3229 export type M2tsTimedMetadataBehavior = "NO_PASSTHROUGH"|"PASSTHROUGH"|string;
3230 export type M3u8PcrControl = "CONFIGURED_PCR_PERIOD"|"PCR_EVERY_PES_PACKET"|string;
3231 export type M3u8Scte35Behavior = "NO_PASSTHROUGH"|"PASSTHROUGH"|string;
3232 export interface M3u8Settings {
3233 /**
3234 * The number of audio frames to insert for each PES packet.
3235 */
3236 AudioFramesPerPes?: __integerMin0;
3237 /**
3238 * Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values.
3239 */
3240 AudioPids?: __string;
3241 /**
3242 * This parameter is unused and deprecated.
3243 */
3244 EcmPid?: __string;
3245 /**
3246 * The number of milliseconds between instances of this table in the output transport stream. A value of \"0\" writes out the PMT once per segment file.
3247 */
3248 PatInterval?: __integerMin0Max1000;
3249 /**
3250 * When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.
3251 */
3252 PcrControl?: M3u8PcrControl;
3253 /**
3254 * Maximum time in milliseconds between Program Clock References (PCRs) inserted into the transport stream.
3255 */
3256 PcrPeriod?: __integerMin0Max500;
3257 /**
3258 * Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID. Can be entered as a decimal or hexadecimal value.
3259 */
3260 PcrPid?: __string;
3261 /**
3262 * The number of milliseconds between instances of this table in the output transport stream. A value of \"0\" writes out the PMT once per segment file.
3263 */
3264 PmtInterval?: __integerMin0Max1000;
3265 /**
3266 * Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream. Can be entered as a decimal or hexadecimal value.
3267 */
3268 PmtPid?: __string;
3269 /**
3270 * The value of the program number field in the Program Map Table.
3271 */
3272 ProgramNum?: __integerMin0Max65535;
3273 /**
3274 * If set to passthrough, passes any SCTE-35 signals from the input source to this output.
3275 */
3276 Scte35Behavior?: M3u8Scte35Behavior;
3277 /**
3278 * Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can be entered as a decimal or hexadecimal value.
3279 */
3280 Scte35Pid?: __string;
3281 /**
3282 * When set to passthrough, timed metadata is passed through from input to output.
3283 */
3284 TimedMetadataBehavior?: M3u8TimedMetadataBehavior;
3285 /**
3286 * Packet Identifier (PID) of the timed metadata stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3287 */
3288 TimedMetadataPid?: __string;
3289 /**
3290 * The value of the transport stream ID field in the Program Map Table.
3291 */
3292 TransportStreamId?: __integerMin0Max65535;
3293 /**
3294 * Packet Identifier (PID) of the elementary video stream in the transport stream. Can be entered as a decimal or hexadecimal value.
3295 */
3296 VideoPid?: __string;
3297 }
3298 export type M3u8TimedMetadataBehavior = "NO_PASSTHROUGH"|"PASSTHROUGH"|string;
3299 export type MaxResults = number;
3300 export interface MediaConnectFlow {
3301 /**
3302 * The unique ARN of the MediaConnect Flow being used as a source.
3303 */
3304 FlowArn?: __string;
3305 }
3306 export interface MediaConnectFlowRequest {
3307 /**
3308 * The ARN of the MediaConnect Flow that you want to use as a source.
3309 */
3310 FlowArn?: __string;
3311 }
3312 export interface MediaPackageGroupSettings {
3313 /**
3314 * MediaPackage channel destination.
3315 */
3316 Destination: OutputLocationRef;
3317 }
3318 export interface MediaPackageOutputDestinationSettings {
3319 /**
3320 * ID of the channel in MediaPackage that is the destination for this output group. You do not need to specify the individual inputs in MediaPackage; MediaLive will handle the connection of the two MediaLive pipelines to the two MediaPackage inputs. The MediaPackage channel and MediaLive channel must be in the same region.
3321 */
3322 ChannelId?: __stringMin1;
3323 }
3324 export interface MediaPackageOutputSettings {
3325 }
3326 export type Mp2CodingMode = "CODING_MODE_1_0"|"CODING_MODE_2_0"|string;
3327 export interface Mp2Settings {
3328 /**
3329 * Average bitrate in bits/second.
3330 */
3331 Bitrate?: __double;
3332 /**
3333 * The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or codingMode20 (for stereo).
3334 */
3335 CodingMode?: Mp2CodingMode;
3336 /**
3337 * Sample rate in Hz.
3338 */
3339 SampleRate?: __double;
3340 }
3341 export interface MsSmoothGroupSettings {
3342 /**
3343 * The value of the "Acquisition Point Identity" element used in each message placed in the sparse track. Only enabled if sparseTrackType is not "none".
3344 */
3345 AcquisitionPointId?: __string;
3346 /**
3347 * If set to passthrough for an audio-only MS Smooth output, the fragment absolute time will be set to the current timecode. This option does not write timecodes to the audio elementary stream.
3348 */
3349 AudioOnlyTimecodeControl?: SmoothGroupAudioOnlyTimecodeControl;
3350 /**
3351 * If set to verifyAuthenticity, verify the https certificate chain to a trusted Certificate Authority (CA). This will cause https outputs to self-signed certificates to fail.
3352 */
3353 CertificateMode?: SmoothGroupCertificateMode;
3354 /**
3355 * Number of seconds to wait before retrying connection to the IIS server if the connection is lost. Content will be cached during this time and the cache will be be delivered to the IIS server once the connection is re-established.
3356 */
3357 ConnectionRetryInterval?: __integerMin0;
3358 /**
3359 * Smooth Streaming publish point on an IIS server. Elemental Live acts as a "Push" encoder to IIS.
3360 */
3361 Destination: OutputLocationRef;
3362 /**
3363 * MS Smooth event ID to be sent to the IIS server.
3364
3365Should only be specified if eventIdMode is set to useConfigured.
3366 */
3367 EventId?: __string;
3368 /**
3369 * Specifies whether or not to send an event ID to the IIS server. If no event ID is sent and the same Live Event is used without changing the publishing point, clients might see cached video from the previous run.
3370
3371Options:
3372- "useConfigured" - use the value provided in eventId
3373- "useTimestamp" - generate and send an event ID based on the current timestamp
3374- "noEventId" - do not send an event ID to the IIS server.
3375 */
3376 EventIdMode?: SmoothGroupEventIdMode;
3377 /**
3378 * When set to sendEos, send EOS signal to IIS server when stopping the event
3379 */
3380 EventStopBehavior?: SmoothGroupEventStopBehavior;
3381 /**
3382 * Size in seconds of file cache for streaming outputs.
3383 */
3384 FilecacheDuration?: __integerMin0;
3385 /**
3386 * Length of mp4 fragments to generate (in seconds). Fragment length must be compatible with GOP size and framerate.
3387 */
3388 FragmentLength?: __integerMin1;
3389 /**
3390 * Parameter that control output group behavior on input loss.
3391 */
3392 InputLossAction?: InputLossActionForMsSmoothOut;
3393 /**
3394 * Number of retry attempts.
3395 */
3396 NumRetries?: __integerMin0;
3397 /**
3398 * Number of seconds before initiating a restart due to output failure, due to exhausting the numRetries on one segment, or exceeding filecacheDuration.
3399 */
3400 RestartDelay?: __integerMin0;
3401 /**
3402 * useInputSegmentation has been deprecated. The configured segment size is always used.
3403 */
3404 SegmentationMode?: SmoothGroupSegmentationMode;
3405 /**
3406 * Number of milliseconds to delay the output from the second pipeline.
3407 */
3408 SendDelayMs?: __integerMin0Max10000;
3409 /**
3410 * If set to scte35, use incoming SCTE-35 messages to generate a sparse track in this group of MS-Smooth outputs.
3411 */
3412 SparseTrackType?: SmoothGroupSparseTrackType;
3413 /**
3414 * When set to send, send stream manifest so publishing point doesn't start until all streams start.
3415 */
3416 StreamManifestBehavior?: SmoothGroupStreamManifestBehavior;
3417 /**
3418 * Timestamp offset for the event. Only used if timestampOffsetMode is set to useConfiguredOffset.
3419 */
3420 TimestampOffset?: __string;
3421 /**
3422 * Type of timestamp date offset to use.
3423- useEventStartDate: Use the date the event was started as the offset
3424- useConfiguredOffset: Use an explicitly configured date as the offset
3425 */
3426 TimestampOffsetMode?: SmoothGroupTimestampOffsetMode;
3427 }
3428 export type MsSmoothH265PackagingType = "HEV1"|"HVC1"|string;
3429 export interface MsSmoothOutputSettings {
3430 /**
3431 * Only applicable when this output is referencing an H.265 video description.
3432Specifies whether MP4 segments should be packaged as HEV1 or HVC1.
3433 */
3434 H265PackagingType?: MsSmoothH265PackagingType;
3435 /**
3436 * String concatenated to the end of the destination filename. Required for multiple outputs of the same type.
3437 */
3438 NameModifier?: __string;
3439 }
3440 export type NetworkInputServerValidation = "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME"|"CHECK_CRYPTOGRAPHY_ONLY"|string;
3441 export interface NetworkInputSettings {
3442 /**
3443 * Specifies HLS input settings when the uri is for a HLS manifest.
3444 */
3445 HlsInputSettings?: HlsInputSettings;
3446 /**
3447 * Check HTTPS server certificates. When set to checkCryptographyOnly, cryptography in the certificate will be checked, but not the server's name. Certain subdomains (notably S3 buckets that use dots in the bucket name) do not strictly match the corresponding certificate's wildcard pattern and would otherwise cause the event to error. This setting is ignored for protocols that do not use https.
3448 */
3449 ServerValidation?: NetworkInputServerValidation;
3450 }
3451 export interface Offering {
3452 /**
3453 * Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
3454 */
3455 Arn?: __string;
3456 /**
3457 * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
3458 */
3459 CurrencyCode?: __string;
3460 /**
3461 * Lease duration, e.g. '12'
3462 */
3463 Duration?: __integer;
3464 /**
3465 * Units for duration, e.g. 'MONTHS'
3466 */
3467 DurationUnits?: OfferingDurationUnits;
3468 /**
3469 * One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
3470 */
3471 FixedPrice?: __double;
3472 /**
3473 * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
3474 */
3475 OfferingDescription?: __string;
3476 /**
3477 * Unique offering ID, e.g. '87654321'
3478 */
3479 OfferingId?: __string;
3480 /**
3481 * Offering type, e.g. 'NO_UPFRONT'
3482 */
3483 OfferingType?: OfferingType;
3484 /**
3485 * AWS region, e.g. 'us-west-2'
3486 */
3487 Region?: __string;
3488 /**
3489 * Resource configuration details
3490 */
3491 ResourceSpecification?: ReservationResourceSpecification;
3492 /**
3493 * Recurring usage charge for each reserved resource, e.g. '157.0'
3494 */
3495 UsagePrice?: __double;
3496 }
3497 export type OfferingDurationUnits = "MONTHS"|string;
3498 export type OfferingType = "NO_UPFRONT"|string;
3499 export interface Output {
3500 /**
3501 * The names of the AudioDescriptions used as audio sources for this output.
3502 */
3503 AudioDescriptionNames?: __listOf__string;
3504 /**
3505 * The names of the CaptionDescriptions used as caption sources for this output.
3506 */
3507 CaptionDescriptionNames?: __listOf__string;
3508 /**
3509 * The name used to identify an output.
3510 */
3511 OutputName?: __stringMin1Max255;
3512 /**
3513 * Output type-specific settings.
3514 */
3515 OutputSettings: OutputSettings;
3516 /**
3517 * The name of the VideoDescription used as the source for this output.
3518 */
3519 VideoDescriptionName?: __string;
3520 }
3521 export interface OutputDestination {
3522 /**
3523 * User-specified id. This is used in an output group or an output.
3524 */
3525 Id?: __string;
3526 /**
3527 * Destination settings for a MediaPackage output; one destination for both encoders.
3528 */
3529 MediaPackageSettings?: __listOfMediaPackageOutputDestinationSettings;
3530 /**
3531 * Destination settings for a standard output; one destination for each redundant encoder.
3532 */
3533 Settings?: __listOfOutputDestinationSettings;
3534 }
3535 export interface OutputDestinationSettings {
3536 /**
3537 * key used to extract the password from EC2 Parameter store
3538 */
3539 PasswordParam?: __string;
3540 /**
3541 * Stream name for RTMP destinations (URLs of type rtmp://)
3542 */
3543 StreamName?: __string;
3544 /**
3545 * A URL specifying a destination
3546 */
3547 Url?: __string;
3548 /**
3549 * username for destination
3550 */
3551 Username?: __string;
3552 }
3553 export interface OutputGroup {
3554 /**
3555 * Custom output group name optionally defined by the user. Only letters, numbers, and the underscore character allowed; only 32 characters allowed.
3556 */
3557 Name?: __stringMax32;
3558 /**
3559 * Settings associated with the output group.
3560 */
3561 OutputGroupSettings: OutputGroupSettings;
3562 Outputs: __listOfOutput;
3563 }
3564 export interface OutputGroupSettings {
3565 ArchiveGroupSettings?: ArchiveGroupSettings;
3566 FrameCaptureGroupSettings?: FrameCaptureGroupSettings;
3567 HlsGroupSettings?: HlsGroupSettings;
3568 MediaPackageGroupSettings?: MediaPackageGroupSettings;
3569 MsSmoothGroupSettings?: MsSmoothGroupSettings;
3570 RtmpGroupSettings?: RtmpGroupSettings;
3571 UdpGroupSettings?: UdpGroupSettings;
3572 }
3573 export interface OutputLocationRef {
3574 DestinationRefId?: __string;
3575 }
3576 export interface OutputSettings {
3577 ArchiveOutputSettings?: ArchiveOutputSettings;
3578 FrameCaptureOutputSettings?: FrameCaptureOutputSettings;
3579 HlsOutputSettings?: HlsOutputSettings;
3580 MediaPackageOutputSettings?: MediaPackageOutputSettings;
3581 MsSmoothOutputSettings?: MsSmoothOutputSettings;
3582 RtmpOutputSettings?: RtmpOutputSettings;
3583 UdpOutputSettings?: UdpOutputSettings;
3584 }
3585 export interface PassThroughSettings {
3586 }
3587 export interface PauseStateScheduleActionSettings {
3588 Pipelines?: __listOfPipelinePauseStateSettings;
3589 }
3590 export interface PipelineDetail {
3591 /**
3592 * The name of the active input attachment currently being ingested by this pipeline.
3593 */
3594 ActiveInputAttachmentName?: __string;
3595 /**
3596 * The name of the input switch schedule action that occurred most recently and that resulted in the switch to the current input attachment for this pipeline.
3597 */
3598 ActiveInputSwitchActionName?: __string;
3599 /**
3600 * Pipeline ID
3601 */
3602 PipelineId?: __string;
3603 }
3604 export type PipelineId = "PIPELINE_0"|"PIPELINE_1"|string;
3605 export interface PipelinePauseStateSettings {
3606 /**
3607 * Pipeline ID to pause ("PIPELINE_0" or "PIPELINE_1").
3608 */
3609 PipelineId: PipelineId;
3610 }
3611 export interface PurchaseOfferingRequest {
3612 /**
3613 * Number of resources
3614 */
3615 Count: __integerMin1;
3616 /**
3617 * Name for the new reservation
3618 */
3619 Name?: __string;
3620 /**
3621 * Offering to purchase, e.g. '87654321'
3622 */
3623 OfferingId: __string;
3624 /**
3625 * Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.
3626 */
3627 RequestId?: __string;
3628 /**
3629 * Requested reservation start time (UTC) in ISO-8601 format. The specified time must be between the first day of the current month and one year from now. If no value is given, the default is now.
3630 */
3631 Start?: __string;
3632 /**
3633 * A collection of key-value pairs
3634 */
3635 Tags?: Tags;
3636 }
3637 export interface PurchaseOfferingResponse {
3638 Reservation?: Reservation;
3639 }
3640 export interface Rec601Settings {
3641 }
3642 export interface Rec709Settings {
3643 }
3644 export interface RemixSettings {
3645 /**
3646 * Mapping of input channels to output channels, with appropriate gain adjustments.
3647 */
3648 ChannelMappings: __listOfAudioChannelMapping;
3649 /**
3650 * Number of input channels to be used.
3651 */
3652 ChannelsIn?: __integerMin1Max16;
3653 /**
3654 * Number of output channels to be produced.
3655Valid values: 1, 2, 4, 6, 8
3656 */
3657 ChannelsOut?: __integerMin1Max8;
3658 }
3659 export interface Reservation {
3660 /**
3661 * Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
3662 */
3663 Arn?: __string;
3664 /**
3665 * Number of reserved resources
3666 */
3667 Count?: __integer;
3668 /**
3669 * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
3670 */
3671 CurrencyCode?: __string;
3672 /**
3673 * Lease duration, e.g. '12'
3674 */
3675 Duration?: __integer;
3676 /**
3677 * Units for duration, e.g. 'MONTHS'
3678 */
3679 DurationUnits?: OfferingDurationUnits;
3680 /**
3681 * Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
3682 */
3683 End?: __string;
3684 /**
3685 * One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
3686 */
3687 FixedPrice?: __double;
3688 /**
3689 * User specified reservation name
3690 */
3691 Name?: __string;
3692 /**
3693 * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
3694 */
3695 OfferingDescription?: __string;
3696 /**
3697 * Unique offering ID, e.g. '87654321'
3698 */
3699 OfferingId?: __string;
3700 /**
3701 * Offering type, e.g. 'NO_UPFRONT'
3702 */
3703 OfferingType?: OfferingType;
3704 /**
3705 * AWS region, e.g. 'us-west-2'
3706 */
3707 Region?: __string;
3708 /**
3709 * Unique reservation ID, e.g. '1234567'
3710 */
3711 ReservationId?: __string;
3712 /**
3713 * Resource configuration details
3714 */
3715 ResourceSpecification?: ReservationResourceSpecification;
3716 /**
3717 * Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'
3718 */
3719 Start?: __string;
3720 /**
3721 * Current state of reservation, e.g. 'ACTIVE'
3722 */
3723 State?: ReservationState;
3724 /**
3725 * A collection of key-value pairs
3726 */
3727 Tags?: Tags;
3728 /**
3729 * Recurring usage charge for each reserved resource, e.g. '157.0'
3730 */
3731 UsagePrice?: __double;
3732 }
3733 export type ReservationCodec = "MPEG2"|"AVC"|"HEVC"|"AUDIO"|string;
3734 export type ReservationMaximumBitrate = "MAX_10_MBPS"|"MAX_20_MBPS"|"MAX_50_MBPS"|string;
3735 export type ReservationMaximumFramerate = "MAX_30_FPS"|"MAX_60_FPS"|string;
3736 export type ReservationResolution = "SD"|"HD"|"UHD"|string;
3737 export interface ReservationResourceSpecification {
3738 /**
3739 * Channel class, e.g. 'STANDARD'
3740 */
3741 ChannelClass?: ChannelClass;
3742 /**
3743 * Codec, e.g. 'AVC'
3744 */
3745 Codec?: ReservationCodec;
3746 /**
3747 * Maximum bitrate, e.g. 'MAX_20_MBPS'
3748 */
3749 MaximumBitrate?: ReservationMaximumBitrate;
3750 /**
3751 * Maximum framerate, e.g. 'MAX_30_FPS' (Outputs only)
3752 */
3753 MaximumFramerate?: ReservationMaximumFramerate;
3754 /**
3755 * Resolution, e.g. 'HD'
3756 */
3757 Resolution?: ReservationResolution;
3758 /**
3759 * Resource type, 'INPUT', 'OUTPUT', or 'CHANNEL'
3760 */
3761 ResourceType?: ReservationResourceType;
3762 /**
3763 * Special feature, e.g. 'AUDIO_NORMALIZATION' (Channels only)
3764 */
3765 SpecialFeature?: ReservationSpecialFeature;
3766 /**
3767 * Video quality, e.g. 'STANDARD' (Outputs only)
3768 */
3769 VideoQuality?: ReservationVideoQuality;
3770 }
3771 export type ReservationResourceType = "INPUT"|"OUTPUT"|"CHANNEL"|string;
3772 export type ReservationSpecialFeature = "ADVANCED_AUDIO"|"AUDIO_NORMALIZATION"|string;
3773 export type ReservationState = "ACTIVE"|"EXPIRED"|"CANCELED"|"DELETED"|string;
3774 export type ReservationVideoQuality = "STANDARD"|"ENHANCED"|"PREMIUM"|string;
3775 export type RtmpCacheFullBehavior = "DISCONNECT_IMMEDIATELY"|"WAIT_FOR_SERVER"|string;
3776 export type RtmpCaptionData = "ALL"|"FIELD1_608"|"FIELD1_AND_FIELD2_608"|string;
3777 export interface RtmpCaptionInfoDestinationSettings {
3778 }
3779 export interface RtmpGroupSettings {
3780 /**
3781 * Authentication scheme to use when connecting with CDN
3782 */
3783 AuthenticationScheme?: AuthenticationScheme;
3784 /**
3785 * Controls behavior when content cache fills up. If remote origin server stalls the RTMP connection and does not accept content fast enough the 'Media Cache' will fill up. When the cache reaches the duration specified by cacheLength the cache will stop accepting new content. If set to disconnectImmediately, the RTMP output will force a disconnect. Clear the media cache, and reconnect after restartDelay seconds. If set to waitForServer, the RTMP output will wait up to 5 minutes to allow the origin server to begin accepting data again.
3786 */
3787 CacheFullBehavior?: RtmpCacheFullBehavior;
3788 /**
3789 * Cache length, in seconds, is used to calculate buffer size.
3790 */
3791 CacheLength?: __integerMin30;
3792 /**
3793 * Controls the types of data that passes to onCaptionInfo outputs. If set to 'all' then 608 and 708 carried DTVCC data will be passed. If set to 'field1AndField2608' then DTVCC data will be stripped out, but 608 data from both fields will be passed. If set to 'field1608' then only the data carried in 608 from field 1 video will be passed.
3794 */
3795 CaptionData?: RtmpCaptionData;
3796 /**
3797 * Controls the behavior of this RTMP group if input becomes unavailable.
3798
3799- emitOutput: Emit a slate until input returns.
3800- pauseOutput: Stop transmitting data until input returns. This does not close the underlying RTMP connection.
3801 */
3802 InputLossAction?: InputLossActionForRtmpOut;
3803 /**
3804 * If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
3805 */
3806 RestartDelay?: __integerMin0;
3807 }
3808 export type RtmpOutputCertificateMode = "SELF_SIGNED"|"VERIFY_AUTHENTICITY"|string;
3809 export interface RtmpOutputSettings {
3810 /**
3811 * If set to verifyAuthenticity, verify the tls certificate chain to a trusted Certificate Authority (CA). This will cause rtmps outputs with self-signed certificates to fail.
3812 */
3813 CertificateMode?: RtmpOutputCertificateMode;
3814 /**
3815 * Number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.
3816 */
3817 ConnectionRetryInterval?: __integerMin1;
3818 /**
3819 * The RTMP endpoint excluding the stream name (eg. rtmp://host/appname). For connection to Akamai, a username and password must be supplied. URI fields accept format identifiers.
3820 */
3821 Destination: OutputLocationRef;
3822 /**
3823 * Number of retry attempts.
3824 */
3825 NumRetries?: __integerMin0;
3826 }
3827 export interface ScheduleAction {
3828 /**
3829 * The name of the action, must be unique within the schedule. This name provides the main reference to an action once it is added to the schedule. A name is unique if it is no longer in the schedule. The schedule is automatically cleaned up to remove actions with a start time of more than 1 hour ago (approximately) so at that point a name can be reused.
3830 */
3831 ActionName: __string;
3832 /**
3833 * Settings for this schedule action.
3834 */
3835 ScheduleActionSettings: ScheduleActionSettings;
3836 /**
3837 * The time for the action to start in the channel.
3838 */
3839 ScheduleActionStartSettings: ScheduleActionStartSettings;
3840 }
3841 export interface ScheduleActionSettings {
3842 /**
3843 * Action to insert HLS metadata
3844 */
3845 HlsTimedMetadataSettings?: HlsTimedMetadataScheduleActionSettings;
3846 /**
3847 * Action to switch the input
3848 */
3849 InputSwitchSettings?: InputSwitchScheduleActionSettings;
3850 /**
3851 * Action to pause or unpause one or both channel pipelines
3852 */
3853 PauseStateSettings?: PauseStateScheduleActionSettings;
3854 /**
3855 * Action to insert SCTE-35 return_to_network message
3856 */
3857 Scte35ReturnToNetworkSettings?: Scte35ReturnToNetworkScheduleActionSettings;
3858 /**
3859 * Action to insert SCTE-35 splice_insert message
3860 */
3861 Scte35SpliceInsertSettings?: Scte35SpliceInsertScheduleActionSettings;
3862 /**
3863 * Action to insert SCTE-35 time_signal message
3864 */
3865 Scte35TimeSignalSettings?: Scte35TimeSignalScheduleActionSettings;
3866 /**
3867 * Action to activate a static image overlay
3868 */
3869 StaticImageActivateSettings?: StaticImageActivateScheduleActionSettings;
3870 /**
3871 * Action to deactivate a static image overlay
3872 */
3873 StaticImageDeactivateSettings?: StaticImageDeactivateScheduleActionSettings;
3874 }
3875 export interface ScheduleActionStartSettings {
3876 /**
3877 * Option for specifying the start time for an action.
3878 */
3879 FixedModeScheduleActionStartSettings?: FixedModeScheduleActionStartSettings;
3880 /**
3881 * Option for specifying an action as relative to another action.
3882 */
3883 FollowModeScheduleActionStartSettings?: FollowModeScheduleActionStartSettings;
3884 /**
3885 * Option for specifying an action that should be applied immediately.
3886 */
3887 ImmediateModeScheduleActionStartSettings?: ImmediateModeScheduleActionStartSettings;
3888 }
3889 export type Scte20Convert608To708 = "DISABLED"|"UPCONVERT"|string;
3890 export interface Scte20PlusEmbeddedDestinationSettings {
3891 }
3892 export interface Scte20SourceSettings {
3893 /**
3894 * If upconvert, 608 data is both passed through via the "608 compatibility bytes" fields of the 708 wrapper as well as translated into 708. 708 data present in the source content will be discarded.
3895 */
3896 Convert608To708?: Scte20Convert608To708;
3897 /**
3898 * Specifies the 608/708 channel number within the video track from which to extract captions. Unused for passthrough.
3899 */
3900 Source608ChannelNumber?: __integerMin1Max4;
3901 }
3902 export interface Scte27DestinationSettings {
3903 }
3904 export interface Scte27SourceSettings {
3905 /**
3906 * The pid field is used in conjunction with the caption selector languageCode field as follows:
3907 - Specify PID and Language: Extracts captions from that PID; the language is "informational".
3908 - Specify PID and omit Language: Extracts the specified PID.
3909 - Omit PID and specify Language: Extracts the specified language, whichever PID that happens to be.
3910 - Omit PID and omit Language: Valid only if source is DVB-Sub that is being passed through; all languages will be passed through.
3911 */
3912 Pid?: __integerMin1;
3913 }
3914 export type Scte35AposNoRegionalBlackoutBehavior = "FOLLOW"|"IGNORE"|string;
3915 export type Scte35AposWebDeliveryAllowedBehavior = "FOLLOW"|"IGNORE"|string;
3916 export type Scte35ArchiveAllowedFlag = "ARCHIVE_NOT_ALLOWED"|"ARCHIVE_ALLOWED"|string;
3917 export interface Scte35DeliveryRestrictions {
3918 /**
3919 * Corresponds to SCTE-35 archive_allowed_flag.
3920 */
3921 ArchiveAllowedFlag: Scte35ArchiveAllowedFlag;
3922 /**
3923 * Corresponds to SCTE-35 device_restrictions parameter.
3924 */
3925 DeviceRestrictions: Scte35DeviceRestrictions;
3926 /**
3927 * Corresponds to SCTE-35 no_regional_blackout_flag parameter.
3928 */
3929 NoRegionalBlackoutFlag: Scte35NoRegionalBlackoutFlag;
3930 /**
3931 * Corresponds to SCTE-35 web_delivery_allowed_flag parameter.
3932 */
3933 WebDeliveryAllowedFlag: Scte35WebDeliveryAllowedFlag;
3934 }
3935 export interface Scte35Descriptor {
3936 /**
3937 * SCTE-35 Descriptor Settings.
3938 */
3939 Scte35DescriptorSettings: Scte35DescriptorSettings;
3940 }
3941 export interface Scte35DescriptorSettings {
3942 /**
3943 * SCTE-35 Segmentation Descriptor.
3944 */
3945 SegmentationDescriptorScte35DescriptorSettings: Scte35SegmentationDescriptor;
3946 }
3947 export type Scte35DeviceRestrictions = "NONE"|"RESTRICT_GROUP0"|"RESTRICT_GROUP1"|"RESTRICT_GROUP2"|string;
3948 export type Scte35NoRegionalBlackoutFlag = "REGIONAL_BLACKOUT"|"NO_REGIONAL_BLACKOUT"|string;
3949 export interface Scte35ReturnToNetworkScheduleActionSettings {
3950 /**
3951 * The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35.
3952 */
3953 SpliceEventId: __longMin0Max4294967295;
3954 }
3955 export type Scte35SegmentationCancelIndicator = "SEGMENTATION_EVENT_NOT_CANCELED"|"SEGMENTATION_EVENT_CANCELED"|string;
3956 export interface Scte35SegmentationDescriptor {
3957 /**
3958 * Holds the four SCTE-35 delivery restriction parameters.
3959 */
3960 DeliveryRestrictions?: Scte35DeliveryRestrictions;
3961 /**
3962 * Corresponds to SCTE-35 segment_num. A value that is valid for the specified segmentation_type_id.
3963 */
3964 SegmentNum?: __integerMin0Max255;
3965 /**
3966 * Corresponds to SCTE-35 segmentation_event_cancel_indicator.
3967 */
3968 SegmentationCancelIndicator: Scte35SegmentationCancelIndicator;
3969 /**
3970 * Corresponds to SCTE-35 segmentation_duration. Optional. The duration for the time_signal, in 90 KHz ticks. To convert seconds to ticks, multiple the seconds by 90,000. Enter time in 90 KHz clock ticks. If you do not enter a duration, the time_signal will continue until you insert a cancellation message.
3971 */
3972 SegmentationDuration?: __longMin0Max1099511627775;
3973 /**
3974 * Corresponds to SCTE-35 segmentation_event_id.
3975 */
3976 SegmentationEventId: __longMin0Max4294967295;
3977 /**
3978 * Corresponds to SCTE-35 segmentation_type_id. One of the segmentation_type_id values listed in the SCTE-35 specification. On the console, enter the ID in decimal (for example, "52"). In the CLI, API, or an SDK, enter the ID in hex (for example, "0x34") or decimal (for example, "52").
3979 */
3980 SegmentationTypeId?: __integerMin0Max255;
3981 /**
3982 * Corresponds to SCTE-35 segmentation_upid. Enter a string containing the hexadecimal representation of the characters that make up the SCTE-35 segmentation_upid value. Must contain an even number of hex characters. Do not include spaces between each hex pair. For example, the ASCII "ADS Information" becomes hex "41445320496e666f726d6174696f6e.
3983 */
3984 SegmentationUpid?: __string;
3985 /**
3986 * Corresponds to SCTE-35 segmentation_upid_type. On the console, enter one of the types listed in the SCTE-35 specification, converted to a decimal. For example, "0x0C" hex from the specification is "12" in decimal. In the CLI, API, or an SDK, enter one of the types listed in the SCTE-35 specification, in either hex (for example, "0x0C" ) or in decimal (for example, "12").
3987 */
3988 SegmentationUpidType?: __integerMin0Max255;
3989 /**
3990 * Corresponds to SCTE-35 segments_expected. A value that is valid for the specified segmentation_type_id.
3991 */
3992 SegmentsExpected?: __integerMin0Max255;
3993 /**
3994 * Corresponds to SCTE-35 sub_segment_num. A value that is valid for the specified segmentation_type_id.
3995 */
3996 SubSegmentNum?: __integerMin0Max255;
3997 /**
3998 * Corresponds to SCTE-35 sub_segments_expected. A value that is valid for the specified segmentation_type_id.
3999 */
4000 SubSegmentsExpected?: __integerMin0Max255;
4001 }
4002 export interface Scte35SpliceInsert {
4003 /**
4004 * When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. This only applies to embedded SCTE 104/35 messages and does not apply to OOB messages.
4005 */
4006 AdAvailOffset?: __integerMinNegative1000Max1000;
4007 /**
4008 * When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to 0 will no longer trigger blackouts or Ad Avail slates
4009 */
4010 NoRegionalBlackoutFlag?: Scte35SpliceInsertNoRegionalBlackoutBehavior;
4011 /**
4012 * When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to 0 will no longer trigger blackouts or Ad Avail slates
4013 */
4014 WebDeliveryAllowedFlag?: Scte35SpliceInsertWebDeliveryAllowedBehavior;
4015 }
4016 export type Scte35SpliceInsertNoRegionalBlackoutBehavior = "FOLLOW"|"IGNORE"|string;
4017 export interface Scte35SpliceInsertScheduleActionSettings {
4018 /**
4019 * Optional, the duration for the splice_insert, in 90 KHz ticks. To convert seconds to ticks, multiple the seconds by 90,000. If you enter a duration, there is an expectation that the downstream system can read the duration and cue in at that time. If you do not enter a duration, the splice_insert will continue indefinitely and there is an expectation that you will enter a return_to_network to end the splice_insert at the appropriate time.
4020 */
4021 Duration?: __longMin0Max8589934591;
4022 /**
4023 * The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35.
4024 */
4025 SpliceEventId: __longMin0Max4294967295;
4026 }
4027 export type Scte35SpliceInsertWebDeliveryAllowedBehavior = "FOLLOW"|"IGNORE"|string;
4028 export interface Scte35TimeSignalApos {
4029 /**
4030 * When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. This only applies to embedded SCTE 104/35 messages and does not apply to OOB messages.
4031 */
4032 AdAvailOffset?: __integerMinNegative1000Max1000;
4033 /**
4034 * When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to 0 will no longer trigger blackouts or Ad Avail slates
4035 */
4036 NoRegionalBlackoutFlag?: Scte35AposNoRegionalBlackoutBehavior;
4037 /**
4038 * When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to 0 will no longer trigger blackouts or Ad Avail slates
4039 */
4040 WebDeliveryAllowedFlag?: Scte35AposWebDeliveryAllowedBehavior;
4041 }
4042 export interface Scte35TimeSignalScheduleActionSettings {
4043 /**
4044 * The list of SCTE-35 descriptors accompanying the SCTE-35 time_signal.
4045 */
4046 Scte35Descriptors: __listOfScte35Descriptor;
4047 }
4048 export type Scte35WebDeliveryAllowedFlag = "WEB_DELIVERY_NOT_ALLOWED"|"WEB_DELIVERY_ALLOWED"|string;
4049 export type SmoothGroupAudioOnlyTimecodeControl = "PASSTHROUGH"|"USE_CONFIGURED_CLOCK"|string;
4050 export type SmoothGroupCertificateMode = "SELF_SIGNED"|"VERIFY_AUTHENTICITY"|string;
4051 export type SmoothGroupEventIdMode = "NO_EVENT_ID"|"USE_CONFIGURED"|"USE_TIMESTAMP"|string;
4052 export type SmoothGroupEventStopBehavior = "NONE"|"SEND_EOS"|string;
4053 export type SmoothGroupSegmentationMode = "USE_INPUT_SEGMENTATION"|"USE_SEGMENT_DURATION"|string;
4054 export type SmoothGroupSparseTrackType = "NONE"|"SCTE_35"|string;
4055 export type SmoothGroupStreamManifestBehavior = "DO_NOT_SEND"|"SEND"|string;
4056 export type SmoothGroupTimestampOffsetMode = "USE_CONFIGURED_OFFSET"|"USE_EVENT_START_DATE"|string;
4057 export interface SmpteTtDestinationSettings {
4058 }
4059 export interface StandardHlsSettings {
4060 /**
4061 * List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','.
4062 */
4063 AudioRenditionSets?: __string;
4064 M3u8Settings: M3u8Settings;
4065 }
4066 export interface StartChannelRequest {
4067 /**
4068 * A request to start a channel
4069 */
4070 ChannelId: __string;
4071 }
4072 export interface StartChannelResponse {
4073 /**
4074 * The unique arn of the channel.
4075 */
4076 Arn?: __string;
4077 /**
4078 * The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
4079 */
4080 ChannelClass?: ChannelClass;
4081 /**
4082 * A list of destinations of the channel. For UDP outputs, there is one
4083destination per output. For other types (HLS, for example), there is
4084one destination per packager.
4085
4086 */
4087 Destinations?: __listOfOutputDestination;
4088 /**
4089 * The endpoints where outgoing connections initiate from
4090 */
4091 EgressEndpoints?: __listOfChannelEgressEndpoint;
4092 EncoderSettings?: EncoderSettings;
4093 /**
4094 * The unique id of the channel.
4095 */
4096 Id?: __string;
4097 /**
4098 * List of input attachments for channel.
4099 */
4100 InputAttachments?: __listOfInputAttachment;
4101 InputSpecification?: InputSpecification;
4102 /**
4103 * The log level being written to CloudWatch Logs.
4104 */
4105 LogLevel?: LogLevel;
4106 /**
4107 * The name of the channel. (user-mutable)
4108 */
4109 Name?: __string;
4110 /**
4111 * Runtime details for the pipelines of a running channel.
4112 */
4113 PipelineDetails?: __listOfPipelineDetail;
4114 /**
4115 * The number of currently healthy pipelines.
4116 */
4117 PipelinesRunningCount?: __integer;
4118 /**
4119 * The Amazon Resource Name (ARN) of the role assumed when running the Channel.
4120 */
4121 RoleArn?: __string;
4122 State?: ChannelState;
4123 /**
4124 * A collection of key-value pairs.
4125 */
4126 Tags?: Tags;
4127 }
4128 export interface StartTimecode {
4129 /**
4130 * The timecode for the frame where you want to start the clip. Optional; if not specified, the clip starts at first frame in the file. Enter the timecode as HH:MM:SS:FF or HH:MM:SS;FF.
4131 */
4132 Timecode?: __string;
4133 }
4134 export interface StaticImageActivateScheduleActionSettings {
4135 /**
4136 * The duration in milliseconds for the image to remain on the video. If omitted or set to 0 the duration is unlimited and the image will remain until it is explicitly deactivated.
4137 */
4138 Duration?: __integerMin0;
4139 /**
4140 * The time in milliseconds for the image to fade in. The fade-in starts at the start time of the overlay. Default is 0 (no fade-in).
4141 */
4142 FadeIn?: __integerMin0;
4143 /**
4144 * Applies only if a duration is specified. The time in milliseconds for the image to fade out. The fade-out starts when the duration time is hit, so it effectively extends the duration. Default is 0 (no fade-out).
4145 */
4146 FadeOut?: __integerMin0;
4147 /**
4148 * The height of the image when inserted into the video, in pixels. The overlay will be scaled up or down to the specified height. Leave blank to use the native height of the overlay.
4149 */
4150 Height?: __integerMin1;
4151 /**
4152 * The location and filename of the image file to overlay on the video. The file must be a 32-bit BMP, PNG, or TGA file, and must not be larger (in pixels) than the input video.
4153 */
4154 Image: InputLocation;
4155 /**
4156 * Placement of the left edge of the overlay relative to the left edge of the video frame, in pixels. 0 (the default) is the left edge of the frame. If the placement causes the overlay to extend beyond the right edge of the underlying video, then the overlay is cropped on the right.
4157 */
4158 ImageX?: __integerMin0;
4159 /**
4160 * Placement of the top edge of the overlay relative to the top edge of the video frame, in pixels. 0 (the default) is the top edge of the frame. If the placement causes the overlay to extend beyond the bottom edge of the underlying video, then the overlay is cropped on the bottom.
4161 */
4162 ImageY?: __integerMin0;
4163 /**
4164 * The number of the layer, 0 to 7. There are 8 layers that can be overlaid on the video, each layer with a different image. The layers are in Z order, which means that overlays with higher values of layer are inserted on top of overlays with lower values of layer. Default is 0.
4165 */
4166 Layer?: __integerMin0Max7;
4167 /**
4168 * Opacity of image where 0 is transparent and 100 is fully opaque. Default is 100.
4169 */
4170 Opacity?: __integerMin0Max100;
4171 /**
4172 * The width of the image when inserted into the video, in pixels. The overlay will be scaled up or down to the specified width. Leave blank to use the native width of the overlay.
4173 */
4174 Width?: __integerMin1;
4175 }
4176 export interface StaticImageDeactivateScheduleActionSettings {
4177 /**
4178 * The time in milliseconds for the image to fade out. Default is 0 (no fade-out).
4179 */
4180 FadeOut?: __integerMin0;
4181 /**
4182 * The image overlay layer to deactivate, 0 to 7. Default is 0.
4183 */
4184 Layer?: __integerMin0Max7;
4185 }
4186 export interface StaticKeySettings {
4187 /**
4188 * The URL of the license server used for protecting content.
4189 */
4190 KeyProviderServer?: InputLocation;
4191 /**
4192 * Static key value as a 32 character hexadecimal string.
4193 */
4194 StaticKeyValue: __stringMin32Max32;
4195 }
4196 export interface StopChannelRequest {
4197 /**
4198 * A request to stop a running channel
4199 */
4200 ChannelId: __string;
4201 }
4202 export interface StopChannelResponse {
4203 /**
4204 * The unique arn of the channel.
4205 */
4206 Arn?: __string;
4207 /**
4208 * The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
4209 */
4210 ChannelClass?: ChannelClass;
4211 /**
4212 * A list of destinations of the channel. For UDP outputs, there is one
4213destination per output. For other types (HLS, for example), there is
4214one destination per packager.
4215
4216 */
4217 Destinations?: __listOfOutputDestination;
4218 /**
4219 * The endpoints where outgoing connections initiate from
4220 */
4221 EgressEndpoints?: __listOfChannelEgressEndpoint;
4222 EncoderSettings?: EncoderSettings;
4223 /**
4224 * The unique id of the channel.
4225 */
4226 Id?: __string;
4227 /**
4228 * List of input attachments for channel.
4229 */
4230 InputAttachments?: __listOfInputAttachment;
4231 InputSpecification?: InputSpecification;
4232 /**
4233 * The log level being written to CloudWatch Logs.
4234 */
4235 LogLevel?: LogLevel;
4236 /**
4237 * The name of the channel. (user-mutable)
4238 */
4239 Name?: __string;
4240 /**
4241 * Runtime details for the pipelines of a running channel.
4242 */
4243 PipelineDetails?: __listOfPipelineDetail;
4244 /**
4245 * The number of currently healthy pipelines.
4246 */
4247 PipelinesRunningCount?: __integer;
4248 /**
4249 * The Amazon Resource Name (ARN) of the role assumed when running the Channel.
4250 */
4251 RoleArn?: __string;
4252 State?: ChannelState;
4253 /**
4254 * A collection of key-value pairs.
4255 */
4256 Tags?: Tags;
4257 }
4258 export interface StopTimecode {
4259 /**
4260 * If you specify a StopTimecode in an input (in order to clip the file), you can specify if you want the clip to exclude (the default) or include the frame specified by the timecode.
4261 */
4262 LastFrameClippingBehavior?: LastFrameClippingBehavior;
4263 /**
4264 * The timecode for the frame where you want to stop the clip. Optional; if not specified, the clip continues to the end of the file. Enter the timecode as HH:MM:SS:FF or HH:MM:SS;FF.
4265 */
4266 Timecode?: __string;
4267 }
4268 export type Tags = {[key: string]: __string};
4269 export interface TeletextDestinationSettings {
4270 }
4271 export interface TeletextSourceSettings {
4272 /**
4273 * Specifies the teletext page number within the data stream from which to extract captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should be specified as a hexadecimal string with no "0x" prefix.
4274 */
4275 PageNumber?: __string;
4276 }
4277 export interface TimecodeConfig {
4278 /**
4279 * Identifies the source for the timecode that will be associated with the events outputs.
4280-Embedded (embedded): Initialize the output timecode with timecode from the the source. If no embedded timecode is detected in the source, the system falls back to using "Start at 0" (zerobased).
4281-System Clock (systemclock): Use the UTC time.
4282-Start at 0 (zerobased): The time of the first frame of the event will be 00:00:00:00.
4283 */
4284 Source: TimecodeConfigSource;
4285 /**
4286 * Threshold in frames beyond which output timecode is resynchronized to the input timecode. Discrepancies below this threshold are permitted to avoid unnecessary discontinuities in the output timecode. No timecode sync when this is not specified.
4287 */
4288 SyncThreshold?: __integerMin1Max1000000;
4289 }
4290 export type TimecodeConfigSource = "EMBEDDED"|"SYSTEMCLOCK"|"ZEROBASED"|string;
4291 export interface TtmlDestinationSettings {
4292 /**
4293 * When set to passthrough, passes through style and position information from a TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML output.
4294 */
4295 StyleControl?: TtmlDestinationStyleControl;
4296 }
4297 export type TtmlDestinationStyleControl = "PASSTHROUGH"|"USE_CONFIGURED"|string;
4298 export interface UdpContainerSettings {
4299 M2tsSettings?: M2tsSettings;
4300 }
4301 export interface UdpGroupSettings {
4302 /**
4303 * Specifies behavior of last resort when input video is lost, and no more backup inputs are available. When dropTs is selected the entire transport stream will stop being emitted. When dropProgram is selected the program can be dropped from the transport stream (and replaced with null packets to meet the TS bitrate requirement). Or, when emitProgram is chosen the transport stream will continue to be produced normally with repeat frames, black frames, or slate frames substituted for the absent input video.
4304 */
4305 InputLossAction?: InputLossActionForUdpOut;
4306 /**
4307 * Indicates ID3 frame that has the timecode.
4308 */
4309 TimedMetadataId3Frame?: UdpTimedMetadataId3Frame;
4310 /**
4311 * Timed Metadata interval in seconds.
4312 */
4313 TimedMetadataId3Period?: __integerMin0;
4314 }
4315 export interface UdpOutputSettings {
4316 /**
4317 * UDP output buffering in milliseconds. Larger values increase latency through the transcoder but simultaneously assist the transcoder in maintaining a constant, low-jitter UDP/RTP output while accommodating clock recovery, input switching, input disruptions, picture reordering, etc.
4318 */
4319 BufferMsec?: __integerMin0Max10000;
4320 ContainerSettings: UdpContainerSettings;
4321 /**
4322 * Destination address and port number for RTP or UDP packets. Can be unicast or multicast RTP or UDP (eg. rtp://239.10.10.10:5001 or udp://10.100.100.100:5002).
4323 */
4324 Destination: OutputLocationRef;
4325 /**
4326 * Settings for enabling and adjusting Forward Error Correction on UDP outputs.
4327 */
4328 FecOutputSettings?: FecOutputSettings;
4329 }
4330 export type UdpTimedMetadataId3Frame = "NONE"|"PRIV"|"TDRL"|string;
4331 export interface UpdateChannelClassRequest {
4332 /**
4333 * The channel class that you wish to update this channel to use.
4334 */
4335 ChannelClass: ChannelClass;
4336 /**
4337 * Channel Id of the channel whose class should be updated.
4338 */
4339 ChannelId: __string;
4340 /**
4341 * A list of output destinations for this channel.
4342 */
4343 Destinations?: __listOfOutputDestination;
4344 }
4345 export interface UpdateChannelClassResponse {
4346 Channel?: Channel;
4347 }
4348 export interface UpdateChannelRequest {
4349 /**
4350 * channel ID
4351 */
4352 ChannelId: __string;
4353 /**
4354 * A list of output destinations for this channel.
4355 */
4356 Destinations?: __listOfOutputDestination;
4357 /**
4358 * The encoder settings for this channel.
4359 */
4360 EncoderSettings?: EncoderSettings;
4361 InputAttachments?: __listOfInputAttachment;
4362 /**
4363 * Specification of input for this channel (max. bitrate, resolution, codec, etc.)
4364 */
4365 InputSpecification?: InputSpecification;
4366 /**
4367 * The log level to write to CloudWatch Logs.
4368 */
4369 LogLevel?: LogLevel;
4370 /**
4371 * The name of the channel.
4372 */
4373 Name?: __string;
4374 /**
4375 * An optional Amazon Resource Name (ARN) of the role to assume when running the Channel. If you do not specify this on an update call but the role was previously set that role will be removed.
4376 */
4377 RoleArn?: __string;
4378 }
4379 export interface UpdateChannelResponse {
4380 Channel?: Channel;
4381 }
4382 export interface UpdateInputRequest {
4383 /**
4384 * Destination settings for PUSH type inputs.
4385 */
4386 Destinations?: __listOfInputDestinationRequest;
4387 /**
4388 * Unique ID of the input.
4389 */
4390 InputId: __string;
4391 /**
4392 * A list of security groups referenced by IDs to attach to the input.
4393 */
4394 InputSecurityGroups?: __listOf__string;
4395 /**
4396 * A list of the MediaConnect Flow ARNs that you want to use as the source of the input. You can specify as few as one
4397Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a
4398separate Availability Zone as this ensures your EML input is redundant to AZ issues.
4399
4400 */
4401 MediaConnectFlows?: __listOfMediaConnectFlowRequest;
4402 /**
4403 * Name of the input.
4404 */
4405 Name?: __string;
4406 /**
4407 * The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
4408 */
4409 RoleArn?: __string;
4410 /**
4411 * The source URLs for a PULL-type input. Every PULL type input needs
4412exactly two source URLs for redundancy.
4413Only specify sources for PULL type Inputs. Leave Destinations empty.
4414
4415 */
4416 Sources?: __listOfInputSourceRequest;
4417 }
4418 export interface UpdateInputResponse {
4419 Input?: Input;
4420 }
4421 export interface UpdateInputSecurityGroupRequest {
4422 /**
4423 * The id of the Input Security Group to update.
4424 */
4425 InputSecurityGroupId: __string;
4426 /**
4427 * A collection of key-value pairs.
4428 */
4429 Tags?: Tags;
4430 /**
4431 * List of IPv4 CIDR addresses to whitelist
4432 */
4433 WhitelistRules?: __listOfInputWhitelistRuleCidr;
4434 }
4435 export interface UpdateInputSecurityGroupResponse {
4436 SecurityGroup?: InputSecurityGroup;
4437 }
4438 export interface UpdateReservationRequest {
4439 /**
4440 * Name of the reservation
4441 */
4442 Name?: __string;
4443 /**
4444 * Unique reservation ID, e.g. '1234567'
4445 */
4446 ReservationId: __string;
4447 }
4448 export interface UpdateReservationResponse {
4449 Reservation?: Reservation;
4450 }
4451 export interface VideoCodecSettings {
4452 FrameCaptureSettings?: FrameCaptureSettings;
4453 H264Settings?: H264Settings;
4454 H265Settings?: H265Settings;
4455 }
4456 export interface VideoDescription {
4457 /**
4458 * Video codec settings.
4459 */
4460 CodecSettings?: VideoCodecSettings;
4461 /**
4462 * Output video height, in pixels. Must be an even number. For most codecs, you can leave this field and width blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.
4463 */
4464 Height?: __integer;
4465 /**
4466 * The name of this VideoDescription. Outputs will use this name to uniquely identify this Description. Description names should be unique within this Live Event.
4467 */
4468 Name: __string;
4469 /**
4470 * Indicates how to respond to the AFD values in the input stream. RESPOND causes input video to be clipped, depending on the AFD value, input display aspect ratio, and output display aspect ratio, and (except for FRAMECAPTURE codec) includes the values in the output. PASSTHROUGH (does not apply to FRAMECAPTURE codec) ignores the AFD values and includes the values in the output, so input video is not clipped. NONE ignores the AFD values and does not include the values through to the output, so input video is not clipped.
4471 */
4472 RespondToAfd?: VideoDescriptionRespondToAfd;
4473 /**
4474 * STRETCHTOOUTPUT configures the output position to stretch the video to the specified output resolution (height and width). This option will override any position value. DEFAULT may insert black boxes (pillar boxes or letter boxes) around the video to provide the specified output resolution.
4475 */
4476 ScalingBehavior?: VideoDescriptionScalingBehavior;
4477 /**
4478 * Changes the strength of the anti-alias filter used for scaling. 0 is the softest setting, 100 is the sharpest. A setting of 50 is recommended for most content.
4479 */
4480 Sharpness?: __integerMin0Max100;
4481 /**
4482 * Output video width, in pixels. Must be an even number. For most codecs, you can leave this field and height blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.
4483 */
4484 Width?: __integer;
4485 }
4486 export type VideoDescriptionRespondToAfd = "NONE"|"PASSTHROUGH"|"RESPOND"|string;
4487 export type VideoDescriptionScalingBehavior = "DEFAULT"|"STRETCH_TO_OUTPUT"|string;
4488 export interface VideoSelector {
4489 /**
4490 * Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine if any conversion will be performed.
4491 */
4492 ColorSpace?: VideoSelectorColorSpace;
4493 /**
4494 * Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.
4495 */
4496 ColorSpaceUsage?: VideoSelectorColorSpaceUsage;
4497 /**
4498 * The video selector settings.
4499 */
4500 SelectorSettings?: VideoSelectorSettings;
4501 }
4502 export type VideoSelectorColorSpace = "FOLLOW"|"REC_601"|"REC_709"|string;
4503 export type VideoSelectorColorSpaceUsage = "FALLBACK"|"FORCE"|string;
4504 export interface VideoSelectorPid {
4505 /**
4506 * Selects a specific PID from within a video source.
4507 */
4508 Pid?: __integerMin0Max8191;
4509 }
4510 export interface VideoSelectorProgramId {
4511 /**
4512 * Selects a specific program from within a multi-program transport stream. If the program doesn't exist, the first program within the transport stream will be selected by default.
4513 */
4514 ProgramId?: __integerMin0Max65536;
4515 }
4516 export interface VideoSelectorSettings {
4517 VideoSelectorPid?: VideoSelectorPid;
4518 VideoSelectorProgramId?: VideoSelectorProgramId;
4519 }
4520 export interface WebvttDestinationSettings {
4521 }
4522 export type __double = number;
4523 export type __doubleMin0 = number;
4524 export type __doubleMin1 = number;
4525 export type __doubleMinNegative59Max0 = number;
4526 export type __integer = number;
4527 export type __integerMin0 = number;
4528 export type __integerMin0Max10 = number;
4529 export type __integerMin0Max100 = number;
4530 export type __integerMin0Max1000 = number;
4531 export type __integerMin0Max10000 = number;
4532 export type __integerMin0Max1000000 = number;
4533 export type __integerMin0Max128 = number;
4534 export type __integerMin0Max15 = number;
4535 export type __integerMin0Max255 = number;
4536 export type __integerMin0Max30 = number;
4537 export type __integerMin0Max32768 = number;
4538 export type __integerMin0Max3600 = number;
4539 export type __integerMin0Max500 = number;
4540 export type __integerMin0Max600 = number;
4541 export type __integerMin0Max65535 = number;
4542 export type __integerMin0Max65536 = number;
4543 export type __integerMin0Max7 = number;
4544 export type __integerMin0Max8191 = number;
4545 export type __integerMin1 = number;
4546 export type __integerMin1000 = number;
4547 export type __integerMin100000Max40000000 = number;
4548 export type __integerMin100000Max80000000 = number;
4549 export type __integerMin1000Max30000 = number;
4550 export type __integerMin1Max10 = number;
4551 export type __integerMin1Max1000000 = number;
4552 export type __integerMin1Max16 = number;
4553 export type __integerMin1Max20 = number;
4554 export type __integerMin1Max3003 = number;
4555 export type __integerMin1Max31 = number;
4556 export type __integerMin1Max32 = number;
4557 export type __integerMin1Max3600 = number;
4558 export type __integerMin1Max4 = number;
4559 export type __integerMin1Max5 = number;
4560 export type __integerMin1Max6 = number;
4561 export type __integerMin1Max8 = number;
4562 export type __integerMin25Max10000 = number;
4563 export type __integerMin25Max2000 = number;
4564 export type __integerMin3 = number;
4565 export type __integerMin30 = number;
4566 export type __integerMin4Max20 = number;
4567 export type __integerMin96Max600 = number;
4568 export type __integerMinNegative1000Max1000 = number;
4569 export type __integerMinNegative60Max6 = number;
4570 export type __integerMinNegative60Max60 = number;
4571 export type __listOfAudioChannelMapping = AudioChannelMapping[];
4572 export type __listOfAudioDescription = AudioDescription[];
4573 export type __listOfAudioSelector = AudioSelector[];
4574 export type __listOfCaptionDescription = CaptionDescription[];
4575 export type __listOfCaptionLanguageMapping = CaptionLanguageMapping[];
4576 export type __listOfCaptionSelector = CaptionSelector[];
4577 export type __listOfChannelEgressEndpoint = ChannelEgressEndpoint[];
4578 export type __listOfChannelSummary = ChannelSummary[];
4579 export type __listOfHlsAdMarkers = HlsAdMarkers[];
4580 export type __listOfInput = Input[];
4581 export type __listOfInputAttachment = InputAttachment[];
4582 export type __listOfInputChannelLevel = InputChannelLevel[];
4583 export type __listOfInputDestination = InputDestination[];
4584 export type __listOfInputDestinationRequest = InputDestinationRequest[];
4585 export type __listOfInputSecurityGroup = InputSecurityGroup[];
4586 export type __listOfInputSource = InputSource[];
4587 export type __listOfInputSourceRequest = InputSourceRequest[];
4588 export type __listOfInputWhitelistRule = InputWhitelistRule[];
4589 export type __listOfInputWhitelistRuleCidr = InputWhitelistRuleCidr[];
4590 export type __listOfMediaConnectFlow = MediaConnectFlow[];
4591 export type __listOfMediaConnectFlowRequest = MediaConnectFlowRequest[];
4592 export type __listOfMediaPackageOutputDestinationSettings = MediaPackageOutputDestinationSettings[];
4593 export type __listOfOffering = Offering[];
4594 export type __listOfOutput = Output[];
4595 export type __listOfOutputDestination = OutputDestination[];
4596 export type __listOfOutputDestinationSettings = OutputDestinationSettings[];
4597 export type __listOfOutputGroup = OutputGroup[];
4598 export type __listOfPipelineDetail = PipelineDetail[];
4599 export type __listOfPipelinePauseStateSettings = PipelinePauseStateSettings[];
4600 export type __listOfReservation = Reservation[];
4601 export type __listOfScheduleAction = ScheduleAction[];
4602 export type __listOfScte35Descriptor = Scte35Descriptor[];
4603 export type __listOfVideoDescription = VideoDescription[];
4604 export type __listOf__string = __string[];
4605 export type __longMin0Max1099511627775 = number;
4606 export type __longMin0Max4294967295 = number;
4607 export type __longMin0Max8589934591 = number;
4608 export type __string = string;
4609 export type __stringMax32 = string;
4610 export type __stringMin1 = string;
4611 export type __stringMin1Max255 = string;
4612 export type __stringMin1Max256 = string;
4613 export type __stringMin32Max32 = string;
4614 export type __stringMin34Max34 = string;
4615 export type __stringMin3Max3 = string;
4616 export type __stringMin6Max6 = string;
4617 /**
4618 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
4619 */
4620 export type apiVersion = "2017-10-14"|"latest"|string;
4621 export interface ClientApiVersions {
4622 /**
4623 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
4624 */
4625 apiVersion?: apiVersion;
4626 }
4627 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
4628 /**
4629 * Contains interfaces for use with the MediaLive client.
4630 */
4631 export import Types = MediaLive;
4632}
4633export = MediaLive;