@aws-sdk/client-medialive 3.56.0 → 3.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -230,7 +230,7 @@ export var serializeAws_restJson1CreateChannelCommand = function (input, context
230
230
  "content-type": "application/json",
231
231
  };
232
232
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels";
233
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification !== undefined &&
233
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification !== undefined &&
234
234
  input.CdiInputSpecification !== null && {
235
235
  cdiInputSpecification: serializeAws_restJson1CdiInputSpecification(input.CdiInputSpecification, context),
236
236
  })), (input.ChannelClass !== undefined && input.ChannelClass !== null && { channelClass: input.ChannelClass })), (input.Destinations !== undefined &&
@@ -245,7 +245,10 @@ export var serializeAws_restJson1CreateChannelCommand = function (input, context
245
245
  })), (input.InputSpecification !== undefined &&
246
246
  input.InputSpecification !== null && {
247
247
  inputSpecification: serializeAws_restJson1InputSpecification(input.InputSpecification, context),
248
- })), (input.LogLevel !== undefined && input.LogLevel !== null && { logLevel: input.LogLevel })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), { requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Reserved !== undefined && input.Reserved !== null && { reserved: input.Reserved })), (input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.Vpc !== undefined &&
248
+ })), (input.LogLevel !== undefined && input.LogLevel !== null && { logLevel: input.LogLevel })), (input.Maintenance !== undefined &&
249
+ input.Maintenance !== null && {
250
+ maintenance: serializeAws_restJson1MaintenanceCreateSettings(input.Maintenance, context),
251
+ })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), { requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Reserved !== undefined && input.Reserved !== null && { reserved: input.Reserved })), (input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.Vpc !== undefined &&
249
252
  input.Vpc !== null && { vpc: serializeAws_restJson1VpcOutputSettings(input.Vpc, context) })));
