mediapackage.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 MediaPackage extends Service {
   9    /**
  10     * Constructs a service object. This object has one method for each API operation.
  11     */
  12    constructor(options?: MediaPackage.Types.ClientConfiguration)
  13    config: Config & MediaPackage.Types.ClientConfiguration;
  14    /**
  15     * Changes the Channel's properities to configure log subscription
  16     */
  17    configureLogs(params: MediaPackage.Types.ConfigureLogsRequest, callback?: (err: AWSError, data: MediaPackage.Types.ConfigureLogsResponse) => void): Request<MediaPackage.Types.ConfigureLogsResponse, AWSError>;
  18    /**
  19     * Changes the Channel's properities to configure log subscription
  20     */
  21    configureLogs(callback?: (err: AWSError, data: MediaPackage.Types.ConfigureLogsResponse) => void): Request<MediaPackage.Types.ConfigureLogsResponse, AWSError>;
  22    /**
  23     * Creates a new Channel.
  24     */
  25    createChannel(params: MediaPackage.Types.CreateChannelRequest, callback?: (err: AWSError, data: MediaPackage.Types.CreateChannelResponse) => void): Request<MediaPackage.Types.CreateChannelResponse, AWSError>;
  26    /**
  27     * Creates a new Channel.
  28     */
  29    createChannel(callback?: (err: AWSError, data: MediaPackage.Types.CreateChannelResponse) => void): Request<MediaPackage.Types.CreateChannelResponse, AWSError>;
  30    /**
  31     * Creates a new HarvestJob record.
  32     */
  33    createHarvestJob(params: MediaPackage.Types.CreateHarvestJobRequest, callback?: (err: AWSError, data: MediaPackage.Types.CreateHarvestJobResponse) => void): Request<MediaPackage.Types.CreateHarvestJobResponse, AWSError>;
  34    /**
  35     * Creates a new HarvestJob record.
  36     */
  37    createHarvestJob(callback?: (err: AWSError, data: MediaPackage.Types.CreateHarvestJobResponse) => void): Request<MediaPackage.Types.CreateHarvestJobResponse, AWSError>;
  38    /**
  39     * Creates a new OriginEndpoint record.
  40     */
  41    createOriginEndpoint(params: MediaPackage.Types.CreateOriginEndpointRequest, callback?: (err: AWSError, data: MediaPackage.Types.CreateOriginEndpointResponse) => void): Request<MediaPackage.Types.CreateOriginEndpointResponse, AWSError>;
  42    /**
  43     * Creates a new OriginEndpoint record.
  44     */
  45    createOriginEndpoint(callback?: (err: AWSError, data: MediaPackage.Types.CreateOriginEndpointResponse) => void): Request<MediaPackage.Types.CreateOriginEndpointResponse, AWSError>;
  46    /**
  47     * Deletes an existing Channel.
  48     */
  49    deleteChannel(params: MediaPackage.Types.DeleteChannelRequest, callback?: (err: AWSError, data: MediaPackage.Types.DeleteChannelResponse) => void): Request<MediaPackage.Types.DeleteChannelResponse, AWSError>;
  50    /**
  51     * Deletes an existing Channel.
  52     */
  53    deleteChannel(callback?: (err: AWSError, data: MediaPackage.Types.DeleteChannelResponse) => void): Request<MediaPackage.Types.DeleteChannelResponse, AWSError>;
  54    /**
  55     * Deletes an existing OriginEndpoint.
  56     */
  57    deleteOriginEndpoint(params: MediaPackage.Types.DeleteOriginEndpointRequest, callback?: (err: AWSError, data: MediaPackage.Types.DeleteOriginEndpointResponse) => void): Request<MediaPackage.Types.DeleteOriginEndpointResponse, AWSError>;
  58    /**
  59     * Deletes an existing OriginEndpoint.
  60     */
  61    deleteOriginEndpoint(callback?: (err: AWSError, data: MediaPackage.Types.DeleteOriginEndpointResponse) => void): Request<MediaPackage.Types.DeleteOriginEndpointResponse, AWSError>;
  62    /**
  63     * Gets details about a Channel.
  64     */
  65    describeChannel(params: MediaPackage.Types.DescribeChannelRequest, callback?: (err: AWSError, data: MediaPackage.Types.DescribeChannelResponse) => void): Request<MediaPackage.Types.DescribeChannelResponse, AWSError>;
  66    /**
  67     * Gets details about a Channel.
  68     */
  69    describeChannel(callback?: (err: AWSError, data: MediaPackage.Types.DescribeChannelResponse) => void): Request<MediaPackage.Types.DescribeChannelResponse, AWSError>;
  70    /**
  71     * Gets details about an existing HarvestJob.
  72     */
  73    describeHarvestJob(params: MediaPackage.Types.DescribeHarvestJobRequest, callback?: (err: AWSError, data: MediaPackage.Types.DescribeHarvestJobResponse) => void): Request<MediaPackage.Types.DescribeHarvestJobResponse, AWSError>;
  74    /**
  75     * Gets details about an existing HarvestJob.
  76     */
  77    describeHarvestJob(callback?: (err: AWSError, data: MediaPackage.Types.DescribeHarvestJobResponse) => void): Request<MediaPackage.Types.DescribeHarvestJobResponse, AWSError>;
  78    /**
  79     * Gets details about an existing OriginEndpoint.
  80     */
  81    describeOriginEndpoint(params: MediaPackage.Types.DescribeOriginEndpointRequest, callback?: (err: AWSError, data: MediaPackage.Types.DescribeOriginEndpointResponse) => void): Request<MediaPackage.Types.DescribeOriginEndpointResponse, AWSError>;
  82    /**
  83     * Gets details about an existing OriginEndpoint.
  84     */
  85    describeOriginEndpoint(callback?: (err: AWSError, data: MediaPackage.Types.DescribeOriginEndpointResponse) => void): Request<MediaPackage.Types.DescribeOriginEndpointResponse, AWSError>;
  86    /**
  87     * Returns a collection of Channels.
  88     */
  89    listChannels(params: MediaPackage.Types.ListChannelsRequest, callback?: (err: AWSError, data: MediaPackage.Types.ListChannelsResponse) => void): Request<MediaPackage.Types.ListChannelsResponse, AWSError>;
  90    /**
  91     * Returns a collection of Channels.
  92     */
  93    listChannels(callback?: (err: AWSError, data: MediaPackage.Types.ListChannelsResponse) => void): Request<MediaPackage.Types.ListChannelsResponse, AWSError>;
  94    /**
  95     * Returns a collection of HarvestJob records.
  96     */
  97    listHarvestJobs(params: MediaPackage.Types.ListHarvestJobsRequest, callback?: (err: AWSError, data: MediaPackage.Types.ListHarvestJobsResponse) => void): Request<MediaPackage.Types.ListHarvestJobsResponse, AWSError>;
  98    /**
  99     * Returns a collection of HarvestJob records.
 100     */
 101    listHarvestJobs(callback?: (err: AWSError, data: MediaPackage.Types.ListHarvestJobsResponse) => void): Request<MediaPackage.Types.ListHarvestJobsResponse, AWSError>;
 102    /**
 103     * Returns a collection of OriginEndpoint records.
 104     */
 105    listOriginEndpoints(params: MediaPackage.Types.ListOriginEndpointsRequest, callback?: (err: AWSError, data: MediaPackage.Types.ListOriginEndpointsResponse) => void): Request<MediaPackage.Types.ListOriginEndpointsResponse, AWSError>;
 106    /**
 107     * Returns a collection of OriginEndpoint records.
 108     */
 109    listOriginEndpoints(callback?: (err: AWSError, data: MediaPackage.Types.ListOriginEndpointsResponse) => void): Request<MediaPackage.Types.ListOriginEndpointsResponse, AWSError>;
 110    /**
 111     * 
 112     */
 113    listTagsForResource(params: MediaPackage.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: MediaPackage.Types.ListTagsForResourceResponse) => void): Request<MediaPackage.Types.ListTagsForResourceResponse, AWSError>;
 114    /**
 115     * 
 116     */
 117    listTagsForResource(callback?: (err: AWSError, data: MediaPackage.Types.ListTagsForResourceResponse) => void): Request<MediaPackage.Types.ListTagsForResourceResponse, AWSError>;
 118    /**
 119     * Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
 120     */
 121    rotateChannelCredentials(params: MediaPackage.Types.RotateChannelCredentialsRequest, callback?: (err: AWSError, data: MediaPackage.Types.RotateChannelCredentialsResponse) => void): Request<MediaPackage.Types.RotateChannelCredentialsResponse, AWSError>;
 122    /**
 123     * Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
 124     */
 125    rotateChannelCredentials(callback?: (err: AWSError, data: MediaPackage.Types.RotateChannelCredentialsResponse) => void): Request<MediaPackage.Types.RotateChannelCredentialsResponse, AWSError>;
 126    /**
 127     * Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.
 128     */
 129    rotateIngestEndpointCredentials(params: MediaPackage.Types.RotateIngestEndpointCredentialsRequest, callback?: (err: AWSError, data: MediaPackage.Types.RotateIngestEndpointCredentialsResponse) => void): Request<MediaPackage.Types.RotateIngestEndpointCredentialsResponse, AWSError>;
 130    /**
 131     * Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.
 132     */
 133    rotateIngestEndpointCredentials(callback?: (err: AWSError, data: MediaPackage.Types.RotateIngestEndpointCredentialsResponse) => void): Request<MediaPackage.Types.RotateIngestEndpointCredentialsResponse, AWSError>;
 134    /**
 135     * 
 136     */
 137    tagResource(params: MediaPackage.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
 138    /**
 139     * 
 140     */
 141    tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
 142    /**
 143     * 
 144     */
 145    untagResource(params: MediaPackage.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
 146    /**
 147     * 
 148     */
 149    untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
 150    /**
 151     * Updates an existing Channel.
 152     */
 153    updateChannel(params: MediaPackage.Types.UpdateChannelRequest, callback?: (err: AWSError, data: MediaPackage.Types.UpdateChannelResponse) => void): Request<MediaPackage.Types.UpdateChannelResponse, AWSError>;
 154    /**
 155     * Updates an existing Channel.
 156     */
 157    updateChannel(callback?: (err: AWSError, data: MediaPackage.Types.UpdateChannelResponse) => void): Request<MediaPackage.Types.UpdateChannelResponse, AWSError>;
 158    /**
 159     * Updates an existing OriginEndpoint.
 160     */
 161    updateOriginEndpoint(params: MediaPackage.Types.UpdateOriginEndpointRequest, callback?: (err: AWSError, data: MediaPackage.Types.UpdateOriginEndpointResponse) => void): Request<MediaPackage.Types.UpdateOriginEndpointResponse, AWSError>;
 162    /**
 163     * Updates an existing OriginEndpoint.
 164     */
 165    updateOriginEndpoint(callback?: (err: AWSError, data: MediaPackage.Types.UpdateOriginEndpointResponse) => void): Request<MediaPackage.Types.UpdateOriginEndpointResponse, AWSError>;
 166  }
 167  declare namespace MediaPackage {
 168    export type AdMarkers = "NONE"|"SCTE35_ENHANCED"|"PASSTHROUGH"|"DATERANGE"|string;
 169    export type AdTriggers = __AdTriggersElement[];
 170    export type AdsOnDeliveryRestrictions = "NONE"|"RESTRICTED"|"UNRESTRICTED"|"BOTH"|string;
 171    export interface Authorization {
 172      /**
 173       * The Amazon Resource Name (ARN) for the secret in Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint.
 174  
 175       */
 176      CdnIdentifierSecret: __string;
 177      /**
 178       * The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
 179  
 180       */
 181      SecretsRoleArn: __string;
 182    }
 183    export interface Channel {
 184      /**
 185       * The Amazon Resource Name (ARN) assigned to the Channel.
 186       */
 187      Arn?: __string;
 188      /**
 189       * A short text description of the Channel.
 190       */
 191      Description?: __string;
 192      EgressAccessLogs?: EgressAccessLogs;
 193      HlsIngest?: HlsIngest;
 194      /**
 195       * The ID of the Channel.
 196       */
 197      Id?: __string;
 198      IngressAccessLogs?: IngressAccessLogs;
 199      Tags?: Tags;
 200    }
 201    export interface CmafEncryption {
 202      /**
 203       * 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).
 204       */
 205      ConstantInitializationVector?: __string;
 206      /**
 207       * Time (in seconds) between each encryption key rotation.
 208       */
 209      KeyRotationIntervalSeconds?: __integer;
 210      SpekeKeyProvider: SpekeKeyProvider;
 211    }
 212    export interface CmafPackage {
 213      Encryption?: CmafEncryption;
 214      /**
 215       * A list of HLS manifest configurations
 216       */
 217      HlsManifests?: __listOfHlsManifest;
 218      /**
 219       * Duration (in seconds) of each segment. Actual segments will be
 220  rounded to the nearest multiple of the source segment duration.
 221  
 222       */
 223      SegmentDurationSeconds?: __integer;
 224      /**
 225       * An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.
 226       */
 227      SegmentPrefix?: __string;
 228      StreamSelection?: StreamSelection;
 229    }
 230    export interface CmafPackageCreateOrUpdateParameters {
 231      Encryption?: CmafEncryption;
 232      /**
 233       * A list of HLS manifest configurations
 234       */
 235      HlsManifests?: __listOfHlsManifestCreateOrUpdateParameters;
 236      /**
 237       * Duration (in seconds) of each segment. Actual segments will be
 238  rounded to the nearest multiple of the source segment duration.
 239  
 240       */
 241      SegmentDurationSeconds?: __integer;
 242      /**
 243       * An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.
 244       */
 245      SegmentPrefix?: __string;
 246      StreamSelection?: StreamSelection;
 247    }
 248    export interface ConfigureLogsRequest {
 249      EgressAccessLogs?: EgressAccessLogs;
 250      /**
 251       * The ID of the channel to log subscription.
 252       */
 253      Id: __string;
 254      IngressAccessLogs?: IngressAccessLogs;
 255    }
 256    export interface ConfigureLogsResponse {
 257      /**
 258       * The Amazon Resource Name (ARN) assigned to the Channel.
 259       */
 260      Arn?: __string;
 261      /**
 262       * A short text description of the Channel.
 263       */
 264      Description?: __string;
 265      EgressAccessLogs?: EgressAccessLogs;
 266      HlsIngest?: HlsIngest;
 267      /**
 268       * The ID of the Channel.
 269       */
 270      Id?: __string;
 271      IngressAccessLogs?: IngressAccessLogs;
 272      Tags?: Tags;
 273    }
 274    export interface CreateChannelRequest {
 275      /**
 276       * A short text description of the Channel.
 277       */
 278      Description?: __string;
 279      /**
 280       * The ID of the Channel. The ID must be unique within the region and it
 281  cannot be changed after a Channel is created.
 282  
 283       */
 284      Id: __string;
 285      Tags?: Tags;
 286    }
 287    export interface CreateChannelResponse {
 288      /**
 289       * The Amazon Resource Name (ARN) assigned to the Channel.
 290       */
 291      Arn?: __string;
 292      /**
 293       * A short text description of the Channel.
 294       */
 295      Description?: __string;
 296      EgressAccessLogs?: EgressAccessLogs;
 297      HlsIngest?: HlsIngest;
 298      /**
 299       * The ID of the Channel.
 300       */
 301      Id?: __string;
 302      IngressAccessLogs?: IngressAccessLogs;
 303      Tags?: Tags;
 304    }
 305    export interface CreateHarvestJobRequest {
 306      /**
 307       * The end of the time-window which will be harvested
 308  
 309       */
 310      EndTime: __string;
 311      /**
 312       * The ID of the HarvestJob. The ID must be unique within the region
 313  and it cannot be changed after the HarvestJob is submitted
 314  
 315       */
 316      Id: __string;
 317      /**
 318       * The ID of the OriginEndpoint that the HarvestJob will harvest from.
 319  This cannot be changed after the HarvestJob is submitted.
 320  
 321       */
 322      OriginEndpointId: __string;
 323      S3Destination: S3Destination;
 324      /**
 325       * The start of the time-window which will be harvested
 326  
 327       */
 328      StartTime: __string;
 329    }
 330    export interface CreateHarvestJobResponse {
 331      /**
 332       * The Amazon Resource Name (ARN) assigned to the HarvestJob.
 333  
 334       */
 335      Arn?: __string;
 336      /**
 337       * The ID of the Channel that the HarvestJob will harvest from.
 338  
 339       */
 340      ChannelId?: __string;
 341      /**
 342       * The time the HarvestJob was submitted
 343  
 344       */
 345      CreatedAt?: __string;
 346      /**
 347       * The end of the time-window which will be harvested.
 348  
 349       */
 350      EndTime?: __string;
 351      /**
 352       * The ID of the HarvestJob. The ID must be unique within the region
 353  and it cannot be changed after the HarvestJob is submitted.
 354  
 355       */
 356      Id?: __string;
 357      /**
 358       * The ID of the OriginEndpoint that the HarvestJob will harvest from.
 359  This cannot be changed after the HarvestJob is submitted.
 360  
 361       */
 362      OriginEndpointId?: __string;
 363      S3Destination?: S3Destination;
 364      /**
 365       * The start of the time-window which will be harvested.
 366  
 367       */
 368      StartTime?: __string;
 369      /**
 370       * The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for
 371  HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will
 372  include an explanation of why the HarvestJob failed.
 373  
 374       */
 375      Status?: Status;
 376    }
 377    export interface CreateOriginEndpointRequest {
 378      Authorization?: Authorization;
 379      /**
 380       * The ID of the Channel that the OriginEndpoint will be associated with.
 381  This cannot be changed after the OriginEndpoint is created.
 382  
 383       */
 384      ChannelId: __string;
 385      CmafPackage?: CmafPackageCreateOrUpdateParameters;
 386      DashPackage?: DashPackage;
 387      /**
 388       * A short text description of the OriginEndpoint.
 389       */
 390      Description?: __string;
 391      HlsPackage?: HlsPackage;
 392      /**
 393       * The ID of the OriginEndpoint.  The ID must be unique within the region
 394  and it cannot be changed after the OriginEndpoint is created.
 395  
 396       */
 397      Id: __string;
 398      /**
 399       * A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").
 400       */
 401      ManifestName?: __string;
 402      MssPackage?: MssPackage;
 403      /**
 404       * Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint
 405  may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be
 406  requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
 407  
 408       */
 409      Origination?: Origination;
 410      /**
 411       * Maximum duration (seconds) of content to retain for startover playback.
 412  If not specified, startover playback will be disabled for the OriginEndpoint.
 413  
 414       */
 415      StartoverWindowSeconds?: __integer;
 416      Tags?: Tags;
 417      /**
 418       * Amount of delay (seconds) to enforce on the playback of live content.
 419  If not specified, there will be no time delay in effect for the OriginEndpoint.
 420  
 421       */
 422      TimeDelaySeconds?: __integer;
 423      /**
 424       * A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
 425       */
 426      Whitelist?: __listOf__string;
 427    }
 428    export interface CreateOriginEndpointResponse {
 429      /**
 430       * The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
 431       */
 432      Arn?: __string;
 433      Authorization?: Authorization;
 434      /**
 435       * The ID of the Channel the OriginEndpoint is associated with.
 436       */
 437      ChannelId?: __string;
 438      CmafPackage?: CmafPackage;
 439      DashPackage?: DashPackage;
 440      /**
 441       * A short text description of the OriginEndpoint.
 442       */
 443      Description?: __string;
 444      HlsPackage?: HlsPackage;
 445      /**
 446       * The ID of the OriginEndpoint.
 447       */
 448      Id?: __string;
 449      /**
 450       * A short string appended to the end of the OriginEndpoint URL.
 451       */
 452      ManifestName?: __string;
 453      MssPackage?: MssPackage;
 454      /**
 455       * Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint
 456  may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be
 457  requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
 458  
 459       */
 460      Origination?: Origination;
 461      /**
 462       * Maximum duration (seconds) of content to retain for startover playback.
 463  If not specified, startover playback will be disabled for the OriginEndpoint.
 464  
 465       */
 466      StartoverWindowSeconds?: __integer;
 467      Tags?: Tags;
 468      /**
 469       * Amount of delay (seconds) to enforce on the playback of live content.
 470  If not specified, there will be no time delay in effect for the OriginEndpoint.
 471  
 472       */
 473      TimeDelaySeconds?: __integer;
 474      /**
 475       * The URL of the packaged OriginEndpoint for consumption.
 476       */
 477      Url?: __string;
 478      /**
 479       * A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
 480       */
 481      Whitelist?: __listOf__string;
 482    }
 483    export interface DashEncryption {
 484      /**
 485       * Time (in seconds) between each encryption key rotation.
 486       */
 487      KeyRotationIntervalSeconds?: __integer;
 488      SpekeKeyProvider: SpekeKeyProvider;
 489    }
 490    export interface DashPackage {
 491      AdTriggers?: AdTriggers;
 492      AdsOnDeliveryRestrictions?: AdsOnDeliveryRestrictions;
 493      Encryption?: DashEncryption;
 494      /**
 495       * 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.
 496       */
 497      ManifestLayout?: ManifestLayout;
 498      /**
 499       * Time window (in seconds) contained in each manifest.
 500       */
 501      ManifestWindowSeconds?: __integer;
 502      /**
 503       * Minimum duration (in seconds) that a player will buffer media before starting the presentation.
 504       */
 505      MinBufferTimeSeconds?: __integer;
 506      /**
 507       * Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD).
 508       */
 509      MinUpdatePeriodSeconds?: __integer;
 510      /**
 511       * A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH)
 512  Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not
 513  be partitioned into more than one period. If the list contains "ADS", new periods will be created where
 514  the Channel source contains SCTE-35 ad markers.
 515  
 516       */
 517      PeriodTriggers?: __listOf__PeriodTriggersElement;
 518      /**
 519       * The Dynamic Adaptive Streaming over HTTP (DASH) profile type.  When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
 520       */
 521      Profile?: Profile;
 522      /**
 523       * Duration (in seconds) of each segment. Actual segments will be
 524  rounded to the nearest multiple of the source segment duration.
 525  
 526       */
 527      SegmentDurationSeconds?: __integer;
 528      /**
 529       * 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.
 530       */
 531      SegmentTemplateFormat?: SegmentTemplateFormat;
 532      StreamSelection?: StreamSelection;
 533      /**
 534       * Duration (in seconds) to delay live content before presentation.
 535       */
 536      SuggestedPresentationDelaySeconds?: __integer;
 537      /**
 538       * Determines the type of UTCTiming included in the Media Presentation Description (MPD)
 539       */
 540      UtcTiming?: UtcTiming;
 541      /**
 542       * Specifies the value attribute of the UTCTiming field when utcTiming is set to HTTP-ISO or HTTP-HEAD
 543       */
 544      UtcTimingUri?: __string;
 545    }
 546    export interface DeleteChannelRequest {
 547      /**
 548       * The ID of the Channel to delete.
 549       */
 550      Id: __string;
 551    }
 552    export interface DeleteChannelResponse {
 553    }
 554    export interface DeleteOriginEndpointRequest {
 555      /**
 556       * The ID of the OriginEndpoint to delete.
 557       */
 558      Id: __string;
 559    }
 560    export interface DeleteOriginEndpointResponse {
 561    }
 562    export interface DescribeChannelRequest {
 563      /**
 564       * The ID of a Channel.
 565       */
 566      Id: __string;
 567    }
 568    export interface DescribeChannelResponse {
 569      /**
 570       * The Amazon Resource Name (ARN) assigned to the Channel.
 571       */
 572      Arn?: __string;
 573      /**
 574       * A short text description of the Channel.
 575       */
 576      Description?: __string;
 577      EgressAccessLogs?: EgressAccessLogs;
 578      HlsIngest?: HlsIngest;
 579      /**
 580       * The ID of the Channel.
 581       */
 582      Id?: __string;
 583      IngressAccessLogs?: IngressAccessLogs;
 584      Tags?: Tags;
 585    }
 586    export interface DescribeHarvestJobRequest {
 587      /**
 588       * The ID of the HarvestJob.
 589       */
 590      Id: __string;
 591    }
 592    export interface DescribeHarvestJobResponse {
 593      /**
 594       * The Amazon Resource Name (ARN) assigned to the HarvestJob.
 595  
 596       */
 597      Arn?: __string;
 598      /**
 599       * The ID of the Channel that the HarvestJob will harvest from.
 600  
 601       */
 602      ChannelId?: __string;
 603      /**
 604       * The time the HarvestJob was submitted
 605  
 606       */
 607      CreatedAt?: __string;
 608      /**
 609       * The end of the time-window which will be harvested.
 610  
 611       */
 612      EndTime?: __string;
 613      /**
 614       * The ID of the HarvestJob. The ID must be unique within the region
 615  and it cannot be changed after the HarvestJob is submitted.
 616  
 617       */
 618      Id?: __string;
 619      /**
 620       * The ID of the OriginEndpoint that the HarvestJob will harvest from.
 621  This cannot be changed after the HarvestJob is submitted.
 622  
 623       */
 624      OriginEndpointId?: __string;
 625      S3Destination?: S3Destination;
 626      /**
 627       * The start of the time-window which will be harvested.
 628  
 629       */
 630      StartTime?: __string;
 631      /**
 632       * The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for
 633  HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will
 634  include an explanation of why the HarvestJob failed.
 635  
 636       */
 637      Status?: Status;
 638    }
 639    export interface DescribeOriginEndpointRequest {
 640      /**
 641       * The ID of the OriginEndpoint.
 642       */
 643      Id: __string;
 644    }
 645    export interface DescribeOriginEndpointResponse {
 646      /**
 647       * The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
 648       */
 649      Arn?: __string;
 650      Authorization?: Authorization;
 651      /**
 652       * The ID of the Channel the OriginEndpoint is associated with.
 653       */
 654      ChannelId?: __string;
 655      CmafPackage?: CmafPackage;
 656      DashPackage?: DashPackage;
 657      /**
 658       * A short text description of the OriginEndpoint.
 659       */
 660      Description?: __string;
 661      HlsPackage?: HlsPackage;
 662      /**
 663       * The ID of the OriginEndpoint.
 664       */
 665      Id?: __string;
 666      /**
 667       * A short string appended to the end of the OriginEndpoint URL.
 668       */
 669      ManifestName?: __string;
 670      MssPackage?: MssPackage;
 671      /**
 672       * Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint
 673  may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be
 674  requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
 675  
 676       */
 677      Origination?: Origination;
 678      /**
 679       * Maximum duration (seconds) of content to retain for startover playback.
 680  If not specified, startover playback will be disabled for the OriginEndpoint.
 681  
 682       */
 683      StartoverWindowSeconds?: __integer;
 684      Tags?: Tags;
 685      /**
 686       * Amount of delay (seconds) to enforce on the playback of live content.
 687  If not specified, there will be no time delay in effect for the OriginEndpoint.
 688  
 689       */
 690      TimeDelaySeconds?: __integer;
 691      /**
 692       * The URL of the packaged OriginEndpoint for consumption.
 693       */
 694      Url?: __string;
 695      /**
 696       * A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
 697       */
 698      Whitelist?: __listOf__string;
 699    }
 700    export interface EgressAccessLogs {
 701      /**
 702       * Customize the log group name.
 703       */
 704      LogGroupName?: __string;
 705    }
 706    export interface EncryptionContractConfiguration {
 707      /**
 708       * A collection of audio encryption presets.
 709       */
 710      PresetSpeke20Audio: PresetSpeke20Audio;
 711      /**
 712       * A collection of video encryption presets.
 713       */
 714      PresetSpeke20Video: PresetSpeke20Video;
 715    }
 716    export type EncryptionMethod = "AES_128"|"SAMPLE_AES"|string;
 717    export interface HarvestJob {
 718      /**
 719       * The Amazon Resource Name (ARN) assigned to the HarvestJob.
 720  
 721       */
 722      Arn?: __string;
 723      /**
 724       * The ID of the Channel that the HarvestJob will harvest from.
 725  
 726       */
 727      ChannelId?: __string;
 728      /**
 729       * The time the HarvestJob was submitted
 730  
 731       */
 732      CreatedAt?: __string;
 733      /**
 734       * The end of the time-window which will be harvested.
 735  
 736       */
 737      EndTime?: __string;
 738      /**
 739       * The ID of the HarvestJob. The ID must be unique within the region
 740  and it cannot be changed after the HarvestJob is submitted.
 741  
 742       */
 743      Id?: __string;
 744      /**
 745       * The ID of the OriginEndpoint that the HarvestJob will harvest from.
 746  This cannot be changed after the HarvestJob is submitted.
 747  
 748       */
 749      OriginEndpointId?: __string;
 750      S3Destination?: S3Destination;
 751      /**
 752       * The start of the time-window which will be harvested.
 753  
 754       */
 755      StartTime?: __string;
 756      /**
 757       * The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for
 758  HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will
 759  include an explanation of why the HarvestJob failed.
 760  
 761       */
 762      Status?: Status;
 763    }
 764    export interface HlsEncryption {
 765      /**
 766       * A constant initialization vector for encryption (optional).
 767  When not specified the initialization vector will be periodically rotated.
 768  
 769       */
 770      ConstantInitializationVector?: __string;
 771      /**
 772       * The encryption method to use.
 773       */
 774      EncryptionMethod?: EncryptionMethod;
 775      /**
 776       * Interval (in seconds) between each encryption key rotation.
 777       */
 778      KeyRotationIntervalSeconds?: __integer;
 779      /**
 780       * When enabled, the EXT-X-KEY tag will be repeated in output manifests.
 781       */
 782      RepeatExtXKey?: __boolean;
 783      SpekeKeyProvider: SpekeKeyProvider;
 784    }
 785    export interface HlsIngest {
 786      /**
 787       * A list of endpoints to which the source stream should be sent.
 788       */
 789      IngestEndpoints?: __listOfIngestEndpoint;
 790    }
 791    export interface HlsManifest {
 792      /**
 793       * This setting controls how ad markers are included in the packaged OriginEndpoint.
 794  "NONE" will omit all SCTE-35 ad markers from the output.
 795  "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
 796  markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest.
 797  "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35
 798  messages in the input source.
 799  "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events 
 800  in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value 
 801  that is greater than 0.
 802  
 803       */
 804      AdMarkers?: AdMarkers;
 805      /**
 806       * The ID of the manifest. The ID must be unique within the OriginEndpoint and it cannot be changed after it is created.
 807       */
 808      Id: __string;
 809      /**
 810       * When enabled, an I-Frame only stream will be included in the output.
 811       */
 812      IncludeIframeOnlyStream?: __boolean;
 813      /**
 814       * An optional short string appended to the end of the OriginEndpoint URL. If not specified, defaults to the manifestName for the OriginEndpoint.
 815       */
 816      ManifestName?: __string;
 817      /**
 818       * The HTTP Live Streaming (HLS) playlist type.
 819  When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE
 820  entry will be included in the media playlist.
 821  
 822       */
 823      PlaylistType?: PlaylistType;
 824      /**
 825       * Time window (in seconds) contained in each parent manifest.
 826       */
 827      PlaylistWindowSeconds?: __integer;
 828      /**
 829       * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag
 830  inserted into manifests. Additionally, when an interval is specified
 831  ID3Timed Metadata messages will be generated every 5 seconds using the
 832  ingest time of the content.
 833  If the interval is not specified, or set to 0, then
 834  no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no
 835  ID3Timed Metadata messages will be generated. Note that irrespective
 836  of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,
 837  it will be passed through to HLS output.
 838  
 839       */
 840      ProgramDateTimeIntervalSeconds?: __integer;
 841      /**
 842       * The URL of the packaged OriginEndpoint for consumption.
 843       */
 844      Url?: __string;
 845    }
 846    export interface HlsManifestCreateOrUpdateParameters {
 847      /**
 848       * This setting controls how ad markers are included in the packaged OriginEndpoint.
 849  "NONE" will omit all SCTE-35 ad markers from the output.
 850  "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
 851  markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest.
 852  "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35
 853  messages in the input source.
 854  "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events 
 855  in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value 
 856  that is greater than 0.
 857  
 858       */
 859      AdMarkers?: AdMarkers;
 860      AdTriggers?: AdTriggers;
 861      AdsOnDeliveryRestrictions?: AdsOnDeliveryRestrictions;
 862      /**
 863       * The ID of the manifest. The ID must be unique within the OriginEndpoint and it cannot be changed after it is created.
 864       */
 865      Id: __string;
 866      /**
 867       * When enabled, an I-Frame only stream will be included in the output.
 868       */
 869      IncludeIframeOnlyStream?: __boolean;
 870      /**
 871       * An optional short string appended to the end of the OriginEndpoint URL. If not specified, defaults to the manifestName for the OriginEndpoint.
 872       */
 873      ManifestName?: __string;
 874      /**
 875       * The HTTP Live Streaming (HLS) playlist type.
 876  When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE
 877  entry will be included in the media playlist.
 878  
 879       */
 880      PlaylistType?: PlaylistType;
 881      /**
 882       * Time window (in seconds) contained in each parent manifest.
 883       */
 884      PlaylistWindowSeconds?: __integer;
 885      /**
 886       * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag
 887  inserted into manifests. Additionally, when an interval is specified
 888  ID3Timed Metadata messages will be generated every 5 seconds using the
 889  ingest time of the content.
 890  If the interval is not specified, or set to 0, then
 891  no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no
 892  ID3Timed Metadata messages will be generated. Note that irrespective
 893  of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,
 894  it will be passed through to HLS output.
 895  
 896       */
 897      ProgramDateTimeIntervalSeconds?: __integer;
 898    }
 899    export interface HlsPackage {
 900      /**
 901       * This setting controls how ad markers are included in the packaged OriginEndpoint.
 902  "NONE" will omit all SCTE-35 ad markers from the output.
 903  "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
 904  markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest.
 905  "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35
 906  messages in the input source.
 907  "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events 
 908  in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value 
 909  that is greater than 0.
 910  
 911       */
 912      AdMarkers?: AdMarkers;
 913      AdTriggers?: AdTriggers;
 914      AdsOnDeliveryRestrictions?: AdsOnDeliveryRestrictions;
 915      Encryption?: HlsEncryption;
 916      /**
 917       * When enabled, an I-Frame only stream will be included in the output.
 918       */
 919      IncludeIframeOnlyStream?: __boolean;
 920      /**
 921       * The HTTP Live Streaming (HLS) playlist type.
 922  When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE
 923  entry will be included in the media playlist.
 924  
 925       */
 926      PlaylistType?: PlaylistType;
 927      /**
 928       * Time window (in seconds) contained in each parent manifest.
 929       */
 930      PlaylistWindowSeconds?: __integer;
 931      /**
 932       * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag
 933  inserted into manifests. Additionally, when an interval is specified
 934  ID3Timed Metadata messages will be generated every 5 seconds using the
 935  ingest time of the content.
 936  If the interval is not specified, or set to 0, then
 937  no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no
 938  ID3Timed Metadata messages will be generated. Note that irrespective
 939  of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,
 940  it will be passed through to HLS output.
 941  
 942       */
 943      ProgramDateTimeIntervalSeconds?: __integer;
 944      /**
 945       * Duration (in seconds) of each fragment. Actual fragments will be
 946  rounded to the nearest multiple of the source fragment duration.
 947  
 948       */
 949      SegmentDurationSeconds?: __integer;
 950      StreamSelection?: StreamSelection;
 951      /**
 952       * When enabled, audio streams will be placed in rendition groups in the output.
 953       */
 954      UseAudioRenditionGroup?: __boolean;
 955    }
 956    export interface IngestEndpoint {
 957      /**
 958       * The system generated unique identifier for the IngestEndpoint
 959       */
 960      Id?: __string;
 961      /**
 962       * The system generated password for ingest authentication.
 963       */
 964      Password?: __string;
 965      /**
 966       * The ingest URL to which the source stream should be sent.
 967       */
 968      Url?: __string;
 969      /**
 970       * The system generated username for ingest authentication.
 971       */
 972      Username?: __string;
 973    }
 974    export interface IngressAccessLogs {
 975      /**
 976       * Customize the log group name.
 977       */
 978      LogGroupName?: __string;
 979    }
 980    export interface ListChannelsRequest {
 981      /**
 982       * Upper bound on number of records to return.
 983       */
 984      MaxResults?: MaxResults;
 985      /**
 986       * A token used to resume pagination from the end of a previous request.
 987       */
 988      NextToken?: __string;
 989    }
 990    export interface ListChannelsResponse {
 991      /**
 992       * A list of Channel records.
 993       */
 994      Channels?: __listOfChannel;
 995      /**
 996       * A token that can be used to resume pagination from the end of the collection.
 997       */
 998      NextToken?: __string;
 999    }
1000    export interface ListHarvestJobsRequest {
1001      /**
1002       * When specified, the request will return only HarvestJobs associated with the given Channel ID.
1003       */
1004      IncludeChannelId?: __string;
1005      /**
1006       * When specified, the request will return only HarvestJobs in the given status.
1007       */
1008      IncludeStatus?: __string;
1009      /**
1010       * The upper bound on the number of records to return.
1011       */
1012      MaxResults?: MaxResults;
1013      /**
1014       * A token used to resume pagination from the end of a previous request.
1015       */
1016      NextToken?: __string;
1017    }
1018    export interface ListHarvestJobsResponse {
1019      /**
1020       * A list of HarvestJob records.
1021       */
1022      HarvestJobs?: __listOfHarvestJob;
1023      /**
1024       * A token that can be used to resume pagination from the end of the collection.
1025       */
1026      NextToken?: __string;
1027    }
1028    export interface ListOriginEndpointsRequest {
1029      /**
1030       * When specified, the request will return only OriginEndpoints associated with the given Channel ID.
1031       */
1032      ChannelId?: __string;
1033      /**
1034       * The upper bound on the number of records to return.
1035       */
1036      MaxResults?: MaxResults;
1037      /**
1038       * A token used to resume pagination from the end of a previous request.
1039       */
1040      NextToken?: __string;
1041    }
1042    export interface ListOriginEndpointsResponse {
1043      /**
1044       * A token that can be used to resume pagination from the end of the collection.
1045       */
1046      NextToken?: __string;
1047      /**
1048       * A list of OriginEndpoint records.
1049       */
1050      OriginEndpoints?: __listOfOriginEndpoint;
1051    }
1052    export interface ListTagsForResourceRequest {
1053      ResourceArn: __string;
1054    }
1055    export interface ListTagsForResourceResponse {
1056      Tags?: __mapOf__string;
1057    }
1058    export type ManifestLayout = "FULL"|"COMPACT"|string;
1059    export type MaxResults = number;
1060    export interface MssEncryption {
1061      SpekeKeyProvider: SpekeKeyProvider;
1062    }
1063    export interface MssPackage {
1064      Encryption?: MssEncryption;
1065      /**
1066       * The time window (in seconds) contained in each manifest.
1067       */
1068      ManifestWindowSeconds?: __integer;
1069      /**
1070       * The duration (in seconds) of each segment.
1071       */
1072      SegmentDurationSeconds?: __integer;
1073      StreamSelection?: StreamSelection;
1074    }
1075    export interface OriginEndpoint {
1076      /**
1077       * The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
1078       */
1079      Arn?: __string;
1080      Authorization?: Authorization;
1081      /**
1082       * The ID of the Channel the OriginEndpoint is associated with.
1083       */
1084      ChannelId?: __string;
1085      CmafPackage?: CmafPackage;
1086      DashPackage?: DashPackage;
1087      /**
1088       * A short text description of the OriginEndpoint.
1089       */
1090      Description?: __string;
1091      HlsPackage?: HlsPackage;
1092      /**
1093       * The ID of the OriginEndpoint.
1094       */
1095      Id?: __string;
1096      /**
1097       * A short string appended to the end of the OriginEndpoint URL.
1098       */
1099      ManifestName?: __string;
1100      MssPackage?: MssPackage;
1101      /**
1102       * Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint
1103  may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be
1104  requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
1105  
1106       */
1107      Origination?: Origination;
1108      /**
1109       * Maximum duration (seconds) of content to retain for startover playback.
1110  If not specified, startover playback will be disabled for the OriginEndpoint.
1111  
1112       */
1113      StartoverWindowSeconds?: __integer;
1114      Tags?: Tags;
1115      /**
1116       * Amount of delay (seconds) to enforce on the playback of live content.
1117  If not specified, there will be no time delay in effect for the OriginEndpoint.
1118  
1119       */
1120      TimeDelaySeconds?: __integer;
1121      /**
1122       * The URL of the packaged OriginEndpoint for consumption.
1123       */
1124      Url?: __string;
1125      /**
1126       * A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
1127       */
1128      Whitelist?: __listOf__string;
1129    }
1130    export type Origination = "ALLOW"|"DENY"|string;
1131    export type PlaylistType = "NONE"|"EVENT"|"VOD"|string;
1132    export type PresetSpeke20Audio = "PRESET-AUDIO-1"|string;
1133    export type PresetSpeke20Video = "PRESET-VIDEO-1"|string;
1134    export type Profile = "NONE"|"HBBTV_1_5"|string;
1135    export interface RotateChannelCredentialsRequest {
1136      /**
1137       * The ID of the channel to update.
1138       */
1139      Id: __string;
1140    }
1141    export interface RotateChannelCredentialsResponse {
1142      /**
1143       * The Amazon Resource Name (ARN) assigned to the Channel.
1144       */
1145      Arn?: __string;
1146      /**
1147       * A short text description of the Channel.
1148       */
1149      Description?: __string;
1150      EgressAccessLogs?: EgressAccessLogs;
1151      HlsIngest?: HlsIngest;
1152      /**
1153       * The ID of the Channel.
1154       */
1155      Id?: __string;
1156      IngressAccessLogs?: IngressAccessLogs;
1157      Tags?: Tags;
1158    }
1159    export interface RotateIngestEndpointCredentialsRequest {
1160      /**
1161       * The ID of the channel the IngestEndpoint is on.
1162       */
1163      Id: __string;
1164      /**
1165       * The id of the IngestEndpoint whose credentials should be rotated
1166       */
1167      IngestEndpointId: __string;
1168    }
1169    export interface RotateIngestEndpointCredentialsResponse {
1170      /**
1171       * The Amazon Resource Name (ARN) assigned to the Channel.
1172       */
1173      Arn?: __string;
1174      /**
1175       * A short text description of the Channel.
1176       */
1177      Description?: __string;
1178      EgressAccessLogs?: EgressAccessLogs;
1179      HlsIngest?: HlsIngest;
1180      /**
1181       * The ID of the Channel.
1182       */
1183      Id?: __string;
1184      IngressAccessLogs?: IngressAccessLogs;
1185      Tags?: Tags;
1186    }
1187    export interface S3Destination {
1188      /**
1189       * The name of an S3 bucket within which harvested content will be exported
1190  
1191       */
1192      BucketName: __string;
1193      /**
1194       * The key in the specified S3 bucket where the harvested top-level manifest will be placed.
1195  
1196       */
1197      ManifestKey: __string;
1198      /**
1199       * The IAM role used to write to the specified S3 bucket
1200  
1201       */
1202      RoleArn: __string;
1203    }
1204    export type SegmentTemplateFormat = "NUMBER_WITH_TIMELINE"|"TIME_WITH_TIMELINE"|"NUMBER_WITH_DURATION"|string;
1205    export interface SpekeKeyProvider {
1206      /**
1207       * An Amazon Resource Name (ARN) of a Certificate Manager certificate
1208  that MediaPackage will use for enforcing secure end-to-end data
1209  transfer with the key provider service.
1210  
1211       */
1212      CertificateArn?: __string;
1213      EncryptionContractConfiguration?: EncryptionContractConfiguration;
1214      /**
1215       * The resource ID to include in key requests.
1216       */
1217      ResourceId: __string;
1218      /**
1219       * An Amazon Resource Name (ARN) of an IAM role that AWS Elemental
1220  MediaPackage will assume when accessing the key provider service.
1221  
1222       */
1223      RoleArn: __string;
1224      /**
1225       * The system IDs to include in key requests.
1226       */
1227      SystemIds: __listOf__string;
1228      /**
1229       * The URL of the external key provider service.
1230       */
1231      Url: __string;
1232    }
1233    export type Status = "IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string;
1234    export type StreamOrder = "ORIGINAL"|"VIDEO_BITRATE_ASCENDING"|"VIDEO_BITRATE_DESCENDING"|string;
1235    export interface StreamSelection {
1236      /**
1237       * The maximum video bitrate (bps) to include in output.
1238       */
1239      MaxVideoBitsPerSecond?: __integer;
1240      /**
1241       * The minimum video bitrate (bps) to include in output.
1242       */
1243      MinVideoBitsPerSecond?: __integer;
1244      /**
1245       * A directive that determines the order of streams in the output.
1246       */
1247      StreamOrder?: StreamOrder;
1248    }
1249    export interface TagResourceRequest {
1250      ResourceArn: __string;
1251      Tags: __mapOf__string;
1252    }
1253    export type Tags = {[key: string]: __string};
1254    export interface UntagResourceRequest {
1255      ResourceArn: __string;
1256      /**
1257       * The key(s) of tag to be deleted
1258       */
1259      TagKeys: __listOf__string;
1260    }
1261    export interface UpdateChannelRequest {
1262      /**
1263       * A short text description of the Channel.
1264       */
1265      Description?: __string;
1266      /**
1267       * The ID of the Channel to update.
1268       */
1269      Id: __string;
1270    }
1271    export interface UpdateChannelResponse {
1272      /**
1273       * The Amazon Resource Name (ARN) assigned to the Channel.
1274       */
1275      Arn?: __string;
1276      /**
1277       * A short text description of the Channel.
1278       */
1279      Description?: __string;
1280      EgressAccessLogs?: EgressAccessLogs;
1281      HlsIngest?: HlsIngest;
1282      /**
1283       * The ID of the Channel.
1284       */
1285      Id?: __string;
1286      IngressAccessLogs?: IngressAccessLogs;
1287      Tags?: Tags;
1288    }
1289    export interface UpdateOriginEndpointRequest {
1290      Authorization?: Authorization;
1291      CmafPackage?: CmafPackageCreateOrUpdateParameters;
1292      DashPackage?: DashPackage;
1293      /**
1294       * A short text description of the OriginEndpoint.
1295       */
1296      Description?: __string;
1297      HlsPackage?: HlsPackage;
1298      /**
1299       * The ID of the OriginEndpoint to update.
1300       */
1301      Id: __string;
1302      /**
1303       * A short string that will be appended to the end of the Endpoint URL.
1304       */
1305      ManifestName?: __string;
1306      MssPackage?: MssPackage;
1307      /**
1308       * Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint
1309  may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be
1310  requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
1311  
1312       */
1313      Origination?: Origination;
1314      /**
1315       * Maximum duration (in seconds) of content to retain for startover playback.
1316  If not specified, startover playback will be disabled for the OriginEndpoint.
1317  
1318       */
1319      StartoverWindowSeconds?: __integer;
1320      /**
1321       * Amount of delay (in seconds) to enforce on the playback of live content.
1322  If not specified, there will be no time delay in effect for the OriginEndpoint.
1323  
1324       */
1325      TimeDelaySeconds?: __integer;
1326      /**
1327       * A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
1328       */
1329      Whitelist?: __listOf__string;
1330    }
1331    export interface UpdateOriginEndpointResponse {
1332      /**
1333       * The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
1334       */
1335      Arn?: __string;
1336      Authorization?: Authorization;
1337      /**
1338       * The ID of the Channel the OriginEndpoint is associated with.
1339       */
1340      ChannelId?: __string;
1341      CmafPackage?: CmafPackage;
1342      DashPackage?: DashPackage;
1343      /**
1344       * A short text description of the OriginEndpoint.
1345       */
1346      Description?: __string;
1347      HlsPackage?: HlsPackage;
1348      /**
1349       * The ID of the OriginEndpoint.
1350       */
1351      Id?: __string;
1352      /**
1353       * A short string appended to the end of the OriginEndpoint URL.
1354       */
1355      ManifestName?: __string;
1356      MssPackage?: MssPackage;
1357      /**
1358       * Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint
1359  may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be
1360  requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
1361  
1362       */
1363      Origination?: Origination;
1364      /**
1365       * Maximum duration (seconds) of content to retain for startover playback.
1366  If not specified, startover playback will be disabled for the OriginEndpoint.
1367  
1368       */
1369      StartoverWindowSeconds?: __integer;
1370      Tags?: Tags;
1371      /**
1372       * Amount of delay (seconds) to enforce on the playback of live content.
1373  If not specified, there will be no time delay in effect for the OriginEndpoint.
1374  
1375       */
1376      TimeDelaySeconds?: __integer;
1377      /**
1378       * The URL of the packaged OriginEndpoint for consumption.
1379       */
1380      Url?: __string;
1381      /**
1382       * A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
1383       */
1384      Whitelist?: __listOf__string;
1385    }
1386    export type UtcTiming = "NONE"|"HTTP-HEAD"|"HTTP-ISO"|string;
1387    export type __AdTriggersElement = "SPLICE_INSERT"|"BREAK"|"PROVIDER_ADVERTISEMENT"|"DISTRIBUTOR_ADVERTISEMENT"|"PROVIDER_PLACEMENT_OPPORTUNITY"|"DISTRIBUTOR_PLACEMENT_OPPORTUNITY"|"PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY"|"DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"|string;
1388    export type __PeriodTriggersElement = "ADS"|string;
1389    export type __boolean = boolean;
1390    export type __integer = number;
1391    export type __listOfChannel = Channel[];
1392    export type __listOfHarvestJob = HarvestJob[];
1393    export type __listOfHlsManifest = HlsManifest[];
1394    export type __listOfHlsManifestCreateOrUpdateParameters = HlsManifestCreateOrUpdateParameters[];
1395    export type __listOfIngestEndpoint = IngestEndpoint[];
1396    export type __listOfOriginEndpoint = OriginEndpoint[];
1397    export type __listOf__PeriodTriggersElement = __PeriodTriggersElement[];
1398    export type __listOf__string = __string[];
1399    export type __mapOf__string = {[key: string]: __string};
1400    export type __string = string;
1401    /**
1402     * 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.
1403     */
1404    export type apiVersion = "2017-10-12"|"latest"|string;
1405    export interface ClientApiVersions {
1406      /**
1407       * 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.
1408       */
1409      apiVersion?: apiVersion;
1410    }
1411    export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1412    /**
1413     * Contains interfaces for use with the MediaPackage client.
1414     */
1415    export import Types = MediaPackage;
1416  }
1417  export = MediaPackage;