@aws-sdk/client-mediaconvert 3.41.0 → 3.46.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.
- package/CHANGELOG.md +48 -0
- package/dist-cjs/commands/UpdatePresetCommand.js +2 -1
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_1.js +11 -9
- package/dist-cjs/models/models_2.js +7 -1
- package/dist-cjs/protocols/Aws_restJson1.js +5 -0
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/commands/UpdatePresetCommand.js +2 -1
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_1.js +8 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -2
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/commands/UpdatePresetCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +3 -3
- package/dist-types/models/models_1.d.ts +23 -24
- package/dist-types/models/models_2.d.ts +13 -1
- package/dist-types/ts3.4/commands/UpdatePresetCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/models_1.d.ts +9 -8
- package/dist-types/ts3.4/models/models_2.d.ts +9 -1
- package/package.json +36 -43
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,54 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
17
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
18
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
36
|
+
|
|
37
|
+
**Note:** Version bump only for package @aws-sdk/client-mediaconvert
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* **clients:** update clients as of 11/18/2021 ([#3039](https://github.com/aws/aws-sdk-js-v3/issues/3039)) ([d2b2c45](https://github.com/aws/aws-sdk-js-v3/commit/d2b2c453315fc7bff798c1fb97c792e59274b4d6))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
6
54
|
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
7
55
|
|
|
8
56
|
|
|
@@ -4,6 +4,7 @@ exports.UpdatePresetCommand = void 0;
|
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const models_2_1 = require("../models/models_2");
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class UpdatePresetCommand extends smithy_client_1.Command {
|
|
9
10
|
constructor(input) {
|
|
@@ -21,7 +22,7 @@ class UpdatePresetCommand extends smithy_client_1.Command {
|
|
|
21
22
|
clientName,
|
|
22
23
|
commandName,
|
|
23
24
|
inputFilterSensitiveLog: models_1_1.UpdatePresetRequest.filterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: models_2_1.UpdatePresetResponse.filterSensitiveLog,
|
|
25
26
|
};
|
|
26
27
|
const { requestHandler } = configuration;
|
|
27
28
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.H264CodecLevel = exports.H264AdaptiveQuantization = exports.FrameCaptureSettings = exports.VideoCodec = exports.AvcIntraSettings = exports.AvcIntraTelecine = exports.AvcIntraSlowPal = exports.AvcIntraScanTypeConversionMode = exports.AvcIntraInterlaceMode = exports.AvcIntraFramerateConversionAlgorithm = exports.AvcIntraFramerateControl = exports.AvcIntraUhdSettings = exports.AvcIntraUhdQualityTuningLevel = exports.AvcIntraClass = exports.Av1Settings = exports.Av1SpatialAdaptiveQuantization = exports.Av1RateControlMode = exports.Av1QvbrSettings = exports.Av1FramerateConversionAlgorithm = exports.Av1FramerateControl = exports.Av1AdaptiveQuantization = exports.AntiAlias = exports.AfdSignaling = exports.OutputSettings = exports.HlsSettings = exports.HlsIFrameOnlyManifest = exports.HlsDescriptiveVideoServiceFlag = exports.HlsAudioTrackType = exports.HlsAudioOnlyContainer = exports.ContainerSettings = exports.MxfSettings = exports.MxfXavcProfileSettings = exports.MxfXavcDurationMode = exports.MxfProfile = exports.MxfAfdSignaling = exports.MpdSettings = exports.MpdScte35Source = exports.MpdScte35Esam = exports.MpdCaptionContainerType = exports.MpdAudioDuration = exports.MpdAccessibilityCaptionHints = exports.Mp4Settings = exports.Mp4MoovPlacement = exports.Mp4FreeSpaceBox = exports.Mp4CslgAtom = exports.MovSettings = exports.MovReference = exports.MovPaddingControl = exports.MovMpeg2FourCCControl = exports.MovCslgAtom = void 0;
|
|
4
4
|
exports.H265WriteMp4PackagingType = exports.H265UnregisteredSeiTimecode = exports.H265Tiles = exports.H265TemporalIds = exports.H265TemporalAdaptiveQuantization = exports.H265Telecine = exports.H265SpatialAdaptiveQuantization = exports.H265SlowPal = exports.H265SceneChangeDetect = exports.H265ScanTypeConversionMode = exports.H265SampleAdaptiveOffsetFilterMode = exports.H265RateControlMode = exports.H265QvbrSettings = exports.H265QualityTuningLevel = exports.H265ParControl = exports.H265InterlaceMode = exports.H265GopSizeUnits = exports.H265GopBReference = exports.H265FramerateConversionAlgorithm = exports.H265FramerateControl = exports.H265FlickerAdaptiveQuantization = exports.H265DynamicSubGop = exports.H265CodecProfile = exports.H265CodecLevel = exports.H265AlternateTransferFunctionSei = exports.H265AdaptiveQuantization = exports.H264Settings = exports.H264UnregisteredSeiTimecode = exports.H264TemporalAdaptiveQuantization = exports.H264Telecine = exports.H264Syntax = exports.H264SpatialAdaptiveQuantization = exports.H264SlowPal = exports.H264SceneChangeDetect = exports.H264ScanTypeConversionMode = exports.H264RepeatPps = exports.H264RateControlMode = exports.H264QvbrSettings = exports.H264QualityTuningLevel = exports.H264ParControl = exports.H264InterlaceMode = exports.H264GopSizeUnits = exports.H264GopBReference = exports.H264FramerateConversionAlgorithm = exports.H264FramerateControl = exports.H264FlickerAdaptiveQuantization = exports.H264FieldEncoding = exports.H264EntropyEncoding = exports.H264DynamicSubGop = exports.H264CodecProfile = void 0;
|
|
5
5
|
exports.Vp9RateControlMode = exports.Vp9QualityTuningLevel = exports.Vp9ParControl = exports.Vp9FramerateConversionAlgorithm = exports.Vp9FramerateControl = exports.Vp8Settings = exports.Vp8RateControlMode = exports.Vp8QualityTuningLevel = exports.Vp8ParControl = exports.Vp8FramerateConversionAlgorithm = exports.Vp8FramerateControl = exports.Vc3Settings = exports.Vc3Class = exports.Vc3Telecine = exports.Vc3SlowPal = exports.Vc3ScanTypeConversionMode = exports.Vc3InterlaceMode = exports.Vc3FramerateConversionAlgorithm = exports.Vc3FramerateControl = exports.ProresSettings = exports.ProresTelecine = exports.ProresSlowPal = exports.ProresScanTypeConversionMode = exports.ProresParControl = exports.ProresInterlaceMode = exports.ProresFramerateConversionAlgorithm = exports.ProresFramerateControl = exports.ProresCodecProfile = exports.ProresChromaSampling = exports.Mpeg2Settings = exports.Mpeg2TemporalAdaptiveQuantization = exports.Mpeg2Telecine = exports.Mpeg2Syntax = exports.Mpeg2SpatialAdaptiveQuantization = exports.Mpeg2SlowPal = exports.Mpeg2SceneChangeDetect = exports.Mpeg2ScanTypeConversionMode = exports.Mpeg2RateControlMode = exports.Mpeg2QualityTuningLevel = exports.Mpeg2ParControl = exports.Mpeg2IntraDcPrecision = exports.Mpeg2InterlaceMode = exports.Mpeg2GopSizeUnits = exports.Mpeg2FramerateConversionAlgorithm = exports.Mpeg2FramerateControl = exports.Mpeg2DynamicSubGop = exports.Mpeg2CodecProfile = exports.Mpeg2CodecLevel = exports.Mpeg2AdaptiveQuantization = exports.H265Settings = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
6
|
+
exports.NoiseFilterPostTemporalSharpeningStrength = exports.NoiseFilterPostTemporalSharpening = exports.NoiseReducerSpatialFilterSettings = exports.NoiseReducerFilterSettings = exports.NoiseReducerFilter = exports.Hdr10Plus = exports.DolbyVision = exports.DolbyVisionProfile = exports.DolbyVisionLevel6Mode = exports.DolbyVisionLevel6Metadata = exports.Deinterlacer = exports.DeinterlacerMode = exports.DeinterlacerControl = exports.DeinterlaceAlgorithm = exports.ColorCorrector = exports.SampleRangeConversion = exports.ColorSpaceConversion = exports.VideoTimecodeInsertion = exports.ScalingBehavior = exports.RespondToAfd = exports.DropFrameTimecode = exports.ColorMetadata = exports.VideoCodecSettings = exports.XavcSettings = exports.XavcHdProfileSettings = exports.XavcHdProfileTelecine = exports.XavcHdProfileQualityTuningLevel = exports.XavcInterlaceMode = exports.XavcHdProfileBitrateClass = exports.XavcHdIntraCbgProfileSettings = exports.XavcHdIntraCbgProfileClass = exports.Xavc4kProfileSettings = exports.Xavc4kProfileQualityTuningLevel = exports.XavcGopBReference = exports.XavcFlickerAdaptiveQuantization = exports.Xavc4kProfileCodecProfile = exports.Xavc4kProfileBitrateClass = exports.Xavc4kIntraVbrProfileSettings = exports.Xavc4kIntraVbrProfileClass = exports.Xavc4kIntraCbgProfileSettings = exports.Xavc4kIntraCbgProfileClass = exports.XavcTemporalAdaptiveQuantization = exports.XavcSpatialAdaptiveQuantization = exports.XavcSlowPal = exports.XavcProfile = exports.XavcFramerateConversionAlgorithm = exports.XavcFramerateControl = exports.XavcEntropyEncoding = exports.XavcAdaptiveQuantization = exports.Vp9Settings = void 0;
|
|
7
|
+
exports.CreateQueueRequest = exports.ReservationPlanSettings = exports.CreatePresetResponse = exports.CreatePresetRequest = exports.CreateJobTemplateResponse = exports.CreateJobTemplateRequest = exports.CreateJobResponse = exports.CreateJobRequest = exports.CancelJobResponse = exports.CancelJobRequest = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.AssociateCertificateResponse = exports.AssociateCertificateRequest = exports.Queue = exports.QueueStatus = exports.ReservationPlan = exports.ReservationPlanStatus = exports.RenewalType = exports.Commitment = exports.PricingPlan = exports.Preset = exports.PresetSettings = exports.JobTemplate = exports.Type = exports.JobTemplateSettings = exports.Job = exports.Timing = exports.StatusUpdateInterval = exports.JobStatus = exports.SimulateReservedQueue = exports.JobSettings = exports.TimedMetadataInsertion = exports.TimecodeConfig = exports.TimecodeSource = exports.OutputGroup = exports.Output = exports.VideoDescription = exports.VideoPreprocessor = exports.TimecodeBurnin = exports.TimecodeBurninPosition = exports.PartnerWatermarking = exports.NexGuardFileMarkerSettings = exports.WatermarkingStrength = exports.NoiseReducer = exports.NoiseReducerTemporalFilterSettings = void 0;
|
|
8
|
+
exports.UpdatePresetRequest = exports.UpdateJobTemplateResponse = exports.UpdateJobTemplateRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutPolicyResponse = exports.PutPolicyRequest = exports.ListTagsForResourceResponse = exports.ResourceTags = exports.ListTagsForResourceRequest = exports.ListQueuesResponse = exports.ListQueuesRequest = exports.QueueListBy = exports.ListPresetsResponse = exports.ListPresetsRequest = exports.PresetListBy = exports.ListJobTemplatesResponse = exports.ListJobTemplatesRequest = exports.ListJobsResponse = exports.ListJobsRequest = exports.Order = exports.JobTemplateListBy = exports.GetQueueResponse = exports.GetQueueRequest = exports.GetPresetResponse = exports.GetPresetRequest = exports.GetPolicyResponse = exports.Policy = exports.InputPolicy = exports.GetPolicyRequest = exports.GetJobTemplateResponse = exports.GetJobTemplateRequest = exports.GetJobResponse = exports.GetJobRequest = exports.DisassociateCertificateResponse = exports.DisassociateCertificateRequest = exports.DescribeEndpointsResponse = exports.DescribeEndpointsRequest = exports.DescribeEndpointsMode = exports.DeleteQueueResponse = exports.DeleteQueueRequest = exports.DeletePresetResponse = exports.DeletePresetRequest = exports.DeletePolicyResponse = exports.DeletePolicyRequest = exports.DeleteJobTemplateResponse = exports.DeleteJobTemplateRequest = exports.CreateQueueResponse = void 0;
|
|
9
9
|
var MovCslgAtom;
|
|
10
10
|
(function (MovCslgAtom) {
|
|
11
11
|
MovCslgAtom["EXCLUDE"] = "EXCLUDE";
|
|
@@ -361,6 +361,7 @@ var H264GopBReference;
|
|
|
361
361
|
})(H264GopBReference = exports.H264GopBReference || (exports.H264GopBReference = {}));
|
|
362
362
|
var H264GopSizeUnits;
|
|
363
363
|
(function (H264GopSizeUnits) {
|
|
364
|
+
H264GopSizeUnits["AUTO"] = "AUTO";
|
|
364
365
|
H264GopSizeUnits["FRAMES"] = "FRAMES";
|
|
365
366
|
H264GopSizeUnits["SECONDS"] = "SECONDS";
|
|
366
367
|
})(H264GopSizeUnits = exports.H264GopSizeUnits || (exports.H264GopSizeUnits = {}));
|
|
@@ -518,6 +519,7 @@ var H265GopBReference;
|
|
|
518
519
|
})(H265GopBReference = exports.H265GopBReference || (exports.H265GopBReference = {}));
|
|
519
520
|
var H265GopSizeUnits;
|
|
520
521
|
(function (H265GopSizeUnits) {
|
|
522
|
+
H265GopSizeUnits["AUTO"] = "AUTO";
|
|
521
523
|
H265GopSizeUnits["FRAMES"] = "FRAMES";
|
|
522
524
|
H265GopSizeUnits["SECONDS"] = "SECONDS";
|
|
523
525
|
})(H265GopSizeUnits = exports.H265GopSizeUnits || (exports.H265GopSizeUnits = {}));
|
|
@@ -1182,6 +1184,12 @@ var NoiseFilterPostTemporalSharpening;
|
|
|
1182
1184
|
NoiseFilterPostTemporalSharpening["DISABLED"] = "DISABLED";
|
|
1183
1185
|
NoiseFilterPostTemporalSharpening["ENABLED"] = "ENABLED";
|
|
1184
1186
|
})(NoiseFilterPostTemporalSharpening = exports.NoiseFilterPostTemporalSharpening || (exports.NoiseFilterPostTemporalSharpening = {}));
|
|
1187
|
+
var NoiseFilterPostTemporalSharpeningStrength;
|
|
1188
|
+
(function (NoiseFilterPostTemporalSharpeningStrength) {
|
|
1189
|
+
NoiseFilterPostTemporalSharpeningStrength["HIGH"] = "HIGH";
|
|
1190
|
+
NoiseFilterPostTemporalSharpeningStrength["LOW"] = "LOW";
|
|
1191
|
+
NoiseFilterPostTemporalSharpeningStrength["MEDIUM"] = "MEDIUM";
|
|
1192
|
+
})(NoiseFilterPostTemporalSharpeningStrength = exports.NoiseFilterPostTemporalSharpeningStrength || (exports.NoiseFilterPostTemporalSharpeningStrength = {}));
|
|
1185
1193
|
var NoiseReducerTemporalFilterSettings;
|
|
1186
1194
|
(function (NoiseReducerTemporalFilterSettings) {
|
|
1187
1195
|
NoiseReducerTemporalFilterSettings.filterSensitiveLog = (obj) => ({
|
|
@@ -1792,9 +1800,3 @@ var UpdatePresetRequest;
|
|
|
1792
1800
|
...obj,
|
|
1793
1801
|
});
|
|
1794
1802
|
})(UpdatePresetRequest = exports.UpdatePresetRequest || (exports.UpdatePresetRequest = {}));
|
|
1795
|
-
var UpdatePresetResponse;
|
|
1796
|
-
(function (UpdatePresetResponse) {
|
|
1797
|
-
UpdatePresetResponse.filterSensitiveLog = (obj) => ({
|
|
1798
|
-
...obj,
|
|
1799
|
-
});
|
|
1800
|
-
})(UpdatePresetResponse = exports.UpdatePresetResponse || (exports.UpdatePresetResponse = {}));
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateQueueResponse = exports.UpdateQueueRequest = void 0;
|
|
3
|
+
exports.UpdateQueueResponse = exports.UpdateQueueRequest = exports.UpdatePresetResponse = void 0;
|
|
4
|
+
var UpdatePresetResponse;
|
|
5
|
+
(function (UpdatePresetResponse) {
|
|
6
|
+
UpdatePresetResponse.filterSensitiveLog = (obj) => ({
|
|
7
|
+
...obj,
|
|
8
|
+
});
|
|
9
|
+
})(UpdatePresetResponse = exports.UpdatePresetResponse || (exports.UpdatePresetResponse = {}));
|
|
4
10
|
var UpdateQueueRequest;
|
|
5
11
|
(function (UpdateQueueRequest) {
|
|
6
12
|
UpdateQueueRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -5559,6 +5559,10 @@ const serializeAws_restJson1NoiseReducerTemporalFilterSettings = (input, context
|
|
|
5559
5559
|
input.AggressiveMode !== null && { aggressiveMode: input.AggressiveMode }),
|
|
5560
5560
|
...(input.PostTemporalSharpening !== undefined &&
|
|
5561
5561
|
input.PostTemporalSharpening !== null && { postTemporalSharpening: input.PostTemporalSharpening }),
|
|
5562
|
+
...(input.PostTemporalSharpeningStrength !== undefined &&
|
|
5563
|
+
input.PostTemporalSharpeningStrength !== null && {
|
|
5564
|
+
postTemporalSharpeningStrength: input.PostTemporalSharpeningStrength,
|
|
5565
|
+
}),
|
|
5562
5566
|
...(input.Speed !== undefined && input.Speed !== null && { speed: input.Speed }),
|
|
5563
5567
|
...(input.Strength !== undefined && input.Strength !== null && { strength: input.Strength }),
|
|
5564
5568
|
};
|
|
@@ -8142,6 +8146,7 @@ const deserializeAws_restJson1NoiseReducerTemporalFilterSettings = (output, cont
|
|
|
8142
8146
|
return {
|
|
8143
8147
|
AggressiveMode: smithy_client_1.expectInt32(output.aggressiveMode),
|
|
8144
8148
|
PostTemporalSharpening: smithy_client_1.expectString(output.postTemporalSharpening),
|
|
8149
|
+
PostTemporalSharpeningStrength: smithy_client_1.expectString(output.postTemporalSharpeningStrength),
|
|
8145
8150
|
Speed: smithy_client_1.expectInt32(output.speed),
|
|
8146
8151
|
Strength: smithy_client_1.expectInt32(output.strength),
|
|
8147
8152
|
};
|
|
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const getRuntimeConfig = (config) => {
|
|
20
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
20
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
21
|
return {
|
|
24
22
|
...clientSharedValues,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdatePresetRequest
|
|
4
|
+
import { UpdatePresetRequest } from "../models/models_1";
|
|
5
|
+
import { UpdatePresetResponse } from "../models/models_2";
|
|
5
6
|
import { deserializeAws_restJson1UpdatePresetCommand, serializeAws_restJson1UpdatePresetCommand, } from "../protocols/Aws_restJson1";
|
|
6
7
|
var UpdatePresetCommand = (function (_super) {
|
|
7
8
|
__extends(UpdatePresetCommand, _super);
|
package/dist-es/endpoints.js
CHANGED
|
@@ -328,6 +328,7 @@ export var H264GopBReference;
|
|
|
328
328
|
})(H264GopBReference || (H264GopBReference = {}));
|
|
329
329
|
export var H264GopSizeUnits;
|
|
330
330
|
(function (H264GopSizeUnits) {
|
|
331
|
+
H264GopSizeUnits["AUTO"] = "AUTO";
|
|
331
332
|
H264GopSizeUnits["FRAMES"] = "FRAMES";
|
|
332
333
|
H264GopSizeUnits["SECONDS"] = "SECONDS";
|
|
333
334
|
})(H264GopSizeUnits || (H264GopSizeUnits = {}));
|
|
@@ -481,6 +482,7 @@ export var H265GopBReference;
|
|
|
481
482
|
})(H265GopBReference || (H265GopBReference = {}));
|
|
482
483
|
export var H265GopSizeUnits;
|
|
483
484
|
(function (H265GopSizeUnits) {
|
|
485
|
+
H265GopSizeUnits["AUTO"] = "AUTO";
|
|
484
486
|
H265GopSizeUnits["FRAMES"] = "FRAMES";
|
|
485
487
|
H265GopSizeUnits["SECONDS"] = "SECONDS";
|
|
486
488
|
})(H265GopSizeUnits || (H265GopSizeUnits = {}));
|
|
@@ -1103,6 +1105,12 @@ export var NoiseFilterPostTemporalSharpening;
|
|
|
1103
1105
|
NoiseFilterPostTemporalSharpening["DISABLED"] = "DISABLED";
|
|
1104
1106
|
NoiseFilterPostTemporalSharpening["ENABLED"] = "ENABLED";
|
|
1105
1107
|
})(NoiseFilterPostTemporalSharpening || (NoiseFilterPostTemporalSharpening = {}));
|
|
1108
|
+
export var NoiseFilterPostTemporalSharpeningStrength;
|
|
1109
|
+
(function (NoiseFilterPostTemporalSharpeningStrength) {
|
|
1110
|
+
NoiseFilterPostTemporalSharpeningStrength["HIGH"] = "HIGH";
|
|
1111
|
+
NoiseFilterPostTemporalSharpeningStrength["LOW"] = "LOW";
|
|
1112
|
+
NoiseFilterPostTemporalSharpeningStrength["MEDIUM"] = "MEDIUM";
|
|
1113
|
+
})(NoiseFilterPostTemporalSharpeningStrength || (NoiseFilterPostTemporalSharpeningStrength = {}));
|
|
1106
1114
|
export var NoiseReducerTemporalFilterSettings;
|
|
1107
1115
|
(function (NoiseReducerTemporalFilterSettings) {
|
|
1108
1116
|
NoiseReducerTemporalFilterSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1549,7 +1557,3 @@ export var UpdatePresetRequest;
|
|
|
1549
1557
|
(function (UpdatePresetRequest) {
|
|
1550
1558
|
UpdatePresetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1551
1559
|
})(UpdatePresetRequest || (UpdatePresetRequest = {}));
|
|
1552
|
-
export var UpdatePresetResponse;
|
|
1553
|
-
(function (UpdatePresetResponse) {
|
|
1554
|
-
UpdatePresetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1555
|
-
})(UpdatePresetResponse || (UpdatePresetResponse = {}));
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var UpdatePresetResponse;
|
|
3
|
+
(function (UpdatePresetResponse) {
|
|
4
|
+
UpdatePresetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(UpdatePresetResponse || (UpdatePresetResponse = {}));
|
|
2
6
|
export var UpdateQueueRequest;
|
|
3
7
|
(function (UpdateQueueRequest) {
|
|
4
8
|
UpdateQueueRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -5111,9 +5111,12 @@ var serializeAws_restJson1NoiseReducerSpatialFilterSettings = function (input, c
|
|
|
5111
5111
|
input.PostFilterSharpenStrength !== null && { postFilterSharpenStrength: input.PostFilterSharpenStrength })), (input.Speed !== undefined && input.Speed !== null && { speed: input.Speed })), (input.Strength !== undefined && input.Strength !== null && { strength: input.Strength }));
|
|
5112
5112
|
};
|
|
5113
5113
|
var serializeAws_restJson1NoiseReducerTemporalFilterSettings = function (input, context) {
|
|
5114
|
-
return __assign(__assign(__assign(__assign({}, (input.AggressiveMode !== undefined &&
|
|
5114
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AggressiveMode !== undefined &&
|
|
5115
5115
|
input.AggressiveMode !== null && { aggressiveMode: input.AggressiveMode })), (input.PostTemporalSharpening !== undefined &&
|
|
5116
|
-
input.PostTemporalSharpening !== null && { postTemporalSharpening: input.PostTemporalSharpening })), (input.
|
|
5116
|
+
input.PostTemporalSharpening !== null && { postTemporalSharpening: input.PostTemporalSharpening })), (input.PostTemporalSharpeningStrength !== undefined &&
|
|
5117
|
+
input.PostTemporalSharpeningStrength !== null && {
|
|
5118
|
+
postTemporalSharpeningStrength: input.PostTemporalSharpeningStrength,
|
|
5119
|
+
})), (input.Speed !== undefined && input.Speed !== null && { speed: input.Speed })), (input.Strength !== undefined && input.Strength !== null && { strength: input.Strength }));
|
|
5117
5120
|
};
|
|
5118
5121
|
var serializeAws_restJson1OpusSettings = function (input, context) {
|
|
5119
5122
|
return __assign(__assign(__assign({}, (input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: input.Bitrate })), (input.Channels !== undefined && input.Channels !== null && { channels: input.Channels })), (input.SampleRate !== undefined && input.SampleRate !== null && { sampleRate: input.SampleRate }));
|
|
@@ -7430,6 +7433,7 @@ var deserializeAws_restJson1NoiseReducerTemporalFilterSettings = function (outpu
|
|
|
7430
7433
|
return {
|
|
7431
7434
|
AggressiveMode: __expectInt32(output.aggressiveMode),
|
|
7432
7435
|
PostTemporalSharpening: __expectString(output.postTemporalSharpening),
|
|
7436
|
+
PostTemporalSharpeningStrength: __expectString(output.postTemporalSharpeningStrength),
|
|
7433
7437
|
Speed: __expectInt32(output.speed),
|
|
7434
7438
|
Strength: __expectInt32(output.strength),
|
|
7435
7439
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
15
|
export var getRuntimeConfig = function (config) {
|
|
17
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
19
17
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
18
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
19
|
};
|
|
@@ -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 { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
|
|
4
|
-
import { UpdatePresetRequest
|
|
4
|
+
import { UpdatePresetRequest } from "../models/models_1";
|
|
5
|
+
import { UpdatePresetResponse } from "../models/models_2";
|
|
5
6
|
export interface UpdatePresetCommandInput extends UpdatePresetRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface UpdatePresetCommandOutput extends UpdatePresetResponse, __MetadataBearer {
|
|
@@ -1173,7 +1173,7 @@ export interface BurninDestinationSettings {
|
|
|
1173
1173
|
*/
|
|
1174
1174
|
ApplyFontColor?: BurninSubtitleApplyFontColor | string;
|
|
1175
1175
|
/**
|
|
1176
|
-
* Specify the color of the rectangle behind the captions. Leave background color (BackgroundColor) blank and set Style passthrough (StylePassthrough) to enabled to use the background color data from your input captions, if present.
|
|
1176
|
+
* Specify the color of the rectangle behind the captions. Leave background color (BackgroundColor) blank and set Style passthrough (StylePassthrough) to enabled to use the background color data from your input captions, if present.
|
|
1177
1177
|
*/
|
|
1178
1178
|
BackgroundColor?: BurninSubtitleBackgroundColor | string;
|
|
1179
1179
|
/**
|
|
@@ -1433,7 +1433,7 @@ export interface DvbSubDestinationSettings {
|
|
|
1433
1433
|
*/
|
|
1434
1434
|
SubtitlingType?: DvbSubtitlingType | string;
|
|
1435
1435
|
/**
|
|
1436
|
-
* Specify whether the Text spacing (
|
|
1436
|
+
* Specify whether the Text spacing (TeletextSpacing) in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid (FIXED_GRID) to conform to the spacing specified in the captions file more accurately. Choose proportional (PROPORTIONAL) to make the text easier to read for closed captions. Within your job settings, all of your DVB-Sub settings must be identical.
|
|
1437
1437
|
*/
|
|
1438
1438
|
TeletextSpacing?: DvbSubtitleTeletextSpacing | string;
|
|
1439
1439
|
/**
|
|
@@ -4285,7 +4285,7 @@ export interface CmfcSettings {
|
|
|
4285
4285
|
*/
|
|
4286
4286
|
AudioGroupId?: string;
|
|
4287
4287
|
/**
|
|
4288
|
-
* List the audio rendition groups that you want included with this video rendition. Use a comma-separated list. For example, say you want to include the audio rendition groups that have the audio group IDs "audio_aac_1" and "audio_dolby". Then you would specify this value: "audio_aac_1,
|
|
4288
|
+
* List the audio rendition groups that you want included with this video rendition. Use a comma-separated list. For example, say you want to include the audio rendition groups that have the audio group IDs "audio_aac_1" and "audio_dolby". Then you would specify this value: "audio_aac_1,audio_dolby". Related setting: The rendition groups that you include in your comma-separated list should all match values that you specify in the setting Audio group ID (AudioGroupId) for audio renditions in the same output group as this video rendition. Default behavior: If you don't specify anything here and for Audio group ID, MediaConvert puts each audio variant in its own audio rendition group and associates it with every video variant. Each value in your list appears in your HLS parent manifest in the EXT-X-STREAM-INF tag as the value for the AUDIO attribute. To continue the previous example, say that the file name for the child manifest for your video rendition is "amazing_video_1.m3u8". Then, in your parent manifest, each value will appear on separate lines, like this: #EXT-X-STREAM-INF:AUDIO="audio_aac_1"... amazing_video_1.m3u8 #EXT-X-STREAM-INF:AUDIO="audio_dolby"... amazing_video_1.m3u8
|
|
4289
4289
|
*/
|
|
4290
4290
|
AudioRenditionSets?: string;
|
|
4291
4291
|
/**
|
|
@@ -642,6 +642,7 @@ export declare enum H264GopBReference {
|
|
|
642
642
|
ENABLED = "ENABLED"
|
|
643
643
|
}
|
|
644
644
|
export declare enum H264GopSizeUnits {
|
|
645
|
+
AUTO = "AUTO",
|
|
645
646
|
FRAMES = "FRAMES",
|
|
646
647
|
SECONDS = "SECONDS"
|
|
647
648
|
}
|
|
@@ -784,15 +785,15 @@ export interface H264Settings {
|
|
|
784
785
|
*/
|
|
785
786
|
GopBReference?: H264GopBReference | string;
|
|
786
787
|
/**
|
|
787
|
-
*
|
|
788
|
+
* Specify the relative frequency of open to closed GOPs in this output. For example, if you want to allow four open GOPs and then require a closed GOP, set this value to 5. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. If you do explicitly specify a value, for segmented outputs, don't set this value to 0.
|
|
788
789
|
*/
|
|
789
790
|
GopClosedCadence?: number;
|
|
790
791
|
/**
|
|
791
|
-
* GOP
|
|
792
|
+
* Use this setting only when you set GOP mode control (GopSizeUnits) to Specified, frames (FRAMES) or Specified, seconds (SECONDS). Specify the GOP length using a whole number of frames or a decimal value of seconds. MediaConvert will interpret this value as frames or seconds depending on the value you choose for GOP mode control (GopSizeUnits). If you want to allow MediaConvert to automatically determine GOP size, leave GOP size blank and set GOP mode control to Auto (AUTO). If your output group specifies HLS, DASH, or CMAF, leave GOP size blank and set GOP mode control to Auto in each output in your output group.
|
|
792
793
|
*/
|
|
793
794
|
GopSize?: number;
|
|
794
795
|
/**
|
|
795
|
-
*
|
|
796
|
+
* Specify how the transcoder determines GOP size for this output. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if you don't specify GOP mode control (GopSizeUnits), MediaConvert will use automatic behavior. If your output group specifies HLS, DASH, or CMAF, set GOP mode control to Auto and leave GOP size blank in each output in your output group. To explicitly specify the GOP length, choose Specified, frames (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length in the related setting GOP size (GopSize).
|
|
796
797
|
*/
|
|
797
798
|
GopSizeUnits?: H264GopSizeUnits | string;
|
|
798
799
|
/**
|
|
@@ -812,11 +813,11 @@ export interface H264Settings {
|
|
|
812
813
|
*/
|
|
813
814
|
MaxBitrate?: number;
|
|
814
815
|
/**
|
|
815
|
-
*
|
|
816
|
+
* Use this setting only when you also enable Scene change detection (SceneChangeDetect). This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. When you explicitly specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval (minIInterval) to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs.
|
|
816
817
|
*/
|
|
817
818
|
MinIInterval?: number;
|
|
818
819
|
/**
|
|
819
|
-
*
|
|
820
|
+
* This setting to determines the number of B-frames that MediaConvert puts between reference frames in this output. We recommend that you use automatic behavior to allow the transcoder to choose the best value based on characteristics of your input video. In the console, choose AUTO to select this automatic behavior. When you manually edit your JSON job specification, leave this setting out to choose automatic behavior. When you want to specify this number explicitly, choose a whole number from 0 through 7.
|
|
820
821
|
*/
|
|
821
822
|
NumberBFramesBetweenReferenceFrames?: number;
|
|
822
823
|
/**
|
|
@@ -958,6 +959,7 @@ export declare enum H265GopBReference {
|
|
|
958
959
|
ENABLED = "ENABLED"
|
|
959
960
|
}
|
|
960
961
|
export declare enum H265GopSizeUnits {
|
|
962
|
+
AUTO = "AUTO",
|
|
961
963
|
FRAMES = "FRAMES",
|
|
962
964
|
SECONDS = "SECONDS"
|
|
963
965
|
}
|
|
@@ -1105,15 +1107,15 @@ export interface H265Settings {
|
|
|
1105
1107
|
*/
|
|
1106
1108
|
GopBReference?: H265GopBReference | string;
|
|
1107
1109
|
/**
|
|
1108
|
-
*
|
|
1110
|
+
* Specify the relative frequency of open to closed GOPs in this output. For example, if you want to allow four open GOPs and then require a closed GOP, set this value to 5. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. If you do explicitly specify a value, for segmented outputs, don't set this value to 0.
|
|
1109
1111
|
*/
|
|
1110
1112
|
GopClosedCadence?: number;
|
|
1111
1113
|
/**
|
|
1112
|
-
* GOP
|
|
1114
|
+
* Use this setting only when you set GOP mode control (GopSizeUnits) to Specified, frames (FRAMES) or Specified, seconds (SECONDS). Specify the GOP length using a whole number of frames or a decimal value of seconds. MediaConvert will interpret this value as frames or seconds depending on the value you choose for GOP mode control (GopSizeUnits). If you want to allow MediaConvert to automatically determine GOP size, leave GOP size blank and set GOP mode control to Auto (AUTO). If your output group specifies HLS, DASH, or CMAF, leave GOP size blank and set GOP mode control to Auto in each output in your output group.
|
|
1113
1115
|
*/
|
|
1114
1116
|
GopSize?: number;
|
|
1115
1117
|
/**
|
|
1116
|
-
*
|
|
1118
|
+
* Specify how the transcoder determines GOP size for this output. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if you don't specify GOP mode control (GopSizeUnits), MediaConvert will use automatic behavior. If your output group specifies HLS, DASH, or CMAF, set GOP mode control to Auto and leave GOP size blank in each output in your output group. To explicitly specify the GOP length, choose Specified, frames (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length in the related setting GOP size (GopSize).
|
|
1117
1119
|
*/
|
|
1118
1120
|
GopSizeUnits?: H265GopSizeUnits | string;
|
|
1119
1121
|
/**
|
|
@@ -1133,7 +1135,7 @@ export interface H265Settings {
|
|
|
1133
1135
|
*/
|
|
1134
1136
|
MaxBitrate?: number;
|
|
1135
1137
|
/**
|
|
1136
|
-
*
|
|
1138
|
+
* Use this setting only when you also enable Scene change detection (SceneChangeDetect). This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. When you explicitly specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval (minIInterval) to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs.
|
|
1137
1139
|
*/
|
|
1138
1140
|
MinIInterval?: number;
|
|
1139
1141
|
/**
|
|
@@ -1353,7 +1355,7 @@ export interface Mpeg2Settings {
|
|
|
1353
1355
|
*/
|
|
1354
1356
|
FramerateNumerator?: number;
|
|
1355
1357
|
/**
|
|
1356
|
-
*
|
|
1358
|
+
* Specify the relative frequency of open to closed GOPs in this output. For example, if you want to allow four open GOPs and then require a closed GOP, set this value to 5. When you create a streaming output, we recommend that you keep the default value, 1, so that players starting mid-stream receive an IDR frame as quickly as possible. Don't set this value to 0; that would break output segmenting.
|
|
1357
1359
|
*/
|
|
1358
1360
|
GopClosedCadence?: number;
|
|
1359
1361
|
/**
|
|
@@ -1385,7 +1387,7 @@ export interface Mpeg2Settings {
|
|
|
1385
1387
|
*/
|
|
1386
1388
|
MaxBitrate?: number;
|
|
1387
1389
|
/**
|
|
1388
|
-
*
|
|
1390
|
+
* Use this setting only when you also enable Scene change detection (SceneChangeDetect). This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. When you specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval (minIInterval) to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs.
|
|
1389
1391
|
*/
|
|
1390
1392
|
MinIInterval?: number;
|
|
1391
1393
|
/**
|
|
@@ -2401,6 +2403,11 @@ export declare enum NoiseFilterPostTemporalSharpening {
|
|
|
2401
2403
|
DISABLED = "DISABLED",
|
|
2402
2404
|
ENABLED = "ENABLED"
|
|
2403
2405
|
}
|
|
2406
|
+
export declare enum NoiseFilterPostTemporalSharpeningStrength {
|
|
2407
|
+
HIGH = "HIGH",
|
|
2408
|
+
LOW = "LOW",
|
|
2409
|
+
MEDIUM = "MEDIUM"
|
|
2410
|
+
}
|
|
2404
2411
|
/**
|
|
2405
2412
|
* Noise reducer filter settings for temporal filter.
|
|
2406
2413
|
*/
|
|
@@ -2410,9 +2417,13 @@ export interface NoiseReducerTemporalFilterSettings {
|
|
|
2410
2417
|
*/
|
|
2411
2418
|
AggressiveMode?: number;
|
|
2412
2419
|
/**
|
|
2413
|
-
*
|
|
2420
|
+
* When you set Noise reducer (noiseReducer) to Temporal (TEMPORAL), the sharpness of your output is reduced. You can optionally use Post temporal sharpening (PostTemporalSharpening) to apply sharpening to the edges of your output. The default behavior, Auto (AUTO), allows the transcoder to determine whether to apply sharpening, depending on your input type and quality. When you set Post temporal sharpening to Enabled (ENABLED), specify how much sharpening is applied using Post temporal sharpening strength (PostTemporalSharpeningStrength). Set Post temporal sharpening to Disabled (DISABLED) to not apply sharpening.
|
|
2414
2421
|
*/
|
|
2415
2422
|
PostTemporalSharpening?: NoiseFilterPostTemporalSharpening | string;
|
|
2423
|
+
/**
|
|
2424
|
+
* Use Post temporal sharpening strength (PostTemporalSharpeningStrength) to define the amount of sharpening the transcoder applies to your output. Set Post temporal sharpening strength to Low (LOW), or leave blank, to apply a low amount of sharpening. Set Post temporal sharpening strength to Medium (MEDIUM) to apply medium amount of sharpening. Set Post temporal sharpening strength to High (HIGH) to apply a high amount of sharpening.
|
|
2425
|
+
*/
|
|
2426
|
+
PostTemporalSharpeningStrength?: NoiseFilterPostTemporalSharpeningStrength | string;
|
|
2416
2427
|
/**
|
|
2417
2428
|
* The speed of the filter (higher number is faster). Low setting reduces bit rate at the cost of transcode time, high setting improves transcode time at the cost of bit rate.
|
|
2418
2429
|
*/
|
|
@@ -4345,15 +4356,3 @@ export declare namespace UpdatePresetRequest {
|
|
|
4345
4356
|
*/
|
|
4346
4357
|
const filterSensitiveLog: (obj: UpdatePresetRequest) => any;
|
|
4347
4358
|
}
|
|
4348
|
-
export interface UpdatePresetResponse {
|
|
4349
|
-
/**
|
|
4350
|
-
* A preset is a collection of preconfigured media conversion settings that you want MediaConvert to apply to the output during the conversion process.
|
|
4351
|
-
*/
|
|
4352
|
-
Preset?: Preset;
|
|
4353
|
-
}
|
|
4354
|
-
export declare namespace UpdatePresetResponse {
|
|
4355
|
-
/**
|
|
4356
|
-
* @internal
|
|
4357
|
-
*/
|
|
4358
|
-
const filterSensitiveLog: (obj: UpdatePresetResponse) => any;
|
|
4359
|
-
}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
import { Queue, QueueStatus, ReservationPlanSettings } from "./models_1";
|
|
1
|
+
import { Preset, Queue, QueueStatus, ReservationPlanSettings } from "./models_1";
|
|
2
|
+
export interface UpdatePresetResponse {
|
|
3
|
+
/**
|
|
4
|
+
* A preset is a collection of preconfigured media conversion settings that you want MediaConvert to apply to the output during the conversion process.
|
|
5
|
+
*/
|
|
6
|
+
Preset?: Preset;
|
|
7
|
+
}
|
|
8
|
+
export declare namespace UpdatePresetResponse {
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
const filterSensitiveLog: (obj: UpdatePresetResponse) => any;
|
|
13
|
+
}
|
|
2
14
|
export interface UpdateQueueRequest {
|
|
3
15
|
/**
|
|
4
16
|
* The new description for the queue, if you are changing it.
|
|
@@ -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 { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
|
|
4
|
-
import { UpdatePresetRequest
|
|
4
|
+
import { UpdatePresetRequest } from "../models/models_1";
|
|
5
|
+
import { UpdatePresetResponse } from "../models/models_2";
|
|
5
6
|
export interface UpdatePresetCommandInput extends UpdatePresetRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface UpdatePresetCommandOutput extends UpdatePresetResponse, __MetadataBearer {
|
|
@@ -456,6 +456,7 @@ export declare enum H264GopBReference {
|
|
|
456
456
|
ENABLED = "ENABLED"
|
|
457
457
|
}
|
|
458
458
|
export declare enum H264GopSizeUnits {
|
|
459
|
+
AUTO = "AUTO",
|
|
459
460
|
FRAMES = "FRAMES",
|
|
460
461
|
SECONDS = "SECONDS"
|
|
461
462
|
}
|
|
@@ -678,6 +679,7 @@ export declare enum H265GopBReference {
|
|
|
678
679
|
ENABLED = "ENABLED"
|
|
679
680
|
}
|
|
680
681
|
export declare enum H265GopSizeUnits {
|
|
682
|
+
AUTO = "AUTO",
|
|
681
683
|
FRAMES = "FRAMES",
|
|
682
684
|
SECONDS = "SECONDS"
|
|
683
685
|
}
|
|
@@ -1653,6 +1655,11 @@ export declare enum NoiseFilterPostTemporalSharpening {
|
|
|
1653
1655
|
DISABLED = "DISABLED",
|
|
1654
1656
|
ENABLED = "ENABLED"
|
|
1655
1657
|
}
|
|
1658
|
+
export declare enum NoiseFilterPostTemporalSharpeningStrength {
|
|
1659
|
+
HIGH = "HIGH",
|
|
1660
|
+
LOW = "LOW",
|
|
1661
|
+
MEDIUM = "MEDIUM"
|
|
1662
|
+
}
|
|
1656
1663
|
|
|
1657
1664
|
export interface NoiseReducerTemporalFilterSettings {
|
|
1658
1665
|
|
|
@@ -1660,6 +1667,8 @@ export interface NoiseReducerTemporalFilterSettings {
|
|
|
1660
1667
|
|
|
1661
1668
|
PostTemporalSharpening?: NoiseFilterPostTemporalSharpening | string;
|
|
1662
1669
|
|
|
1670
|
+
PostTemporalSharpeningStrength?: NoiseFilterPostTemporalSharpeningStrength | string;
|
|
1671
|
+
|
|
1663
1672
|
Speed?: number;
|
|
1664
1673
|
|
|
1665
1674
|
Strength?: number;
|
|
@@ -2841,11 +2850,3 @@ export declare namespace UpdatePresetRequest {
|
|
|
2841
2850
|
|
|
2842
2851
|
const filterSensitiveLog: (obj: UpdatePresetRequest) => any;
|
|
2843
2852
|
}
|
|
2844
|
-
export interface UpdatePresetResponse {
|
|
2845
|
-
|
|
2846
|
-
Preset?: Preset;
|
|
2847
|
-
}
|
|
2848
|
-
export declare namespace UpdatePresetResponse {
|
|
2849
|
-
|
|
2850
|
-
const filterSensitiveLog: (obj: UpdatePresetResponse) => any;
|
|
2851
|
-
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import { Queue, QueueStatus, ReservationPlanSettings } from "./models_1";
|
|
1
|
+
import { Preset, Queue, QueueStatus, ReservationPlanSettings } from "./models_1";
|
|
2
|
+
export interface UpdatePresetResponse {
|
|
3
|
+
|
|
4
|
+
Preset?: Preset;
|
|
5
|
+
}
|
|
6
|
+
export declare namespace UpdatePresetResponse {
|
|
7
|
+
|
|
8
|
+
const filterSensitiveLog: (obj: UpdatePresetResponse) => any;
|
|
9
|
+
}
|
|
2
10
|
export interface UpdateQueueRequest {
|
|
3
11
|
|
|
4
12
|
Description?: string;
|
package/package.json
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediaconvert",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediaconvert Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.46.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
12
|
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
-
"clean:dist": "rimraf ./dist",
|
|
13
|
-
"clean:docs": "rimraf ./docs"
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
13
|
+
"clean:dist": "rimraf ./dist-*",
|
|
14
|
+
"clean:docs": "rimraf ./docs"
|
|
16
15
|
},
|
|
17
16
|
"main": "./dist-cjs/index.js",
|
|
18
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,50 +20,44 @@
|
|
|
21
20
|
"dependencies": {
|
|
22
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.46.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.46.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.46.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.46.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.46.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.46.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.46.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.46.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.46.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.46.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.46.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.46.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.46.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.46.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.46.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.46.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.46.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.46.0",
|
|
41
|
+
"@aws-sdk/types": "3.46.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.46.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.46.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.46.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.46.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.46.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.46.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.46.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.46.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.46.0",
|
|
52
51
|
"tslib": "^2.3.0",
|
|
53
52
|
"uuid": "^8.3.2"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.46.0",
|
|
57
56
|
"@types/node": "^12.7.5",
|
|
58
|
-
"@types/uuid": "^8.3.0"
|
|
59
|
-
"downlevel-dts": "0.7.0",
|
|
60
|
-
"jest": "^26.1.0",
|
|
61
|
-
"rimraf": "^3.0.0",
|
|
62
|
-
"ts-jest": "^26.4.1",
|
|
63
|
-
"typedoc": "^0.19.2",
|
|
64
|
-
"typescript": "~4.3.5"
|
|
57
|
+
"@types/uuid": "^8.3.0"
|
|
65
58
|
},
|
|
66
59
|
"engines": {
|
|
67
|
-
"node": ">=
|
|
60
|
+
"node": ">=12.0.0"
|
|
68
61
|
},
|
|
69
62
|
"typesVersions": {
|
|
70
63
|
"<4.0": {
|