@aws-sdk/client-mediaconvert 3.43.0 → 3.47.1

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 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.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-mediaconvert
9
+
10
+
11
+
12
+
13
+
14
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **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))
31
+
32
+
33
+ ### Features
34
+
35
+ * **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))
36
+ * **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))
37
+ * 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))
38
+
39
+
40
+
41
+
42
+
43
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
44
+
45
+
46
+ ### Features
47
+
48
+ * **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))
49
+
50
+
51
+
52
+
53
+
6
54
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
55
 
8
56
  **Note:** Version bump only for package @aws-sdk/client-mediaconvert
@@ -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: models_1_1.UpdatePresetResponse.filterSensitiveLog,
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);
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "ca-central-1": {
7
7
  variants: [
8
- {
9
- hostname: "mediaconvert.ca-central-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "mediaconvert-fips.ca-central-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -26,10 +22,6 @@ const regionHash = {
26
22
  },
27
23
  "us-east-1": {
28
24
  variants: [
29
- {
30
- hostname: "mediaconvert.us-east-1.amazonaws.com",
31
- tags: [],
32
- },
33
25
  {
34
26
  hostname: "mediaconvert-fips.us-east-1.amazonaws.com",
35
27
  tags: ["fips"],
@@ -38,10 +30,6 @@ const regionHash = {
38
30
  },
39
31
  "us-east-2": {
40
32
  variants: [
41
- {
42
- hostname: "mediaconvert.us-east-2.amazonaws.com",
43
- tags: [],
44
- },
45
33
  {
46
34
  hostname: "mediaconvert-fips.us-east-2.amazonaws.com",
47
35
  tags: ["fips"],
@@ -59,10 +47,6 @@ const regionHash = {
59
47
  },
60
48
  "us-west-1": {
61
49
  variants: [
62
- {
63
- hostname: "mediaconvert.us-west-1.amazonaws.com",
64
- tags: [],
65
- },
66
50
  {
67
51
  hostname: "mediaconvert-fips.us-west-1.amazonaws.com",
68
52
  tags: ["fips"],
@@ -71,10 +55,6 @@ const regionHash = {
71
55
  },
72
56
  "us-west-2": {
73
57
  variants: [
74
- {
75
- hostname: "mediaconvert.us-west-2.amazonaws.com",
76
- tags: [],
77
- },
78
58
  {
79
59
  hostname: "mediaconvert-fips.us-west-2.amazonaws.com",
80
60
  tags: ["fips"],
@@ -93,6 +73,7 @@ const partitionHash = {
93
73
  "ap-south-1",
94
74
  "ap-southeast-1",
95
75
  "ap-southeast-2",
76
+ "ap-southeast-3",
96
77
  "ca-central-1",
97
78
  "eu-central-1",
98
79
  "eu-north-1",
@@ -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.NoiseReducerTemporalFilterSettings = 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.CreateQueueResponse = 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 = void 0;
8
- exports.UpdatePresetResponse = 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 = void 0;
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.DeletePresetRequest = exports.DeletePolicyResponse = exports.DeletePolicyRequest = exports.DeleteJobTemplateResponse = exports.DeleteJobTemplateRequest = exports.CreateQueueResponse = exports.CreateQueueRequest = exports.ReservationPlanSettings = exports.CreatePresetResponse = exports.CreatePresetRequest = exports.CreateJobTemplateResponse = exports.CreateJobTemplateRequest = exports.CreateJobResponse = exports.CreateJobRequest = exports.CancelJobResponse = exports.CancelJobRequest = 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 = void 0;
9
9
  var MovCslgAtom;
10
10
  (function (MovCslgAtom) {
11
11
  MovCslgAtom["EXCLUDE"] = "EXCLUDE";
@@ -1184,6 +1184,12 @@ var NoiseFilterPostTemporalSharpening;
1184
1184
  NoiseFilterPostTemporalSharpening["DISABLED"] = "DISABLED";
1185
1185
  NoiseFilterPostTemporalSharpening["ENABLED"] = "ENABLED";
1186
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 = {}));
1187
1193
  var NoiseReducerTemporalFilterSettings;
1188
1194
  (function (NoiseReducerTemporalFilterSettings) {
1189
1195
  NoiseReducerTemporalFilterSettings.filterSensitiveLog = (obj) => ({
@@ -1402,42 +1408,6 @@ var AssociateCertificateResponse;
1402
1408
  ...obj,
1403
1409
  });
1404
1410
  })(AssociateCertificateResponse = exports.AssociateCertificateResponse || (exports.AssociateCertificateResponse = {}));
1405
- var BadRequestException;
1406
- (function (BadRequestException) {
1407
- BadRequestException.filterSensitiveLog = (obj) => ({
1408
- ...obj,
1409
- });
1410
- })(BadRequestException = exports.BadRequestException || (exports.BadRequestException = {}));
1411
- var ConflictException;
1412
- (function (ConflictException) {
1413
- ConflictException.filterSensitiveLog = (obj) => ({
1414
- ...obj,
1415
- });
1416
- })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
1417
- var ForbiddenException;
1418
- (function (ForbiddenException) {
1419
- ForbiddenException.filterSensitiveLog = (obj) => ({
1420
- ...obj,
1421
- });
1422
- })(ForbiddenException = exports.ForbiddenException || (exports.ForbiddenException = {}));
1423
- var InternalServerErrorException;
1424
- (function (InternalServerErrorException) {
1425
- InternalServerErrorException.filterSensitiveLog = (obj) => ({
1426
- ...obj,
1427
- });
1428
- })(InternalServerErrorException = exports.InternalServerErrorException || (exports.InternalServerErrorException = {}));
1429
- var NotFoundException;
1430
- (function (NotFoundException) {
1431
- NotFoundException.filterSensitiveLog = (obj) => ({
1432
- ...obj,
1433
- });
1434
- })(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
1435
- var TooManyRequestsException;
1436
- (function (TooManyRequestsException) {
1437
- TooManyRequestsException.filterSensitiveLog = (obj) => ({
1438
- ...obj,
1439
- });
1440
- })(TooManyRequestsException = exports.TooManyRequestsException || (exports.TooManyRequestsException = {}));
1441
1411
  var CancelJobRequest;
1442
1412
  (function (CancelJobRequest) {
1443
1413
  CancelJobRequest.filterSensitiveLog = (obj) => ({
@@ -1794,9 +1764,3 @@ var UpdatePresetRequest;
1794
1764
  ...obj,
1795
1765
  });
1796
1766
  })(UpdatePresetRequest = exports.UpdatePresetRequest || (exports.UpdatePresetRequest = {}));
1797
- var UpdatePresetResponse;
1798
- (function (UpdatePresetResponse) {
1799
- UpdatePresetResponse.filterSensitiveLog = (obj) => ({
1800
- ...obj,
1801
- });
1802
- })(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
  };
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ 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
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -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, UpdatePresetResponse } from "../models/models_1";
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);
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "ca-central-1": {
5
5
  variants: [
6
- {
7
- hostname: "mediaconvert.ca-central-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "mediaconvert-fips.ca-central-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -24,10 +20,6 @@ var regionHash = {
24
20
  },
25
21
  "us-east-1": {
26
22
  variants: [
27
- {
28
- hostname: "mediaconvert.us-east-1.amazonaws.com",
29
- tags: [],
30
- },
31
23
  {
32
24
  hostname: "mediaconvert-fips.us-east-1.amazonaws.com",
33
25
  tags: ["fips"],
@@ -36,10 +28,6 @@ var regionHash = {
36
28
  },
37
29
  "us-east-2": {
38
30
  variants: [
39
- {
40
- hostname: "mediaconvert.us-east-2.amazonaws.com",
41
- tags: [],
42
- },
43
31
  {
44
32
  hostname: "mediaconvert-fips.us-east-2.amazonaws.com",
45
33
  tags: ["fips"],
@@ -57,10 +45,6 @@ var regionHash = {
57
45
  },
58
46
  "us-west-1": {
59
47
  variants: [
60
- {
61
- hostname: "mediaconvert.us-west-1.amazonaws.com",
62
- tags: [],
63
- },
64
48
  {
65
49
  hostname: "mediaconvert-fips.us-west-1.amazonaws.com",
66
50
  tags: ["fips"],
@@ -69,10 +53,6 @@ var regionHash = {
69
53
  },
70
54
  "us-west-2": {
71
55
  variants: [
72
- {
73
- hostname: "mediaconvert.us-west-2.amazonaws.com",
74
- tags: [],
75
- },
76
56
  {
77
57
  hostname: "mediaconvert-fips.us-west-2.amazonaws.com",
78
58
  tags: ["fips"],
@@ -91,6 +71,7 @@ var partitionHash = {
91
71
  "ap-south-1",
92
72
  "ap-southeast-1",
93
73
  "ap-southeast-2",
74
+ "ap-southeast-3",
94
75
  "ca-central-1",
95
76
  "eu-central-1",
96
77
  "eu-north-1",
@@ -1105,6 +1105,12 @@ export var NoiseFilterPostTemporalSharpening;
1105
1105
  NoiseFilterPostTemporalSharpening["DISABLED"] = "DISABLED";
1106
1106
  NoiseFilterPostTemporalSharpening["ENABLED"] = "ENABLED";
1107
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 = {}));
1108
1114
  export var NoiseReducerTemporalFilterSettings;
1109
1115
  (function (NoiseReducerTemporalFilterSettings) {
1110
1116
  NoiseReducerTemporalFilterSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1279,30 +1285,6 @@ export var AssociateCertificateResponse;
1279
1285
  (function (AssociateCertificateResponse) {
1280
1286
  AssociateCertificateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1281
1287
  })(AssociateCertificateResponse || (AssociateCertificateResponse = {}));
1282
- export var BadRequestException;
1283
- (function (BadRequestException) {
1284
- BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1285
- })(BadRequestException || (BadRequestException = {}));
1286
- export var ConflictException;
1287
- (function (ConflictException) {
1288
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1289
- })(ConflictException || (ConflictException = {}));
1290
- export var ForbiddenException;
1291
- (function (ForbiddenException) {
1292
- ForbiddenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1293
- })(ForbiddenException || (ForbiddenException = {}));
1294
- export var InternalServerErrorException;
1295
- (function (InternalServerErrorException) {
1296
- InternalServerErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1297
- })(InternalServerErrorException || (InternalServerErrorException = {}));
1298
- export var NotFoundException;
1299
- (function (NotFoundException) {
1300
- NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1301
- })(NotFoundException || (NotFoundException = {}));
1302
- export var TooManyRequestsException;
1303
- (function (TooManyRequestsException) {
1304
- TooManyRequestsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1305
- })(TooManyRequestsException || (TooManyRequestsException = {}));
1306
1288
  export var CancelJobRequest;
1307
1289
  (function (CancelJobRequest) {
1308
1290
  CancelJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1551,7 +1533,3 @@ export var UpdatePresetRequest;
1551
1533
  (function (UpdatePresetRequest) {
1552
1534
  UpdatePresetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1553
1535
  })(UpdatePresetRequest || (UpdatePresetRequest = {}));
1554
- export var UpdatePresetResponse;
1555
- (function (UpdatePresetResponse) {
1556
- UpdatePresetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1557
- })(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.Speed !== undefined && input.Speed !== null && { speed: input.Speed })), (input.Strength !== undefined && input.Strength !== null && { strength: input.Strength }));
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
  };
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", 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 : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), 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 : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : 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 : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), 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 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, 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 : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), 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 : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : 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 : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), 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 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  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";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- 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 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, 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 RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), 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
28
  };
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateCertificateCommandInput, AssociateCertificateCommandOutput } from "./commands/AssociateCertificateCommand";
10
10
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
@@ -136,6 +136,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
136
136
  * @internal
137
137
  */
138
138
  defaultUserAgentProvider?: Provider<__UserAgent>;
139
+ /**
140
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
141
+ */
142
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
139
143
  }
140
144
  declare type MediaConvertClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
141
145
  /**
@@ -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, UpdatePresetResponse } from "../models/models_1";
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 {
@@ -2403,6 +2403,11 @@ export declare enum NoiseFilterPostTemporalSharpening {
2403
2403
  DISABLED = "DISABLED",
2404
2404
  ENABLED = "ENABLED"
2405
2405
  }
2406
+ export declare enum NoiseFilterPostTemporalSharpeningStrength {
2407
+ HIGH = "HIGH",
2408
+ LOW = "LOW",
2409
+ MEDIUM = "MEDIUM"
2410
+ }
2406
2411
  /**
2407
2412
  * Noise reducer filter settings for temporal filter.
2408
2413
  */
@@ -2412,9 +2417,13 @@ export interface NoiseReducerTemporalFilterSettings {
2412
2417
  */
2413
2418
  AggressiveMode?: number;
2414
2419
  /**
2415
- * Optional. When you set Noise reducer (noiseReducer) to Temporal (TEMPORAL), you can use this setting to apply sharpening. The default behavior, Auto (AUTO), allows the transcoder to determine whether to apply filtering, depending on input type and quality. When you set Noise reducer to Temporal, your output bandwidth is reduced. When Post temporal sharpening is also enabled, that bandwidth reduction is smaller.
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.
2416
2421
  */
2417
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;
2418
2427
  /**
2419
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.
2420
2429
  */
@@ -3331,12 +3340,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
3331
3340
  $fault: "client";
3332
3341
  Message?: string;
3333
3342
  }
3334
- export declare namespace BadRequestException {
3335
- /**
3336
- * @internal
3337
- */
3338
- const filterSensitiveLog: (obj: BadRequestException) => any;
3339
- }
3340
3343
  /**
3341
3344
  * The service couldn't complete your request because there is a conflict with the current state of the resource.
3342
3345
  */
@@ -3345,12 +3348,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
3345
3348
  $fault: "client";
3346
3349
  Message?: string;
3347
3350
  }
3348
- export declare namespace ConflictException {
3349
- /**
3350
- * @internal
3351
- */
3352
- const filterSensitiveLog: (obj: ConflictException) => any;
3353
- }
3354
3351
  /**
3355
3352
  * You don't have permissions for this action with the credentials you sent.
3356
3353
  */
@@ -3359,12 +3356,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
3359
3356
  $fault: "client";
3360
3357
  Message?: string;
3361
3358
  }
3362
- export declare namespace ForbiddenException {
3363
- /**
3364
- * @internal
3365
- */
3366
- const filterSensitiveLog: (obj: ForbiddenException) => any;
3367
- }
3368
3359
  /**
3369
3360
  * The service encountered an unexpected condition and can't fulfill your request.
3370
3361
  */
@@ -3373,12 +3364,6 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
3373
3364
  $fault: "server";
3374
3365
  Message?: string;
3375
3366
  }
3376
- export declare namespace InternalServerErrorException {
3377
- /**
3378
- * @internal
3379
- */
3380
- const filterSensitiveLog: (obj: InternalServerErrorException) => any;
3381
- }
3382
3367
  /**
3383
3368
  * The resource you requested doesn't exist.
3384
3369
  */
@@ -3387,12 +3372,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
3387
3372
  $fault: "client";
3388
3373
  Message?: string;
3389
3374
  }
3390
- export declare namespace NotFoundException {
3391
- /**
3392
- * @internal
3393
- */
3394
- const filterSensitiveLog: (obj: NotFoundException) => any;
3395
- }
3396
3375
  /**
3397
3376
  * Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
3398
3377
  */
@@ -3401,12 +3380,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
3401
3380
  $fault: "client";
3402
3381
  Message?: string;
3403
3382
  }
3404
- export declare namespace TooManyRequestsException {
3405
- /**
3406
- * @internal
3407
- */
3408
- const filterSensitiveLog: (obj: TooManyRequestsException) => any;
3409
- }
3410
3383
  export interface CancelJobRequest {
3411
3384
  /**
3412
3385
  * The Job ID of the job to be cancelled.
@@ -4347,15 +4320,3 @@ export declare namespace UpdatePresetRequest {
4347
4320
  */
4348
4321
  const filterSensitiveLog: (obj: UpdatePresetRequest) => any;
4349
4322
  }
4350
- export interface UpdatePresetResponse {
4351
- /**
4352
- * A preset is a collection of preconfigured media conversion settings that you want MediaConvert to apply to the output during the conversion process.
4353
- */
4354
- Preset?: Preset;
4355
- }
4356
- export declare namespace UpdatePresetResponse {
4357
- /**
4358
- * @internal
4359
- */
4360
- const filterSensitiveLog: (obj: UpdatePresetResponse) => any;
4361
- }
@@ -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,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { MediaConvertClientConfig } from "./MediaConvertClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { MediaConvertClientConfig } from "./MediaConvertClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateCertificateCommandInput, AssociateCertificateCommandOutput } from "./commands/AssociateCertificateCommand";
10
10
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
@@ -79,6 +79,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
79
79
  regionInfoProvider?: RegionInfoProvider;
80
80
 
81
81
  defaultUserAgentProvider?: Provider<__UserAgent>;
82
+
83
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
82
84
  }
83
85
  declare type MediaConvertClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
84
86
 
@@ -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, UpdatePresetResponse } from "../models/models_1";
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 {
@@ -1655,6 +1655,11 @@ export declare enum NoiseFilterPostTemporalSharpening {
1655
1655
  DISABLED = "DISABLED",
1656
1656
  ENABLED = "ENABLED"
1657
1657
  }
1658
+ export declare enum NoiseFilterPostTemporalSharpeningStrength {
1659
+ HIGH = "HIGH",
1660
+ LOW = "LOW",
1661
+ MEDIUM = "MEDIUM"
1662
+ }
1658
1663
 
1659
1664
  export interface NoiseReducerTemporalFilterSettings {
1660
1665
 
@@ -1662,6 +1667,8 @@ export interface NoiseReducerTemporalFilterSettings {
1662
1667
 
1663
1668
  PostTemporalSharpening?: NoiseFilterPostTemporalSharpening | string;
1664
1669
 
1670
+ PostTemporalSharpeningStrength?: NoiseFilterPostTemporalSharpeningStrength | string;
1671
+
1665
1672
  Speed?: number;
1666
1673
 
1667
1674
  Strength?: number;
@@ -2193,60 +2200,36 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
2193
2200
  $fault: "client";
2194
2201
  Message?: string;
2195
2202
  }
2196
- export declare namespace BadRequestException {
2197
-
2198
- const filterSensitiveLog: (obj: BadRequestException) => any;
2199
- }
2200
2203
 
2201
2204
  export interface ConflictException extends __SmithyException, $MetadataBearer {
2202
2205
  name: "ConflictException";
2203
2206
  $fault: "client";
2204
2207
  Message?: string;
2205
2208
  }
2206
- export declare namespace ConflictException {
2207
-
2208
- const filterSensitiveLog: (obj: ConflictException) => any;
2209
- }
2210
2209
 
2211
2210
  export interface ForbiddenException extends __SmithyException, $MetadataBearer {
2212
2211
  name: "ForbiddenException";
2213
2212
  $fault: "client";
2214
2213
  Message?: string;
2215
2214
  }
2216
- export declare namespace ForbiddenException {
2217
-
2218
- const filterSensitiveLog: (obj: ForbiddenException) => any;
2219
- }
2220
2215
 
2221
2216
  export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
2222
2217
  name: "InternalServerErrorException";
2223
2218
  $fault: "server";
2224
2219
  Message?: string;
2225
2220
  }
2226
- export declare namespace InternalServerErrorException {
2227
-
2228
- const filterSensitiveLog: (obj: InternalServerErrorException) => any;
2229
- }
2230
2221
 
2231
2222
  export interface NotFoundException extends __SmithyException, $MetadataBearer {
2232
2223
  name: "NotFoundException";
2233
2224
  $fault: "client";
2234
2225
  Message?: string;
2235
2226
  }
2236
- export declare namespace NotFoundException {
2237
-
2238
- const filterSensitiveLog: (obj: NotFoundException) => any;
2239
- }
2240
2227
 
2241
2228
  export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
2242
2229
  name: "TooManyRequestsException";
2243
2230
  $fault: "client";
2244
2231
  Message?: string;
2245
2232
  }
2246
- export declare namespace TooManyRequestsException {
2247
-
2248
- const filterSensitiveLog: (obj: TooManyRequestsException) => any;
2249
- }
2250
2233
  export interface CancelJobRequest {
2251
2234
 
2252
2235
  Id: string | undefined;
@@ -2843,11 +2826,3 @@ export declare namespace UpdatePresetRequest {
2843
2826
 
2844
2827
  const filterSensitiveLog: (obj: UpdatePresetRequest) => any;
2845
2828
  }
2846
- export interface UpdatePresetResponse {
2847
-
2848
- Preset?: Preset;
2849
- }
2850
- export declare namespace UpdatePresetResponse {
2851
-
2852
- const filterSensitiveLog: (obj: UpdatePresetResponse) => any;
2853
- }
@@ -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;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { MediaConvertClientConfig } from "./MediaConvertClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { MediaConvertClientConfig } from "./MediaConvertClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
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.43.0",
4
+ "version": "3.47.1",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "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"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,50 +18,46 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
21
+ "@aws-sdk/client-sts": "3.47.1",
22
+ "@aws-sdk/config-resolver": "3.47.1",
23
+ "@aws-sdk/credential-provider-node": "3.47.1",
24
+ "@aws-sdk/fetch-http-handler": "3.47.1",
25
+ "@aws-sdk/hash-node": "3.47.1",
26
+ "@aws-sdk/invalid-dependency": "3.47.1",
27
+ "@aws-sdk/middleware-content-length": "3.47.1",
28
+ "@aws-sdk/middleware-host-header": "3.47.1",
29
+ "@aws-sdk/middleware-logger": "3.47.1",
30
+ "@aws-sdk/middleware-retry": "3.47.1",
31
+ "@aws-sdk/middleware-serde": "3.47.1",
32
+ "@aws-sdk/middleware-signing": "3.47.1",
33
+ "@aws-sdk/middleware-stack": "3.47.1",
34
+ "@aws-sdk/middleware-user-agent": "3.47.1",
35
+ "@aws-sdk/node-config-provider": "3.47.1",
36
+ "@aws-sdk/node-http-handler": "3.47.1",
37
+ "@aws-sdk/protocol-http": "3.47.1",
38
+ "@aws-sdk/smithy-client": "3.47.1",
39
+ "@aws-sdk/types": "3.47.1",
40
+ "@aws-sdk/url-parser": "3.47.1",
41
+ "@aws-sdk/util-base64-browser": "3.47.1",
42
+ "@aws-sdk/util-base64-node": "3.47.1",
43
+ "@aws-sdk/util-body-length-browser": "3.47.1",
44
+ "@aws-sdk/util-body-length-node": "3.47.1",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.1",
48
+ "@aws-sdk/util-user-agent-node": "3.47.1",
49
+ "@aws-sdk/util-utf8-browser": "3.47.1",
50
+ "@aws-sdk/util-utf8-node": "3.47.1",
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.38.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
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": ">=10.0.0"
60
+ "node": ">=12.0.0"
68
61
  },
69
62
  "typesVersions": {
70
63
  "<4.0": {