@aws-sdk/client-mediaconvert 3.95.0 → 3.100.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.
Files changed (30) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/commands/ListJobTemplatesCommand.js +3 -3
  3. package/dist-cjs/commands/ListPresetsCommand.js +3 -3
  4. package/dist-cjs/commands/ListQueuesCommand.js +1 -2
  5. package/dist-cjs/models/models_0.js +48 -46
  6. package/dist-cjs/models/models_1.js +46 -47
  7. package/dist-cjs/models/models_2.js +42 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +156 -0
  9. package/dist-cjs/runtimeConfig.js +2 -0
  10. package/dist-es/commands/ListJobTemplatesCommand.js +1 -1
  11. package/dist-es/commands/ListPresetsCommand.js +1 -1
  12. package/dist-es/commands/ListQueuesCommand.js +1 -2
  13. package/dist-es/models/models_0.js +32 -38
  14. package/dist-es/models/models_1.js +38 -31
  15. package/dist-es/models/models_2.js +31 -0
  16. package/dist-es/protocols/Aws_restJson1.js +137 -1
  17. package/dist-es/runtimeConfig.js +2 -0
  18. package/dist-types/commands/ListJobTemplatesCommand.d.ts +1 -1
  19. package/dist-types/commands/ListPresetsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListQueuesCommand.d.ts +1 -2
  21. package/dist-types/models/models_0.d.ts +128 -46
  22. package/dist-types/models/models_1.d.ts +52 -130
  23. package/dist-types/models/models_2.d.ts +122 -1
  24. package/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/ListPresetsCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +1 -2
  27. package/dist-types/ts3.4/models/models_0.d.ts +75 -37
  28. package/dist-types/ts3.4/models/models_1.d.ts +38 -76
  29. package/dist-types/ts3.4/models/models_2.d.ts +76 -1
  30. package/package.json +6 -6
@@ -3083,6 +3083,16 @@ var serializeAws_restJson1__listOf__stringPatternS3ASSETMAPXml = function (input
3083
3083
  return entry;
3084
3084
  });
3085
3085
  };
3086
+ var serializeAws_restJson1__listOfAllowedRenditionSize = function (input, context) {
3087
+ return input
3088
+ .filter(function (e) { return e != null; })
3089
+ .map(function (entry) {
3090
+ if (entry === null) {
3091
+ return null;
3092
+ }
3093
+ return serializeAws_restJson1AllowedRenditionSize(entry, context);
3094
+ });
3095
+ };
3086
3096
  var serializeAws_restJson1__listOfAudioDescription = function (input, context) {
3087
3097
  return input
3088
3098
  .filter(function (e) { return e != null; })
@@ -3093,6 +3103,16 @@ var serializeAws_restJson1__listOfAudioDescription = function (input, context) {
3093
3103
  return serializeAws_restJson1AudioDescription(entry, context);
3094
3104
  });
3095
3105
  };
3106
+ var serializeAws_restJson1__listOfAutomatedAbrRule = function (input, context) {
3107
+ return input
3108
+ .filter(function (e) { return e != null; })
3109
+ .map(function (entry) {
3110
+ if (entry === null) {
3111
+ return null;
3112
+ }
3113
+ return serializeAws_restJson1AutomatedAbrRule(entry, context);
3114
+ });
3115
+ };
3096
3116
  var serializeAws_restJson1__listOfCaptionDescription = function (input, context) {
3097
3117
  return input
3098
3118
  .filter(function (e) { return e != null; })
@@ -3133,6 +3153,16 @@ var serializeAws_restJson1__listOfDashAdditionalManifest = function (input, cont
3133
3153
  return serializeAws_restJson1DashAdditionalManifest(entry, context);
3134
3154
  });
3135
3155
  };
