@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.
Files changed (38) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +270 -8
  3. package/dist-es/MediaConvert.js +2 -0
  4. package/dist-es/commands/ProbeCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +3 -0
  7. package/dist-es/models/models_1.js +1 -0
  8. package/dist-es/models/models_2.js +94 -0
  9. package/dist-es/protocols/Aws_restJson1.js +141 -1
  10. package/dist-types/MediaConvert.d.ts +8 -0
  11. package/dist-types/MediaConvertClient.d.ts +3 -2
  12. package/dist-types/commands/CreateJobCommand.d.ts +14 -10
  13. package/dist-types/commands/CreateJobTemplateCommand.d.ts +14 -10
  14. package/dist-types/commands/CreatePresetCommand.d.ts +8 -4
  15. package/dist-types/commands/GetJobCommand.d.ts +7 -5
  16. package/dist-types/commands/GetJobTemplateCommand.d.ts +7 -5
  17. package/dist-types/commands/GetPresetCommand.d.ts +4 -2
  18. package/dist-types/commands/ListJobTemplatesCommand.d.ts +7 -5
  19. package/dist-types/commands/ListJobsCommand.d.ts +7 -5
  20. package/dist-types/commands/ListPresetsCommand.d.ts +4 -2
  21. package/dist-types/commands/ProbeCommand.d.ts +154 -0
  22. package/dist-types/commands/SearchJobsCommand.d.ts +7 -5
  23. package/dist-types/commands/UpdateJobTemplateCommand.d.ts +14 -10
  24. package/dist-types/commands/UpdatePresetCommand.d.ts +8 -4
  25. package/dist-types/commands/index.d.ts +1 -0
  26. package/dist-types/models/models_0.d.ts +8 -6
  27. package/dist-types/models/models_1.d.ts +13 -2
  28. package/dist-types/models/models_2.d.ts +412 -0
  29. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  30. package/dist-types/ts3.4/MediaConvert.d.ts +15 -0
  31. package/dist-types/ts3.4/MediaConvertClient.d.ts +3 -0
  32. package/dist-types/ts3.4/commands/ProbeCommand.d.ts +43 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  35. package/dist-types/ts3.4/models/models_1.d.ts +3 -0
  36. package/dist-types/ts3.4/models/models_2.d.ts +167 -0
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  38. package/package.json +1 -1
@@ -3,6 +3,100 @@ export const Type = {
3
3
  CUSTOM: "CUSTOM",
4
4
  SYSTEM: "SYSTEM",
5
5
  };
6
+ export const Format = {
7
+ matroska: "matroska",
8
+ mp4: "mp4",
9
+ quicktime: "quicktime",
10
+ webm: "webm",
11
+ };
12
+ export const Codec = {
13
+ AAC: "AAC",
14
+ AC3: "AC3",
15
+ AV1: "AV1",
16
+ AVC: "AVC",
17
+ C608: "C608",
18
+ C708: "C708",
19
+ EAC3: "EAC3",
20
+ FLAC: "FLAC",
21
+ HEVC: "HEVC",
22
+ MJPEG: "MJPEG",
23
+ MP3: "MP3",
24
+ MP4V: "MP4V",
25
+ MPEG2: "MPEG2",
26
+ OPUS: "OPUS",
27
+ PCM: "PCM",
28
+ PRORES: "PRORES",
29
+ THEORA: "THEORA",
30
+ UNKNOWN: "UNKNOWN",
31
+ VORBIS: "VORBIS",
32
+ VP8: "VP8",
33
+ VP9: "VP9",
34
+ WEBVTT: "WEBVTT",
35
+ };
36
+ export const TrackType = {
37
+ audio: "audio",
38
+ data: "data",
39
+ video: "video",
40
+ };
41
+ export const ColorPrimaries = {
42
+ EBU_3213_E: "EBU_3213_E",
43
+ GENERIC_FILM: "GENERIC_FILM",
44
+ IPT: "IPT",
45
+ ITU_2020: "ITU_2020",
46
+ ITU_470BG: "ITU_470BG",
47
+ ITU_470M: "ITU_470M",
48
+ ITU_709: "ITU_709",
49
+ LAST: "LAST",
50
+ RESERVED: "RESERVED",
51
+ SMPTE_170M: "SMPTE_170M",
52
+ SMPTE_2067XYZ: "SMPTE_2067XYZ",
53
+ SMPTE_240M: "SMPTE_240M",
54
+ SMPTE_428_1: "SMPTE_428_1",
55
+ SMPTE_431_2: "SMPTE_431_2",
56
+ SMPTE_EG_432_1: "SMPTE_EG_432_1",
57
+ UNSPECIFIED: "UNSPECIFIED",
58
+ };
59
+ export const MatrixCoefficients = {
60
+ CD_CL: "CD_CL",
61
+ CD_NCL: "CD_NCL",
62
+ EBU3213: "EBU3213",
63
+ FCC: "FCC",
64
+ IPT: "IPT",
65
+ ITU_2020_CL: "ITU_2020_CL",
66
+ ITU_2020_NCL: "ITU_2020_NCL",
67
+ ITU_2100ICtCp: "ITU_2100ICtCp",
68
+ ITU_470BG: "ITU_470BG",
69
+ ITU_709: "ITU_709",
70
+ LAST: "LAST",
71
+ RESERVED: "RESERVED",
72
+ RGB: "RGB",
73
+ SMPTE_170M: "SMPTE_170M",
74
+ SMPTE_2085: "SMPTE_2085",
75
+ SMPTE_240M: "SMPTE_240M",
76
+ UNSPECIFIED: "UNSPECIFIED",
77
+ YCgCo: "YCgCo",
78
+ };
79
+ export const TransferCharacteristics = {
80
+ ARIB_B67: "ARIB_B67",
81
+ IEC_61966_2_1: "IEC_61966_2_1",
82
+ IEC_61966_2_4: "IEC_61966_2_4",
83
+ ITU_1361: "ITU_1361",
84
+ ITU_2020_10bit: "ITU_2020_10bit",
85
+ ITU_2020_12bit: "ITU_2020_12bit",
86
+ ITU_470BG: "ITU_470BG",
87
+ ITU_470M: "ITU_470M",
88
+ ITU_709: "ITU_709",
89
+ LAST: "LAST",
90
+ LINEAR: "LINEAR",
91
+ LOC10_2_5: "LOC10_2_5",
92
+ LOG10_2: "LOG10_2",
93
+ RESERVED: "RESERVED",
94
+ SMPTE_170M: "SMPTE_170M",
95
+ SMPTE_2084: "SMPTE_2084",
96
+ SMPTE_240M: "SMPTE_240M",
97
+ SMPTE_428_1: "SMPTE_428_1",
98
+ UNSPECIFIED: "UNSPECIFIED",
99
+ };
6
100
  export const PricingPlan = {
7
101
  ON_DEMAND: "ON_DEMAND",
8
102
  RESERVED: "RESERVED",
@@ -1,6 +1,6 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { MediaConvertServiceException as __BaseException } from "../models/MediaConvertServiceException";
6
6
  import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, TooManyRequestsException, } from "../models/models_2";
