UNPKG

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