3156
+ var serializeAws_restJson1__listOfForceIncludeRenditionSize = function (input, context) {
3157
+ return input
3158
+ .filter(function (e) { return e != null; })
3159
+ .map(function (entry) {
3160
+ if (entry === null) {
3161
+ return null;
3162
+ }
3163
+ return serializeAws_restJson1ForceIncludeRenditionSize(entry, context);
3164
+ });
3165
+ };
3136
3166
  var serializeAws_restJson1__listOfHlsAdditionalManifest = function (input, context) {
3137
3167
  return input
3138
3168
  .filter(function (e) { return e != null; })
@@ -3335,6 +3365,9 @@ var serializeAws_restJson1AccelerationSettings = function (input, context) {
3335
3365
  var serializeAws_restJson1AiffSettings = function (input, context) {
3336
3366
  return __assign(__assign(__assign({}, (input.BitDepth !== undefined && input.BitDepth !== null && { bitDepth: input.BitDepth })), (input.Channels !== undefined && input.Channels !== null && { channels: input.Channels })), (input.SampleRate !== undefined && input.SampleRate !== null && { sampleRate: input.SampleRate }));
3337
3367
  };
3368
+ var serializeAws_restJson1AllowedRenditionSize = function (input, context) {
3369
+ return __assign(__assign(__assign({}, (input.Height !== undefined && input.Height !== null && { height: input.Height })), (input.Required !== undefined && input.Required !== null && { required: input.Required })), (input.Width !== undefined && input.Width !== null && { width: input.Width }));
3370
+ };
3338
3371
  var serializeAws_restJson1AncillarySourceSettings = function (input, context) {
3339
3372
  return __assign(__assign(__assign({}, (input.Convert608To708 !== undefined &&
3340
3373
  input.Convert608To708 !== null && { convert608To708: input.Convert608To708 })), (input.SourceAncillaryChannelNumber !== undefined &&
@@ -3413,8 +3446,24 @@ var serializeAws_restJson1AudioSelectorGroup = function (input, context) {
3413
3446
  audioSelectorNames: serializeAws_restJson1__listOf__stringMin1(input.AudioSelectorNames, context),
3414
3447
  }));
3415
3448
  };
3449
+ var serializeAws_restJson1AutomatedAbrRule = function (input, context) {
3450
+ return __assign(__assign(__assign(__assign(__assign({}, (input.AllowedRenditions !== undefined &&
3451
+ input.AllowedRenditions !== null && {
3452
+ allowedRenditions: serializeAws_restJson1__listOfAllowedRenditionSize(input.AllowedRenditions, context),
3453
+ })), (input.ForceIncludeRenditions !== undefined &&
3454
+ input.ForceIncludeRenditions !== null && {
3455
+ forceIncludeRenditions: serializeAws_restJson1__listOfForceIncludeRenditionSize(input.ForceIncludeRenditions, context),
3456
+ })), (input.MinBottomRenditionSize !== undefined &&
3457
+ input.MinBottomRenditionSize !== null && {
3458
+ minBottomRenditionSize: serializeAws_restJson1MinBottomRenditionSize(input.MinBottomRenditionSize, context),
3459
+ })), (input.MinTopRenditionSize !== undefined &&
3460
+ input.MinTopRenditionSize !== null && {
3461
+ minTopRenditionSize: serializeAws_restJson1MinTopRenditionSize(input.MinTopRenditionSize, context),
3462
+ })), (input.Type !== undefined && input.Type !== null && { type: input.Type }));
3463
+ };
3416
3464
  var serializeAws_restJson1AutomatedAbrSettings = function (input, context) {
3417
- return __assign(__assign(__assign({}, (input.MaxAbrBitrate !== undefined && input.MaxAbrBitrate !== null && { maxAbrBitrate: input.MaxAbrBitrate })), (input.MaxRenditions !== undefined && input.MaxRenditions !== null && { maxRenditions: input.MaxRenditions })), (input.MinAbrBitrate !== undefined && input.MinAbrBitrate !== null && { minAbrBitrate: input.MinAbrBitrate }));
3465
+ return __assign(__assign(__assign(__assign({}, (input.MaxAbrBitrate !== undefined && input.MaxAbrBitrate !== null && { maxAbrBitrate: input.MaxAbrBitrate })), (input.MaxRenditions !== undefined && input.MaxRenditions !== null && { maxRenditions: input.MaxRenditions })), (input.MinAbrBitrate !== undefined && input.MinAbrBitrate !== null && { minAbrBitrate: input.MinAbrBitrate })), (input.Rules !== undefined &&
3466
+ input.Rules !== null && { rules: serializeAws_restJson1__listOfAutomatedAbrRule(input.Rules, context) }));
3418
3467
  };
3419
3468
  var serializeAws_restJson1AutomatedEncodingSettings = function (input, context) {
3420
3469
  return __assign({}, (input.AbrSettings !== undefined &&
@@ -3824,6 +3873,9 @@ var serializeAws_restJson1FileSourceSettings = function (input, context) {
3824
3873
  })), (input.SourceFile !== undefined && input.SourceFile !== null && { sourceFile: input.SourceFile })), (input.TimeDelta !== undefined && input.TimeDelta !== null && { timeDelta: input.TimeDelta })), (input.TimeDeltaUnits !== undefined &&
3825
3874
  input.TimeDeltaUnits !== null && { timeDeltaUnits: input.TimeDeltaUnits }));
3826
3875
  };
3876
+ var serializeAws_restJson1ForceIncludeRenditionSize = function (input, context) {
3877
+ return __assign(__assign({}, (input.Height !== undefined && input.Height !== null && { height: input.Height })), (input.Width !== undefined && input.Width !== null && { width: input.Width }));
3878
+ };
3827
3879
  var serializeAws_restJson1FrameCaptureSettings = function (input, context) {
3828
3880
  return __assign(__assign(__assign(__assign({}, (input.FramerateDenominator !== undefined &&
3829
3881
  input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
@@ -4236,6 +4288,12 @@ var serializeAws_restJson1M3u8Settings = function (input, context) {
4236
4288
  input.TimedMetadataPid !== null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId !== undefined &&
4237
4289
  input.TransportStreamId !== null && { transportStreamId: input.TransportStreamId })), (input.VideoPid !== undefined && input.VideoPid !== null && { videoPid: input.VideoPid }));
4238
4290
  };
4291
+ var serializeAws_restJson1MinBottomRenditionSize = function (input, context) {
4292
+ return __assign(__assign({}, (input.Height !== undefined && input.Height !== null && { height: input.Height })), (input.Width !== undefined && input.Width !== null && { width: input.Width }));
4293
+ };
4294
+ var serializeAws_restJson1MinTopRenditionSize = function (input, context) {
4295
+ return __assign(__assign({}, (input.Height !== undefined && input.Height !== null && { height: input.Height })), (input.Width !== undefined && input.Width !== null && { width: input.Width }));
4296
+ };
4239
4297
  var serializeAws_restJson1MotionImageInserter = function (input, context) {
4240
4298
  return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Framerate !== undefined &&
4241
4299
  input.Framerate !== null && {
@@ -4824,6 +4882,17 @@ var deserializeAws_restJson1__listOf__stringPatternS3ASSETMAPXml = function (out
4824
4882
  });
4825
4883
  return retVal;
4826
4884
  };
4885
+ var deserializeAws_restJson1__listOfAllowedRenditionSize = function (output, context) {
4886
+ var retVal = (output || [])
4887
+ .filter(function (e) { return e != null; })
4888
+ .map(function (entry) {
4889
+ if (entry === null) {
4890
+ return null;
4891
+ }
4892
+ return deserializeAws_restJson1AllowedRenditionSize(entry, context);
4893
+ });
4894
+ return retVal;
4895
+ };
4827
4896
  var deserializeAws_restJson1__listOfAudioDescription = function (output, context) {
4828
4897
  var retVal = (output || [])
4829
4898
  .filter(function (e) { return e != null; })
@@ -4835,6 +4904,17 @@ var deserializeAws_restJson1__listOfAudioDescription = function (output, context
4835
4904
  });
4836
4905
  return retVal;
4837
4906
  };
4907
+ var deserializeAws_restJson1__listOfAutomatedAbrRule = function (output, context) {
4908
+ var retVal = (output || [])
4909
+ .filter(function (e) { return e != null; })
4910
+ .map(function (entry) {
4911
+ if (entry === null) {
4912
+ return null;
4913
+ }
4914
+ return deserializeAws_restJson1AutomatedAbrRule(entry, context);
4915
+ });
4916
+ return retVal;
4917
+ };
4838
4918
  var deserializeAws_restJson1__listOfCaptionDescription = function (output, context) {
4839
4919
  var retVal = (output || [])
4840
4920
  .filter(function (e) { return e != null; })
@@ -4890,6 +4970,17 @@ var deserializeAws_restJson1__listOfEndpoint = function (output, context) {
4890
4970
  });
4891
4971
  return retVal;
4892
4972
  };
4973
+ var deserializeAws_restJson1__listOfForceIncludeRenditionSize = function (output, context) {
4974
+ var retVal = (output || [])
4975
+ .filter(function (e) { return e != null; })
4976
+ .map(function (entry) {
4977
+ if (entry === null) {
4978
+ return null;
4979
+ }
4980
+ return deserializeAws_restJson1ForceIncludeRenditionSize(entry, context);
4981
+ });
4982
+ return retVal;
4983
+ };
4893
4984
  var deserializeAws_restJson1__listOfHlsAdditionalManifest = function (output, context) {
4894
4985
  var retVal = (output || [])
4895
4986
  .filter(function (e) { return e != null; })
@@ -5200,6 +5291,13 @@ var deserializeAws_restJson1AiffSettings = function (output, context) {
5200
5291
  SampleRate: __expectInt32(output.sampleRate),
5201
5292
  };
5202
5293
  };
5294
+ var deserializeAws_restJson1AllowedRenditionSize = function (output, context) {
5295
+ return {
5296
+ Height: __expectInt32(output.height),
5297
+ Required: __expectString(output.required),
5298
+ Width: __expectInt32(output.width),
5299
+ };
5300
+ };
5203
5301
  var deserializeAws_restJson1AncillarySourceSettings = function (output, context) {
5204
5302
  return {
5205
5303
  Convert608To708: __expectString(output.convert608To708),
@@ -5310,11 +5408,31 @@ var deserializeAws_restJson1AudioSelectorGroup = function (output, context) {
5310
5408
  : undefined,
5311
5409
  };
5312
5410
  };
5411
+ var deserializeAws_restJson1AutomatedAbrRule = function (output, context) {
5412
+ return {
5413
+ AllowedRenditions: output.allowedRenditions !== undefined && output.allowedRenditions !== null
5414
+ ? deserializeAws_restJson1__listOfAllowedRenditionSize(output.allowedRenditions, context)
5415
+ : undefined,
5416
+ ForceIncludeRenditions: output.forceIncludeRenditions !== undefined && output.forceIncludeRenditions !== null
5417
+ ? deserializeAws_restJson1__listOfForceIncludeRenditionSize(output.forceIncludeRenditions, context)
5418
+ : undefined,
5419
+ MinBottomRenditionSize: output.minBottomRenditionSize !== undefined && output.minBottomRenditionSize !== null
5420
+ ? deserializeAws_restJson1MinBottomRenditionSize(output.minBottomRenditionSize, context)
5421
+ : undefined,
5422
+ MinTopRenditionSize: output.minTopRenditionSize !== undefined && output.minTopRenditionSize !== null
5423
+ ? deserializeAws_restJson1MinTopRenditionSize(output.minTopRenditionSize, context)
5424
+ : undefined,
5425
+ Type: __expectString(output.type),
5426
+ };
5427
+ };
5313
5428
  var deserializeAws_restJson1AutomatedAbrSettings = function (output, context) {
5314
5429
  return {
5315
5430
  MaxAbrBitrate: __expectInt32(output.maxAbrBitrate),
5316
5431
  MaxRenditions: __expectInt32(output.maxRenditions),
5317
5432
  MinAbrBitrate: __expectInt32(output.minAbrBitrate),
5433
+ Rules: output.rules !== undefined && output.rules !== null
5434
+ ? deserializeAws_restJson1__listOfAutomatedAbrRule(output.rules, context)
5435
+ : undefined,
5318
5436
  };
5319
5437
  };
5320
5438
  var deserializeAws_restJson1AutomatedEncodingSettings = function (output, context) {
@@ -5883,6 +6001,12 @@ var deserializeAws_restJson1FileSourceSettings = function (output, context) {
5883
6001
  TimeDeltaUnits: __expectString(output.timeDeltaUnits),
5884
6002
  };
5885
6003
  };
6004
+ var deserializeAws_restJson1ForceIncludeRenditionSize = function (output, context) {
6005
+ return {
6006
+ Height: __expectInt32(output.height),
6007
+ Width: __expectInt32(output.width),
6008
+ };
6009
+ };
5886
6010
  var deserializeAws_restJson1FrameCaptureSettings = function (output, context) {
5887
6011
  return {
5888
6012
  FramerateDenominator: __expectInt32(output.framerateDenominator),
@@ -6533,6 +6657,18 @@ var deserializeAws_restJson1M3u8Settings = function (output, context) {
6533
6657
  VideoPid: __expectInt32(output.videoPid),
6534
6658
  };
6535
6659
  };
6660
+ var deserializeAws_restJson1MinBottomRenditionSize = function (output, context) {
6661
+ return {
6662
+ Height: __expectInt32(output.height),
6663
+ Width: __expectInt32(output.width),
6664
+ };
6665
+ };
6666
+ var deserializeAws_restJson1MinTopRenditionSize = function (output, context) {
6667
+ return {
6668
+ Height: __expectInt32(output.height),
6669
+ Width: __expectInt32(output.width),
6670
+ };
6671
+ };
6536
6672
  var deserializeAws_restJson1MotionImageInserter = function (output, context) {
6537
6673
  return {
6538
6674
  Framerate: output.framerate !== undefined && output.framerate !== null
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
19
21
  var defaultsMode = resolveDefaultsModeConfig(config);
20
22
  var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);
@@ -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 { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
4
- import { ListJobTemplatesRequest, ListJobTemplatesResponse } from "../models/models_1";
4
+ import { ListJobTemplatesRequest, ListJobTemplatesResponse } from "../models/models_2";
5
5
  export interface ListJobTemplatesCommandInput extends ListJobTemplatesRequest {
6
6
  }
7
7
  export interface ListJobTemplatesCommandOutput extends ListJobTemplatesResponse, __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 { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
4
- import { ListPresetsRequest, ListPresetsResponse } from "../models/models_1";
4
+ import { ListPresetsRequest, ListPresetsResponse } from "../models/models_2";
5
5
  export interface ListPresetsCommandInput extends ListPresetsRequest {
6
6
  }
7
7
  export interface ListPresetsCommandOutput extends ListPresetsResponse, __MetadataBearer {
@@ -1,8 +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 { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
4
- import { ListQueuesRequest } from "../models/models_1";
5
- import { ListQueuesResponse } from "../models/models_2";
4
+ import { ListQueuesRequest, ListQueuesResponse } from "../models/models_2";
6
5
  export interface ListQueuesCommandInput extends ListQueuesRequest {
7
6
  }
8
7
  export interface ListQueuesCommandOutput extends ListQueuesResponse, __MetadataBearer {
@@ -1,3 +1,30 @@
1
+ export declare enum RequiredFlag {
2
+ DISABLED = "DISABLED",
3
+ ENABLED = "ENABLED"
4
+ }
5
+ /**
6
+ * Use Allowed renditions to specify a list of possible resolutions in your ABR stack. * MediaConvert will create an ABR stack exclusively from the list of resolutions that you specify. * Some resolutions in the Allowed renditions list may not be included, however you can force a resolution to be included by setting Required to ENABLED. * You must specify at least one resolution that is greater than or equal to any resolutions that you specify in Min top rendition size or Min bottom rendition size. * If you specify Allowed renditions, you must not specify a separate rule for Force include renditions.
7
+ */
8
+ export interface AllowedRenditionSize {
9
+ /**
10
+ * Use Height to define the video resolution height, in pixels, for this rule.
11
+ */
12
+ Height?: number;
13
+ /**
14
+ * Set to ENABLED to force a rendition to be included.
15
+ */
16
+ Required?: RequiredFlag | string;
17
+ /**
18
+ * Use Width to define the video resolution width, in pixels, for this rule.
19
+ */
20
+ Width?: number;
21
+ }
22
+ export declare namespace AllowedRenditionSize {
23
+ /**
24
+ * @internal
25
+ */
26
+ const filterSensitiveLog: (obj: AllowedRenditionSize) => any;
27
+ }
1
28
  export declare enum AudioChannelTag {
2
29
  C = "C",
3
30
  CS = "CS",
@@ -1100,6 +1127,100 @@ export declare namespace AudioDescription {
1100
1127
  */
1101
1128
  const filterSensitiveLog: (obj: AudioDescription) => any;
1102
1129
  }
1130
+ /**
1131
+ * Use Force include renditions to specify one or more resolutions to include your ABR stack. * (Recommended) To optimize automated ABR, specify as few resolutions as possible. * (Required) The number of resolutions that you specify must be equal to, or less than, the Max renditions setting. * If you specify a Min top rendition size rule, specify at least one resolution that is equal to, or greater than, Min top rendition size. * If you specify a Min bottom rendition size rule, only specify resolutions that are equal to, or greater than, Min bottom rendition size. * If you specify a Force include renditions rule, do not specify a separate rule for Allowed renditions. * Note: The ABR stack may include other resolutions that you do not specify here, depending on the Max renditions setting.
1132
+ */
1133
+ export interface ForceIncludeRenditionSize {
1134
+ /**
1135
+ * Use Height to define the video resolution height, in pixels, for this rule.
1136
+ */
1137
+ Height?: number;
1138
+ /**
1139
+ * Use Width to define the video resolution width, in pixels, for this rule.
1140
+ */
1141
+ Width?: number;
1142
+ }
1143
+ export declare namespace ForceIncludeRenditionSize {
1144
+ /**
1145
+ * @internal
1146
+ */
1147
+ const filterSensitiveLog: (obj: ForceIncludeRenditionSize) => any;
1148
+ }
1149
+ /**
1150
+ * Use Min bottom rendition size to specify a minimum size for the lowest resolution in your ABR stack. * The lowest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 640x360 the lowest resolution in your ABR stack will be equal to or greater than to 640x360. * If you specify a Min top rendition size rule, the value that you specify for Min bottom rendition size must be less than, or equal to, Min top rendition size.
1151
+ */
1152
+ export interface MinBottomRenditionSize {
1153
+ /**
1154
+ * Use Height to define the video resolution height, in pixels, for this rule.
1155
+ */
1156
+ Height?: number;
1157
+ /**
1158
+ * Use Width to define the video resolution width, in pixels, for this rule.
1159
+ */
1160
+ Width?: number;
1161
+ }
1162
+ export declare namespace MinBottomRenditionSize {
1163
+ /**
1164
+ * @internal
1165
+ */
1166
+ const filterSensitiveLog: (obj: MinBottomRenditionSize) => any;
1167
+ }
1168
+ /**
1169
+ * Use Min top rendition size to specify a minimum size for the highest resolution in your ABR stack. * The highest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 1280x720 the highest resolution in your ABR stack will be equal to or greater than 1280x720. * If you specify a value for Max resolution, the value that you specify for Min top rendition size must be less than, or equal to, Max resolution.
1170
+ */
1171
+ export interface MinTopRenditionSize {
1172
+ /**
1173
+ * Use Height to define the video resolution height, in pixels, for this rule.
1174
+ */
1175
+ Height?: number;
1176
+ /**
1177
+ * Use Width to define the video resolution width, in pixels, for this rule.
1178
+ */
1179
+ Width?: number;
1180
+ }
1181
+ export declare namespace MinTopRenditionSize {
1182
+ /**
1183
+ * @internal
1184
+ */
1185
+ const filterSensitiveLog: (obj: MinTopRenditionSize) => any;
1186
+ }
1187
+ export declare enum RuleType {
1188
+ ALLOWED_RENDITIONS = "ALLOWED_RENDITIONS",
1189
+ FORCE_INCLUDE_RENDITIONS = "FORCE_INCLUDE_RENDITIONS",
1190
+ MIN_BOTTOM_RENDITION_SIZE = "MIN_BOTTOM_RENDITION_SIZE",
1191
+ MIN_TOP_RENDITION_SIZE = "MIN_TOP_RENDITION_SIZE"
1192
+ }
1193
+ /**
1194
+ * Specify one or more Automated ABR rule types. Note: Force include and Allowed renditions are mutually exclusive.
1195
+ */
1196
+ export interface AutomatedAbrRule {
1197
+ /**
1198
+ * When customer adds the allowed renditions rule for auto ABR ladder, they are required to add at leat one rendition to allowedRenditions list
1199
+ */
1200
+ AllowedRenditions?: AllowedRenditionSize[];
1201
+ /**
1202
+ * When customer adds the force include renditions rule for auto ABR ladder, they are required to add at leat one rendition to forceIncludeRenditions list
1203
+ */
1204
+ ForceIncludeRenditions?: ForceIncludeRenditionSize[];
1205
+ /**
1206
+ * Use Min bottom rendition size to specify a minimum size for the lowest resolution in your ABR stack. * The lowest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 640x360 the lowest resolution in your ABR stack will be equal to or greater than to 640x360. * If you specify a Min top rendition size rule, the value that you specify for Min bottom rendition size must be less than, or equal to, Min top rendition size.
1207
+ */
1208
+ MinBottomRenditionSize?: MinBottomRenditionSize;
1209
+ /**
1210
+ * Use Min top rendition size to specify a minimum size for the highest resolution in your ABR stack. * The highest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 1280x720 the highest resolution in your ABR stack will be equal to or greater than 1280x720. * If you specify a value for Max resolution, the value that you specify for Min top rendition size must be less than, or equal to, Max resolution.
1211
+ */
1212
+ MinTopRenditionSize?: MinTopRenditionSize;
1213
+ /**
1214
+ * Use Min top rendition size to specify a minimum size for the highest resolution in your ABR stack. * The highest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 1280x720 the highest resolution in your ABR stack will be equal to or greater than 1280x720. * If you specify a value for Max resolution, the value that you specify for Min top rendition size must be less than, or equal to, Max resolution. Use Min bottom rendition size to specify a minimum size for the lowest resolution in your ABR stack. * The lowest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 640x360 the lowest resolution in your ABR stack will be equal to or greater than to 640x360. * If you specify a Min top rendition size rule, the value that you specify for Min bottom rendition size must be less than, or equal to, Min top rendition size. Use Force include renditions to specify one or more resolutions to include your ABR stack. * (Recommended) To optimize automated ABR, specify as few resolutions as possible. * (Required) The number of resolutions that you specify must be equal to, or less than, the Max renditions setting. * If you specify a Min top rendition size rule, specify at least one resolution that is equal to, or greater than, Min top rendition size. * If you specify a Min bottom rendition size rule, only specify resolutions that are equal to, or greater than, Min bottom rendition size. * If you specify a Force include renditions rule, do not specify a separate rule for Allowed renditions. * Note: The ABR stack may include other resolutions that you do not specify here, depending on the Max renditions setting. Use Allowed renditions to specify a list of possible resolutions in your ABR stack. * (Required) The number of resolutions that you specify must be equal to, or greater than, the Max renditions setting. * MediaConvert will create an ABR stack exclusively from the list of resolutions that you specify. * Some resolutions in the Allowed renditions list may not be included, however you can force a resolution to be included by setting Required to ENABLED. * You must specify at least one resolution that is greater than or equal to any resolutions that you specify in Min top rendition size or Min bottom rendition size. * If you specify Allowed renditions, you must not specify a separate rule for Force include renditions.
1215
+ */
1216
+ Type?: RuleType | string;
1217
+ }
1218
+ export declare namespace AutomatedAbrRule {
1219
+ /**
1220
+ * @internal
1221
+ */
1222
+ const filterSensitiveLog: (obj: AutomatedAbrRule) => any;
1223
+ }
1103
1224
  export declare enum BurninSubtitleAlignment {
1104
1225
  AUTO = "AUTO",
1105
1226
  CENTERED = "CENTERED",
@@ -1488,7 +1609,7 @@ export declare enum ImscStylePassthrough {
1488
1609
  */
1489
1610
  export interface ImscDestinationSettings {
1490
1611
  /**
1491
- * Set Accessibility subtitles (Accessibility) to Enabled (ENABLED) if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES". Keep the default value, Disabled (DISABLED), if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.
1612
+ * Set Accessibility subtitles to Enabled if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES". Keep the default value, Disabled, if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.
1492
1613
  */
1493
1614
  Accessibility?: ImscAccessibilitySubs | string;
1494
1615
  /**
@@ -1602,7 +1723,7 @@ export declare enum WebvttStylePassthrough {
1602
1723
  */
1603
1724
  export interface WebvttDestinationSettings {
1604
1725
  /**
1605
- * Set Accessibility subtitles (Accessibility) to Enabled (ENABLED) if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES". Keep the default value, Disabled (DISABLED), if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.
1726
+ * Set Accessibility subtitles to Enabled if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES". Keep the default value, Disabled, if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.
1606
1727
  */
1607
1728
  Accessibility?: WebvttAccessibilitySubs | string;
1608
1729
  /**
@@ -3249,6 +3370,10 @@ export interface AutomatedAbrSettings {
3249
3370
  * Optional. The minimum target bitrate used in your automated ABR stack. Use this value to set a lower limit on the bitrate of video delivered to viewers with slow internet connections. If you don't specify a value, MediaConvert uses 600,000 (600 kb/s) by default.
3250
3371
  */
3251
3372
  MinAbrBitrate?: number;
3373
+ /**
3374
+ * Optional. Use Automated ABR rules to specify restrictions for the rendition sizes MediaConvert will create in your ABR stack. You can use these rules if your ABR workflow has specific rendition size requirements, but you still want MediaConvert to optimize for video quality and overall file size.
3375
+ */
3376
+ Rules?: AutomatedAbrRule[];
3252
3377
  }
3253
3378
  export declare namespace AutomatedAbrSettings {
3254
3379
  /**
@@ -4378,7 +4503,7 @@ export interface CmfcSettings {
4378
4503
  */
4379
4504
  IFrameOnlyManifest?: CmfcIFrameOnlyManifest | string;
4380
4505
  /**
4381
- * Applies to CMAF outputs. Use this setting to specify whether the service inserts the KLV metadata from the input in this output.
4506
+ * To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and writes each instance to a separate event message box in the output, according to MISB ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.
4382
4507
  */
4383
4508
  KlvMetadata?: CmfcKlvMetadata | string;
4384
4509
  /**
@@ -4539,46 +4664,3 @@ export declare enum M2tsKlvMetadata {
4539
4664
  NONE = "NONE",
4540
4665
  PASSTHROUGH = "PASSTHROUGH"
4541
4666
  }
4542
- export declare enum M2tsNielsenId3 {
4543
- INSERT = "INSERT",
4544
- NONE = "NONE"
4545
- }
4546
- export declare enum M2tsPcrControl {
4547
- CONFIGURED_PCR_PERIOD = "CONFIGURED_PCR_PERIOD",
4548
- PCR_EVERY_PES_PACKET = "PCR_EVERY_PES_PACKET"
4549
- }
4550
- export declare enum M2tsRateMode {
4551
- CBR = "CBR",
4552
- VBR = "VBR"
4553
- }
4554
- /**
4555
- * Settings for SCTE-35 signals from ESAM. Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).
4556
- */
4557
- export interface M2tsScte35Esam {
4558
- /**
4559
- * Packet Identifier (PID) of the SCTE-35 stream in the transport stream generated by ESAM.
4560
- */
4561
- Scte35EsamPid?: number;
4562
- }
4563
- export declare namespace M2tsScte35Esam {
4564
- /**
4565
- * @internal
4566
- */
4567
- const filterSensitiveLog: (obj: M2tsScte35Esam) => any;
4568
- }
4569
- export declare enum M2tsScte35Source {
4570
- NONE = "NONE",
4571
- PASSTHROUGH = "PASSTHROUGH"
4572
- }
4573
- export declare enum M2tsSegmentationMarkers {
4574
- EBP = "EBP",
4575
- EBP_LEGACY = "EBP_LEGACY",
4576
- NONE = "NONE",
4577
- PSI_SEGSTART = "PSI_SEGSTART",
4578
- RAI_ADAPT = "RAI_ADAPT",
4579
- RAI_SEGSTART = "RAI_SEGSTART"
4580
- }
4581
- export declare enum M2tsSegmentationStyle {
4582
- MAINTAIN_CADENCE = "MAINTAIN_CADENCE",
4583
- RESET_CADENCE = "RESET_CADENCE"
4584
- }