@aws-sdk/client-mediaconvert 3.650.0 → 3.651.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 (46) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +2739 -2595
  3. package/dist-es/MediaConvert.js +2 -0
  4. package/dist-es/commands/ListVersionsCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +13 -20
  7. package/dist-es/models/models_1.js +25 -66
  8. package/dist-es/models/models_2.js +65 -0
  9. package/dist-es/pagination/ListVersionsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +102 -2
  12. package/dist-types/MediaConvert.d.ts +8 -0
  13. package/dist-types/MediaConvertClient.d.ts +3 -2
  14. package/dist-types/commands/AssociateCertificateCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateJobCommand.d.ts +53 -4
  16. package/dist-types/commands/CreateJobTemplateCommand.d.ts +50 -4
  17. package/dist-types/commands/CreatePresetCommand.d.ts +4 -2
  18. package/dist-types/commands/GetJobCommand.d.ts +27 -2
  19. package/dist-types/commands/GetJobTemplateCommand.d.ts +25 -2
  20. package/dist-types/commands/GetPresetCommand.d.ts +2 -1
  21. package/dist-types/commands/ListJobTemplatesCommand.d.ts +25 -2
  22. package/dist-types/commands/ListJobsCommand.d.ts +27 -2
  23. package/dist-types/commands/ListPresetsCommand.d.ts +2 -1
  24. package/dist-types/commands/ListVersionsCommand.d.ts +85 -0
  25. package/dist-types/commands/SearchJobsCommand.d.ts +27 -2
  26. package/dist-types/commands/UpdateJobTemplateCommand.d.ts +50 -4
  27. package/dist-types/commands/UpdatePresetCommand.d.ts +4 -2
  28. package/dist-types/commands/index.d.ts +1 -0
  29. package/dist-types/models/models_0.d.ts +118 -68
  30. package/dist-types/models/models_1.d.ts +108 -86
  31. package/dist-types/models/models_2.d.ts +116 -1
  32. package/dist-types/pagination/ListVersionsPaginator.d.ts +7 -0
  33. package/dist-types/pagination/index.d.ts +1 -0
  34. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  35. package/dist-types/ts3.4/MediaConvert.d.ts +18 -0
  36. package/dist-types/ts3.4/MediaConvertClient.d.ts +6 -0
  37. package/dist-types/ts3.4/commands/AssociateCertificateCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +36 -0
  39. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +35 -30
  41. package/dist-types/ts3.4/models/models_1.d.ts +44 -45
  42. package/dist-types/ts3.4/models/models_2.d.ts +48 -0
  43. package/dist-types/ts3.4/pagination/ListVersionsPaginator.d.ts +11 -0
  44. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  45. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  46. package/package.json +1 -1
@@ -21,6 +21,7 @@ import { ListJobTemplatesCommand, } from "./commands/ListJobTemplatesCommand";
21
21
  import { ListPresetsCommand } from "./commands/ListPresetsCommand";
22
22
  import { ListQueuesCommand } from "./commands/ListQueuesCommand";
23
23
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
24
+ import { ListVersionsCommand, } from "./commands/ListVersionsCommand";
24
25
  import { PutPolicyCommand } from "./commands/PutPolicyCommand";
25
26
  import { SearchJobsCommand } from "./commands/SearchJobsCommand";
26
27
  import { TagResourceCommand } from "./commands/TagResourceCommand";
