mediapackagevod.d.ts
  1  import {Request} from '../lib/request';
  2  import {Response} from '../lib/response';
  3  import {AWSError} from '../lib/error';
  4  import {Service} from '../lib/service';
  5  import {ServiceConfigurationOptions} from '../lib/service';
  6  import {ConfigBase as Config} from '../lib/config-base';
  7  interface Blob {}
  8  declare 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     * Changes the packaging group's properities to configure log subscription
 16     */
 17    configureLogs(params: MediaPackageVod.Types.ConfigureLogsRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.ConfigureLogsResponse) => void): Request<MediaPackageVod.Types.ConfigureLogsResponse, AWSError>;
 18    /**
 19     * Changes the packaging group's properities to configure log subscription
 20     */
 21    configureLogs(callback?: (err: AWSError, data: MediaPackageVod.Types.ConfigureLogsResponse) => void): Request<MediaPackageVod.Types.ConfigureLogsResponse, AWSError>;
 22    /**
 23     * Creates a new MediaPackage VOD Asset resource.
 24     */
 25    createAsset(params: MediaPackageVod.Types.CreateAssetRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.CreateAssetResponse) => void): Request<MediaPackageVod.Types.CreateAssetResponse, AWSError>;
 26    /**
 27     * Creates a new MediaPackage VOD Asset resource.
 28     */
 29    createAsset(callback?: (err: AWSError, data: MediaPackageVod.Types.CreateAssetResponse) => void): Request<MediaPackageVod.Types.CreateAssetResponse, AWSError>;
 30    /**
 31     * Creates a new MediaPackage VOD PackagingConfiguration resource.
 32     */
 33    createPackagingConfiguration(params: MediaPackageVod.Types.CreatePackagingConfigurationRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.CreatePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.CreatePackagingConfigurationResponse, AWSError>;
 34    /**
 35     * Creates a new MediaPackage VOD PackagingConfiguration resource.
 36     */
 37    createPackagingConfiguration(callback?: (err: AWSError, data: MediaPackageVod.Types.CreatePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.CreatePackagingConfigurationResponse, AWSError>;
 38    /**
 39     * Creates a new MediaPackage VOD PackagingGroup resource.
 40     */
 41    createPackagingGroup(params: MediaPackageVod.Types.CreatePackagingGroupRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.CreatePackagingGroupResponse) => void): Request<MediaPackageVod.Types.CreatePackagingGroupResponse, AWSError>;
 42    /**
 43     * Creates a new MediaPackage VOD PackagingGroup resource.
 44     */
 45    createPackagingGroup(callback?: (err: AWSError, data: MediaPackageVod.Types.CreatePackagingGroupResponse) => void): Request<MediaPackageVod.Types.CreatePackagingGroupResponse, AWSError>;
 46    /**
 47     * Deletes an existing MediaPackage VOD Asset resource.
 48     */
 49    deleteAsset(params: MediaPackageVod.Types.DeleteAssetRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DeleteAssetResponse) => void): Request<MediaPackageVod.Types.DeleteAssetResponse, AWSError>;
 50    /**
 51     * Deletes an existing MediaPackage VOD Asset resource.
 52     */
 53    deleteAsset(callback?: (err: AWSError, data: MediaPackageVod.Types.DeleteAssetResponse) => void): Request<MediaPackageVod.Types.DeleteAssetResponse, AWSError>;
 54    /**
 55     * Deletes a MediaPackage VOD PackagingConfiguration resource.
 56     */
 57    deletePackagingConfiguration(params: MediaPackageVod.Types.DeletePackagingConfigurationRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DeletePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.DeletePackagingConfigurationResponse, AWSError>;
 58    /**
 59     * Deletes a MediaPackage VOD PackagingConfiguration resource.
 60     */
 61    deletePackagingConfiguration(callback?: (err: AWSError, data: MediaPackageVod.Types.DeletePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.DeletePackagingConfigurationResponse, AWSError>;
 62    /**
 63     * Deletes a MediaPackage VOD PackagingGroup resource.
 64     */
 65    deletePackagingGroup(params: MediaPackageVod.Types.DeletePackagingGroupRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DeletePackagingGroupResponse) => void): Request<MediaPackageVod.Types.DeletePackagingGroupResponse, AWSError>;
 66    /**
 67     * Deletes a MediaPackage VOD PackagingGroup resource.
 68     */
 69    deletePackagingGroup(callback?: (err: AWSError, data: MediaPackageVod.Types.DeletePackagingGroupResponse) => void): Request<MediaPackageVod.Types.DeletePackagingGroupResponse, AWSError>;
 70    /**
 71     * Returns a description of a MediaPackage VOD Asset resource.
 72     */
 73    describeAsset(params: MediaPackageVod.Types.DescribeAssetRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DescribeAssetResponse) => void): Request<MediaPackageVod.Types.DescribeAssetResponse, AWSError>;
 74    /**
 75     * Returns a description of a MediaPackage VOD Asset resource.
 76     */
 77    describeAsset(callback?: (err: AWSError, data: MediaPackageVod.Types.DescribeAssetResponse) => void): Request<MediaPackageVod.Types.DescribeAssetResponse, AWSError>;
 78    /**
 79     * Returns a description of a MediaPackage VOD PackagingConfiguration resource.
 80     */
 81    describePackagingConfiguration(params: MediaPackageVod.Types.DescribePackagingConfigurationRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DescribePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.DescribePackagingConfigurationResponse, AWSError>;
 82    /**
 83     * Returns a description of a MediaPackage VOD PackagingConfiguration resource.
 84     */
 85    describePackagingConfiguration(callback?: (err: AWSError, data: MediaPackageVod.Types.DescribePackagingConfigurationResponse) => void): Request<MediaPackageVod.Types.DescribePackagingConfigurationResponse, AWSError>;
 86    /**
 87     * Returns a description of a MediaPackage VOD PackagingGroup resource.
 88     */
 89    describePackagingGroup(params: MediaPackageVod.Types.DescribePackagingGroupRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.DescribePackagingGroupResponse) => void): Request<MediaPackageVod.Types.DescribePackagingGroupResponse, AWSError>;
 90    /**
 91     * Returns a description of a MediaPackage VOD PackagingGroup resource.
 92     */
 93    describePackagingGroup(callback?: (err: AWSError, data: MediaPackageVod.Types.DescribePackagingGroupResponse) => void): Request<MediaPackageVod.Types.DescribePackagingGroupResponse, AWSError>;
 94    /**
 95     * Returns a collection of MediaPackage VOD Asset resources.
 96     */
 97    listAssets(params: MediaPackageVod.Types.ListAssetsRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.ListAssetsResponse) => void): Request<MediaPackageVod.Types.ListAssetsResponse, AWSError>;
 98    /**
 99     * Returns a collection of MediaPackage VOD Asset resources.
100     */
101    listAssets(callback?: (err: AWSError, data: MediaPackageVod.Types.ListAssetsResponse) => void): Request<MediaPackageVod.Types.ListAssetsResponse, AWSError>;
102    /**
103     * Returns a collection of MediaPackage VOD PackagingConfiguration resources.
104     */
105    listPackagingConfigurations(params: MediaPackageVod.Types.ListPackagingConfigurationsRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.ListPackagingConfigurationsResponse) => void): Request<MediaPackageVod.Types.ListPackagingConfigurationsResponse, AWSError>;
106    /**
107     * Returns a collection of MediaPackage VOD PackagingConfiguration resources.
108     */
109    listPackagingConfigurations(callback?: (err: AWSError, data: MediaPackageVod.Types.ListPackagingConfigurationsResponse) => void): Request<MediaPackageVod.Types.ListPackagingConfigurationsResponse, AWSError>;
110    /**
111     * Returns a collection of MediaPackage VOD PackagingGroup resources.
112     */
113    listPackagingGroups(params: MediaPackageVod.Types.ListPackagingGroupsRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.ListPackagingGroupsResponse) => void): Request<MediaPackageVod.Types.ListPackagingGroupsResponse, AWSError>;
114    /**
115     * Returns a collection of MediaPackage VOD PackagingGroup resources.
116     */
117    listPackagingGroups(callback?: (err: AWSError, data: MediaPackageVod.Types.ListPackagingGroupsResponse) => void): Request<MediaPackageVod.Types.ListPackagingGroupsResponse, AWSError>;
118    /**
119     * Returns a list of the tags assigned to the specified resource.
120     */
121    listTagsForResource(params: MediaPackageVod.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.ListTagsForResourceResponse) => void): Request<MediaPackageVod.Types.ListTagsForResourceResponse, AWSError>;
122    /**
123     * Returns a list of the tags assigned to the specified resource.
124     */
125    listTagsForResource(callback?: (err: AWSError, data: MediaPackageVod.Types.ListTagsForResourceResponse) => void): Request<MediaPackageVod.Types.ListTagsForResourceResponse, AWSError>;
126    /**
127     * Adds tags to the specified resource. You can specify one or more tags to add.
128     */
129    tagResource(params: MediaPackageVod.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
130    /**
131     * Adds tags to the specified resource. You can specify one or more tags to add.
132     */
133    tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
134    /**
135     * Removes tags from the specified resource. You can specify one or more tags to remove.
136     */
137    untagResource(params: MediaPackageVod.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
138    /**
139     * Removes tags from the specified resource. You can specify one or more tags to remove.
140     */
141    untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
142    /**
143     * Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.
144     */
145    updatePackagingGroup(params: MediaPackageVod.Types.UpdatePackagingGroupRequest, callback?: (err: AWSError, data: MediaPackageVod.Types.UpdatePackagingGroupResponse) => void): Request<MediaPackageVod.Types.UpdatePackagingGroupResponse, AWSError>;
146    /**
147     * Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.
148     */
149    updatePackagingGroup(callback?: (err: AWSError, data: MediaPackageVod.Types.UpdatePackagingGroupResponse) => void): Request<MediaPackageVod.Types.UpdatePackagingGroupResponse, AWSError>;
150  }
151  declare namespace MediaPackageVod {
152    export type AdMarkers = "NONE"|"SCTE35_ENHANCED"|"PASSTHROUGH"|string;
153    export interface AssetShallow {
154      /**
155       * The ARN of the Asset.
156       */
157      Arn?: __string;
158      /**
159       * The time the Asset was initially submitted for Ingest.
160       */
161      CreatedAt?: __string;
162      /**
163       * The unique identifier for the Asset.
164       */
165      Id?: __string;
166      /**
167       * The ID of the PackagingGroup for the Asset.
168       */
169      PackagingGroupId?: __string;
170      /**
171       * The resource ID to include in SPEKE key requests.
172       */
173      ResourceId?: __string;
174      /**
175       * ARN of the source object in S3.
176       */
177      SourceArn?: __string;
178      /**
179       * The IAM role ARN used to access the source S3 bucket.
180       */
181      SourceRoleArn?: __string;
182      Tags?: Tags;
183    }
184    export interface Authorization {
185      /**
186       * The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
187       */
188      CdnIdentifierSecret: __string;
189      /**
190       * The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
191       */
192      SecretsRoleArn: __string;
193    }
194    export interface CmafEncryption {
195      /**
196       * An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
197       */
198      ConstantInitializationVector?: __string;
199      SpekeKeyProvider: SpekeKeyProvider;
200    }
201    export interface CmafPackage {
202      Encryption?: CmafEncryption;
203      /**
204       * A list of HLS manifest configurations.
205       */
206      HlsManifests: __listOfHlsManifest;
207      /**
208       * When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
209  
210       */
211      IncludeEncoderConfigurationInSegments?: __boolean;
212      /**
213       * Duration (in seconds) of each fragment. Actual fragments will be
214  rounded to the nearest multiple of the source fragment duration.
215  
216       */
217      SegmentDurationSeconds?: __integer;
218    }
219    export interface ConfigureLogsRequest {
220      EgressAccessLogs?: EgressAccessLogs;
221      /**
222       * The ID of a MediaPackage VOD PackagingGroup resource.
223       */
224      Id: __string;
225    }
226    export interface ConfigureLogsResponse {
227      /**
228       * The ARN of the PackagingGroup.
229       */
230      Arn?: __string;
231      Authorization?: Authorization;
232      /**
233       * The fully qualified domain name for Assets in the PackagingGroup.
234       */
235      DomainName?: __string;
236      EgressAccessLogs?: EgressAccessLogs;
237      /**
238       * The ID of the PackagingGroup.
239       */
240      Id?: __string;
241      Tags?: Tags;
242    }
243    export interface CreateAssetRequest {
244      /**
245       * The unique identifier for the Asset.
246       */
247      Id: __string;
248      /**
249       * The ID of the PackagingGroup for the Asset.
250       */
251      PackagingGroupId: __string;
252      /**
253       * The resource ID to include in SPEKE key requests.
254       */
255      ResourceId?: __string;
256      /**
257       * ARN of the source object in S3.
258       */
259      SourceArn: __string;
260      /**
261       * The IAM role ARN used to access the source S3 bucket.
262       */
263      SourceRoleArn: __string;
264      Tags?: Tags;
265    }
266    export interface CreateAssetResponse {
267      /**
268       * The ARN of the Asset.
269       */
270      Arn?: __string;
271      /**
272       * The time the Asset was initially submitted for Ingest.
273       */
274      CreatedAt?: __string;
275      /**
276       * The list of egress endpoints available for the Asset.
277       */
278      EgressEndpoints?: __listOfEgressEndpoint;
279      /**
280       * The unique identifier for the Asset.
281       */
282      Id?: __string;
283      /**
284       * The ID of the PackagingGroup for the Asset.
285       */
286      PackagingGroupId?: __string;
287      /**
288       * The resource ID to include in SPEKE key requests.
289       */
290      ResourceId?: __string;
291      /**
292       * ARN of the source object in S3.
293       */
294      SourceArn?: __string;
295      /**
296       * The IAM role_arn used to access the source S3 bucket.
297       */
298      SourceRoleArn?: __string;
299      Tags?: Tags;
300    }
301    export interface CreatePackagingConfigurationRequest {
302      CmafPackage?: CmafPackage;
303      DashPackage?: DashPackage;
304      HlsPackage?: HlsPackage;
305      /**
306       * The ID of the PackagingConfiguration.
307       */
308      Id: __string;
309      MssPackage?: MssPackage;
310      /**
311       * The ID of a PackagingGroup.
312       */
313      PackagingGroupId: __string;
314      Tags?: Tags;
315    }
316    export interface CreatePackagingConfigurationResponse {
317      /**
318       * The ARN of the PackagingConfiguration.
319       */
320      Arn?: __string;
321      CmafPackage?: CmafPackage;
322      DashPackage?: DashPackage;
323      HlsPackage?: HlsPackage;
324      /**
325       * The ID of the PackagingConfiguration.
326       */
327      Id?: __string;
328      MssPackage?: MssPackage;
329      /**
330       * The ID of a PackagingGroup.
331       */
332      PackagingGroupId?: __string;
333      Tags?: Tags;
334    }
335    export interface CreatePackagingGroupRequest {
336      Authorization?: Authorization;
337      EgressAccessLogs?: EgressAccessLogs;
338      /**
339       * The ID of the PackagingGroup.
340       */
341      Id: __string;
342      Tags?: Tags;
343    }
344    export interface CreatePackagingGroupResponse {
345      /**
346       * The ARN of the PackagingGroup.
347       */
348      Arn?: __string;
349      Authorization?: Authorization;
350      /**
351       * The fully qualified domain name for Assets in the PackagingGroup.
352       */
353      DomainName?: __string;
354      EgressAccessLogs?: EgressAccessLogs;
355      /**
356       * The ID of the PackagingGroup.
357       */
358      Id?: __string;
359      Tags?: Tags;
360    }
361    export interface DashEncryption {
362      SpekeKeyProvider: SpekeKeyProvider;
363    }
364    export interface DashManifest {
365      /**
366       * 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.
367       */
368      ManifestLayout?: ManifestLayout;
369      /**
370       * An optional string to include in the name of the manifest.
371       */
372      ManifestName?: __string;
373      /**
374       * Minimum duration (in seconds) that a player will buffer media before starting the presentation.
375       */
376      MinBufferTimeSeconds?: __integer;
377      /**
378       * The Dynamic Adaptive Streaming over HTTP (DASH) profile type.  When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
379       */
380      Profile?: Profile;
381      StreamSelection?: StreamSelection;
382    }
383    export interface DashPackage {
384      /**
385       * A list of DASH manifest configurations.
386       */
387      DashManifests: __listOfDashManifest;
388      Encryption?: DashEncryption;
389      /**
390       * When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
391  
392       */
393      IncludeEncoderConfigurationInSegments?: __boolean;
394      /**
395       * A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH)
396  Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not
397  be partitioned into more than one period. If the list contains "ADS", new periods will be created where
398  the Asset contains SCTE-35 ad markers.
399  
400       */
401      PeriodTriggers?: __listOf__PeriodTriggersElement;
402      /**
403       * Duration (in seconds) of each segment. Actual segments will be
404  rounded to the nearest multiple of the source segment duration.
405  
406       */
407      SegmentDurationSeconds?: __integer;
408      /**
409       * 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.
410       */
411      SegmentTemplateFormat?: SegmentTemplateFormat;
412    }
413    export interface DeleteAssetRequest {
414      /**
415       * The ID of the MediaPackage VOD Asset resource to delete.
416       */
417      Id: __string;
418    }
419    export interface DeleteAssetResponse {
420    }
421    export interface DeletePackagingConfigurationRequest {
422      /**
423       * The ID of the MediaPackage VOD PackagingConfiguration resource to delete.
424       */
425      Id: __string;
426    }
427    export interface DeletePackagingConfigurationResponse {
428    }
429    export interface DeletePackagingGroupRequest {
430      /**
431       * The ID of the MediaPackage VOD PackagingGroup resource to delete.
432       */
433      Id: __string;
434    }
435    export interface DeletePackagingGroupResponse {
436    }
437    export interface DescribeAssetRequest {
438      /**
439       * The ID of an MediaPackage VOD Asset resource.
440       */
441      Id: __string;
442    }
443    export interface DescribeAssetResponse {
444      /**
445       * The ARN of the Asset.
446       */
447      Arn?: __string;
448      /**
449       * The time the Asset was initially submitted for Ingest.
450       */
451      CreatedAt?: __string;
452      /**
453       * The list of egress endpoints available for the Asset.
454       */
455      EgressEndpoints?: __listOfEgressEndpoint;
456      /**
457       * The unique identifier for the Asset.
458       */
459      Id?: __string;
460      /**
461       * The ID of the PackagingGroup for the Asset.
462       */
463      PackagingGroupId?: __string;
464      /**
465       * The resource ID to include in SPEKE key requests.
466       */
467      ResourceId?: __string;
468      /**
469       * ARN of the source object in S3.
470       */
471      SourceArn?: __string;
472      /**
473       * The IAM role_arn used to access the source S3 bucket.
474       */
475      SourceRoleArn?: __string;
476      Tags?: Tags;
477    }
478    export interface DescribePackagingConfigurationRequest {
479      /**
480       * The ID of a MediaPackage VOD PackagingConfiguration resource.
481       */
482      Id: __string;
483    }
484    export interface DescribePackagingConfigurationResponse {
485      /**
486       * The ARN of the PackagingConfiguration.
487       */
488      Arn?: __string;
489      CmafPackage?: CmafPackage;
490      DashPackage?: DashPackage;
491      HlsPackage?: HlsPackage;
492      /**
493       * The ID of the PackagingConfiguration.
494       */
495      Id?: __string;
496      MssPackage?: MssPackage;
497      /**
498       * The ID of a PackagingGroup.
499       */
500      PackagingGroupId?: __string;
501      Tags?: Tags;
502    }
503    export interface DescribePackagingGroupRequest {
504      /**
505       * The ID of a MediaPackage VOD PackagingGroup resource.
506       */
507      Id: __string;
508    }
509    export interface DescribePackagingGroupResponse {
510      /**
511       * The ARN of the PackagingGroup.
512       */
513      Arn?: __string;
514      Authorization?: Authorization;
515      /**
516       * The fully qualified domain name for Assets in the PackagingGroup.
517       */
518      DomainName?: __string;
519      EgressAccessLogs?: EgressAccessLogs;
520      /**
521       * The ID of the PackagingGroup.
522       */
523      Id?: __string;
524      Tags?: Tags;
525    }
526    export interface EgressAccessLogs {
527      /**
528       * Customize the log group name.
529       */
530      LogGroupName?: __string;
531    }
532    export interface EgressEndpoint {
533      /**
534       * The ID of the PackagingConfiguration being applied to the Asset.
535       */
536      PackagingConfigurationId?: __string;
537      /**
538       * The URL of the parent manifest for the repackaged Asset.
539       */
540      Url?: __string;
541    }
542    export type EncryptionMethod = "AES_128"|"SAMPLE_AES"|string;
543    export interface HlsEncryption {
544      /**
545       * A constant initialization vector for encryption (optional).
546  When not specified the initialization vector will be periodically rotated.
547  
548       */
549      ConstantInitializationVector?: __string;
550      /**
551       * The encryption method to use.
552       */
553      EncryptionMethod?: EncryptionMethod;
554      SpekeKeyProvider: SpekeKeyProvider;
555    }
556    export interface HlsManifest {
557      /**
558       * This setting controls how ad markers are included in the packaged OriginEndpoint.
559  "NONE" will omit all SCTE-35 ad markers from the output.
560  "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
561  markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest.
562  "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35
563  messages in the input source.
564  
565       */
566      AdMarkers?: AdMarkers;
567      /**
568       * When enabled, an I-Frame only stream will be included in the output.
569       */
570      IncludeIframeOnlyStream?: __boolean;
571      /**
572       * An optional string to include in the name of the manifest.
573       */
574      ManifestName?: __string;
575      /**
576       * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag
577  inserted into manifests. Additionally, when an interval is specified
578  ID3Timed Metadata messages will be generated every 5 seconds using the
579  ingest time of the content.
580  If the interval is not specified, or set to 0, then
581  no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no
582  ID3Timed Metadata messages will be generated. Note that irrespective
583  of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,
584  it will be passed through to HLS output.
585  
586       */
587      ProgramDateTimeIntervalSeconds?: __integer;
588      /**
589       * When enabled, the EXT-X-KEY tag will be repeated in output manifests.
590       */
591      RepeatExtXKey?: __boolean;
592      StreamSelection?: StreamSelection;
593    }
594    export interface HlsPackage {
595      Encryption?: HlsEncryption;
596      /**
597       * A list of HLS manifest configurations.
598       */
599      HlsManifests: __listOfHlsManifest;
600      /**
601       * Duration (in seconds) of each fragment. Actual fragments will be
602  rounded to the nearest multiple of the source fragment duration.
603  
604       */
605      SegmentDurationSeconds?: __integer;
606      /**
607       * When enabled, audio streams will be placed in rendition groups in the output.
608       */
609      UseAudioRenditionGroup?: __boolean;
610    }
611    export interface ListAssetsRequest {
612      /**
613       * Upper bound on number of records to return.
614       */
615      MaxResults?: MaxResults;
616      /**
617       * A token used to resume pagination from the end of a previous request.
618       */
619      NextToken?: __string;
620      /**
621       * Returns Assets associated with the specified PackagingGroup.
622       */
623      PackagingGroupId?: __string;
624    }
625    export interface ListAssetsResponse {
626      /**
627       * A list of MediaPackage VOD Asset resources.
628       */
629      Assets?: __listOfAssetShallow;
630      /**
631       * A token that can be used to resume pagination from the end of the collection.
632       */
633      NextToken?: __string;
634    }
635    export interface ListPackagingConfigurationsRequest {
636      /**
637       * Upper bound on number of records to return.
638       */
639      MaxResults?: MaxResults;
640      /**
641       * A token used to resume pagination from the end of a previous request.
642       */
643      NextToken?: __string;
644      /**
645       * Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup.
646       */
647      PackagingGroupId?: __string;
648    }
649    export interface ListPackagingConfigurationsResponse {
650      /**
651       * A token that can be used to resume pagination from the end of the collection.
652       */
653      NextToken?: __string;
654      /**
655       * A list of MediaPackage VOD PackagingConfiguration resources.
656       */
657      PackagingConfigurations?: __listOfPackagingConfiguration;
658    }
659    export interface ListPackagingGroupsRequest {
660      /**
661       * Upper bound on number of records to return.
662       */
663      MaxResults?: MaxResults;
664      /**
665       * A token used to resume pagination from the end of a previous request.
666       */
667      NextToken?: __string;
668    }
669    export interface ListPackagingGroupsResponse {
670      /**
671       * A token that can be used to resume pagination from the end of the collection.
672       */
673      NextToken?: __string;
674      /**
675       * A list of MediaPackage VOD PackagingGroup resources.
676       */
677      PackagingGroups?: __listOfPackagingGroup;
678    }
679    export interface ListTagsForResourceRequest {
680      /**
681       * The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource.
682       */
683      ResourceArn: __string;
684    }
685    export interface ListTagsForResourceResponse {
686      /**
687       * A collection of tags associated with a resource
688       */
689      Tags?: __mapOf__string;
690    }
691    export type ManifestLayout = "FULL"|"COMPACT"|string;
692    export type MaxResults = number;
693    export interface MssEncryption {
694      SpekeKeyProvider: SpekeKeyProvider;
695    }
696    export interface MssManifest {
697      /**
698       * An optional string to include in the name of the manifest.
699       */
700      ManifestName?: __string;
701      StreamSelection?: StreamSelection;
702    }
703    export interface MssPackage {
704      Encryption?: MssEncryption;
705      /**
706       * A list of MSS manifest configurations.
707       */
708      MssManifests: __listOfMssManifest;
709      /**
710       * The duration (in seconds) of each segment.
711       */
712      SegmentDurationSeconds?: __integer;
713    }
714    export interface PackagingConfiguration {
715      /**
716       * The ARN of the PackagingConfiguration.
717       */
718      Arn?: __string;
719      CmafPackage?: CmafPackage;
720      DashPackage?: DashPackage;
721      HlsPackage?: HlsPackage;
722      /**
723       * The ID of the PackagingConfiguration.
724       */
725      Id?: __string;
726      MssPackage?: MssPackage;
727      /**
728       * The ID of a PackagingGroup.
729       */
730      PackagingGroupId?: __string;
731      Tags?: Tags;
732    }
733    export interface PackagingGroup {
734      /**
735       * The ARN of the PackagingGroup.
736       */
737      Arn?: __string;
738      Authorization?: Authorization;
739      /**
740       * The fully qualified domain name for Assets in the PackagingGroup.
741       */
742      DomainName?: __string;
743      EgressAccessLogs?: EgressAccessLogs;
744      /**
745       * The ID of the PackagingGroup.
746       */
747      Id?: __string;
748      Tags?: Tags;
749    }
750    export type Profile = "NONE"|"HBBTV_1_5"|string;
751    export type SegmentTemplateFormat = "NUMBER_WITH_TIMELINE"|"TIME_WITH_TIMELINE"|"NUMBER_WITH_DURATION"|string;
752    export interface SpekeKeyProvider {
753      /**
754       * An Amazon Resource Name (ARN) of an IAM role that AWS Elemental
755  MediaPackage will assume when accessing the key provider service.
756  
757       */
758      RoleArn: __string;
759      /**
760       * The system IDs to include in key requests.
761       */
762      SystemIds: __listOf__string;
763      /**
764       * The URL of the external key provider service.
765       */
766      Url: __string;
767    }
768    export type StreamOrder = "ORIGINAL"|"VIDEO_BITRATE_ASCENDING"|"VIDEO_BITRATE_DESCENDING"|string;
769    export interface StreamSelection {
770      /**
771       * The maximum video bitrate (bps) to include in output.
772       */
773      MaxVideoBitsPerSecond?: __integer;
774      /**
775       * The minimum video bitrate (bps) to include in output.
776       */
777      MinVideoBitsPerSecond?: __integer;
778      /**
779       * A directive that determines the order of streams in the output.
780       */
781      StreamOrder?: StreamOrder;
782    }
783    export interface TagResourceRequest {
784      /**
785       * The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource.
786       */
787      ResourceArn: __string;
788      /**
789       * A collection of tags associated with a resource
790       */
791      Tags: __mapOf__string;
792    }
793    export type Tags = {[key: string]: __string};
794    export interface UntagResourceRequest {
795      /**
796       * The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource.
797       */
798      ResourceArn: __string;
799      /**
800       * A comma-separated list of the tag keys to remove from the resource.
801       */
802      TagKeys: __listOf__string;
803    }
804    export interface UpdatePackagingGroupRequest {
805      Authorization?: Authorization;
806      /**
807       * The ID of a MediaPackage VOD PackagingGroup resource.
808       */
809      Id: __string;
810    }
811    export interface UpdatePackagingGroupResponse {
812      /**
813       * The ARN of the PackagingGroup.
814       */
815      Arn?: __string;
816      Authorization?: Authorization;
817      /**
818       * The fully qualified domain name for Assets in the PackagingGroup.
819       */
820      DomainName?: __string;
821      EgressAccessLogs?: EgressAccessLogs;
822      /**
823       * The ID of the PackagingGroup.
824       */
825      Id?: __string;
826      Tags?: Tags;
827    }
828    export type __PeriodTriggersElement = "ADS"|string;
829    export type __boolean = boolean;
830    export type __integer = number;
831    export type __listOfAssetShallow = AssetShallow[];
832    export type __listOfDashManifest = DashManifest[];
833    export type __listOfEgressEndpoint = EgressEndpoint[];
834    export type __listOfHlsManifest = HlsManifest[];
835    export type __listOfMssManifest = MssManifest[];
836    export type __listOfPackagingConfiguration = PackagingConfiguration[];
837    export type __listOfPackagingGroup = PackagingGroup[];
838    export type __listOf__PeriodTriggersElement = __PeriodTriggersElement[];
839    export type __listOf__string = __string[];
840    export type __mapOf__string = {[key: string]: __string};
841    export type __string = string;
842    /**
843     * 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.
844     */
845    export type apiVersion = "2018-11-07"|"latest"|string;
846    export interface ClientApiVersions {
847      /**
848       * 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.
849       */
850      apiVersion?: apiVersion;
851    }
852    export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
853    /**
854     * Contains interfaces for use with the MediaPackageVod client.
855     */
856    export import Types = MediaPackageVod;
857  }
858  export = MediaPackageVod;