UNPKG

24.8 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 MediaPackageVod extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: MediaPackageVod.Types.ClientConfiguration)
13 config: Config & MediaPackageVod.Types.ClientConfiguration;
14 /**
15 * Creates a new MediaPackage VOD Asset resource.
16 */
17 createAsset(params: MediaPackageVod.Types.CreateAssetRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.CreateAssetResponse) => void): Request<MediaPackageVod.Types.CreateAssetResponse, AWSError>;
18 /**
19 * Creates a new MediaPackage VOD Asset resource.
20 */
21 createAsset(callback?: (err: AWSError, data: MediaPackageVod.Types.CreateAssetResponse) => void): Request<MediaPackageVod.Types.CreateAssetResponse, AWSError>;
22 /**
23 * Creates a new MediaPackage VOD PackagingConfiguration resource.
24 */
25 createPackagingConfiguration(params: MediaPackageVod.Types.CreatePackagingConfigurationRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.CreatePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.CreatePackagingConfigurationResponse, AWSError>;
26 /**
27 * Creates a new MediaPackage VOD PackagingConfiguration resource.
28 */
29 createPackagingConfiguration(callback?: (err: AWSError, data: MediaPackageVod.Types.CreatePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.CreatePackagingConfigurationResponse, AWSError>;
30 /**
31 * Creates a new MediaPackage VOD PackagingGroup resource.
32 */
33 createPackagingGroup(params: MediaPackageVod.Types.CreatePackagingGroupRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.CreatePackagingGroupResponse) => void): Request<MediaPackageVod.Types.CreatePackagingGroupResponse, AWSError>;
34 /**
35 * Creates a new MediaPackage VOD PackagingGroup resource.
36 */
37 createPackagingGroup(callback?: (err: AWSError, data: MediaPackageVod.Types.CreatePackagingGroupResponse) => void): Request<MediaPackageVod.Types.CreatePackagingGroupResponse, AWSError>;
38 /**
39 * Deletes an existing MediaPackage VOD Asset resource.
40 */
41 deleteAsset(params: MediaPackageVod.Types.DeleteAssetRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DeleteAssetResponse) => void): Request<MediaPackageVod.Types.DeleteAssetResponse, AWSError>;
42 /**
43 * Deletes an existing MediaPackage VOD Asset resource.
44 */
45 deleteAsset(callback?: (err: AWSError, data: MediaPackageVod.Types.DeleteAssetResponse) => void): Request<MediaPackageVod.Types.DeleteAssetResponse, AWSError>;
46 /**
47 * Deletes a MediaPackage VOD PackagingConfiguration resource.
48 */
49 deletePackagingConfiguration(params: MediaPackageVod.Types.DeletePackagingConfigurationRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DeletePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.DeletePackagingConfigurationResponse, AWSError>;
50 /**
51 * Deletes a MediaPackage VOD PackagingConfiguration resource.
52 */
53 deletePackagingConfiguration(callback?: (err: AWSError, data: MediaPackageVod.Types.DeletePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.DeletePackagingConfigurationResponse, AWSError>;
54 /**
55 * Deletes a MediaPackage VOD PackagingGroup resource.
56 */
57 deletePackagingGroup(params: MediaPackageVod.Types.DeletePackagingGroupRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DeletePackagingGroupResponse) => void): Request<MediaPackageVod.Types.DeletePackagingGroupResponse, AWSError>;
58 /**
59 * Deletes a MediaPackage VOD PackagingGroup resource.
60 */
61 deletePackagingGroup(callback?: (err: AWSError, data: MediaPackageVod.Types.DeletePackagingGroupResponse) => void): Request<MediaPackageVod.Types.DeletePackagingGroupResponse, AWSError>;
62 /**
63 * Returns a description of a MediaPackage VOD Asset resource.
64 */
65 describeAsset(params: MediaPackageVod.Types.DescribeAssetRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DescribeAssetResponse) => void): Request<MediaPackageVod.Types.DescribeAssetResponse, AWSError>;
66 /**
67 * Returns a description of a MediaPackage VOD Asset resource.
68 */
69 describeAsset(callback?: (err: AWSError, data: MediaPackageVod.Types.DescribeAssetResponse) => void): Request<MediaPackageVod.Types.DescribeAssetResponse, AWSError>;
70 /**
71 * Returns a description of a MediaPackage VOD PackagingConfiguration resource.
72 */
73 describePackagingConfiguration(params: MediaPackageVod.Types.DescribePackagingConfigurationRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DescribePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.DescribePackagingConfigurationResponse, AWSError>;
74 /**
75 * Returns a description of a MediaPackage VOD PackagingConfiguration resource.
76 */
77 describePackagingConfiguration(callback?: (err: AWSError, data: MediaPackageVod.Types.DescribePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.DescribePackagingConfigurationResponse, AWSError>;
78 /**
79 * Returns a description of a MediaPackage VOD PackagingGroup resource.
80 */
81 describePackagingGroup(params: MediaPackageVod.Types.DescribePackagingGroupRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DescribePackagingGroupResponse) => void): Request<MediaPackageVod.Types.DescribePackagingGroupResponse, AWSError>;
82 /**
83 * Returns a description of a MediaPackage VOD PackagingGroup resource.
84 */
85 describePackagingGroup(callback?: (err: AWSError, data: MediaPackageVod.Types.DescribePackagingGroupResponse) => void): Request<MediaPackageVod.Types.DescribePackagingGroupResponse, AWSError>;
86 /**
87 * Returns a collection of MediaPackage VOD Asset resources.
88 */
89 listAssets(params: MediaPackageVod.Types.ListAssetsRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.ListAssetsResponse) => void): Request<MediaPackageVod.Types.ListAssetsResponse, AWSError>;
90 /**
91 * Returns a collection of MediaPackage VOD Asset resources.
92 */
93 listAssets(callback?: (err: AWSError, data: MediaPackageVod.Types.ListAssetsResponse) => void): Request<MediaPackageVod.Types.ListAssetsResponse, AWSError>;
94 /**
95 * Returns a collection of MediaPackage VOD PackagingConfiguration resources.
96 */
97 listPackagingConfigurations(params: MediaPackageVod.Types.ListPackagingConfigurationsRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.ListPackagingConfigurationsResponse) => void): Request<MediaPackageVod.Types.ListPackagingConfigurationsResponse, AWSError>;
98 /**
99 * Returns a collection of MediaPackage VOD PackagingConfiguration resources.
100 */
101 listPackagingConfigurations(callback?: (err: AWSError, data: MediaPackageVod.Types.ListPackagingConfigurationsResponse) => void): Request<MediaPackageVod.Types.ListPackagingConfigurationsResponse, AWSError>;
102 /**
103 * Returns a collection of MediaPackage VOD PackagingGroup resources.
104 */
105 listPackagingGroups(params: MediaPackageVod.Types.ListPackagingGroupsRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.ListPackagingGroupsResponse) => void): Request<MediaPackageVod.Types.ListPackagingGroupsResponse, AWSError>;
106 /**
107 * Returns a collection of MediaPackage VOD PackagingGroup resources.
108 */
109 listPackagingGroups(callback?: (err: AWSError, data: MediaPackageVod.Types.ListPackagingGroupsResponse) => void): Request<MediaPackageVod.Types.ListPackagingGroupsResponse, AWSError>;
110}
111declare namespace MediaPackageVod {
112 export type AdMarkers = "NONE"|"SCTE35_ENHANCED"|"PASSTHROUGH"|string;
113 export interface AssetShallow {
114 /**
115 * The ARN of the Asset.
116 */
117 Arn?: __string;
118 /**
119 * The time the Asset was initially submitted for Ingest.
120 */
121 CreatedAt?: __string;
122 /**
123 * The unique identifier for the Asset.
124 */
125 Id?: __string;
126 /**
127 * The ID of the PackagingGroup for the Asset.
128 */
129 PackagingGroupId?: __string;
130 /**
131 * The resource ID to include in SPEKE key requests.
132 */
133 ResourceId?: __string;
134 /**
135 * ARN of the source object in S3.
136 */
137 SourceArn?: __string;
138 /**
139 * The IAM role ARN used to access the source S3 bucket.
140 */
141 SourceRoleArn?: __string;
142 }
143 export interface CmafEncryption {
144 SpekeKeyProvider: SpekeKeyProvider;
145 }
146 export interface CmafPackage {
147 Encryption?: CmafEncryption;
148 /**
149 * A list of HLS manifest configurations.
150 */
151 HlsManifests: __listOfHlsManifest;
152 /**
153 * Duration (in seconds) of each fragment. Actual fragments will be
154rounded to the nearest multiple of the source fragment duration.
155
156 */
157 SegmentDurationSeconds?: __integer;
158 }
159 export interface CreateAssetRequest {
160 /**
161 * The unique identifier for the Asset.
162 */
163 Id: __string;
164 /**
165 * The ID of the PackagingGroup for the Asset.
166 */
167 PackagingGroupId: __string;
168 /**
169 * The resource ID to include in SPEKE key requests.
170 */
171 ResourceId?: __string;
172 /**
173 * ARN of the source object in S3.
174 */
175 SourceArn: __string;
176 /**
177 * The IAM role ARN used to access the source S3 bucket.
178 */
179 SourceRoleArn: __string;
180 }
181 export interface CreateAssetResponse {
182 /**
183 * The ARN of the Asset.
184 */
185 Arn?: __string;
186 /**
187 * The time the Asset was initially submitted for Ingest.
188 */
189 CreatedAt?: __string;
190 /**
191 * The list of egress endpoints available for the Asset.
192 */
193 EgressEndpoints?: __listOfEgressEndpoint;
194 /**
195 * The unique identifier for the Asset.
196 */
197 Id?: __string;
198 /**
199 * The ID of the PackagingGroup for the Asset.
200 */
201 PackagingGroupId?: __string;
202 /**
203 * The resource ID to include in SPEKE key requests.
204 */
205 ResourceId?: __string;
206 /**
207 * ARN of the source object in S3.
208 */
209 SourceArn?: __string;
210 /**
211 * The IAM role_arn used to access the source S3 bucket.
212 */
213 SourceRoleArn?: __string;
214 }
215 export interface CreatePackagingConfigurationRequest {
216 CmafPackage?: CmafPackage;
217 DashPackage?: DashPackage;
218 HlsPackage?: HlsPackage;
219 /**
220 * The ID of the PackagingConfiguration.
221 */
222 Id: __string;
223 MssPackage?: MssPackage;
224 /**
225 * The ID of a PackagingGroup.
226 */
227 PackagingGroupId: __string;
228 }
229 export interface CreatePackagingConfigurationResponse {
230 /**
231 * The ARN of the PackagingConfiguration.
232 */
233 Arn?: __string;
234 CmafPackage?: CmafPackage;
235 DashPackage?: DashPackage;
236 HlsPackage?: HlsPackage;
237 /**
238 * The ID of the PackagingConfiguration.
239 */
240 Id?: __string;
241 MssPackage?: MssPackage;
242 /**
243 * The ID of a PackagingGroup.
244 */
245 PackagingGroupId?: __string;
246 }
247 export interface CreatePackagingGroupRequest {
248 /**
249 * The ID of the PackagingGroup.
250 */
251 Id: __string;
252 }
253 export interface CreatePackagingGroupResponse {
254 /**
255 * The ARN of the PackagingGroup.
256 */
257 Arn?: __string;
258 /**
259 * The fully qualified domain name for Assets in the PackagingGroup.
260 */
261 DomainName?: __string;
262 /**
263 * The ID of the PackagingGroup.
264 */
265 Id?: __string;
266 }
267 export interface DashEncryption {
268 SpekeKeyProvider: SpekeKeyProvider;
269 }
270 export interface DashManifest {
271 /**
272 * Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level.
273 */
274 ManifestLayout?: ManifestLayout;
275 /**
276 * An optional string to include in the name of the manifest.
277 */
278 ManifestName?: __string;
279 /**
280 * Minimum duration (in seconds) that a player will buffer media before starting the presentation.
281 */
282 MinBufferTimeSeconds?: __integer;
283 /**
284 * The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
285 */
286 Profile?: Profile;
287 StreamSelection?: StreamSelection;
288 }
289 export interface DashPackage {
290 /**
291 * A list of DASH manifest configurations.
292 */
293 DashManifests: __listOfDashManifest;
294 Encryption?: DashEncryption;
295 /**
296 * A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH)
297Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not
298be partitioned into more than one period. If the list contains "ADS", new periods will be created where
299the Asset contains SCTE-35 ad markers.
300
301 */
302 PeriodTriggers?: __listOf__PeriodTriggersElement;
303 /**
304 * Duration (in seconds) of each segment. Actual segments will be
305rounded to the nearest multiple of the source segment duration.
306
307 */
308 SegmentDurationSeconds?: __integer;
309 /**
310 * Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.
311 */
312 SegmentTemplateFormat?: SegmentTemplateFormat;
313 }
314 export interface DeleteAssetRequest {
315 /**
316 * The ID of the MediaPackage VOD Asset resource to delete.
317 */
318 Id: __string;
319 }
320 export interface DeleteAssetResponse {
321 }
322 export interface DeletePackagingConfigurationRequest {
323 /**
324 * The ID of the MediaPackage VOD PackagingConfiguration resource to delete.
325 */
326 Id: __string;
327 }
328 export interface DeletePackagingConfigurationResponse {
329 }
330 export interface DeletePackagingGroupRequest {
331 /**
332 * The ID of the MediaPackage VOD PackagingGroup resource to delete.
333 */
334 Id: __string;
335 }
336 export interface DeletePackagingGroupResponse {
337 }
338 export interface DescribeAssetRequest {
339 /**
340 * The ID of an MediaPackage VOD Asset resource.
341 */
342 Id: __string;
343 }
344 export interface DescribeAssetResponse {
345 /**
346 * The ARN of the Asset.
347 */
348 Arn?: __string;
349 /**
350 * The time the Asset was initially submitted for Ingest.
351 */
352 CreatedAt?: __string;
353 /**
354 * The list of egress endpoints available for the Asset.
355 */
356 EgressEndpoints?: __listOfEgressEndpoint;
357 /**
358 * The unique identifier for the Asset.
359 */
360 Id?: __string;
361 /**
362 * The ID of the PackagingGroup for the Asset.
363 */
364 PackagingGroupId?: __string;
365 /**
366 * The resource ID to include in SPEKE key requests.
367 */
368 ResourceId?: __string;
369 /**
370 * ARN of the source object in S3.
371 */
372 SourceArn?: __string;
373 /**
374 * The IAM role_arn used to access the source S3 bucket.
375 */
376 SourceRoleArn?: __string;
377 }
378 export interface DescribePackagingConfigurationRequest {
379 /**
380 * The ID of a MediaPackage VOD PackagingConfiguration resource.
381 */
382 Id: __string;
383 }
384 export interface DescribePackagingConfigurationResponse {
385 /**
386 * The ARN of the PackagingConfiguration.
387 */
388 Arn?: __string;
389 CmafPackage?: CmafPackage;
390 DashPackage?: DashPackage;
391 HlsPackage?: HlsPackage;
392 /**
393 * The ID of the PackagingConfiguration.
394 */
395 Id?: __string;
396 MssPackage?: MssPackage;
397 /**
398 * The ID of a PackagingGroup.
399 */
400 PackagingGroupId?: __string;
401 }
402 export interface DescribePackagingGroupRequest {
403 /**
404 * The ID of a MediaPackage VOD PackagingGroup resource.
405 */
406 Id: __string;
407 }
408 export interface DescribePackagingGroupResponse {
409 /**
410 * The ARN of the PackagingGroup.
411 */
412 Arn?: __string;
413 /**
414 * The fully qualified domain name for Assets in the PackagingGroup.
415 */
416 DomainName?: __string;
417 /**
418 * The ID of the PackagingGroup.
419 */
420 Id?: __string;
421 }
422 export interface EgressEndpoint {
423 /**
424 * The ID of the PackagingConfiguration being applied to the Asset.
425 */
426 PackagingConfigurationId?: __string;
427 /**
428 * The URL of the parent manifest for the repackaged Asset.
429 */
430 Url?: __string;
431 }
432 export type EncryptionMethod = "AES_128"|"SAMPLE_AES"|string;
433 export interface HlsEncryption {
434 /**
435 * A constant initialization vector for encryption (optional).
436When not specified the initialization vector will be periodically rotated.
437
438 */
439 ConstantInitializationVector?: __string;
440 /**
441 * The encryption method to use.
442 */
443 EncryptionMethod?: EncryptionMethod;
444 SpekeKeyProvider: SpekeKeyProvider;
445 }
446 export interface HlsManifest {
447 /**
448 * This setting controls how ad markers are included in the packaged OriginEndpoint.
449"NONE" will omit all SCTE-35 ad markers from the output.
450"PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
451markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest.
452"SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35
453messages in the input source.
454
455 */
456 AdMarkers?: AdMarkers;
457 /**
458 * When enabled, an I-Frame only stream will be included in the output.
459 */
460 IncludeIframeOnlyStream?: __boolean;
461 /**
462 * An optional string to include in the name of the manifest.
463 */
464 ManifestName?: __string;
465 /**
466 * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag
467inserted into manifests. Additionally, when an interval is specified
468ID3Timed Metadata messages will be generated every 5 seconds using the
469ingest time of the content.
470If the interval is not specified, or set to 0, then
471no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no
472ID3Timed Metadata messages will be generated. Note that irrespective
473of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,
474it will be passed through to HLS output.
475
476 */
477 ProgramDateTimeIntervalSeconds?: __integer;
478 /**
479 * When enabled, the EXT-X-KEY tag will be repeated in output manifests.
480 */
481 RepeatExtXKey?: __boolean;
482 StreamSelection?: StreamSelection;
483 }
484 export interface HlsPackage {
485 Encryption?: HlsEncryption;
486 /**
487 * A list of HLS manifest configurations.
488 */
489 HlsManifests: __listOfHlsManifest;
490 /**
491 * Duration (in seconds) of each fragment. Actual fragments will be
492rounded to the nearest multiple of the source fragment duration.
493
494 */
495 SegmentDurationSeconds?: __integer;
496 /**
497 * When enabled, audio streams will be placed in rendition groups in the output.
498 */
499 UseAudioRenditionGroup?: __boolean;
500 }
501 export interface ListAssetsRequest {
502 /**
503 * Upper bound on number of records to return.
504 */
505 MaxResults?: MaxResults;
506 /**
507 * A token used to resume pagination from the end of a previous request.
508 */
509 NextToken?: __string;
510 /**
511 * Returns Assets associated with the specified PackagingGroup.
512 */
513 PackagingGroupId?: __string;
514 }
515 export interface ListAssetsResponse {
516 /**
517 * A list of MediaPackage VOD Asset resources.
518 */
519 Assets?: __listOfAssetShallow;
520 /**
521 * A token that can be used to resume pagination from the end of the collection.
522 */
523 NextToken?: __string;
524 }
525 export interface ListPackagingConfigurationsRequest {
526 /**
527 * Upper bound on number of records to return.
528 */
529 MaxResults?: MaxResults;
530 /**
531 * A token used to resume pagination from the end of a previous request.
532 */
533 NextToken?: __string;
534 /**
535 * Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup.
536 */
537 PackagingGroupId?: __string;
538 }
539 export interface ListPackagingConfigurationsResponse {
540 /**
541 * A token that can be used to resume pagination from the end of the collection.
542 */
543 NextToken?: __string;
544 /**
545 * A list of MediaPackage VOD PackagingConfiguration resources.
546 */
547 PackagingConfigurations?: __listOfPackagingConfiguration;
548 }
549 export interface ListPackagingGroupsRequest {
550 /**
551 * Upper bound on number of records to return.
552 */
553 MaxResults?: MaxResults;
554 /**
555 * A token used to resume pagination from the end of a previous request.
556 */
557 NextToken?: __string;
558 }
559 export interface ListPackagingGroupsResponse {
560 /**
561 * A token that can be used to resume pagination from the end of the collection.
562 */
563 NextToken?: __string;
564 /**
565 * A list of MediaPackage VOD PackagingGroup resources.
566 */
567 PackagingGroups?: __listOfPackagingGroup;
568 }
569 export type ManifestLayout = "FULL"|"COMPACT"|string;
570 export type MaxResults = number;
571 export interface MssEncryption {
572 SpekeKeyProvider: SpekeKeyProvider;
573 }
574 export interface MssManifest {
575 /**
576 * An optional string to include in the name of the manifest.
577 */
578 ManifestName?: __string;
579 StreamSelection?: StreamSelection;
580 }
581 export interface MssPackage {
582 Encryption?: MssEncryption;
583 /**
584 * A list of MSS manifest configurations.
585 */
586 MssManifests: __listOfMssManifest;
587 /**
588 * The duration (in seconds) of each segment.
589 */
590 SegmentDurationSeconds?: __integer;
591 }
592 export interface PackagingConfiguration {
593 /**
594 * The ARN of the PackagingConfiguration.
595 */
596 Arn?: __string;
597 CmafPackage?: CmafPackage;
598 DashPackage?: DashPackage;
599 HlsPackage?: HlsPackage;
600 /**
601 * The ID of the PackagingConfiguration.
602 */
603 Id?: __string;
604 MssPackage?: MssPackage;
605 /**
606 * The ID of a PackagingGroup.
607 */
608 PackagingGroupId?: __string;
609 }
610 export interface PackagingGroup {
611 /**
612 * The ARN of the PackagingGroup.
613 */
614 Arn?: __string;
615 /**
616 * The fully qualified domain name for Assets in the PackagingGroup.
617 */
618 DomainName?: __string;
619 /**
620 * The ID of the PackagingGroup.
621 */
622 Id?: __string;
623 }
624 export type Profile = "NONE"|"HBBTV_1_5"|string;
625 export type SegmentTemplateFormat = "NUMBER_WITH_TIMELINE"|"TIME_WITH_TIMELINE"|"NUMBER_WITH_DURATION"|string;
626 export interface SpekeKeyProvider {
627 /**
628 * An Amazon Resource Name (ARN) of an IAM role that AWS Elemental
629MediaPackage will assume when accessing the key provider service.
630
631 */
632 RoleArn: __string;
633 /**
634 * The system IDs to include in key requests.
635 */
636 SystemIds: __listOf__string;
637 /**
638 * The URL of the external key provider service.
639 */
640 Url: __string;
641 }
642 export type StreamOrder = "ORIGINAL"|"VIDEO_BITRATE_ASCENDING"|"VIDEO_BITRATE_DESCENDING"|string;
643 export interface StreamSelection {
644 /**
645 * The maximum video bitrate (bps) to include in output.
646 */
647 MaxVideoBitsPerSecond?: __integer;
648 /**
649 * The minimum video bitrate (bps) to include in output.
650 */
651 MinVideoBitsPerSecond?: __integer;
652 /**
653 * A directive that determines the order of streams in the output.
654 */
655 StreamOrder?: StreamOrder;
656 }
657 export type __PeriodTriggersElement = "ADS"|string;
658 export type __boolean = boolean;
659 export type __integer = number;
660 export type __listOfAssetShallow = AssetShallow[];
661 export type __listOfDashManifest = DashManifest[];
662 export type __listOfEgressEndpoint = EgressEndpoint[];
663 export type __listOfHlsManifest = HlsManifest[];
664 export type __listOfMssManifest = MssManifest[];
665 export type __listOfPackagingConfiguration = PackagingConfiguration[];
666 export type __listOfPackagingGroup = PackagingGroup[];
667 export type __listOf__PeriodTriggersElement = __PeriodTriggersElement[];
668 export type __listOf__string = __string[];
669 export type __string = string;
670 /**
671 * 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.
672 */
673 export type apiVersion = "2018-11-07"|"latest"|string;
674 export interface ClientApiVersions {
675 /**
676 * 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.
677 */
678 apiVersion?: apiVersion;
679 }
680 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
681 /**
682 * Contains interfaces for use with the MediaPackageVod client.
683 */
684 export import Types = MediaPackageVod;
685}
686export = MediaPackageVod;