@@ -52,6 +53,7 @@ const commands = {
52
53
  ListPresetsCommand,
53
54
  ListQueuesCommand,
54
55
  ListTagsForResourceCommand,
56
+ ListVersionsCommand,
55
57
  PutPolicyCommand,
56
58
  SearchJobsCommand,
57
59
  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_ListVersionsCommand, se_ListVersionsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListVersionsCommand 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", "ListVersions", {})
17
+ .n("MediaConvertClient", "ListVersionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListVersionsCommand)
20
+ .de(de_ListVersionsCommand)
21
+ .build() {
22
+ }
@@ -20,6 +20,7 @@ export * from "./ListJobsCommand";
20
20
  export * from "./ListPresetsCommand";
21
21
  export * from "./ListQueuesCommand";
22
22
  export * from "./ListTagsForResourceCommand";
23
+ export * from "./ListVersionsCommand";
23
24
  export * from "./PutPolicyCommand";
24
25
  export * from "./SearchJobsCommand";
25
26
  export * from "./TagResourceCommand";
@@ -694,6 +694,7 @@ export const AdvancedInputFilterSharpen = {
694
694
  export const AudioDurationCorrection = {
695
695
  AUTO: "AUTO",
696
696
  DISABLED: "DISABLED",
697
+ FORCE: "FORCE",
697
698
  FRAME: "FRAME",
698
699
  TRACK: "TRACK",
699
700
  };
@@ -723,6 +724,10 @@ export const EmbeddedTerminateCaptions = {
723
724
  DISABLED: "DISABLED",
724
725
  END_OF_INPUT: "END_OF_INPUT",
725
726
  };
727
+ export const CaptionSourceByteRateLimit = {
728
+ DISABLED: "DISABLED",
729
+ ENABLED: "ENABLED",
730
+ };
726
731
  export const FileSourceConvert608To708 = {
727
732
  DISABLED: "DISABLED",
728
733
  UPCONVERT: "UPCONVERT",
@@ -782,6 +787,14 @@ export const InputTimecodeSource = {
782
787
  SPECIFIEDSTART: "SPECIFIEDSTART",
783
788
  ZEROBASED: "ZEROBASED",
784
789
  };
790
+ export const VideoOverlayUnit = {
791
+ PERCENTAGE: "PERCENTAGE",
792
+ PIXELS: "PIXELS",
793
+ };
794
+ export const VideoOverlayPlayBackMode = {
795
+ ONCE: "ONCE",
796
+ REPEAT: "REPEAT",
797
+ };
785
798
  export const AlphaBehavior = {
786
799
  DISCARD: "DISCARD",
787
800
  REMAP_TO_LUMA: "REMAP_TO_LUMA",
@@ -1138,23 +1151,3 @@ export const CmfcAudioTrackType = {
1138
1151
  ALTERNATE_AUDIO_NOT_AUTO_SELECT: "ALTERNATE_AUDIO_NOT_AUTO_SELECT",
1139
1152
  AUDIO_ONLY_VARIANT_STREAM: "AUDIO_ONLY_VARIANT_STREAM",
1140
1153
  };
1141
- export const CmfcDescriptiveVideoServiceFlag = {
1142
- DONT_FLAG: "DONT_FLAG",
1143
- FLAG: "FLAG",
1144
- };
1145
- export const CmfcIFrameOnlyManifest = {
1146
- EXCLUDE: "EXCLUDE",
1147
- INCLUDE: "INCLUDE",
1148
- };
1149
- export const CmfcKlvMetadata = {
1150
- NONE: "NONE",
1151
- PASSTHROUGH: "PASSTHROUGH",
1152
- };
1153
- export const CmfcManifestMetadataSignaling = {
1154
- DISABLED: "DISABLED",
1155
- ENABLED: "ENABLED",
1156
- };
1157
- export const CmfcScte35Esam = {
1158
- INSERT: "INSERT",
1159
- NONE: "NONE",
1160
- };
@@ -1,4 +1,23 @@
1
- import { MediaConvertServiceException as __BaseException } from "./MediaConvertServiceException";
1
+ export const CmfcDescriptiveVideoServiceFlag = {
2
+ DONT_FLAG: "DONT_FLAG",
3
+ FLAG: "FLAG",
4
+ };
5
+ export const CmfcIFrameOnlyManifest = {
6
+ EXCLUDE: "EXCLUDE",
7
+ INCLUDE: "INCLUDE",
8
+ };
9
+ export const CmfcKlvMetadata = {
10
+ NONE: "NONE",
11
+ PASSTHROUGH: "PASSTHROUGH",
12
+ };
13
+ export const CmfcManifestMetadataSignaling = {
14
+ DISABLED: "DISABLED",
15
+ ENABLED: "ENABLED",
16
+ };
17
+ export const CmfcScte35Esam = {
18
+ INSERT: "INSERT",
19
+ NONE: "NONE",
20
+ };
2
21
  export const CmfcScte35Source = {
3
22
  NONE: "NONE",
4
23
  PASSTHROUGH: "PASSTHROUGH",
@@ -21,6 +40,7 @@ export const ContainerType = {
21
40
  MP4: "MP4",
22
41
  MPD: "MPD",
23
42
  MXF: "MXF",
43
+ OGG: "OGG",
24
44
  RAW: "RAW",
25
45
  WEBM: "WEBM",
26
46
  Y4M: "Y4M",
@@ -439,6 +459,10 @@ export const H264RepeatPps = {
439
459
  DISABLED: "DISABLED",
440
460
  ENABLED: "ENABLED",
441
461
  };
462
+ export const H264SaliencyAwareEncoding = {
463
+ DISABLED: "DISABLED",
464
+ PREFERRED: "PREFERRED",
465
+ };
442
466
  export const H264ScanTypeConversionMode = {
443
467
  INTERLACED: "INTERLACED",
444
468
  INTERLACED_OPTIMIZE: "INTERLACED_OPTIMIZE",
@@ -1109,68 +1133,3 @@ export const QueueStatus = {
1109
1133
  ACTIVE: "ACTIVE",
1110
1134
  PAUSED: "PAUSED",
1111
1135
  };
1112
- export class BadRequestException extends __BaseException {
1113
- constructor(opts) {
1114
- super({
1115
- name: "BadRequestException",
1116
- $fault: "client",
1117
- ...opts,
1118
- });
1119
- this.name = "BadRequestException";
1120
- this.$fault = "client";
1121
- Object.setPrototypeOf(this, BadRequestException.prototype);
1122
- this.Message = opts.Message;
1123
- }
1124
- }
1125
- export class ConflictException extends __BaseException {
1126
- constructor(opts) {
1127
- super({
1128
- name: "ConflictException",
1129
- $fault: "client",
1130
- ...opts,
1131
- });
1132
- this.name = "ConflictException";
1133
- this.$fault = "client";
1134
- Object.setPrototypeOf(this, ConflictException.prototype);
1135
- this.Message = opts.Message;
1136
- }
1137
- }
1138
- export class ForbiddenException extends __BaseException {
1139
- constructor(opts) {
1140
- super({
1141
- name: "ForbiddenException",
1142
- $fault: "client",
1143
- ...opts,
1144
- });
1145
- this.name = "ForbiddenException";
1146
- this.$fault = "client";
1147
- Object.setPrototypeOf(this, ForbiddenException.prototype);
1148
- this.Message = opts.Message;
1149
- }
1150
- }
1151
- export class InternalServerErrorException extends __BaseException {
1152
- constructor(opts) {
1153
- super({
1154
- name: "InternalServerErrorException",
1155
- $fault: "server",
1156
- ...opts,
1157
- });
1158
- this.name = "InternalServerErrorException";
1159
- this.$fault = "server";
1160
- Object.setPrototypeOf(this, InternalServerErrorException.prototype);
1161
- this.Message = opts.Message;
1162
- }
1163
- }
1164
- export class NotFoundException extends __BaseException {
1165
- constructor(opts) {
1166
- super({
1167
- name: "NotFoundException",
1168
- $fault: "client",
1169
- ...opts,
1170
- });
1171
- this.name = "NotFoundException";
1172
- this.$fault = "client";
1173
- Object.setPrototypeOf(this, NotFoundException.prototype);
1174
- this.Message = opts.Message;
1175
- }
1176
- }
@@ -1,4 +1,69 @@
1
1
  import { MediaConvertServiceException as __BaseException } from "./MediaConvertServiceException";
2
+ export class BadRequestException extends __BaseException {
3
+ constructor(opts) {
4
+ super({
5
+ name: "BadRequestException",
6
+ $fault: "client",
7
+ ...opts,
8
+ });
9
+ this.name = "BadRequestException";
10
+ this.$fault = "client";
11
+ Object.setPrototypeOf(this, BadRequestException.prototype);
12
+ this.Message = opts.Message;
13
+ }
14
+ }
15
+ export class ConflictException extends __BaseException {
16
+ constructor(opts) {
17
+ super({
18
+ name: "ConflictException",
19
+ $fault: "client",
20
+ ...opts,
21
+ });
22
+ this.name = "ConflictException";
23
+ this.$fault = "client";
24
+ Object.setPrototypeOf(this, ConflictException.prototype);
25
+ this.Message = opts.Message;
26
+ }
27
+ }
28
+ export class ForbiddenException extends __BaseException {
29
+ constructor(opts) {
30
+ super({
31
+ name: "ForbiddenException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ this.name = "ForbiddenException";
36
+ this.$fault = "client";
37
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
38
+ this.Message = opts.Message;
39
+ }
40
+ }
41
+ export class InternalServerErrorException extends __BaseException {
42
+ constructor(opts) {
43
+ super({
44
+ name: "InternalServerErrorException",
45
+ $fault: "server",
46
+ ...opts,
47
+ });
48
+ this.name = "InternalServerErrorException";
49
+ this.$fault = "server";
50
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
51
+ this.Message = opts.Message;
52
+ }
53
+ }
54
+ export class NotFoundException extends __BaseException {
55
+ constructor(opts) {
56
+ super({
57
+ name: "NotFoundException",
58
+ $fault: "client",
59
+ ...opts,
60
+ });
61
+ this.name = "NotFoundException";
62
+ this.$fault = "client";
63
+ Object.setPrototypeOf(this, NotFoundException.prototype);
64
+ this.Message = opts.Message;
65
+ }
66
+ }
2
67
  export class TooManyRequestsException extends __BaseException {
3
68
  constructor(opts) {
4
69
  super({
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListVersionsCommand, } from "../commands/ListVersionsCommand";
3
+ import { MediaConvertClient } from "../MediaConvertClient";
4
+ export const paginateListVersions = createPaginator(MediaConvertClient, ListVersionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -4,4 +4,5 @@ export * from "./ListJobTemplatesPaginator";
4
4
  export * from "./ListJobsPaginator";
5
5
  export * from "./ListPresetsPaginator";
6
6
  export * from "./ListQueuesPaginator";
7
+ export * from "./ListVersionsPaginator";
7
8
  export * from "./SearchJobsPaginator";
@@ -3,8 +3,7 @@ import { requestBuilder as rb } from "@smithy/core";
3
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";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { MediaConvertServiceException as __BaseException } from "../models/MediaConvertServiceException";
6
- import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, } from "../models/models_1";
7
- import { TooManyRequestsException } from "../models/models_2";
6
+ import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, TooManyRequestsException, } from "../models/models_2";
8
7
  export const se_AssociateCertificateCommand = async (input, context) => {
9
8
  const b = rb(input, context);
10
9
  const headers = {
@@ -39,6 +38,7 @@ export const se_CreateJobCommand = async (input, context) => {
39
38
  billingTagsSource: [, , `BillingTagsSource`],
40
39
  clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken(), `ClientRequestToken`],
41
40
  hopDestinations: [, (_) => se___listOfHopDestination(_, context), `HopDestinations`],
41
+ jobEngineVersion: [, , `JobEngineVersion`],
42
42
  jobTemplate: [, , `JobTemplate`],
43
43
  priority: [, , `Priority`],
44
44
  queue: [, , `Queue`],
@@ -280,6 +280,18 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
280
280
  b.m("GET").h(headers).b(body);
281
281
  return b.build();
282
282
  };
283
+ export const se_ListVersionsCommand = async (input, context) => {
284
+ const b = rb(input, context);
285
+ const headers = {};
286
+ b.bp("/2017-08-29/versions");
287
+ const query = map({
288
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
289
+ [_nT]: [, input[_NT]],
290
+ });
291
+ let body;
292
+ b.m("GET").h(headers).q(query).b(body);
293
+ return b.build();
294
+ };
283
295
  export const se_PutPolicyCommand = async (input, context) => {
284
296
  const b = rb(input, context);
285
297
  const headers = {
@@ -675,6 +687,21 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
675
687
  Object.assign(contents, doc);
676
688
  return contents;
677
689
  };
690
+ export const de_ListVersionsCommand = async (output, context) => {
691
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
692
+ return de_CommandError(output, context);
693
+ }
694
+ const contents = map({
695
+ $metadata: deserializeMetadata(output),
696
+ });
697
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
698
+ const doc = take(data, {
699
+ NextToken: [, __expectString, `nextToken`],
700
+ Versions: [, (_) => de___listOfJobEngineVersion(_, context), `versions`],
701
+ });
702
+ Object.assign(contents, doc);
703
+ return contents;
704
+ };
678
705
  export const de_PutPolicyCommand = async (output, context) => {
679
706
  if (output.statusCode !== 200 && output.statusCode >= 300) {
680
707
  return de_CommandError(output, context);
@@ -1047,6 +1074,13 @@ const se___listOfVideoOverlayInputClipping = (input, context) => {
1047
1074
  return se_VideoOverlayInputClipping(entry, context);
1048
1075
  });
1049
1076
  };
1077
+ const se___listOfVideoOverlayTransition = (input, context) => {
1078
+ return input
1079
+ .filter((e) => e != null)
1080
+ .map((entry) => {
1081
+ return se_VideoOverlayTransition(entry, context);
1082
+ });
1083
+ };
1050
1084
  const se___mapOfAudioSelector = (input, context) => {
1051
1085
  return Object.entries(input).reduce((acc, [key, value]) => {
1052
1086
  if (value === null) {
@@ -1735,6 +1769,7 @@ const se_FileGroupSettings = (input, context) => {
1735
1769
  };
1736
1770
  const se_FileSourceSettings = (input, context) => {
1737
1771
  return take(input, {
1772
+ byteRateLimit: [, , `ByteRateLimit`],
1738
1773
  convert608To708: [, , `Convert608To708`],
1739
1774
  convertPaintToPop: [, , `ConvertPaintToPop`],
1740
1775
  framerate: [, (_) => se_CaptionSourceFramerate(_, context), `Framerate`],
@@ -1806,6 +1841,7 @@ const se_H264Settings = (input, context) => {
1806
1841
  qvbrSettings: [, (_) => se_H264QvbrSettings(_, context), `QvbrSettings`],
1807
1842
  rateControlMode: [, , `RateControlMode`],
1808
1843
  repeatPps: [, , `RepeatPps`],
1844
+ saliencyAwareEncoding: [, , `SaliencyAwareEncoding`],
1809
1845
  scanTypeConversionMode: [, , `ScanTypeConversionMode`],
1810
1846
  sceneChangeDetect: [, , `SceneChangeDetect`],
1811
1847
  slices: [, , `Slices`],
@@ -2726,8 +2762,11 @@ const se_VideoDescription = (input, context) => {
2726
2762
  const se_VideoOverlay = (input, context) => {
2727
2763
  return take(input, {
2728
2764
  endTimecode: [, , `EndTimecode`],
2765
+ initialPosition: [, (_) => se_VideoOverlayPosition(_, context), `InitialPosition`],
2729
2766
  input: [, (_) => se_VideoOverlayInput(_, context), `Input`],
2767
+ playback: [, , `Playback`],
2730
2768
  startTimecode: [, , `StartTimecode`],
2769
+ transitions: [, (_) => se___listOfVideoOverlayTransition(_, context), `Transitions`],
2731
2770
  });
2732
2771
  };
2733
2772
  const se_VideoOverlayInput = (input, context) => {
@@ -2744,6 +2783,22 @@ const se_VideoOverlayInputClipping = (input, context) => {
2744
2783
  startTimecode: [, , `StartTimecode`],
2745
2784
  });
2746
2785
  };
2786
+ const se_VideoOverlayPosition = (input, context) => {
2787
+ return take(input, {
2788
+ height: [, , `Height`],
2789
+ unit: [, , `Unit`],
2790
+ width: [, , `Width`],
2791
+ xPosition: [, , `XPosition`],
2792
+ yPosition: [, , `YPosition`],
2793
+ });
2794
+ };
2795
+ const se_VideoOverlayTransition = (input, context) => {
2796
+ return take(input, {
2797
+ endPosition: [, (_) => se_VideoOverlayPosition(_, context), `EndPosition`],
2798
+ endTimecode: [, , `EndTimecode`],
2799
+ startTimecode: [, , `StartTimecode`],
2800
+ });
2801
+ };
2747
2802
  const se_VideoPreprocessor = (input, context) => {
2748
2803
  return take(input, {
2749
2804
  colorCorrector: [, (_) => se_ColorCorrector(_, context), `ColorCorrector`],
@@ -3065,6 +3120,14 @@ const de___listOfJob = (output, context) => {
3065
3120
  });
3066
3121
  return retVal;
3067
3122
  };
3123
+ const de___listOfJobEngineVersion = (output, context) => {
3124
+ const retVal = (output || [])
3125
+ .filter((e) => e != null)
3126
+ .map((entry) => {
3127
+ return de_JobEngineVersion(entry, context);
3128
+ });
3129
+ return retVal;
3130
+ };
3068
3131
  const de___listOfJobTemplate = (output, context) => {
3069
3132
  const retVal = (output || [])
3070
3133
  .filter((e) => e != null)
@@ -3161,6 +3224,14 @@ const de___listOfVideoOverlayInputClipping = (output, context) => {
3161
3224
  });
3162
3225
  return retVal;
3163
3226
  };
3227
+ const de___listOfVideoOverlayTransition = (output, context) => {
3228
+ const retVal = (output || [])
3229
+ .filter((e) => e != null)
3230
+ .map((entry) => {
3231
+ return de_VideoOverlayTransition(entry, context);
3232
+ });
3233
+ return retVal;
3234
+ };
3164
3235
  const de___listOfWarningGroup = (output, context) => {
3165
3236
  const retVal = (output || [])
3166
3237
  .filter((e) => e != null)
@@ -3874,6 +3945,7 @@ const de_FileGroupSettings = (output, context) => {
3874
3945
  };
3875
3946
  const de_FileSourceSettings = (output, context) => {
3876
3947
  return take(output, {
3948
+ ByteRateLimit: [, __expectString, `byteRateLimit`],
3877
3949
  Convert608To708: [, __expectString, `convert608To708`],
3878
3950
  ConvertPaintToPop: [, __expectString, `convertPaintToPop`],
3879
3951
  Framerate: [, (_) => de_CaptionSourceFramerate(_, context), `framerate`],
@@ -3945,6 +4017,7 @@ const de_H264Settings = (output, context) => {
3945
4017
  QvbrSettings: [, (_) => de_H264QvbrSettings(_, context), `qvbrSettings`],
3946
4018
  RateControlMode: [, __expectString, `rateControlMode`],
3947
4019
  RepeatPps: [, __expectString, `repeatPps`],
4020
+ SaliencyAwareEncoding: [, __expectString, `saliencyAwareEncoding`],
3948
4021
  ScanTypeConversionMode: [, __expectString, `scanTypeConversionMode`],
3949
4022
  SceneChangeDetect: [, __expectString, `sceneChangeDetect`],
3950
4023
  Slices: [, __expectInt32, `slices`],
@@ -4268,6 +4341,8 @@ const de_Job = (output, context) => {
4268
4341
  ErrorMessage: [, __expectString, `errorMessage`],
4269
4342
  HopDestinations: [, (_) => de___listOfHopDestination(_, context), `hopDestinations`],
4270
4343
  Id: [, __expectString, `id`],
4344
+ JobEngineVersionRequested: [, __expectString, `jobEngineVersionRequested`],
4345
+ JobEngineVersionUsed: [, __expectString, `jobEngineVersionUsed`],
4271
4346
  JobPercentComplete: [, __expectInt32, `jobPercentComplete`],
4272
4347
  JobTemplate: [, __expectString, `jobTemplate`],
4273
4348
  Messages: [, (_) => de_JobMessages(_, context), `messages`],
@@ -4286,6 +4361,12 @@ const de_Job = (output, context) => {
4286
4361
  Warnings: [, (_) => de___listOfWarningGroup(_, context), `warnings`],
4287
4362
  });
4288
4363
  };
4364
+ const de_JobEngineVersion = (output, context) => {
4365
+ return take(output, {
4366
+ ExpirationDate: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `expirationDate`],
4367
+ Version: [, __expectString, `version`],
4368
+ });
4369
+ };
4289
4370
  const de_JobMessages = (output, context) => {
4290
4371
  return take(output, {
4291
4372
  Info: [, _json, `info`],
@@ -5006,8 +5087,11 @@ const de_VideoDetail = (output, context) => {
5006
5087
  const de_VideoOverlay = (output, context) => {
5007
5088
  return take(output, {
5008
5089
  EndTimecode: [, __expectString, `endTimecode`],
5090
+ InitialPosition: [, (_) => de_VideoOverlayPosition(_, context), `initialPosition`],
5009
5091
  Input: [, (_) => de_VideoOverlayInput(_, context), `input`],
5092
+ Playback: [, __expectString, `playback`],
5010
5093
  StartTimecode: [, __expectString, `startTimecode`],
5094
+ Transitions: [, (_) => de___listOfVideoOverlayTransition(_, context), `transitions`],
5011
5095
  });
5012
5096
  };
5013
5097
  const de_VideoOverlayInput = (output, context) => {
@@ -5024,6 +5108,22 @@ const de_VideoOverlayInputClipping = (output, context) => {
5024
5108
  StartTimecode: [, __expectString, `startTimecode`],
5025
5109
  });
5026
5110
  };
5111
+ const de_VideoOverlayPosition = (output, context) => {
5112
+ return take(output, {
5113
+ Height: [, __expectInt32, `height`],
5114
+ Unit: [, __expectString, `unit`],
5115
+ Width: [, __expectInt32, `width`],
5116
+ XPosition: [, __expectInt32, `xPosition`],
5117
+ YPosition: [, __expectInt32, `yPosition`],
5118
+ });
5119
+ };
5120
+ const de_VideoOverlayTransition = (output, context) => {
5121
+ return take(output, {
5122
+ EndPosition: [, (_) => de_VideoOverlayPosition(_, context), `endPosition`],
5123
+ EndTimecode: [, __expectString, `endTimecode`],
5124
+ StartTimecode: [, __expectString, `startTimecode`],
5125
+ });
5126
+ };
5027
5127
  const de_VideoPreprocessor = (output, context) => {
5028
5128
  return take(output, {
5029
5129
  ColorCorrector: [, (_) => de_ColorCorrector(_, context), `colorCorrector`],
@@ -21,6 +21,7 @@ import { ListJobTemplatesCommandInput, ListJobTemplatesCommandOutput } from "./c
21
21
  import { ListPresetsCommandInput, ListPresetsCommandOutput } from "./commands/ListPresetsCommand";
22
22
  import { ListQueuesCommandInput, ListQueuesCommandOutput } from "./commands/ListQueuesCommand";
23
23
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
24
+ import { ListVersionsCommandInput, ListVersionsCommandOutput } from "./commands/ListVersionsCommand";
24
25
  import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
25
26
  import { SearchJobsCommandInput, SearchJobsCommandOutput } from "./commands/SearchJobsCommand";
26
27
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -169,6 +170,13 @@ export interface MediaConvert {
169
170
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
170
171
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
171
172
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
173
+ /**
174
+ * @see {@link ListVersionsCommand}
175
+ */
176
+ listVersions(): Promise<ListVersionsCommandOutput>;
177
+ listVersions(args: ListVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListVersionsCommandOutput>;
178
+ listVersions(args: ListVersionsCommandInput, cb: (err: any, data?: ListVersionsCommandOutput) => void): void;
179
+ listVersions(args: ListVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVersionsCommandOutput) => void): void;
172
180
  /**
173
181
  * @see {@link PutPolicyCommand}
174
182
  */
@@ -29,6 +29,7 @@ import { ListJobTemplatesCommandInput, ListJobTemplatesCommandOutput } from "./c
29
29
  import { ListPresetsCommandInput, ListPresetsCommandOutput } from "./commands/ListPresetsCommand";
30
30
  import { ListQueuesCommandInput, ListQueuesCommandOutput } from "./commands/ListQueuesCommand";
31
31
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
32
+ import { ListVersionsCommandInput, ListVersionsCommandOutput } from "./commands/ListVersionsCommand";
32
33
  import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
33
34
  import { SearchJobsCommandInput, SearchJobsCommandOutput } from "./commands/SearchJobsCommand";
34
35
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -42,11 +43,11 @@ export { __Client };
42
43
  /**
43
44
  * @public
44
45
  */
45
- 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 | PutPolicyCommandInput | SearchJobsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateJobTemplateCommandInput | UpdatePresetCommandInput | UpdateQueueCommandInput;
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;
46
47
  /**
47
48
  * @public
48
49
  */
49
- 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 | PutPolicyCommandOutput | SearchJobsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateJobTemplateCommandOutput | UpdatePresetCommandOutput | UpdateQueueCommandOutput;
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;
50
51
  /**
51
52
  * @public
52
53
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
4
- import { AssociateCertificateRequest, AssociateCertificateResponse } from "../models/models_1";
4
+ import { AssociateCertificateRequest, AssociateCertificateResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */