@aws-sdk/client-mediaconvert 3.758.0 → 3.770.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/README.md +8 -0
- package/dist-cjs/index.js +270 -8
- package/dist-es/MediaConvert.js +2 -0
- package/dist-es/commands/ProbeCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/models/models_2.js +94 -0
- package/dist-es/protocols/Aws_restJson1.js +141 -1
- package/dist-types/MediaConvert.d.ts +8 -0
- package/dist-types/MediaConvertClient.d.ts +3 -2
- package/dist-types/commands/CreateJobCommand.d.ts +14 -10
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +14 -10
- package/dist-types/commands/CreatePresetCommand.d.ts +8 -4
- package/dist-types/commands/GetJobCommand.d.ts +7 -5
- package/dist-types/commands/GetJobTemplateCommand.d.ts +7 -5
- package/dist-types/commands/GetPresetCommand.d.ts +4 -2
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +7 -5
- package/dist-types/commands/ListJobsCommand.d.ts +7 -5
- package/dist-types/commands/ListPresetsCommand.d.ts +4 -2
- package/dist-types/commands/ProbeCommand.d.ts +154 -0
- package/dist-types/commands/SearchJobsCommand.d.ts +7 -5
- package/dist-types/commands/UpdateJobTemplateCommand.d.ts +14 -10
- package/dist-types/commands/UpdatePresetCommand.d.ts +8 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +8 -6
- package/dist-types/models/models_1.d.ts +13 -2
- package/dist-types/models/models_2.d.ts +412 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/MediaConvert.d.ts +15 -0
- package/dist-types/ts3.4/MediaConvertClient.d.ts +3 -0
- package/dist-types/ts3.4/commands/ProbeCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/dist-types/ts3.4/models/models_2.d.ts +167 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -386,6 +386,14 @@ ListVersions
|
|
|
386
386
|
|
|
387
387
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mediaconvert/command/ListVersionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/ListVersionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/ListVersionsCommandOutput/)
|
|
388
388
|
|
|
389
|
+
</details>
|
|
390
|
+
<details>
|
|
391
|
+
<summary>
|
|
392
|
+
Probe
|
|
393
|
+
</summary>
|
|
394
|
+
|
|
395
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mediaconvert/command/ProbeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/ProbeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/ProbeCommandOutput/)
|
|
396
|
+
|
|
389
397
|
</details>
|
|
390
398
|
<details>
|
|
391
399
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AacAudioDescriptionBroadcasterMix: () => AacAudioDescriptionBroadcasterMix,
|
|
25
25
|
AacCodecProfile: () => AacCodecProfile,
|
|
26
26
|
AacCodingMode: () => AacCodingMode,
|
|
@@ -121,7 +121,9 @@ __export(src_exports, {
|
|
|
121
121
|
CmfcScte35Source: () => CmfcScte35Source,
|
|
122
122
|
CmfcTimedMetadata: () => CmfcTimedMetadata,
|
|
123
123
|
CmfcTimedMetadataBoxVersion: () => CmfcTimedMetadataBoxVersion,
|
|
124
|
+
Codec: () => Codec,
|
|
124
125
|
ColorMetadata: () => ColorMetadata,
|
|
126
|
+
ColorPrimaries: () => ColorPrimaries,
|
|
125
127
|
ColorSpace: () => ColorSpace,
|
|
126
128
|
ColorSpaceConversion: () => ColorSpaceConversion,
|
|
127
129
|
ColorSpaceUsage: () => ColorSpaceUsage,
|
|
@@ -205,6 +207,7 @@ __export(src_exports, {
|
|
|
205
207
|
FileSourceTimeDeltaUnits: () => FileSourceTimeDeltaUnits,
|
|
206
208
|
FontScript: () => FontScript,
|
|
207
209
|
ForbiddenException: () => ForbiddenException,
|
|
210
|
+
Format: () => Format,
|
|
208
211
|
GetJobCommand: () => GetJobCommand,
|
|
209
212
|
GetJobTemplateCommand: () => GetJobTemplateCommand,
|
|
210
213
|
GetPolicyCommand: () => GetPolicyCommand,
|
|
@@ -337,6 +340,7 @@ __export(src_exports, {
|
|
|
337
340
|
M3u8NielsenId3: () => M3u8NielsenId3,
|
|
338
341
|
M3u8PcrControl: () => M3u8PcrControl,
|
|
339
342
|
M3u8Scte35Source: () => M3u8Scte35Source,
|
|
343
|
+
MatrixCoefficients: () => MatrixCoefficients,
|
|
340
344
|
MediaConvert: () => MediaConvert,
|
|
341
345
|
MediaConvertClient: () => MediaConvertClient,
|
|
342
346
|
MediaConvertServiceException: () => MediaConvertServiceException,
|
|
@@ -400,6 +404,7 @@ __export(src_exports, {
|
|
|
400
404
|
PresetSpeke20Audio: () => PresetSpeke20Audio,
|
|
401
405
|
PresetSpeke20Video: () => PresetSpeke20Video,
|
|
402
406
|
PricingPlan: () => PricingPlan,
|
|
407
|
+
ProbeCommand: () => ProbeCommand,
|
|
403
408
|
ProresChromaSampling: () => ProresChromaSampling,
|
|
404
409
|
ProresCodecProfile: () => ProresCodecProfile,
|
|
405
410
|
ProresFramerateControl: () => ProresFramerateControl,
|
|
@@ -435,6 +440,8 @@ __export(src_exports, {
|
|
|
435
440
|
TimecodeTrack: () => TimecodeTrack,
|
|
436
441
|
TimedMetadata: () => TimedMetadata,
|
|
437
442
|
TooManyRequestsException: () => TooManyRequestsException,
|
|
443
|
+
TrackType: () => TrackType,
|
|
444
|
+
TransferCharacteristics: () => TransferCharacteristics,
|
|
438
445
|
TsPtsOffset: () => TsPtsOffset,
|
|
439
446
|
TtmlStylePassthrough: () => TtmlStylePassthrough,
|
|
440
447
|
Type: () => Type,
|
|
@@ -504,7 +511,7 @@ __export(src_exports, {
|
|
|
504
511
|
paginateListVersions: () => paginateListVersions,
|
|
505
512
|
paginateSearchJobs: () => paginateSearchJobs
|
|
506
513
|
});
|
|
507
|
-
module.exports = __toCommonJS(
|
|
514
|
+
module.exports = __toCommonJS(index_exports);
|
|
508
515
|
|
|
509
516
|
// src/MediaConvertClient.ts
|
|
510
517
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -631,9 +638,9 @@ var MediaConvertClient = class extends import_smithy_client.Client {
|
|
|
631
638
|
this.middlewareStack.use(
|
|
632
639
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
633
640
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMediaConvertHttpAuthSchemeParametersProvider,
|
|
634
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
641
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
635
642
|
"aws.auth#sigv4": config.credentials
|
|
636
|
-
})
|
|
643
|
+
}), "identityProviderConfigProvider")
|
|
637
644
|
})
|
|
638
645
|
);
|
|
639
646
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -682,6 +689,100 @@ var Type = {
|
|
|
682
689
|
CUSTOM: "CUSTOM",
|
|
683
690
|
SYSTEM: "SYSTEM"
|
|
684
691
|
};
|
|
692
|
+
var Format = {
|
|
693
|
+
matroska: "matroska",
|
|
694
|
+
mp4: "mp4",
|
|
695
|
+
quicktime: "quicktime",
|
|
696
|
+
webm: "webm"
|
|
697
|
+
};
|
|
698
|
+
var Codec = {
|
|
699
|
+
AAC: "AAC",
|
|
700
|
+
AC3: "AC3",
|
|
701
|
+
AV1: "AV1",
|
|
702
|
+
AVC: "AVC",
|
|
703
|
+
C608: "C608",
|
|
704
|
+
C708: "C708",
|
|
705
|
+
EAC3: "EAC3",
|
|
706
|
+
FLAC: "FLAC",
|
|
707
|
+
HEVC: "HEVC",
|
|
708
|
+
MJPEG: "MJPEG",
|
|
709
|
+
MP3: "MP3",
|
|
710
|
+
MP4V: "MP4V",
|
|
711
|
+
MPEG2: "MPEG2",
|
|
712
|
+
OPUS: "OPUS",
|
|
713
|
+
PCM: "PCM",
|
|
714
|
+
PRORES: "PRORES",
|
|
715
|
+
THEORA: "THEORA",
|
|
716
|
+
UNKNOWN: "UNKNOWN",
|
|
717
|
+
VORBIS: "VORBIS",
|
|
718
|
+
VP8: "VP8",
|
|
719
|
+
VP9: "VP9",
|
|
720
|
+
WEBVTT: "WEBVTT"
|
|
721
|
+
};
|
|
722
|
+
var TrackType = {
|
|
723
|
+
audio: "audio",
|
|
724
|
+
data: "data",
|
|
725
|
+
video: "video"
|
|
726
|
+
};
|
|
727
|
+
var ColorPrimaries = {
|
|
728
|
+
EBU_3213_E: "EBU_3213_E",
|
|
729
|
+
GENERIC_FILM: "GENERIC_FILM",
|
|
730
|
+
IPT: "IPT",
|
|
731
|
+
ITU_2020: "ITU_2020",
|
|
732
|
+
ITU_470BG: "ITU_470BG",
|
|
733
|
+
ITU_470M: "ITU_470M",
|
|
734
|
+
ITU_709: "ITU_709",
|
|
735
|
+
LAST: "LAST",
|
|
736
|
+
RESERVED: "RESERVED",
|
|
737
|
+
SMPTE_170M: "SMPTE_170M",
|
|
738
|
+
SMPTE_2067XYZ: "SMPTE_2067XYZ",
|
|
739
|
+
SMPTE_240M: "SMPTE_240M",
|
|
740
|
+
SMPTE_428_1: "SMPTE_428_1",
|
|
741
|
+
SMPTE_431_2: "SMPTE_431_2",
|
|
742
|
+
SMPTE_EG_432_1: "SMPTE_EG_432_1",
|
|
743
|
+
UNSPECIFIED: "UNSPECIFIED"
|
|
744
|
+
};
|
|
745
|
+
var MatrixCoefficients = {
|
|
746
|
+
CD_CL: "CD_CL",
|
|
747
|
+
CD_NCL: "CD_NCL",
|
|
748
|
+
EBU3213: "EBU3213",
|
|
749
|
+
FCC: "FCC",
|
|
750
|
+
IPT: "IPT",
|
|
751
|
+
ITU_2020_CL: "ITU_2020_CL",
|
|
752
|
+
ITU_2020_NCL: "ITU_2020_NCL",
|
|
753
|
+
ITU_2100ICtCp: "ITU_2100ICtCp",
|
|
754
|
+
ITU_470BG: "ITU_470BG",
|
|
755
|
+
ITU_709: "ITU_709",
|
|
756
|
+
LAST: "LAST",
|
|
757
|
+
RESERVED: "RESERVED",
|
|
758
|
+
RGB: "RGB",
|
|
759
|
+
SMPTE_170M: "SMPTE_170M",
|
|
760
|
+
SMPTE_2085: "SMPTE_2085",
|
|
761
|
+
SMPTE_240M: "SMPTE_240M",
|
|
762
|
+
UNSPECIFIED: "UNSPECIFIED",
|
|
763
|
+
YCgCo: "YCgCo"
|
|
764
|
+
};
|
|
765
|
+
var TransferCharacteristics = {
|
|
766
|
+
ARIB_B67: "ARIB_B67",
|
|
767
|
+
IEC_61966_2_1: "IEC_61966_2_1",
|
|
768
|
+
IEC_61966_2_4: "IEC_61966_2_4",
|
|
769
|
+
ITU_1361: "ITU_1361",
|
|
770
|
+
ITU_2020_10bit: "ITU_2020_10bit",
|
|
771
|
+
ITU_2020_12bit: "ITU_2020_12bit",
|
|
772
|
+
ITU_470BG: "ITU_470BG",
|
|
773
|
+
ITU_470M: "ITU_470M",
|
|
774
|
+
ITU_709: "ITU_709",
|
|
775
|
+
LAST: "LAST",
|
|
776
|
+
LINEAR: "LINEAR",
|
|
777
|
+
LOC10_2_5: "LOC10_2_5",
|
|
778
|
+
LOG10_2: "LOG10_2",
|
|
779
|
+
RESERVED: "RESERVED",
|
|
780
|
+
SMPTE_170M: "SMPTE_170M",
|
|
781
|
+
SMPTE_2084: "SMPTE_2084",
|
|
782
|
+
SMPTE_240M: "SMPTE_240M",
|
|
783
|
+
SMPTE_428_1: "SMPTE_428_1",
|
|
784
|
+
UNSPECIFIED: "UNSPECIFIED"
|
|
785
|
+
};
|
|
685
786
|
var PricingPlan = {
|
|
686
787
|
ON_DEMAND: "ON_DEMAND",
|
|
687
788
|
RESERVED: "RESERVED"
|
|
@@ -1150,6 +1251,21 @@ var se_ListVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1150
1251
|
b.m("GET").h(headers).q(query).b(body);
|
|
1151
1252
|
return b.build();
|
|
1152
1253
|
}, "se_ListVersionsCommand");
|
|
1254
|
+
var se_ProbeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1255
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1256
|
+
const headers = {
|
|
1257
|
+
"content-type": "application/json"
|
|
1258
|
+
};
|
|
1259
|
+
b.bp("/2017-08-29/probe");
|
|
1260
|
+
let body;
|
|
1261
|
+
body = JSON.stringify(
|
|
1262
|
+
(0, import_smithy_client.take)(input, {
|
|
1263
|
+
inputFiles: [, (_) => se___listOfProbeInputFile(_, context), `InputFiles`]
|
|
1264
|
+
})
|
|
1265
|
+
);
|
|
1266
|
+
b.m("POST").h(headers).b(body);
|
|
1267
|
+
return b.build();
|
|
1268
|
+
}, "se_ProbeCommand");
|
|
1153
1269
|
var se_PutPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1154
1270
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1155
1271
|
const headers = {
|
|
@@ -1575,6 +1691,20 @@ var de_ListVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1575
1691
|
Object.assign(contents, doc);
|
|
1576
1692
|
return contents;
|
|
1577
1693
|
}, "de_ListVersionsCommand");
|
|
1694
|
+
var de_ProbeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1695
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1696
|
+
return de_CommandError(output, context);
|
|
1697
|
+
}
|
|
1698
|
+
const contents = (0, import_smithy_client.map)({
|
|
1699
|
+
$metadata: deserializeMetadata(output)
|
|
1700
|
+
});
|
|
1701
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1702
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1703
|
+
ProbeResults: [, (_) => de___listOfProbeResult(_, context), `probeResults`]
|
|
1704
|
+
});
|
|
1705
|
+
Object.assign(contents, doc);
|
|
1706
|
+
return contents;
|
|
1707
|
+
}, "de_ProbeCommand");
|
|
1578
1708
|
var de_PutPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1579
1709
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1580
1710
|
return de_CommandError(output, context);
|
|
@@ -1889,6 +2019,11 @@ var se___listOfOutputGroup = /* @__PURE__ */ __name((input, context) => {
|
|
|
1889
2019
|
return se_OutputGroup(entry, context);
|
|
1890
2020
|
});
|
|
1891
2021
|
}, "se___listOfOutputGroup");
|
|
2022
|
+
var se___listOfProbeInputFile = /* @__PURE__ */ __name((input, context) => {
|
|
2023
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
2024
|
+
return se_ProbeInputFile(entry, context);
|
|
2025
|
+
});
|
|
2026
|
+
}, "se___listOfProbeInputFile");
|
|
1892
2027
|
var se___listOfVideoOverlay = /* @__PURE__ */ __name((input, context) => {
|
|
1893
2028
|
return input.filter((e) => e != null).map((entry) => {
|
|
1894
2029
|
return se_VideoOverlay(entry, context);
|
|
@@ -3072,6 +3207,7 @@ var se_M2tsSettings = /* @__PURE__ */ __name((input, context) => {
|
|
|
3072
3207
|
audioDuration: [, , `AudioDuration`],
|
|
3073
3208
|
audioFramesPerPes: [, , `AudioFramesPerPes`],
|
|
3074
3209
|
audioPids: [, import_smithy_client._json, `AudioPids`],
|
|
3210
|
+
audioPtsOffsetDelta: [, , `AudioPtsOffsetDelta`],
|
|
3075
3211
|
bitrate: [, , `Bitrate`],
|
|
3076
3212
|
bufferModel: [, , `BufferModel`],
|
|
3077
3213
|
dataPTSControl: [, , `DataPTSControl`],
|
|
@@ -3117,6 +3253,7 @@ var se_M3u8Settings = /* @__PURE__ */ __name((input, context) => {
|
|
|
3117
3253
|
audioDuration: [, , `AudioDuration`],
|
|
3118
3254
|
audioFramesPerPes: [, , `AudioFramesPerPes`],
|
|
3119
3255
|
audioPids: [, import_smithy_client._json, `AudioPids`],
|
|
3256
|
+
audioPtsOffsetDelta: [, , `AudioPtsOffsetDelta`],
|
|
3120
3257
|
dataPTSControl: [, , `DataPTSControl`],
|
|
3121
3258
|
maxPcrInterval: [, , `MaxPcrInterval`],
|
|
3122
3259
|
nielsenId3: [, , `NielsenId3`],
|
|
@@ -3421,6 +3558,11 @@ var se_PresetSettings = /* @__PURE__ */ __name((input, context) => {
|
|
|
3421
3558
|
videoDescription: [, (_) => se_VideoDescription(_, context), `VideoDescription`]
|
|
3422
3559
|
});
|
|
3423
3560
|
}, "se_PresetSettings");
|
|
3561
|
+
var se_ProbeInputFile = /* @__PURE__ */ __name((input, context) => {
|
|
3562
|
+
return (0, import_smithy_client.take)(input, {
|
|
3563
|
+
fileUrl: [, , `FileUrl`]
|
|
3564
|
+
});
|
|
3565
|
+
}, "se_ProbeInputFile");
|
|
3424
3566
|
var se_ProresSettings = /* @__PURE__ */ __name((input, context) => {
|
|
3425
3567
|
return (0, import_smithy_client.take)(input, {
|
|
3426
3568
|
chromaSampling: [, , `ChromaSampling`],
|
|
@@ -4007,6 +4149,12 @@ var de___listOfPreset = /* @__PURE__ */ __name((output, context) => {
|
|
|
4007
4149
|
});
|
|
4008
4150
|
return retVal;
|
|
4009
4151
|
}, "de___listOfPreset");
|
|
4152
|
+
var de___listOfProbeResult = /* @__PURE__ */ __name((output, context) => {
|
|
4153
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4154
|
+
return de_ProbeResult(entry, context);
|
|
4155
|
+
});
|
|
4156
|
+
return retVal;
|
|
4157
|
+
}, "de___listOfProbeResult");
|
|
4010
4158
|
var de___listOfQueue = /* @__PURE__ */ __name((output, context) => {
|
|
4011
4159
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4012
4160
|
return de_Queue(entry, context);
|
|
@@ -4025,6 +4173,18 @@ var de___listOfServiceOverride = /* @__PURE__ */ __name((output, context) => {
|
|
|
4025
4173
|
});
|
|
4026
4174
|
return retVal;
|
|
4027
4175
|
}, "de___listOfServiceOverride");
|
|
4176
|
+
var de___listOfTrack = /* @__PURE__ */ __name((output, context) => {
|
|
4177
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4178
|
+
return de_Track(entry, context);
|
|
4179
|
+
});
|
|
4180
|
+
return retVal;
|
|
4181
|
+
}, "de___listOfTrack");
|
|
4182
|
+
var de___listOfTrackMapping = /* @__PURE__ */ __name((output, context) => {
|
|
4183
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4184
|
+
return de_TrackMapping(entry, context);
|
|
4185
|
+
});
|
|
4186
|
+
return retVal;
|
|
4187
|
+
}, "de___listOfTrackMapping");
|
|
4028
4188
|
var de___listOfVideoOverlay = /* @__PURE__ */ __name((output, context) => {
|
|
4029
4189
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4030
4190
|
return de_VideoOverlay(entry, context);
|
|
@@ -4196,6 +4356,16 @@ var de_AudioNormalizationSettings = /* @__PURE__ */ __name((output, context) =>
|
|
|
4196
4356
|
TruePeakLimiterThreshold: [, import_smithy_client.limitedParseDouble, `truePeakLimiterThreshold`]
|
|
4197
4357
|
});
|
|
4198
4358
|
}, "de_AudioNormalizationSettings");
|
|
4359
|
+
var de_AudioProperties = /* @__PURE__ */ __name((output, context) => {
|
|
4360
|
+
return (0, import_smithy_client.take)(output, {
|
|
4361
|
+
BitDepth: [, import_smithy_client.expectInt32, `bitDepth`],
|
|
4362
|
+
BitRate: [, import_smithy_client.expectInt32, `bitRate`],
|
|
4363
|
+
Channels: [, import_smithy_client.expectInt32, `channels`],
|
|
4364
|
+
FrameRate: [, (_) => de_FrameRate(_, context), `frameRate`],
|
|
4365
|
+
LanguageCode: [, import_smithy_client.expectString, `languageCode`],
|
|
4366
|
+
SampleRate: [, import_smithy_client.expectInt32, `sampleRate`]
|
|
4367
|
+
});
|
|
4368
|
+
}, "de_AudioProperties");
|
|
4199
4369
|
var de_AudioSelector = /* @__PURE__ */ __name((output, context) => {
|
|
4200
4370
|
return (0, import_smithy_client.take)(output, {
|
|
4201
4371
|
AudioDurationCorrection: [, import_smithy_client.expectString, `audioDurationCorrection`],
|
|
@@ -4504,6 +4674,13 @@ var de_ColorCorrector = /* @__PURE__ */ __name((output, context) => {
|
|
|
4504
4674
|
SdrReferenceWhiteLevel: [, import_smithy_client.expectInt32, `sdrReferenceWhiteLevel`]
|
|
4505
4675
|
});
|
|
4506
4676
|
}, "de_ColorCorrector");
|
|
4677
|
+
var de_Container = /* @__PURE__ */ __name((output, context) => {
|
|
4678
|
+
return (0, import_smithy_client.take)(output, {
|
|
4679
|
+
Duration: [, import_smithy_client.limitedParseDouble, `duration`],
|
|
4680
|
+
Format: [, import_smithy_client.expectString, `format`],
|
|
4681
|
+
Tracks: [, (_) => de___listOfTrack(_, context), `tracks`]
|
|
4682
|
+
});
|
|
4683
|
+
}, "de_Container");
|
|
4507
4684
|
var de_ContainerSettings = /* @__PURE__ */ __name((output, context) => {
|
|
4508
4685
|
return (0, import_smithy_client.take)(output, {
|
|
4509
4686
|
CmfcSettings: [, (_) => de_CmfcSettings(_, context), `cmfcSettings`],
|
|
@@ -4569,6 +4746,11 @@ var de_DashIsoImageBasedTrickPlaySettings = /* @__PURE__ */ __name((output, cont
|
|
|
4569
4746
|
TileWidth: [, import_smithy_client.expectInt32, `tileWidth`]
|
|
4570
4747
|
});
|
|
4571
4748
|
}, "de_DashIsoImageBasedTrickPlaySettings");
|
|
4749
|
+
var de_DataProperties = /* @__PURE__ */ __name((output, context) => {
|
|
4750
|
+
return (0, import_smithy_client.take)(output, {
|
|
4751
|
+
LanguageCode: [, import_smithy_client.expectString, `languageCode`]
|
|
4752
|
+
});
|
|
4753
|
+
}, "de_DataProperties");
|
|
4572
4754
|
var de_Deinterlacer = /* @__PURE__ */ __name((output, context) => {
|
|
4573
4755
|
return (0, import_smithy_client.take)(output, {
|
|
4574
4756
|
Algorithm: [, import_smithy_client.expectString, `algorithm`],
|
|
@@ -4809,6 +4991,12 @@ var de_FrameCaptureSettings = /* @__PURE__ */ __name((output, context) => {
|
|
|
4809
4991
|
Quality: [, import_smithy_client.expectInt32, `quality`]
|
|
4810
4992
|
});
|
|
4811
4993
|
}, "de_FrameCaptureSettings");
|
|
4994
|
+
var de_FrameRate = /* @__PURE__ */ __name((output, context) => {
|
|
4995
|
+
return (0, import_smithy_client.take)(output, {
|
|
4996
|
+
Denominator: [, import_smithy_client.expectInt32, `denominator`],
|
|
4997
|
+
Numerator: [, import_smithy_client.expectInt32, `numerator`]
|
|
4998
|
+
});
|
|
4999
|
+
}, "de_FrameRate");
|
|
4812
5000
|
var de_GifSettings = /* @__PURE__ */ __name((output, context) => {
|
|
4813
5001
|
return (0, import_smithy_client.take)(output, {
|
|
4814
5002
|
FramerateControl: [, import_smithy_client.expectString, `framerateControl`],
|
|
@@ -5316,6 +5504,7 @@ var de_M2tsSettings = /* @__PURE__ */ __name((output, context) => {
|
|
|
5316
5504
|
AudioDuration: [, import_smithy_client.expectString, `audioDuration`],
|
|
5317
5505
|
AudioFramesPerPes: [, import_smithy_client.expectInt32, `audioFramesPerPes`],
|
|
5318
5506
|
AudioPids: [, import_smithy_client._json, `audioPids`],
|
|
5507
|
+
AudioPtsOffsetDelta: [, import_smithy_client.expectInt32, `audioPtsOffsetDelta`],
|
|
5319
5508
|
Bitrate: [, import_smithy_client.expectInt32, `bitrate`],
|
|
5320
5509
|
BufferModel: [, import_smithy_client.expectString, `bufferModel`],
|
|
5321
5510
|
DataPTSControl: [, import_smithy_client.expectString, `dataPTSControl`],
|
|
@@ -5361,6 +5550,7 @@ var de_M3u8Settings = /* @__PURE__ */ __name((output, context) => {
|
|
|
5361
5550
|
AudioDuration: [, import_smithy_client.expectString, `audioDuration`],
|
|
5362
5551
|
AudioFramesPerPes: [, import_smithy_client.expectInt32, `audioFramesPerPes`],
|
|
5363
5552
|
AudioPids: [, import_smithy_client._json, `audioPids`],
|
|
5553
|
+
AudioPtsOffsetDelta: [, import_smithy_client.expectInt32, `audioPtsOffsetDelta`],
|
|
5364
5554
|
DataPTSControl: [, import_smithy_client.expectString, `dataPTSControl`],
|
|
5365
5555
|
MaxPcrInterval: [, import_smithy_client.expectInt32, `maxPcrInterval`],
|
|
5366
5556
|
NielsenId3: [, import_smithy_client.expectString, `nielsenId3`],
|
|
@@ -5381,6 +5571,14 @@ var de_M3u8Settings = /* @__PURE__ */ __name((output, context) => {
|
|
|
5381
5571
|
VideoPid: [, import_smithy_client.expectInt32, `videoPid`]
|
|
5382
5572
|
});
|
|
5383
5573
|
}, "de_M3u8Settings");
|
|
5574
|
+
var de_Metadata = /* @__PURE__ */ __name((output, context) => {
|
|
5575
|
+
return (0, import_smithy_client.take)(output, {
|
|
5576
|
+
ETag: [, import_smithy_client.expectString, `eTag`],
|
|
5577
|
+
FileSize: [, import_smithy_client.expectLong, `fileSize`],
|
|
5578
|
+
LastModified: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), `lastModified`],
|
|
5579
|
+
MimeType: [, import_smithy_client.expectString, `mimeType`]
|
|
5580
|
+
});
|
|
5581
|
+
}, "de_Metadata");
|
|
5384
5582
|
var de_MinBottomRenditionSize = /* @__PURE__ */ __name((output, context) => {
|
|
5385
5583
|
return (0, import_smithy_client.take)(output, {
|
|
5386
5584
|
Height: [, import_smithy_client.expectInt32, `height`],
|
|
@@ -5688,6 +5886,13 @@ var de_PresetSettings = /* @__PURE__ */ __name((output, context) => {
|
|
|
5688
5886
|
VideoDescription: [, (_) => de_VideoDescription(_, context), `videoDescription`]
|
|
5689
5887
|
});
|
|
5690
5888
|
}, "de_PresetSettings");
|
|
5889
|
+
var de_ProbeResult = /* @__PURE__ */ __name((output, context) => {
|
|
5890
|
+
return (0, import_smithy_client.take)(output, {
|
|
5891
|
+
Container: [, (_) => de_Container(_, context), `container`],
|
|
5892
|
+
Metadata: [, (_) => de_Metadata(_, context), `metadata`],
|
|
5893
|
+
TrackMappings: [, (_) => de___listOfTrackMapping(_, context), `trackMappings`]
|
|
5894
|
+
});
|
|
5895
|
+
}, "de_ProbeResult");
|
|
5691
5896
|
var de_ProresSettings = /* @__PURE__ */ __name((output, context) => {
|
|
5692
5897
|
return (0, import_smithy_client.take)(output, {
|
|
5693
5898
|
ChromaSampling: [, import_smithy_client.expectString, `chromaSampling`],
|
|
@@ -5872,6 +6077,24 @@ var de_Timing = /* @__PURE__ */ __name((output, context) => {
|
|
|
5872
6077
|
SubmitTime: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), `submitTime`]
|
|
5873
6078
|
});
|
|
5874
6079
|
}, "de_Timing");
|
|
6080
|
+
var de_Track = /* @__PURE__ */ __name((output, context) => {
|
|
6081
|
+
return (0, import_smithy_client.take)(output, {
|
|
6082
|
+
AudioProperties: [, (_) => de_AudioProperties(_, context), `audioProperties`],
|
|
6083
|
+
Codec: [, import_smithy_client.expectString, `codec`],
|
|
6084
|
+
DataProperties: [, (_) => de_DataProperties(_, context), `dataProperties`],
|
|
6085
|
+
Duration: [, import_smithy_client.limitedParseDouble, `duration`],
|
|
6086
|
+
Index: [, import_smithy_client.expectInt32, `index`],
|
|
6087
|
+
TrackType: [, import_smithy_client.expectString, `trackType`],
|
|
6088
|
+
VideoProperties: [, (_) => de_VideoProperties(_, context), `videoProperties`]
|
|
6089
|
+
});
|
|
6090
|
+
}, "de_Track");
|
|
6091
|
+
var de_TrackMapping = /* @__PURE__ */ __name((output, context) => {
|
|
6092
|
+
return (0, import_smithy_client.take)(output, {
|
|
6093
|
+
AudioTrackIndexes: [, import_smithy_client._json, `audioTrackIndexes`],
|
|
6094
|
+
DataTrackIndexes: [, import_smithy_client._json, `dataTrackIndexes`],
|
|
6095
|
+
VideoTrackIndexes: [, import_smithy_client._json, `videoTrackIndexes`]
|
|
6096
|
+
});
|
|
6097
|
+
}, "de_TrackMapping");
|
|
5875
6098
|
var de_TrackSourceSettings = /* @__PURE__ */ __name((output, context) => {
|
|
5876
6099
|
return (0, import_smithy_client.take)(output, {
|
|
5877
6100
|
TrackNumber: [, import_smithy_client.expectInt32, `trackNumber`]
|
|
@@ -6005,6 +6228,18 @@ var de_VideoPreprocessor = /* @__PURE__ */ __name((output, context) => {
|
|
|
6005
6228
|
TimecodeBurnin: [, (_) => de_TimecodeBurnin(_, context), `timecodeBurnin`]
|
|
6006
6229
|
});
|
|
6007
6230
|
}, "de_VideoPreprocessor");
|
|
6231
|
+
var de_VideoProperties = /* @__PURE__ */ __name((output, context) => {
|
|
6232
|
+
return (0, import_smithy_client.take)(output, {
|
|
6233
|
+
BitDepth: [, import_smithy_client.expectInt32, `bitDepth`],
|
|
6234
|
+
BitRate: [, import_smithy_client.expectInt32, `bitRate`],
|
|
6235
|
+
ColorPrimaries: [, import_smithy_client.expectString, `colorPrimaries`],
|
|
6236
|
+
FrameRate: [, (_) => de_FrameRate(_, context), `frameRate`],
|
|
6237
|
+
Height: [, import_smithy_client.expectInt32, `height`],
|
|
6238
|
+
MatrixCoefficients: [, import_smithy_client.expectString, `matrixCoefficients`],
|
|
6239
|
+
TransferCharacteristics: [, import_smithy_client.expectString, `transferCharacteristics`],
|
|
6240
|
+
Width: [, import_smithy_client.expectInt32, `width`]
|
|
6241
|
+
});
|
|
6242
|
+
}, "de_VideoProperties");
|
|
6008
6243
|
var de_VideoSelector = /* @__PURE__ */ __name((output, context) => {
|
|
6009
6244
|
return (0, import_smithy_client.take)(output, {
|
|
6010
6245
|
AlphaBehavior: [, import_smithy_client.expectString, `alphaBehavior`],
|
|
@@ -6525,6 +6760,21 @@ var ListVersionsCommand = class extends import_smithy_client.Command.classBuilde
|
|
|
6525
6760
|
}
|
|
6526
6761
|
};
|
|
6527
6762
|
|
|
6763
|
+
// src/commands/ProbeCommand.ts
|
|
6764
|
+
|
|
6765
|
+
|
|
6766
|
+
|
|
6767
|
+
var ProbeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6768
|
+
return [
|
|
6769
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6770
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6771
|
+
];
|
|
6772
|
+
}).s("MediaConvert", "Probe", {}).n("MediaConvertClient", "ProbeCommand").f(void 0, void 0).ser(se_ProbeCommand).de(de_ProbeCommand).build() {
|
|
6773
|
+
static {
|
|
6774
|
+
__name(this, "ProbeCommand");
|
|
6775
|
+
}
|
|
6776
|
+
};
|
|
6777
|
+
|
|
6528
6778
|
// src/commands/PutPolicyCommand.ts
|
|
6529
6779
|
|
|
6530
6780
|
|
|
@@ -6655,6 +6905,7 @@ var commands = {
|
|
|
6655
6905
|
ListQueuesCommand,
|
|
6656
6906
|
ListTagsForResourceCommand,
|
|
6657
6907
|
ListVersionsCommand,
|
|
6908
|
+
ProbeCommand,
|
|
6658
6909
|
PutPolicyCommand,
|
|
6659
6910
|
SearchJobsCommand,
|
|
6660
6911
|
TagResourceCommand,
|
|
@@ -7684,7 +7935,8 @@ var CmafSegmentControl = {
|
|
|
7684
7935
|
};
|
|
7685
7936
|
var CmafSegmentLengthControl = {
|
|
7686
7937
|
EXACT: "EXACT",
|
|
7687
|
-
GOP_MULTIPLE: "GOP_MULTIPLE"
|
|
7938
|
+
GOP_MULTIPLE: "GOP_MULTIPLE",
|
|
7939
|
+
MATCH: "MATCH"
|
|
7688
7940
|
};
|
|
7689
7941
|
var CmafStreamInfResolution = {
|
|
7690
7942
|
EXCLUDE: "EXCLUDE",
|
|
@@ -7750,7 +8002,8 @@ var DashIsoSegmentControl = {
|
|
|
7750
8002
|
};
|
|
7751
8003
|
var DashIsoSegmentLengthControl = {
|
|
7752
8004
|
EXACT: "EXACT",
|
|
7753
|
-
GOP_MULTIPLE: "GOP_MULTIPLE"
|
|
8005
|
+
GOP_MULTIPLE: "GOP_MULTIPLE",
|
|
8006
|
+
MATCH: "MATCH"
|
|
7754
8007
|
};
|
|
7755
8008
|
var DashIsoVideoCompositionOffsets = {
|
|
7756
8009
|
SIGNED: "SIGNED",
|
|
@@ -7837,7 +8090,8 @@ var HlsSegmentControl = {
|
|
|
7837
8090
|
};
|
|
7838
8091
|
var HlsSegmentLengthControl = {
|
|
7839
8092
|
EXACT: "EXACT",
|
|
7840
|
-
GOP_MULTIPLE: "GOP_MULTIPLE"
|
|
8093
|
+
GOP_MULTIPLE: "GOP_MULTIPLE",
|
|
8094
|
+
MATCH: "MATCH"
|
|
7841
8095
|
};
|
|
7842
8096
|
var HlsStreamInfResolution = {
|
|
7843
8097
|
EXCLUDE: "EXCLUDE",
|
|
@@ -7991,6 +8245,7 @@ var M2tsPreventBufferUnderflow = {
|
|
|
7991
8245
|
};
|
|
7992
8246
|
var TsPtsOffset = {
|
|
7993
8247
|
AUTO: "AUTO",
|
|
8248
|
+
MILLISECONDS: "MILLISECONDS",
|
|
7994
8249
|
SECONDS: "SECONDS"
|
|
7995
8250
|
};
|
|
7996
8251
|
var M2tsRateMode = {
|
|
@@ -9064,6 +9319,7 @@ var StatusUpdateInterval = {
|
|
|
9064
9319
|
ListQueuesCommand,
|
|
9065
9320
|
ListTagsForResourceCommand,
|
|
9066
9321
|
ListVersionsCommand,
|
|
9322
|
+
ProbeCommand,
|
|
9067
9323
|
PutPolicyCommand,
|
|
9068
9324
|
SearchJobsCommand,
|
|
9069
9325
|
TagResourceCommand,
|
|
@@ -9502,6 +9758,12 @@ var StatusUpdateInterval = {
|
|
|
9502
9758
|
JobStatus,
|
|
9503
9759
|
StatusUpdateInterval,
|
|
9504
9760
|
Type,
|
|
9761
|
+
Format,
|
|
9762
|
+
Codec,
|
|
9763
|
+
TrackType,
|
|
9764
|
+
ColorPrimaries,
|
|
9765
|
+
MatrixCoefficients,
|
|
9766
|
+
TransferCharacteristics,
|
|
9505
9767
|
PricingPlan,
|
|
9506
9768
|
Commitment,
|
|
9507
9769
|
RenewalType,
|
package/dist-es/MediaConvert.js
CHANGED
|
@@ -22,6 +22,7 @@ import { ListPresetsCommand } from "./commands/ListPresetsCommand";
|
|
|
22
22
|
import { ListQueuesCommand } from "./commands/ListQueuesCommand";
|
|
23
23
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
24
24
|
import { ListVersionsCommand, } from "./commands/ListVersionsCommand";
|
|
25
|
+
import { ProbeCommand } from "./commands/ProbeCommand";
|
|
25
26
|
import { PutPolicyCommand } from "./commands/PutPolicyCommand";
|
|
26
27
|
import { SearchJobsCommand } from "./commands/SearchJobsCommand";
|
|
27
28
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -54,6 +55,7 @@ const commands = {
|
|
|
54
55
|
ListQueuesCommand,
|
|
55
56
|
ListTagsForResourceCommand,
|
|
56
57
|
ListVersionsCommand,
|
|
58
|
+
ProbeCommand,
|
|
57
59
|
PutPolicyCommand,
|
|
58
60
|
SearchJobsCommand,
|
|
59
61
|
TagResourceCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ProbeCommand, se_ProbeCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ProbeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("MediaConvert", "Probe", {})
|
|
17
|
+
.n("MediaConvertClient", "ProbeCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ProbeCommand)
|
|
20
|
+
.de(de_ProbeCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -21,6 +21,7 @@ export * from "./ListPresetsCommand";
|
|
|
21
21
|
export * from "./ListQueuesCommand";
|
|
22
22
|
export * from "./ListTagsForResourceCommand";
|
|
23
23
|
export * from "./ListVersionsCommand";
|
|
24
|
+
export * from "./ProbeCommand";
|
|
24
25
|
export * from "./PutPolicyCommand";
|
|
25
26
|
export * from "./SearchJobsCommand";
|
|
26
27
|
export * from "./TagResourceCommand";
|
|
@@ -984,6 +984,7 @@ export const CmafSegmentControl = {
|
|
|
984
984
|
export const CmafSegmentLengthControl = {
|
|
985
985
|
EXACT: "EXACT",
|
|
986
986
|
GOP_MULTIPLE: "GOP_MULTIPLE",
|
|
987
|
+
MATCH: "MATCH",
|
|
987
988
|
};
|
|
988
989
|
export const CmafStreamInfResolution = {
|
|
989
990
|
EXCLUDE: "EXCLUDE",
|
|
@@ -1050,6 +1051,7 @@ export const DashIsoSegmentControl = {
|
|
|
1050
1051
|
export const DashIsoSegmentLengthControl = {
|
|
1051
1052
|
EXACT: "EXACT",
|
|
1052
1053
|
GOP_MULTIPLE: "GOP_MULTIPLE",
|
|
1054
|
+
MATCH: "MATCH",
|
|
1053
1055
|
};
|
|
1054
1056
|
export const DashIsoVideoCompositionOffsets = {
|
|
1055
1057
|
SIGNED: "SIGNED",
|
|
@@ -1137,6 +1139,7 @@ export const HlsSegmentControl = {
|
|
|
1137
1139
|
export const HlsSegmentLengthControl = {
|
|
1138
1140
|
EXACT: "EXACT",
|
|
1139
1141
|
GOP_MULTIPLE: "GOP_MULTIPLE",
|
|
1142
|
+
MATCH: "MATCH",
|
|
1140
1143
|
};
|
|
1141
1144
|
export const HlsStreamInfResolution = {
|
|
1142
1145
|
EXCLUDE: "EXCLUDE",
|