@@ -293,6 +293,19 @@ export const se_ListVersionsCommand = async (input, context) => {
293
293
  b.m("GET").h(headers).q(query).b(body);
294
294
  return b.build();
295
295
  };
296
+ export const se_ProbeCommand = async (input, context) => {
297
+ const b = rb(input, context);
298
+ const headers = {
299
+ "content-type": "application/json",
300
+ };
301
+ b.bp("/2017-08-29/probe");
302
+ let body;
303
+ body = JSON.stringify(take(input, {
304
+ inputFiles: [, (_) => se___listOfProbeInputFile(_, context), `InputFiles`],
305
+ }));
306
+ b.m("POST").h(headers).b(body);
307
+ return b.build();
308
+ };
296
309
  export const se_PutPolicyCommand = async (input, context) => {
297
310
  const b = rb(input, context);
298
311
  const headers = {
@@ -706,6 +719,20 @@ export const de_ListVersionsCommand = async (output, context) => {
706
719
  Object.assign(contents, doc);
707
720
  return contents;
708
721
  };
722
+ export const de_ProbeCommand = async (output, context) => {
723
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
724
+ return de_CommandError(output, context);
725
+ }
726
+ const contents = map({
727
+ $metadata: deserializeMetadata(output),
728
+ });
729
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
730
+ const doc = take(data, {
731
+ ProbeResults: [, (_) => de___listOfProbeResult(_, context), `probeResults`],
732
+ });
733
+ Object.assign(contents, doc);
734
+ return contents;
735
+ };
709
736
  export const de_PutPolicyCommand = async (output, context) => {
710
737
  if (output.statusCode !== 200 && output.statusCode >= 300) {
711
738
  return de_CommandError(output, context);
@@ -1064,6 +1091,13 @@ const se___listOfOutputGroup = (input, context) => {
1064
1091
  return se_OutputGroup(entry, context);
1065
1092
  });
1066
1093
  };
1094
+ const se___listOfProbeInputFile = (input, context) => {
1095
+ return input
1096
+ .filter((e) => e != null)
1097
+ .map((entry) => {
1098
+ return se_ProbeInputFile(entry, context);
1099
+ });
1100
+ };
1067
1101
  const se___listOfVideoOverlay = (input, context) => {
1068
1102
  return input
1069
1103
  .filter((e) => e != null)
@@ -2253,6 +2287,7 @@ const se_M2tsSettings = (input, context) => {
2253
2287
  audioDuration: [, , `AudioDuration`],
2254
2288
  audioFramesPerPes: [, , `AudioFramesPerPes`],
2255
2289
  audioPids: [, _json, `AudioPids`],
2290
+ audioPtsOffsetDelta: [, , `AudioPtsOffsetDelta`],
2256
2291
  bitrate: [, , `Bitrate`],
2257
2292
  bufferModel: [, , `BufferModel`],
2258
2293
  dataPTSControl: [, , `DataPTSControl`],
@@ -2298,6 +2333,7 @@ const se_M3u8Settings = (input, context) => {
2298
2333
  audioDuration: [, , `AudioDuration`],
2299
2334
  audioFramesPerPes: [, , `AudioFramesPerPes`],
2300
2335
  audioPids: [, _json, `AudioPids`],
2336
+ audioPtsOffsetDelta: [, , `AudioPtsOffsetDelta`],
2301
2337
  dataPTSControl: [, , `DataPTSControl`],
2302
2338
  maxPcrInterval: [, , `MaxPcrInterval`],
2303
2339
  nielsenId3: [, , `NielsenId3`],
@@ -2602,6 +2638,11 @@ const se_PresetSettings = (input, context) => {
2602
2638
  videoDescription: [, (_) => se_VideoDescription(_, context), `VideoDescription`],
2603
2639
  });
2604
2640
  };
2641
+ const se_ProbeInputFile = (input, context) => {
2642
+ return take(input, {
2643
+ fileUrl: [, , `FileUrl`],
2644
+ });
2645
+ };
2605
2646
  const se_ProresSettings = (input, context) => {
2606
2647
  return take(input, {
2607
2648
  chromaSampling: [, , `ChromaSampling`],
@@ -3246,6 +3287,14 @@ const de___listOfPreset = (output, context) => {
3246
3287
  });
3247
3288
  return retVal;
3248
3289
  };
3290
+ const de___listOfProbeResult = (output, context) => {
3291
+ const retVal = (output || [])
3292
+ .filter((e) => e != null)
3293
+ .map((entry) => {
3294
+ return de_ProbeResult(entry, context);
3295
+ });
3296
+ return retVal;
3297
+ };
3249
3298
  const de___listOfQueue = (output, context) => {
3250
3299
  const retVal = (output || [])
3251
3300
  .filter((e) => e != null)
@@ -3270,6 +3319,22 @@ const de___listOfServiceOverride = (output, context) => {
3270
3319
  });
3271
3320
  return retVal;
3272
3321
  };
3322
+ const de___listOfTrack = (output, context) => {
3323
+ const retVal = (output || [])
3324
+ .filter((e) => e != null)
3325
+ .map((entry) => {
3326
+ return de_Track(entry, context);
3327
+ });
3328
+ return retVal;
3329
+ };
3330
+ const de___listOfTrackMapping = (output, context) => {
3331
+ const retVal = (output || [])
3332
+ .filter((e) => e != null)
3333
+ .map((entry) => {
3334
+ return de_TrackMapping(entry, context);
3335
+ });
3336
+ return retVal;
3337
+ };
3273
3338
  const de___listOfVideoOverlay = (output, context) => {
3274
3339
  const retVal = (output || [])
3275
3340
  .filter((e) => e != null)
@@ -3449,6 +3514,16 @@ const de_AudioNormalizationSettings = (output, context) => {
3449
3514
  TruePeakLimiterThreshold: [, __limitedParseDouble, `truePeakLimiterThreshold`],
3450
3515
  });
3451
3516
  };
3517
+ const de_AudioProperties = (output, context) => {
3518
+ return take(output, {
3519
+ BitDepth: [, __expectInt32, `bitDepth`],
3520
+ BitRate: [, __expectInt32, `bitRate`],
3521
+ Channels: [, __expectInt32, `channels`],
3522
+ FrameRate: [, (_) => de_FrameRate(_, context), `frameRate`],
3523
+ LanguageCode: [, __expectString, `languageCode`],
3524
+ SampleRate: [, __expectInt32, `sampleRate`],
3525
+ });
3526
+ };
3452
3527
  const de_AudioSelector = (output, context) => {
3453
3528
  return take(output, {
3454
3529
  AudioDurationCorrection: [, __expectString, `audioDurationCorrection`],
@@ -3757,6 +3832,13 @@ const de_ColorCorrector = (output, context) => {
3757
3832
  SdrReferenceWhiteLevel: [, __expectInt32, `sdrReferenceWhiteLevel`],
3758
3833
  });
3759
3834
  };
3835
+ const de_Container = (output, context) => {
3836
+ return take(output, {
3837
+ Duration: [, __limitedParseDouble, `duration`],
3838
+ Format: [, __expectString, `format`],
3839
+ Tracks: [, (_) => de___listOfTrack(_, context), `tracks`],
3840
+ });
3841
+ };
3760
3842
  const de_ContainerSettings = (output, context) => {
3761
3843
  return take(output, {
3762
3844
  CmfcSettings: [, (_) => de_CmfcSettings(_, context), `cmfcSettings`],
@@ -3822,6 +3904,11 @@ const de_DashIsoImageBasedTrickPlaySettings = (output, context) => {
3822
3904
  TileWidth: [, __expectInt32, `tileWidth`],
3823
3905
  });
3824
3906
  };
3907
+ const de_DataProperties = (output, context) => {
3908
+ return take(output, {
3909
+ LanguageCode: [, __expectString, `languageCode`],
3910
+ });
3911
+ };
3825
3912
  const de_Deinterlacer = (output, context) => {
3826
3913
  return take(output, {
3827
3914
  Algorithm: [, __expectString, `algorithm`],
@@ -4062,6 +4149,12 @@ const de_FrameCaptureSettings = (output, context) => {
4062
4149
  Quality: [, __expectInt32, `quality`],
4063
4150
  });
4064
4151
  };
4152
+ const de_FrameRate = (output, context) => {
4153
+ return take(output, {
4154
+ Denominator: [, __expectInt32, `denominator`],
4155
+ Numerator: [, __expectInt32, `numerator`],
4156
+ });
4157
+ };
4065
4158
  const de_GifSettings = (output, context) => {
4066
4159
  return take(output, {
4067
4160
  FramerateControl: [, __expectString, `framerateControl`],
@@ -4569,6 +4662,7 @@ const de_M2tsSettings = (output, context) => {
4569
4662
  AudioDuration: [, __expectString, `audioDuration`],
4570
4663
  AudioFramesPerPes: [, __expectInt32, `audioFramesPerPes`],
4571
4664
  AudioPids: [, _json, `audioPids`],
4665
+ AudioPtsOffsetDelta: [, __expectInt32, `audioPtsOffsetDelta`],
4572
4666
  Bitrate: [, __expectInt32, `bitrate`],
4573
4667
  BufferModel: [, __expectString, `bufferModel`],
4574
4668
  DataPTSControl: [, __expectString, `dataPTSControl`],
@@ -4614,6 +4708,7 @@ const de_M3u8Settings = (output, context) => {
4614
4708
  AudioDuration: [, __expectString, `audioDuration`],
4615
4709
  AudioFramesPerPes: [, __expectInt32, `audioFramesPerPes`],
4616
4710
  AudioPids: [, _json, `audioPids`],
4711
+ AudioPtsOffsetDelta: [, __expectInt32, `audioPtsOffsetDelta`],
4617
4712
  DataPTSControl: [, __expectString, `dataPTSControl`],
4618
4713
  MaxPcrInterval: [, __expectInt32, `maxPcrInterval`],
4619
4714
  NielsenId3: [, __expectString, `nielsenId3`],
@@ -4634,6 +4729,14 @@ const de_M3u8Settings = (output, context) => {
4634
4729
  VideoPid: [, __expectInt32, `videoPid`],
4635
4730
  });
4636
4731
  };
4732
+ const de_Metadata = (output, context) => {
4733
+ return take(output, {
4734
+ ETag: [, __expectString, `eTag`],
4735
+ FileSize: [, __expectLong, `fileSize`],
4736
+ LastModified: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `lastModified`],
4737
+ MimeType: [, __expectString, `mimeType`],
4738
+ });
4739
+ };
4637
4740
  const de_MinBottomRenditionSize = (output, context) => {
4638
4741
  return take(output, {
4639
4742
  Height: [, __expectInt32, `height`],
@@ -4941,6 +5044,13 @@ const de_PresetSettings = (output, context) => {
4941
5044
  VideoDescription: [, (_) => de_VideoDescription(_, context), `videoDescription`],
4942
5045
  });
4943
5046
  };
5047
+ const de_ProbeResult = (output, context) => {
5048
+ return take(output, {
5049
+ Container: [, (_) => de_Container(_, context), `container`],
5050
+ Metadata: [, (_) => de_Metadata(_, context), `metadata`],
5051
+ TrackMappings: [, (_) => de___listOfTrackMapping(_, context), `trackMappings`],
5052
+ });
5053
+ };
4944
5054
  const de_ProresSettings = (output, context) => {
4945
5055
  return take(output, {
4946
5056
  ChromaSampling: [, __expectString, `chromaSampling`],
@@ -5125,6 +5235,24 @@ const de_Timing = (output, context) => {
5125
5235
  SubmitTime: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `submitTime`],
5126
5236
  });
5127
5237
  };
5238
+ const de_Track = (output, context) => {
5239
+ return take(output, {
5240
+ AudioProperties: [, (_) => de_AudioProperties(_, context), `audioProperties`],
5241
+ Codec: [, __expectString, `codec`],
5242
+ DataProperties: [, (_) => de_DataProperties(_, context), `dataProperties`],
5243
+ Duration: [, __limitedParseDouble, `duration`],
5244
+ Index: [, __expectInt32, `index`],
5245
+ TrackType: [, __expectString, `trackType`],
5246
+ VideoProperties: [, (_) => de_VideoProperties(_, context), `videoProperties`],
5247
+ });
5248
+ };
5249
+ const de_TrackMapping = (output, context) => {
5250
+ return take(output, {
5251
+ AudioTrackIndexes: [, _json, `audioTrackIndexes`],
5252
+ DataTrackIndexes: [, _json, `dataTrackIndexes`],
5253
+ VideoTrackIndexes: [, _json, `videoTrackIndexes`],
5254
+ });
5255
+ };
5128
5256
  const de_TrackSourceSettings = (output, context) => {
5129
5257
  return take(output, {
5130
5258
  TrackNumber: [, __expectInt32, `trackNumber`],
@@ -5258,6 +5386,18 @@ const de_VideoPreprocessor = (output, context) => {
5258
5386
  TimecodeBurnin: [, (_) => de_TimecodeBurnin(_, context), `timecodeBurnin`],
5259
5387
  });
5260
5388
  };
5389
+ const de_VideoProperties = (output, context) => {
5390
+ return take(output, {
5391
+ BitDepth: [, __expectInt32, `bitDepth`],
5392
+ BitRate: [, __expectInt32, `bitRate`],
5393
+ ColorPrimaries: [, __expectString, `colorPrimaries`],
5394
+ FrameRate: [, (_) => de_FrameRate(_, context), `frameRate`],
5395
+ Height: [, __expectInt32, `height`],
5396
+ MatrixCoefficients: [, __expectString, `matrixCoefficients`],
5397
+ TransferCharacteristics: [, __expectString, `transferCharacteristics`],
5398
+ Width: [, __expectInt32, `width`],
5399
+ });
5400
+ };
5261
5401
  const de_VideoSelector = (output, context) => {
5262
5402
  return take(output, {
5263
5403
  AlphaBehavior: [, __expectString, `alphaBehavior`],
@@ -22,6 +22,7 @@ import { ListPresetsCommandInput, ListPresetsCommandOutput } from "./commands/Li
22
22
  import { ListQueuesCommandInput, ListQueuesCommandOutput } from "./commands/ListQueuesCommand";
23
23
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
24
24
  import { ListVersionsCommandInput, ListVersionsCommandOutput } from "./commands/ListVersionsCommand";
25
+ import { ProbeCommandInput, ProbeCommandOutput } from "./commands/ProbeCommand";
25
26
  import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
26
27
  import { SearchJobsCommandInput, SearchJobsCommandOutput } from "./commands/SearchJobsCommand";
27
28
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -177,6 +178,13 @@ export interface MediaConvert {
177
178
  listVersions(args: ListVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListVersionsCommandOutput>;
178
179
  listVersions(args: ListVersionsCommandInput, cb: (err: any, data?: ListVersionsCommandOutput) => void): void;
179
180
  listVersions(args: ListVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVersionsCommandOutput) => void): void;
181
+ /**
182
+ * @see {@link ProbeCommand}
183
+ */
184
+ probe(): Promise<ProbeCommandOutput>;
185
+ probe(args: ProbeCommandInput, options?: __HttpHandlerOptions): Promise<ProbeCommandOutput>;
186
+ probe(args: ProbeCommandInput, cb: (err: any, data?: ProbeCommandOutput) => void): void;
187
+ probe(args: ProbeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ProbeCommandOutput) => void): void;
180
188
  /**
181
189
  * @see {@link PutPolicyCommand}
182
190
  */
@@ -30,6 +30,7 @@ import { ListPresetsCommandInput, ListPresetsCommandOutput } from "./commands/Li
30
30
  import { ListQueuesCommandInput, ListQueuesCommandOutput } from "./commands/ListQueuesCommand";
31
31
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
32
32
  import { ListVersionsCommandInput, ListVersionsCommandOutput } from "./commands/ListVersionsCommand";
33
+ import { ProbeCommandInput, ProbeCommandOutput } from "./commands/ProbeCommand";
33
34
  import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
34
35
  import { SearchJobsCommandInput, SearchJobsCommandOutput } from "./commands/SearchJobsCommand";
35
36
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -43,11 +44,11 @@ export { __Client };
43
44
  /**
44
45
  * @public
45
46
  */
46
- export type ServiceInputTypes = AssociateCertificateCommandInput | CancelJobCommandInput | CreateJobCommandInput | CreateJobTemplateCommandInput | CreatePresetCommandInput | CreateQueueCommandInput | DeleteJobTemplateCommandInput | DeletePolicyCommandInput | DeletePresetCommandInput | DeleteQueueCommandInput | DescribeEndpointsCommandInput | DisassociateCertificateCommandInput | GetJobCommandInput | GetJobTemplateCommandInput | GetPolicyCommandInput | GetPresetCommandInput | GetQueueCommandInput | ListJobTemplatesCommandInput | ListJobsCommandInput | ListPresetsCommandInput | ListQueuesCommandInput | ListTagsForResourceCommandInput | ListVersionsCommandInput | PutPolicyCommandInput | SearchJobsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateJobTemplateCommandInput | UpdatePresetCommandInput | UpdateQueueCommandInput;
47
+ export type ServiceInputTypes = AssociateCertificateCommandInput | CancelJobCommandInput | CreateJobCommandInput | CreateJobTemplateCommandInput | CreatePresetCommandInput | CreateQueueCommandInput | DeleteJobTemplateCommandInput | DeletePolicyCommandInput | DeletePresetCommandInput | DeleteQueueCommandInput | DescribeEndpointsCommandInput | DisassociateCertificateCommandInput | GetJobCommandInput | GetJobTemplateCommandInput | GetPolicyCommandInput | GetPresetCommandInput | GetQueueCommandInput | ListJobTemplatesCommandInput | ListJobsCommandInput | ListPresetsCommandInput | ListQueuesCommandInput | ListTagsForResourceCommandInput | ListVersionsCommandInput | ProbeCommandInput | PutPolicyCommandInput | SearchJobsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateJobTemplateCommandInput | UpdatePresetCommandInput | UpdateQueueCommandInput;
47
48
  /**
48
49
  * @public
49
50
  */
50
- export type ServiceOutputTypes = AssociateCertificateCommandOutput | CancelJobCommandOutput | CreateJobCommandOutput | CreateJobTemplateCommandOutput | CreatePresetCommandOutput | CreateQueueCommandOutput | DeleteJobTemplateCommandOutput | DeletePolicyCommandOutput | DeletePresetCommandOutput | DeleteQueueCommandOutput | DescribeEndpointsCommandOutput | DisassociateCertificateCommandOutput | GetJobCommandOutput | GetJobTemplateCommandOutput | GetPolicyCommandOutput | GetPresetCommandOutput | GetQueueCommandOutput | ListJobTemplatesCommandOutput | ListJobsCommandOutput | ListPresetsCommandOutput | ListQueuesCommandOutput | ListTagsForResourceCommandOutput | ListVersionsCommandOutput | PutPolicyCommandOutput | SearchJobsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateJobTemplateCommandOutput | UpdatePresetCommandOutput | UpdateQueueCommandOutput;
51
+ export type ServiceOutputTypes = AssociateCertificateCommandOutput | CancelJobCommandOutput | CreateJobCommandOutput | CreateJobTemplateCommandOutput | CreatePresetCommandOutput | CreateQueueCommandOutput | DeleteJobTemplateCommandOutput | DeletePolicyCommandOutput | DeletePresetCommandOutput | DeleteQueueCommandOutput | DescribeEndpointsCommandOutput | DisassociateCertificateCommandOutput | GetJobCommandOutput | GetJobTemplateCommandOutput | GetPolicyCommandOutput | GetPresetCommandOutput | GetQueueCommandOutput | ListJobTemplatesCommandOutput | ListJobsCommandOutput | ListPresetsCommandOutput | ListQueuesCommandOutput | ListTagsForResourceCommandOutput | ListVersionsCommandOutput | ProbeCommandOutput | PutPolicyCommandOutput | SearchJobsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateJobTemplateCommandOutput | UpdatePresetCommandOutput | UpdateQueueCommandOutput;
51
52
  /**
52
53
  * @public
53
54
  */
@@ -477,7 +477,7 @@ declare const CreateJobCommand_base: {
477
477
  * PtsOffsetHandlingForBFrames: "ZERO_BASED" || "MATCH_INITIAL_PTS",
478
478
  * SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
479
479
  * SegmentLength: Number("int"),
480
- * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
480
+ * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
481
481
  * StreamInfResolution: "INCLUDE" || "EXCLUDE",
482
482
  * TargetDurationCompatibilityMode: "LEGACY" || "SPEC_COMPLIANT",
483
483
  * VideoCompositionOffsets: "SIGNED" || "UNSIGNED",
@@ -545,7 +545,7 @@ declare const CreateJobCommand_base: {
545
545
  * PtsOffsetHandlingForBFrames: "ZERO_BASED" || "MATCH_INITIAL_PTS",
546
546
  * SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
547
547
  * SegmentLength: Number("int"),
548
- * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
548
+ * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
549
549
  * VideoCompositionOffsets: "SIGNED" || "UNSIGNED",
550
550
  * WriteSegmentTimelineInRepresentation: "ENABLED" || "DISABLED",
551
551
  * },
@@ -650,7 +650,7 @@ declare const CreateJobCommand_base: {
650
650
  * ProgressiveWriteHlsManifest: "ENABLED" || "DISABLED",
651
651
  * SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
652
652
  * SegmentLength: Number("int"),
653
- * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
653
+ * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
654
654
  * SegmentsPerSubdirectory: Number("int"),
655
655
  * StreamInfResolution: "INCLUDE" || "EXCLUDE",
656
656
  * TargetDurationCompatibilityMode: "LEGACY" || "SPEC_COMPLIANT",
@@ -981,6 +981,7 @@ declare const CreateJobCommand_base: {
981
981
  * AudioPids: [ // __listOf__integerMin32Max8182
982
982
  * Number("int"),
983
983
  * ],
984
+ * AudioPtsOffsetDelta: Number("int"),
984
985
  * Bitrate: Number("int"),
985
986
  * BufferModel: "MULTIPLEX" || "NONE",
986
987
  * DataPTSControl: "AUTO" || "ALIGN_TO_VIDEO",
@@ -1021,7 +1022,7 @@ declare const CreateJobCommand_base: {
1021
1022
  * PrivateMetadataPid: Number("int"),
1022
1023
  * ProgramNumber: Number("int"),
1023
1024
  * PtsOffset: Number("int"),
1024
- * PtsOffsetMode: "AUTO" || "SECONDS",
1025
+ * PtsOffsetMode: "AUTO" || "SECONDS" || "MILLISECONDS",
1025
1026
  * RateMode: "VBR" || "CBR",
1026
1027
  * Scte35Esam: { // M2tsScte35Esam
1027
1028
  * Scte35EsamPid: Number("int"),
@@ -1041,6 +1042,7 @@ declare const CreateJobCommand_base: {
1041
1042
  * AudioPids: [
1042
1043
  * Number("int"),
1043
1044
  * ],
1045
+ * AudioPtsOffsetDelta: Number("int"),
1044
1046
  * DataPTSControl: "AUTO" || "ALIGN_TO_VIDEO",
1045
1047
  * MaxPcrInterval: Number("int"),
1046
1048
  * NielsenId3: "INSERT" || "NONE",
@@ -1052,7 +1054,7 @@ declare const CreateJobCommand_base: {
1052
1054
  * PrivateMetadataPid: Number("int"),
1053
1055
  * ProgramNumber: Number("int"),
1054
1056
  * PtsOffset: Number("int"),
1055
- * PtsOffsetMode: "AUTO" || "SECONDS",
1057
+ * PtsOffsetMode: "AUTO" || "SECONDS" || "MILLISECONDS",
1056
1058
  * Scte35Pid: Number("int"),
1057
1059
  * Scte35Source: "PASSTHROUGH" || "NONE",
1058
1060
  * TimedMetadata: "PASSTHROUGH" || "NONE",
@@ -2050,7 +2052,7 @@ declare const CreateJobCommand_base: {
2050
2052
  * // PtsOffsetHandlingForBFrames: "ZERO_BASED" || "MATCH_INITIAL_PTS",
2051
2053
  * // SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
2052
2054
  * // SegmentLength: Number("int"),
2053
- * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
2055
+ * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
2054
2056
  * // StreamInfResolution: "INCLUDE" || "EXCLUDE",
2055
2057
  * // TargetDurationCompatibilityMode: "LEGACY" || "SPEC_COMPLIANT",
2056
2058
  * // VideoCompositionOffsets: "SIGNED" || "UNSIGNED",
@@ -2118,7 +2120,7 @@ declare const CreateJobCommand_base: {
2118
2120
  * // PtsOffsetHandlingForBFrames: "ZERO_BASED" || "MATCH_INITIAL_PTS",
2119
2121
  * // SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
2120
2122
  * // SegmentLength: Number("int"),
2121
- * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
2123
+ * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
2122
2124
  * // VideoCompositionOffsets: "SIGNED" || "UNSIGNED",
2123
2125
  * // WriteSegmentTimelineInRepresentation: "ENABLED" || "DISABLED",
2124
2126
  * // },
@@ -2223,7 +2225,7 @@ declare const CreateJobCommand_base: {
2223
2225
  * // ProgressiveWriteHlsManifest: "ENABLED" || "DISABLED",
2224
2226
  * // SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
2225
2227
  * // SegmentLength: Number("int"),
2226
- * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
2228
+ * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
2227
2229
  * // SegmentsPerSubdirectory: Number("int"),
2228
2230
  * // StreamInfResolution: "INCLUDE" || "EXCLUDE",
2229
2231
  * // TargetDurationCompatibilityMode: "LEGACY" || "SPEC_COMPLIANT",
@@ -2554,6 +2556,7 @@ declare const CreateJobCommand_base: {
2554
2556
  * // AudioPids: [ // __listOf__integerMin32Max8182
2555
2557
  * // Number("int"),
2556
2558
  * // ],
2559
+ * // AudioPtsOffsetDelta: Number("int"),
2557
2560
  * // Bitrate: Number("int"),
2558
2561
  * // BufferModel: "MULTIPLEX" || "NONE",
2559
2562
  * // DataPTSControl: "AUTO" || "ALIGN_TO_VIDEO",
@@ -2594,7 +2597,7 @@ declare const CreateJobCommand_base: {
2594
2597
  * // PrivateMetadataPid: Number("int"),
2595
2598
  * // ProgramNumber: Number("int"),
2596
2599
  * // PtsOffset: Number("int"),
2597
- * // PtsOffsetMode: "AUTO" || "SECONDS",
2600
+ * // PtsOffsetMode: "AUTO" || "SECONDS" || "MILLISECONDS",
2598
2601
  * // RateMode: "VBR" || "CBR",
2599
2602
  * // Scte35Esam: { // M2tsScte35Esam
2600
2603
  * // Scte35EsamPid: Number("int"),
@@ -2614,6 +2617,7 @@ declare const CreateJobCommand_base: {
2614
2617
  * // AudioPids: [
2615
2618
  * // Number("int"),
2616
2619
  * // ],
2620
+ * // AudioPtsOffsetDelta: Number("int"),
2617
2621
  * // DataPTSControl: "AUTO" || "ALIGN_TO_VIDEO",
2618
2622
  * // MaxPcrInterval: Number("int"),
2619
2623
  * // NielsenId3: "INSERT" || "NONE",
@@ -2625,7 +2629,7 @@ declare const CreateJobCommand_base: {
2625
2629
  * // PrivateMetadataPid: Number("int"),
2626
2630
  * // ProgramNumber: Number("int"),
2627
2631
  * // PtsOffset: Number("int"),
2628
- * // PtsOffsetMode: "AUTO" || "SECONDS",
2632
+ * // PtsOffsetMode: "AUTO" || "SECONDS" || "MILLISECONDS",
2629
2633
  * // Scte35Pid: Number("int"),
2630
2634
  * // Scte35Source: "PASSTHROUGH" || "NONE",
2631
2635
  * // TimedMetadata: "PASSTHROUGH" || "NONE",
@@ -458,7 +458,7 @@ declare const CreateJobTemplateCommand_base: {
458
458
  * PtsOffsetHandlingForBFrames: "ZERO_BASED" || "MATCH_INITIAL_PTS",
459
459
  * SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
460
460
  * SegmentLength: Number("int"),
461
- * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
461
+ * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
462
462
  * StreamInfResolution: "INCLUDE" || "EXCLUDE",
463
463
  * TargetDurationCompatibilityMode: "LEGACY" || "SPEC_COMPLIANT",
464
464
  * VideoCompositionOffsets: "SIGNED" || "UNSIGNED",
@@ -526,7 +526,7 @@ declare const CreateJobTemplateCommand_base: {
526
526
  * PtsOffsetHandlingForBFrames: "ZERO_BASED" || "MATCH_INITIAL_PTS",
527
527
  * SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
528
528
  * SegmentLength: Number("int"),
529
- * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
529
+ * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
530
530
  * VideoCompositionOffsets: "SIGNED" || "UNSIGNED",
531
531
  * WriteSegmentTimelineInRepresentation: "ENABLED" || "DISABLED",
532
532
  * },
@@ -631,7 +631,7 @@ declare const CreateJobTemplateCommand_base: {
631
631
  * ProgressiveWriteHlsManifest: "ENABLED" || "DISABLED",
632
632
  * SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
633
633
  * SegmentLength: Number("int"),
634
- * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
634
+ * SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
635
635
  * SegmentsPerSubdirectory: Number("int"),
636
636
  * StreamInfResolution: "INCLUDE" || "EXCLUDE",
637
637
  * TargetDurationCompatibilityMode: "LEGACY" || "SPEC_COMPLIANT",
@@ -962,6 +962,7 @@ declare const CreateJobTemplateCommand_base: {
962
962
  * AudioPids: [ // __listOf__integerMin32Max8182
963
963
  * Number("int"),
964
964
  * ],
965
+ * AudioPtsOffsetDelta: Number("int"),
965
966
  * Bitrate: Number("int"),
966
967
  * BufferModel: "MULTIPLEX" || "NONE",
967
968
  * DataPTSControl: "AUTO" || "ALIGN_TO_VIDEO",
@@ -1002,7 +1003,7 @@ declare const CreateJobTemplateCommand_base: {
1002
1003
  * PrivateMetadataPid: Number("int"),
1003
1004
  * ProgramNumber: Number("int"),
1004
1005
  * PtsOffset: Number("int"),
1005
- * PtsOffsetMode: "AUTO" || "SECONDS",
1006
+ * PtsOffsetMode: "AUTO" || "SECONDS" || "MILLISECONDS",
1006
1007
  * RateMode: "VBR" || "CBR",
1007
1008
  * Scte35Esam: { // M2tsScte35Esam
1008
1009
  * Scte35EsamPid: Number("int"),
@@ -1022,6 +1023,7 @@ declare const CreateJobTemplateCommand_base: {
1022
1023
  * AudioPids: [
1023
1024
  * Number("int"),
1024
1025
  * ],
1026
+ * AudioPtsOffsetDelta: Number("int"),
1025
1027
  * DataPTSControl: "AUTO" || "ALIGN_TO_VIDEO",
1026
1028
  * MaxPcrInterval: Number("int"),
1027
1029
  * NielsenId3: "INSERT" || "NONE",
@@ -1033,7 +1035,7 @@ declare const CreateJobTemplateCommand_base: {
1033
1035
  * PrivateMetadataPid: Number("int"),
1034
1036
  * ProgramNumber: Number("int"),
1035
1037
  * PtsOffset: Number("int"),
1036
- * PtsOffsetMode: "AUTO" || "SECONDS",
1038
+ * PtsOffsetMode: "AUTO" || "SECONDS" || "MILLISECONDS",
1037
1039
  * Scte35Pid: Number("int"),
1038
1040
  * Scte35Source: "PASSTHROUGH" || "NONE",
1039
1041
  * TimedMetadata: "PASSTHROUGH" || "NONE",
@@ -1973,7 +1975,7 @@ declare const CreateJobTemplateCommand_base: {
1973
1975
  * // PtsOffsetHandlingForBFrames: "ZERO_BASED" || "MATCH_INITIAL_PTS",
1974
1976
  * // SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
1975
1977
  * // SegmentLength: Number("int"),
1976
- * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
1978
+ * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
1977
1979
  * // StreamInfResolution: "INCLUDE" || "EXCLUDE",
1978
1980
  * // TargetDurationCompatibilityMode: "LEGACY" || "SPEC_COMPLIANT",
1979
1981
  * // VideoCompositionOffsets: "SIGNED" || "UNSIGNED",
@@ -2041,7 +2043,7 @@ declare const CreateJobTemplateCommand_base: {
2041
2043
  * // PtsOffsetHandlingForBFrames: "ZERO_BASED" || "MATCH_INITIAL_PTS",
2042
2044
  * // SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
2043
2045
  * // SegmentLength: Number("int"),
2044
- * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
2046
+ * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
2045
2047
  * // VideoCompositionOffsets: "SIGNED" || "UNSIGNED",
2046
2048
  * // WriteSegmentTimelineInRepresentation: "ENABLED" || "DISABLED",
2047
2049
  * // },
@@ -2146,7 +2148,7 @@ declare const CreateJobTemplateCommand_base: {
2146
2148
  * // ProgressiveWriteHlsManifest: "ENABLED" || "DISABLED",
2147
2149
  * // SegmentControl: "SINGLE_FILE" || "SEGMENTED_FILES",
2148
2150
  * // SegmentLength: Number("int"),
2149
- * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE",
2151
+ * // SegmentLengthControl: "EXACT" || "GOP_MULTIPLE" || "MATCH",
2150
2152
  * // SegmentsPerSubdirectory: Number("int"),
2151
2153
  * // StreamInfResolution: "INCLUDE" || "EXCLUDE",
2152
2154
  * // TargetDurationCompatibilityMode: "LEGACY" || "SPEC_COMPLIANT",
@@ -2477,6 +2479,7 @@ declare const CreateJobTemplateCommand_base: {
2477
2479
  * // AudioPids: [ // __listOf__integerMin32Max8182
2478
2480
  * // Number("int"),
2479
2481
  * // ],
2482
+ * // AudioPtsOffsetDelta: Number("int"),
2480
2483
  * // Bitrate: Number("int"),
2481
2484
  * // BufferModel: "MULTIPLEX" || "NONE",
2482
2485
  * // DataPTSControl: "AUTO" || "ALIGN_TO_VIDEO",
@@ -2517,7 +2520,7 @@ declare const CreateJobTemplateCommand_base: {
2517
2520
  * // PrivateMetadataPid: Number("int"),
2518
2521
  * // ProgramNumber: Number("int"),
2519
2522
  * // PtsOffset: Number("int"),
2520
- * // PtsOffsetMode: "AUTO" || "SECONDS",
2523
+ * // PtsOffsetMode: "AUTO" || "SECONDS" || "MILLISECONDS",
2521
2524
  * // RateMode: "VBR" || "CBR",
2522
2525
  * // Scte35Esam: { // M2tsScte35Esam
2523
2526
  * // Scte35EsamPid: Number("int"),
@@ -2537,6 +2540,7 @@ declare const CreateJobTemplateCommand_base: {
2537
2540
  * // AudioPids: [
2538
2541
  * // Number("int"),
2539
2542
  * // ],
2543
+ * // AudioPtsOffsetDelta: Number("int"),
2540
2544
  * // DataPTSControl: "AUTO" || "ALIGN_TO_VIDEO",
2541
2545
  * // MaxPcrInterval: Number("int"),
2542
2546
  * // NielsenId3: "INSERT" || "NONE",
@@ -2548,7 +2552,7 @@ declare const CreateJobTemplateCommand_base: {
2548
2552
  * // PrivateMetadataPid: Number("int"),
2549
2553
  * // ProgramNumber: Number("int"),
2550
2554
  * // PtsOffset: Number("int"),
2551
- * // PtsOffsetMode: "AUTO" || "SECONDS",
2555
+ * // PtsOffsetMode: "AUTO" || "SECONDS" || "MILLISECONDS",
2552
2556
  * // Scte35Pid: Number("int"),
2553
2557
  * // Scte35Source: "PASSTHROUGH" || "NONE",
2554
2558
  * // TimedMetadata: "PASSTHROUGH" || "NONE",