250
253
  return [2, new __HttpRequest({
251
254
  protocol: protocol,
@@ -1546,7 +1549,7 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
1546
1549
  else {
1547
1550
  throw new Error("No value provided for input HTTP label: ChannelId.");
1548
1551
  }
1549
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification !== undefined &&
1552
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification !== undefined &&
1550
1553
  input.CdiInputSpecification !== null && {
1551
1554
  cdiInputSpecification: serializeAws_restJson1CdiInputSpecification(input.CdiInputSpecification, context),
1552
1555
  })), (input.Destinations !== undefined &&
@@ -1561,7 +1564,10 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
1561
1564
  })), (input.InputSpecification !== undefined &&
1562
1565
  input.InputSpecification !== null && {
1563
1566
  inputSpecification: serializeAws_restJson1InputSpecification(input.InputSpecification, context),
1564
- })), (input.LogLevel !== undefined && input.LogLevel !== null && { logLevel: input.LogLevel })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn })));
1567
+ })), (input.LogLevel !== undefined && input.LogLevel !== null && { logLevel: input.LogLevel })), (input.Maintenance !== undefined &&
1568
+ input.Maintenance !== null && {
1569
+ maintenance: serializeAws_restJson1MaintenanceUpdateSettings(input.Maintenance, context),
1570
+ })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn })));
1565
1571
  return [2, new __HttpRequest({
1566
1572
  protocol: protocol,
1567
1573
  hostname: hostname,
@@ -3011,6 +3017,7 @@ export var deserializeAws_restJson1DeleteChannelCommand = function (output, cont
3011
3017
  InputAttachments: undefined,
3012
3018
  InputSpecification: undefined,
3013
3019
  LogLevel: undefined,
3020
+ Maintenance: undefined,
3014
3021
  Name: undefined,
3015
3022
  PipelineDetails: undefined,
3016
3023
  PipelinesRunningCount: undefined,
@@ -3054,6 +3061,9 @@ export var deserializeAws_restJson1DeleteChannelCommand = function (output, cont
3054
3061
  if (data.logLevel !== undefined && data.logLevel !== null) {
3055
3062
  contents.LogLevel = __expectString(data.logLevel);
3056
3063
  }
3064
+ if (data.maintenance !== undefined && data.maintenance !== null) {
3065
+ contents.Maintenance = deserializeAws_restJson1MaintenanceStatus(data.maintenance, context);
3066
+ }
3057
3067
  if (data.name !== undefined && data.name !== null) {
3058
3068
  contents.Name = __expectString(data.name);
3059
3069
  }
@@ -3819,6 +3829,7 @@ export var deserializeAws_restJson1DescribeChannelCommand = function (output, co
3819
3829
  InputAttachments: undefined,
3820
3830
  InputSpecification: undefined,
3821
3831
  LogLevel: undefined,
3832
+ Maintenance: undefined,
3822
3833
  Name: undefined,
3823
3834
  PipelineDetails: undefined,
3824
3835
  PipelinesRunningCount: undefined,
@@ -3862,6 +3873,9 @@ export var deserializeAws_restJson1DescribeChannelCommand = function (output, co
3862
3873
  if (data.logLevel !== undefined && data.logLevel !== null) {
3863
3874
  contents.LogLevel = __expectString(data.logLevel);
3864
3875
  }
3876
+ if (data.maintenance !== undefined && data.maintenance !== null) {
3877
+ contents.Maintenance = deserializeAws_restJson1MaintenanceStatus(data.maintenance, context);
3878
+ }
3865
3879
  if (data.name !== undefined && data.name !== null) {
3866
3880
  contents.Name = __expectString(data.name);
3867
3881
  }
@@ -5940,6 +5954,7 @@ export var deserializeAws_restJson1StartChannelCommand = function (output, conte
5940
5954
  InputAttachments: undefined,
5941
5955
  InputSpecification: undefined,
5942
5956
  LogLevel: undefined,
5957
+ Maintenance: undefined,
5943
5958
  Name: undefined,
5944
5959
  PipelineDetails: undefined,
5945
5960
  PipelinesRunningCount: undefined,
@@ -5983,6 +5998,9 @@ export var deserializeAws_restJson1StartChannelCommand = function (output, conte
5983
5998
  if (data.logLevel !== undefined && data.logLevel !== null) {
5984
5999
  contents.LogLevel = __expectString(data.logLevel);
5985
6000
  }
6001
+ if (data.maintenance !== undefined && data.maintenance !== null) {
6002
+ contents.Maintenance = deserializeAws_restJson1MaintenanceStatus(data.maintenance, context);
6003
+ }
5986
6004
  if (data.name !== undefined && data.name !== null) {
5987
6005
  contents.Name = __expectString(data.name);
5988
6006
  }
@@ -6208,6 +6226,7 @@ export var deserializeAws_restJson1StopChannelCommand = function (output, contex
6208
6226
  InputAttachments: undefined,
6209
6227
  InputSpecification: undefined,
6210
6228
  LogLevel: undefined,
6229
+ Maintenance: undefined,
6211
6230
  Name: undefined,
6212
6231
  PipelineDetails: undefined,
6213
6232
  PipelinesRunningCount: undefined,
@@ -6251,6 +6270,9 @@ export var deserializeAws_restJson1StopChannelCommand = function (output, contex
6251
6270
  if (data.logLevel !== undefined && data.logLevel !== null) {
6252
6271
  contents.LogLevel = __expectString(data.logLevel);
6253
6272
  }
6273
+ if (data.maintenance !== undefined && data.maintenance !== null) {
6274
+ contents.Maintenance = deserializeAws_restJson1MaintenanceStatus(data.maintenance, context);
6275
+ }
6254
6276
  if (data.name !== undefined && data.name !== null) {
6255
6277
  contents.Name = __expectString(data.name);
6256
6278
  }
@@ -8467,6 +8489,17 @@ var serializeAws_restJson1M3u8Settings = function (input, context) {
8467
8489
  input.TimedMetadataPid !== null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId !== undefined &&
8468
8490
  input.TransportStreamId !== null && { transportStreamId: input.TransportStreamId })), (input.VideoPid !== undefined && input.VideoPid !== null && { videoPid: input.VideoPid }));
8469
8491
  };
8492
+ var serializeAws_restJson1MaintenanceCreateSettings = function (input, context) {
8493
+ return __assign(__assign({}, (input.MaintenanceDay !== undefined &&
8494
+ input.MaintenanceDay !== null && { maintenanceDay: input.MaintenanceDay })), (input.MaintenanceStartTime !== undefined &&
8495
+ input.MaintenanceStartTime !== null && { maintenanceStartTime: input.MaintenanceStartTime }));
8496
+ };
8497
+ var serializeAws_restJson1MaintenanceUpdateSettings = function (input, context) {
8498
+ return __assign(__assign(__assign({}, (input.MaintenanceDay !== undefined &&
8499
+ input.MaintenanceDay !== null && { maintenanceDay: input.MaintenanceDay })), (input.MaintenanceScheduledDate !== undefined &&
8500
+ input.MaintenanceScheduledDate !== null && { maintenanceScheduledDate: input.MaintenanceScheduledDate })), (input.MaintenanceStartTime !== undefined &&
8501
+ input.MaintenanceStartTime !== null && { maintenanceStartTime: input.MaintenanceStartTime }));
8502
+ };
8470
8503
  var serializeAws_restJson1MediaConnectFlowRequest = function (input, context) {
8471
8504
  return __assign({}, (input.FlowArn !== undefined && input.FlowArn !== null && { flowArn: input.FlowArn }));
8472
8505
  };
@@ -9972,6 +10005,9 @@ var deserializeAws_restJson1Channel = function (output, context) {
9972
10005
  ? deserializeAws_restJson1InputSpecification(output.inputSpecification, context)
9973
10006
  : undefined,
9974
10007
  LogLevel: __expectString(output.logLevel),
10008
+ Maintenance: output.maintenance !== undefined && output.maintenance !== null
10009
+ ? deserializeAws_restJson1MaintenanceStatus(output.maintenance, context)
10010
+ : undefined,
9975
10011
  Name: __expectString(output.name),
9976
10012
  PipelineDetails: output.pipelineDetails !== undefined && output.pipelineDetails !== null
9977
10013
  ? deserializeAws_restJson1__listOfPipelineDetail(output.pipelineDetails, context)
@@ -10013,6 +10049,9 @@ var deserializeAws_restJson1ChannelSummary = function (output, context) {
10013
10049
  ? deserializeAws_restJson1InputSpecification(output.inputSpecification, context)
10014
10050
  : undefined,
10015
10051
  LogLevel: __expectString(output.logLevel),
10052
+ Maintenance: output.maintenance !== undefined && output.maintenance !== null
10053
+ ? deserializeAws_restJson1MaintenanceStatus(output.maintenance, context)
10054
+ : undefined,
10016
10055
  Name: __expectString(output.name),
10017
10056
  PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
10018
10057
  RoleArn: __expectString(output.roleArn),
@@ -10896,6 +10935,14 @@ var deserializeAws_restJson1M3u8Settings = function (output, context) {
10896
10935
  VideoPid: __expectString(output.videoPid),
10897
10936
  };
10898
10937
  };
10938
+ var deserializeAws_restJson1MaintenanceStatus = function (output, context) {
10939
+ return {
10940
+ MaintenanceDay: __expectString(output.maintenanceDay),
10941
+ MaintenanceDeadline: __expectString(output.maintenanceDeadline),
10942
+ MaintenanceScheduledDate: __expectString(output.maintenanceScheduledDate),
10943
+ MaintenanceStartTime: __expectString(output.maintenanceStartTime),
10944
+ };
10945
+ };
10899
10946
  var deserializeAws_restJson1MediaConnectFlow = function (output, context) {
10900
10947
  return {
10901
10948
  FlowArn: __expectString(output.flowArn),
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
4
- import { UpdateMultiplexProgramRequest, UpdateMultiplexProgramResponse } from "../models/models_1";
4
+ import { UpdateMultiplexProgramRequest } from "../models/models_1";
5
+ import { UpdateMultiplexProgramResponse } from "../models/models_2";
5
6
  export interface UpdateMultiplexProgramCommandInput extends UpdateMultiplexProgramRequest {
6
7
  }
7
8
  export interface UpdateMultiplexProgramCommandOutput extends UpdateMultiplexProgramResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
4
- import { UpdateReservationRequest, UpdateReservationResponse } from "../models/models_1";
4
+ import { UpdateReservationRequest, UpdateReservationResponse } from "../models/models_2";
5
5
  export interface UpdateReservationCommandInput extends UpdateReservationRequest {
6
6
  }
7
7
  export interface UpdateReservationCommandOutput extends UpdateReservationResponse, __MetadataBearer {
@@ -1,2 +1,3 @@
1
1
  export * from "./models_0";
2
2
  export * from "./models_1";
3
+ export * from "./models_2";
@@ -1125,7 +1125,7 @@ export declare enum EbuTtDDestinationStyleControl {
1125
1125
  */
1126
1126
  export interface EbuTtDDestinationSettings {
1127
1127
  /**
1128
- * Applies only if you plan to convert these source captions to EBU-TT-D or TTML in an output. Complete this field if you want to include the name of the copyright holder in the copyright metadata tag in the TTML
1128
+ * Complete this field if you want to include the name of the copyright holder in the copyright tag in the captions metadata.
1129
1129
  */
1130
1130
  CopyrightHolder?: string;
1131
1131
  /**
@@ -1244,7 +1244,7 @@ export declare enum TtmlDestinationStyleControl {
1244
1244
  */
1245
1245
  export interface TtmlDestinationSettings {
1246
1246
  /**
1247
- * When set to passthrough, passes through style and position information from a TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML output.
1247
+ * This field is not currently supported and will not affect the output styling. Leave the default value.
1248
1248
  */
1249
1249
  StyleControl?: TtmlDestinationStyleControl | string;
1250
1250
  }
@@ -2238,6 +2238,42 @@ export declare enum LogLevel {
2238
2238
  INFO = "INFO",
2239
2239
  WARNING = "WARNING"
2240
2240
  }
2241
+ export declare enum MaintenanceDay {
2242
+ FRIDAY = "FRIDAY",
2243
+ MONDAY = "MONDAY",
2244
+ SATURDAY = "SATURDAY",
2245
+ SUNDAY = "SUNDAY",
2246
+ THURSDAY = "THURSDAY",
2247
+ TUESDAY = "TUESDAY",
2248
+ WEDNESDAY = "WEDNESDAY"
2249
+ }
2250
+ /**
2251
+ * Placeholder documentation for MaintenanceStatus
2252
+ */
2253
+ export interface MaintenanceStatus {
2254
+ /**
2255
+ * The currently selected maintenance day.
2256
+ */
2257
+ MaintenanceDay?: MaintenanceDay | string;
2258
+ /**
2259
+ * Maintenance is required by the displayed date and time. Date and time is in ISO.
2260
+ */
2261
+ MaintenanceDeadline?: string;
2262
+ /**
2263
+ * The currently scheduled maintenance date and time. Date and time is in ISO.
2264
+ */
2265
+ MaintenanceScheduledDate?: string;
2266
+ /**
2267
+ * The currently selected maintenance start time. Time is in UTC.
2268
+ */
2269
+ MaintenanceStartTime?: string;
2270
+ }
2271
+ export declare namespace MaintenanceStatus {
2272
+ /**
2273
+ * @internal
2274
+ */
2275
+ const filterSensitiveLog: (obj: MaintenanceStatus) => any;
2276
+ }
2241
2277
  export declare enum ChannelState {
2242
2278
  CREATE_FAILED = "CREATE_FAILED",
2243
2279
  CREATING = "CREATING",
@@ -2323,6 +2359,10 @@ export interface ChannelSummary {
2323
2359
  * The log level being written to CloudWatch Logs.
2324
2360
  */
2325
2361
  LogLevel?: LogLevel | string;
2362
+ /**
2363
+ * Maintenance settings for this channel.
2364
+ */
2365
+ Maintenance?: MaintenanceStatus;
2326
2366
  /**
2327
2367
  * The name of the channel. (user-mutable)
2328
2368
  */
@@ -4555,225 +4595,3 @@ export declare enum HlsTimedMetadataId3Frame {
4555
4595
  PRIV = "PRIV",
4556
4596
  TDRL = "TDRL"
4557
4597
  }
4558
- export declare enum HlsTsFileMode {
4559
- SEGMENTED_FILES = "SEGMENTED_FILES",
4560
- SINGLE_FILE = "SINGLE_FILE"
4561
- }
4562
- /**
4563
- * Hls Group Settings
4564
- */
4565
- export interface HlsGroupSettings {
4566
- /**
4567
- * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
4568
- */
4569
- AdMarkers?: (HlsAdMarkers | string)[];
4570
- /**
4571
- * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest is delivered from a different URL than the main .m3u8 file.
4572
- */
4573
- BaseUrlContent?: string;
4574
- /**
4575
- * Optional. One value per output group.
4576
- *
4577
- * This field is required only if you are completing Base URL content A, and the downstream system has notified you that the media files for pipeline 1 of all outputs are in a location different from the media files for pipeline 0.
4578
- */
4579
- BaseUrlContent1?: string;
4580
- /**
4581
- * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest is delivered from a different URL than the main .m3u8 file.
4582
- */
4583
- BaseUrlManifest?: string;
4584
- /**
4585
- * Optional. One value per output group.
4586
- *
4587
- * Complete this field only if you are completing Base URL manifest A, and the downstream system has notified you that the child manifest files for pipeline 1 of all outputs are in a location different from the child manifest files for pipeline 0.
4588
- */
4589
- BaseUrlManifest1?: string;
4590
- /**
4591
- * Mapping of up to 4 caption channels to caption languages. Is only meaningful if captionLanguageSetting is set to "insert".
4592
- */
4593
- CaptionLanguageMappings?: CaptionLanguageMapping[];
4594
- /**
4595
- * Applies only to 608 Embedded output captions.
4596
- * insert: Include CLOSED-CAPTIONS lines in the manifest. Specify at least one language in the CC1 Language Code field. One CLOSED-CAPTION line is added for each Language Code you specify. Make sure to specify the languages in the order in which they appear in the original source (if the source is embedded format) or the order of the caption selectors (if the source is other than embedded). Otherwise, languages in the manifest will not match up properly with the output captions.
4597
- * none: Include CLOSED-CAPTIONS=NONE line in the manifest.
4598
- * omit: Omit any CLOSED-CAPTIONS line from the manifest.
4599
- */
4600
- CaptionLanguageSetting?: HlsCaptionLanguageSetting | string;
4601
- /**
4602
- * When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, which prevents clients from saving media segments for later replay.
4603
- */
4604
- ClientCache?: HlsClientCache | string;
4605
- /**
4606
- * Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
4607
- */
4608
- CodecSpecification?: HlsCodecSpecification | string;
4609
- /**
4610
- * For use with encryptionType. This is a 128-bit, 16-byte hex value represented by a 32-character text string. If ivSource is set to "explicit" then this parameter is required and is used as the IV for encryption.
4611
- */
4612
- ConstantIv?: string;
4613
- /**
4614
- * A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).
4615
- */
4616
- Destination: OutputLocationRef | undefined;
4617
- /**
4618
- * Place segments in subdirectories.
4619
- */
4620
- DirectoryStructure?: HlsDirectoryStructure | string;
4621
- /**
4622
- * Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests for this output group.
4623
- * Typically, choose Insert because these tags are required in the manifest (according to the HLS specification) and serve an important purpose.
4624
- * Choose Never Insert only if the downstream system is doing real-time failover (without using the MediaLive automatic failover feature) and only if that downstream system has advised you to exclude the tags.
4625
- */
4626
- DiscontinuityTags?: HlsDiscontinuityTags | string;
4627
- /**
4628
- * Encrypts the segments with the given encryption scheme. Exclude this parameter if no encryption is desired.
4629
- */
4630
- EncryptionType?: HlsEncryptionType | string;
4631
- /**
4632
- * Parameters that control interactions with the CDN.
4633
- */
4634
- HlsCdnSettings?: HlsCdnSettings;
4635
- /**
4636
- * State of HLS ID3 Segment Tagging
4637
- */
4638
- HlsId3SegmentTagging?: HlsId3SegmentTaggingState | string;
4639
- /**
4640
- * DISABLED: Do not create an I-frame-only manifest, but do create the master and media manifests (according to the Output Selection field).
4641
- *
4642
- * STANDARD: Create an I-frame-only manifest for each output that contains video, as well as the other manifests (according to the Output Selection field). The I-frame manifest contains a #EXT-X-I-FRAMES-ONLY tag to indicate it is I-frame only, and one or more #EXT-X-BYTERANGE entries identifying the I-frame position. For example, #EXT-X-BYTERANGE:160364@1461888"
4643
- */
4644
- IFrameOnlyPlaylists?: IFrameOnlyPlaylistType | string;
4645
- /**
4646
- * Specifies whether to include the final (incomplete) segment in the media output when the pipeline stops producing output because of a channel stop, a channel pause or a loss of input to the pipeline.
4647
- * Auto means that MediaLive decides whether to include the final segment, depending on the channel class and the types of output groups.
4648
- * Suppress means to never include the incomplete segment. We recommend you choose Auto and let MediaLive control the behavior.
4649
- */
4650
- IncompleteSegmentBehavior?: HlsIncompleteSegmentBehavior | string;
4651
- /**
4652
- * Applies only if Mode field is LIVE.
4653
- *
4654
- * Specifies the maximum number of segments in the media manifest file. After this maximum, older segments are removed from the media manifest. This number must be smaller than the number in the Keep Segments field.
4655
- */
4656
- IndexNSegments?: number;
4657
- /**
4658
- * Parameter that control output group behavior on input loss.
4659
- */
4660
- InputLossAction?: InputLossActionForHlsOut | string;
4661
- /**
4662
- * For use with encryptionType. The IV (Initialization Vector) is a 128-bit number used in conjunction with the key for encrypting blocks. If set to "include", IV is listed in the manifest, otherwise the IV is not in the manifest.
4663
- */
4664
- IvInManifest?: HlsIvInManifest | string;
4665
- /**
4666
- * For use with encryptionType. The IV (Initialization Vector) is a 128-bit number used in conjunction with the key for encrypting blocks. If this setting is "followsSegmentNumber", it will cause the IV to change every segment (to match the segment number). If this is set to "explicit", you must enter a constantIv value.
4667
- */
4668
- IvSource?: HlsIvSource | string;
4669
- /**
4670
- * Applies only if Mode field is LIVE.
4671
- *
4672
- * Specifies the number of media segments to retain in the destination directory. This number should be bigger than indexNSegments (Num segments). We recommend (value = (2 x indexNsegments) + 1).
4673
- *
4674
- * If this "keep segments" number is too low, the following might happen: the player is still reading a media manifest file that lists this segment, but that segment has been removed from the destination directory (as directed by indexNSegments). This situation would result in a 404 HTTP error on the player.
4675
- */
4676
- KeepSegments?: number;
4677
- /**
4678
- * The value specifies how the key is represented in the resource identified by the URI. If parameter is absent, an implicit value of "identity" is used. A reverse DNS string can also be given.
4679
- */
4680
- KeyFormat?: string;
4681
- /**
4682
- * Either a single positive integer version value or a slash delimited list of version values (1/2/3).
4683
- */
4684
- KeyFormatVersions?: string;
4685
- /**
4686
- * The key provider settings.
4687
- */
4688
- KeyProviderSettings?: KeyProviderSettings;
4689
- /**
4690
- * When set to gzip, compresses HLS playlist.
4691
- */
4692
- ManifestCompression?: HlsManifestCompression | string;
4693
- /**
4694
- * Indicates whether the output manifest should use floating point or integer values for segment duration.
4695
- */
4696
- ManifestDurationFormat?: HlsManifestDurationFormat | string;
4697
- /**
4698
- * When set, minimumSegmentLength is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.
4699
- */
4700
- MinSegmentLength?: number;
4701
- /**
4702
- * If "vod", all segments are indexed and kept permanently in the destination and manifest. If "live", only the number segments specified in keepSegments and indexNSegments are kept; newer segments replace older segments, which may prevent players from rewinding all the way to the beginning of the event.
4703
- *
4704
- * VOD mode uses HLS EXT-X-PLAYLIST-TYPE of EVENT while the channel is running, converting it to a "VOD" type manifest on completion of the stream.
4705
- */
4706
- Mode?: HlsMode | string;
4707
- /**
4708
- * MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, and media manifests) for this output group.
4709
- *
4710
- * VARIANT_MANIFESTS_AND_SEGMENTS: Generates media manifests for this output group, but not a master manifest.
4711
- *
4712
- * SEGMENTS_ONLY: Does not generate any manifests for this output group.
4713
- */
4714
- OutputSelection?: HlsOutputSelection | string;
4715
- /**
4716
- * Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated using the program date time clock.
4717
- */
4718
- ProgramDateTime?: HlsProgramDateTime | string;
4719
- /**
4720
- * Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. Options include:
4721
- *
4722
- * INITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized as a function of the first output timecode, then incremented by the EXTINF duration of each encoded segment.
4723
- *
4724
- * SYSTEM_CLOCK: The PDT clock is initialized as a function of the UTC wall clock, then incremented by the EXTINF duration of each encoded segment. If the PDT clock diverges from the wall clock by more than 500ms, it is resynchronized to the wall clock.
4725
- */
4726
- ProgramDateTimeClock?: HlsProgramDateTimeClock | string;
4727
- /**
4728
- * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.
4729
- */
4730
- ProgramDateTimePeriod?: number;
4731
- /**
4732
- * ENABLED: The master manifest (.m3u8 file) for each pipeline includes information about both pipelines: first its own media files, then the media files of the other pipeline. This feature allows playout device that support stale manifest detection to switch from one manifest to the other, when the current manifest seems to be stale. There are still two destinations and two master manifests, but both master manifests reference the media files from both pipelines.
4733
- *
4734
- * DISABLED: The master manifest (.m3u8 file) for each pipeline includes information about its own pipeline only.
4735
- *
4736
- * For an HLS output group with MediaPackage as the destination, the DISABLED behavior is always followed. MediaPackage regenerates the manifests it serves to players so a redundant manifest from MediaLive is irrelevant.
4737
- */
4738
- RedundantManifest?: HlsRedundantManifest | string;
4739
- /**
4740
- * Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer.
4741
- */
4742
- SegmentLength?: number;
4743
- /**
4744
- * useInputSegmentation has been deprecated. The configured segment size is always used.
4745
- */
4746
- SegmentationMode?: HlsSegmentationMode | string;
4747
- /**
4748
- * Number of segments to write to a subdirectory before starting a new one. directoryStructure must be subdirectoryPerStream for this setting to have an effect.
4749
- */
4750
- SegmentsPerSubdirectory?: number;
4751
- /**
4752
- * Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
4753
- */
4754
- StreamInfResolution?: HlsStreamInfResolution | string;
4755
- /**
4756
- * Indicates ID3 frame that has the timecode.
4757
- */
4758
- TimedMetadataId3Frame?: HlsTimedMetadataId3Frame | string;
4759
- /**
4760
- * Timed Metadata interval in seconds.
4761
- */
4762
- TimedMetadataId3Period?: number;
4763
- /**
4764
- * Provides an extra millisecond delta offset to fine tune the timestamps.
4765
- */
4766
- TimestampDeltaMilliseconds?: number;
4767
- /**
4768
- * SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.
4769
- *
4770
- * SINGLE_FILE: Applies only if Mode field is VOD. Emit the program as a single .ts media file. The media manifest includes #EXT-X-BYTERANGE tags to index segments for playback. A typical use for this value is when sending the output to AWS Elemental MediaConvert, which can accept only a single media file. Playback while the channel is running is not guaranteed due to HTTP server caching.
4771
- */
4772
- TsFileMode?: HlsTsFileMode | string;
4773
- }
4774
- export declare namespace HlsGroupSettings {
4775
- /**
4776
- * @internal
4777
- */
4778
- const filterSensitiveLog: (obj: HlsGroupSettings) => any;
4779
- }