@aws-sdk/client-mediaconvert 3.649.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 (75) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +2747 -2661
  3. package/dist-es/MediaConvert.js +2 -0
  4. package/dist-es/commands/AssociateCertificateCommand.js +1 -3
  5. package/dist-es/commands/CancelJobCommand.js +1 -3
  6. package/dist-es/commands/CreateJobCommand.js +1 -3
  7. package/dist-es/commands/CreateJobTemplateCommand.js +1 -3
  8. package/dist-es/commands/CreatePresetCommand.js +1 -3
  9. package/dist-es/commands/CreateQueueCommand.js +1 -3
  10. package/dist-es/commands/DeleteJobTemplateCommand.js +1 -3
  11. package/dist-es/commands/DeletePolicyCommand.js +1 -3
  12. package/dist-es/commands/DeletePresetCommand.js +1 -3
  13. package/dist-es/commands/DeleteQueueCommand.js +1 -3
  14. package/dist-es/commands/DescribeEndpointsCommand.js +1 -3
  15. package/dist-es/commands/DisassociateCertificateCommand.js +1 -3
  16. package/dist-es/commands/GetJobCommand.js +1 -3
  17. package/dist-es/commands/GetJobTemplateCommand.js +1 -3
  18. package/dist-es/commands/GetPolicyCommand.js +1 -3
  19. package/dist-es/commands/GetPresetCommand.js +1 -3
  20. package/dist-es/commands/GetQueueCommand.js +1 -3
  21. package/dist-es/commands/ListJobTemplatesCommand.js +1 -3
  22. package/dist-es/commands/ListJobsCommand.js +1 -3
  23. package/dist-es/commands/ListPresetsCommand.js +1 -3
  24. package/dist-es/commands/ListQueuesCommand.js +1 -3
  25. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  26. package/dist-es/commands/ListVersionsCommand.js +22 -0
  27. package/dist-es/commands/PutPolicyCommand.js +1 -3
  28. package/dist-es/commands/SearchJobsCommand.js +1 -3
  29. package/dist-es/commands/TagResourceCommand.js +1 -3
  30. package/dist-es/commands/UntagResourceCommand.js +1 -3
  31. package/dist-es/commands/UpdateJobTemplateCommand.js +1 -3
  32. package/dist-es/commands/UpdatePresetCommand.js +1 -3
  33. package/dist-es/commands/UpdateQueueCommand.js +1 -3
  34. package/dist-es/commands/index.js +1 -0
  35. package/dist-es/models/models_0.js +13 -20
  36. package/dist-es/models/models_1.js +25 -66
  37. package/dist-es/models/models_2.js +65 -0
  38. package/dist-es/pagination/ListVersionsPaginator.js +4 -0
  39. package/dist-es/pagination/index.js +1 -0
  40. package/dist-es/protocols/Aws_restJson1.js +102 -2
  41. package/dist-types/MediaConvert.d.ts +8 -0
  42. package/dist-types/MediaConvertClient.d.ts +3 -2
  43. package/dist-types/commands/AssociateCertificateCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateJobCommand.d.ts +53 -4
  45. package/dist-types/commands/CreateJobTemplateCommand.d.ts +50 -4
  46. package/dist-types/commands/CreatePresetCommand.d.ts +4 -2
  47. package/dist-types/commands/GetJobCommand.d.ts +27 -2
  48. package/dist-types/commands/GetJobTemplateCommand.d.ts +25 -2
  49. package/dist-types/commands/GetPresetCommand.d.ts +2 -1
  50. package/dist-types/commands/ListJobTemplatesCommand.d.ts +25 -2
  51. package/dist-types/commands/ListJobsCommand.d.ts +27 -2
  52. package/dist-types/commands/ListPresetsCommand.d.ts +2 -1
  53. package/dist-types/commands/ListVersionsCommand.d.ts +85 -0
  54. package/dist-types/commands/SearchJobsCommand.d.ts +27 -2
  55. package/dist-types/commands/UpdateJobTemplateCommand.d.ts +50 -4
  56. package/dist-types/commands/UpdatePresetCommand.d.ts +4 -2
  57. package/dist-types/commands/index.d.ts +1 -0
  58. package/dist-types/models/models_0.d.ts +118 -68
  59. package/dist-types/models/models_1.d.ts +108 -86
  60. package/dist-types/models/models_2.d.ts +116 -1
  61. package/dist-types/pagination/ListVersionsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +1 -0
  63. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  64. package/dist-types/ts3.4/MediaConvert.d.ts +18 -0
  65. package/dist-types/ts3.4/MediaConvertClient.d.ts +6 -0
  66. package/dist-types/ts3.4/commands/AssociateCertificateCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +36 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +35 -30
  70. package/dist-types/ts3.4/models/models_1.d.ts +44 -45
  71. package/dist-types/ts3.4/models/models_2.d.ts +48 -0
  72. package/dist-types/ts3.4/pagination/ListVersionsPaginator.d.ts +11 -0
  73. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  75. package/package.json +4 -4
@@ -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
  */
@@ -47,6 +47,7 @@ declare const CreateJobCommand_base: {
47
47
  * WaitMinutes: Number("int"),
48
48
  * },
49
49
  * ],
50
+ * JobEngineVersion: "STRING_VALUE",
50
51
  * JobTemplate: "STRING_VALUE",
51
52
  * Priority: Number("int"),
52
53
  * Queue: "STRING_VALUE",
@@ -95,7 +96,7 @@ declare const CreateJobCommand_base: {
95
96
  * },
96
97
  * AudioSelectors: { // __mapOfAudioSelector
97
98
  * "<keys>": { // AudioSelector
98
- * AudioDurationCorrection: "DISABLED" || "AUTO" || "TRACK" || "FRAME",
99
+ * AudioDurationCorrection: "DISABLED" || "AUTO" || "TRACK" || "FRAME" || "FORCE",
99
100
  * CustomLanguageCode: "STRING_VALUE",
100
101
  * DefaultSelection: "DEFAULT" || "NOT_DEFAULT",
101
102
  * ExternalAudioFileInput: "STRING_VALUE",
@@ -154,6 +155,7 @@ declare const CreateJobCommand_base: {
154
155
  * TerminateCaptions: "END_OF_INPUT" || "DISABLED",
155
156
  * },
156
157
  * FileSourceSettings: { // FileSourceSettings
158
+ * ByteRateLimit: "ENABLED" || "DISABLED",
157
159
  * Convert608To708: "UPCONVERT" || "DISABLED",
158
160
  * ConvertPaintToPop: "ENABLED" || "DISABLED",
159
161
  * Framerate: { // CaptionSourceFramerate
@@ -245,6 +247,13 @@ declare const CreateJobCommand_base: {
245
247
  * VideoOverlays: [ // __listOfVideoOverlay
246
248
  * { // VideoOverlay
247
249
  * EndTimecode: "STRING_VALUE",
250
+ * InitialPosition: { // VideoOverlayPosition
251
+ * Height: Number("int"),
252
+ * Unit: "PIXELS" || "PERCENTAGE",
253
+ * Width: Number("int"),
254
+ * XPosition: Number("int"),
255
+ * YPosition: Number("int"),
256
+ * },
248
257
  * Input: { // VideoOverlayInput
249
258
  * FileInput: "STRING_VALUE",
250
259
  * InputClippings: [ // __listOfVideoOverlayInputClipping
@@ -256,7 +265,21 @@ declare const CreateJobCommand_base: {
256
265
  * TimecodeSource: "EMBEDDED" || "ZEROBASED" || "SPECIFIEDSTART",
257
266
  * TimecodeStart: "STRING_VALUE",
258
267
  * },
268
+ * Playback: "ONCE" || "REPEAT",
259
269
  * StartTimecode: "STRING_VALUE",
270
+ * Transitions: [ // __listOfVideoOverlayTransition
271
+ * { // VideoOverlayTransition
272
+ * EndPosition: {
273
+ * Height: Number("int"),
274
+ * Unit: "PIXELS" || "PERCENTAGE",
275
+ * Width: Number("int"),
276
+ * XPosition: Number("int"),
277
+ * YPosition: Number("int"),
278
+ * },
279
+ * EndTimecode: "STRING_VALUE",
280
+ * StartTimecode: "STRING_VALUE",
281
+ * },
282
+ * ],
260
283
  * },
261
284
  * ],
262
285
  * VideoSelector: { // VideoSelector
@@ -921,7 +944,7 @@ declare const CreateJobCommand_base: {
921
944
  * TimedMetadataSchemeIdUri: "STRING_VALUE",
922
945
  * TimedMetadataValue: "STRING_VALUE",
923
946
  * },
924
- * Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "WEBM" || "RAW" || "Y4M",
947
+ * Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "OGG" || "WEBM" || "RAW" || "Y4M",
925
948
  * F4vSettings: { // F4vSettings
926
949
  * MoovPlacement: "PROGRESSIVE_DOWNLOAD" || "NORMAL",
927
950
  * },
@@ -1147,6 +1170,7 @@ declare const CreateJobCommand_base: {
1147
1170
  * },
1148
1171
  * RateControlMode: "VBR" || "CBR" || "QVBR",
1149
1172
  * RepeatPps: "DISABLED" || "ENABLED",
1173
+ * SaliencyAwareEncoding: "DISABLED" || "PREFERRED",
1150
1174
  * ScanTypeConversionMode: "INTERLACED" || "INTERLACED_OPTIMIZE",
1151
1175
  * SceneChangeDetect: "DISABLED" || "ENABLED" || "TRANSITION_DETECTION",
1152
1176
  * Slices: Number("int"),
@@ -1529,6 +1553,8 @@ declare const CreateJobCommand_base: {
1529
1553
  * // },
1530
1554
  * // ],
1531
1555
  * // Id: "STRING_VALUE",
1556
+ * // JobEngineVersionRequested: "STRING_VALUE",
1557
+ * // JobEngineVersionUsed: "STRING_VALUE",
1532
1558
  * // JobPercentComplete: Number("int"),
1533
1559
  * // JobTemplate: "STRING_VALUE",
1534
1560
  * // Messages: { // JobMessages
@@ -1607,7 +1633,7 @@ declare const CreateJobCommand_base: {
1607
1633
  * // },
1608
1634
  * // AudioSelectors: { // __mapOfAudioSelector
1609
1635
  * // "<keys>": { // AudioSelector
1610
- * // AudioDurationCorrection: "DISABLED" || "AUTO" || "TRACK" || "FRAME",
1636
+ * // AudioDurationCorrection: "DISABLED" || "AUTO" || "TRACK" || "FRAME" || "FORCE",
1611
1637
  * // CustomLanguageCode: "STRING_VALUE",
1612
1638
  * // DefaultSelection: "DEFAULT" || "NOT_DEFAULT",
1613
1639
  * // ExternalAudioFileInput: "STRING_VALUE",
@@ -1666,6 +1692,7 @@ declare const CreateJobCommand_base: {
1666
1692
  * // TerminateCaptions: "END_OF_INPUT" || "DISABLED",
1667
1693
  * // },
1668
1694
  * // FileSourceSettings: { // FileSourceSettings
1695
+ * // ByteRateLimit: "ENABLED" || "DISABLED",
1669
1696
  * // Convert608To708: "UPCONVERT" || "DISABLED",
1670
1697
  * // ConvertPaintToPop: "ENABLED" || "DISABLED",
1671
1698
  * // Framerate: { // CaptionSourceFramerate
@@ -1757,6 +1784,13 @@ declare const CreateJobCommand_base: {
1757
1784
  * // VideoOverlays: [ // __listOfVideoOverlay
1758
1785
  * // { // VideoOverlay
1759
1786
  * // EndTimecode: "STRING_VALUE",
1787
+ * // InitialPosition: { // VideoOverlayPosition
1788
+ * // Height: Number("int"),
1789
+ * // Unit: "PIXELS" || "PERCENTAGE",
1790
+ * // Width: Number("int"),
1791
+ * // XPosition: Number("int"),
1792
+ * // YPosition: Number("int"),
1793
+ * // },
1760
1794
  * // Input: { // VideoOverlayInput
1761
1795
  * // FileInput: "STRING_VALUE",
1762
1796
  * // InputClippings: [ // __listOfVideoOverlayInputClipping
@@ -1768,7 +1802,21 @@ declare const CreateJobCommand_base: {
1768
1802
  * // TimecodeSource: "EMBEDDED" || "ZEROBASED" || "SPECIFIEDSTART",
1769
1803
  * // TimecodeStart: "STRING_VALUE",
1770
1804
  * // },
1805
+ * // Playback: "ONCE" || "REPEAT",
1771
1806
  * // StartTimecode: "STRING_VALUE",
1807
+ * // Transitions: [ // __listOfVideoOverlayTransition
1808
+ * // { // VideoOverlayTransition
1809
+ * // EndPosition: {
1810
+ * // Height: Number("int"),
1811
+ * // Unit: "PIXELS" || "PERCENTAGE",
1812
+ * // Width: Number("int"),
1813
+ * // XPosition: Number("int"),
1814
+ * // YPosition: Number("int"),
1815
+ * // },
1816
+ * // EndTimecode: "STRING_VALUE",
1817
+ * // StartTimecode: "STRING_VALUE",
1818
+ * // },
1819
+ * // ],
1772
1820
  * // },
1773
1821
  * // ],
1774
1822
  * // VideoSelector: { // VideoSelector
@@ -2433,7 +2481,7 @@ declare const CreateJobCommand_base: {
2433
2481
  * // TimedMetadataSchemeIdUri: "STRING_VALUE",
2434
2482
  * // TimedMetadataValue: "STRING_VALUE",
2435
2483
  * // },
2436
- * // Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "WEBM" || "RAW" || "Y4M",
2484
+ * // Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "OGG" || "WEBM" || "RAW" || "Y4M",
2437
2485
  * // F4vSettings: { // F4vSettings
2438
2486
  * // MoovPlacement: "PROGRESSIVE_DOWNLOAD" || "NORMAL",
2439
2487
  * // },
@@ -2659,6 +2707,7 @@ declare const CreateJobCommand_base: {
2659
2707
  * // },
2660
2708
  * // RateControlMode: "VBR" || "CBR" || "QVBR",
2661
2709
  * // RepeatPps: "DISABLED" || "ENABLED",
2710
+ * // SaliencyAwareEncoding: "DISABLED" || "PREFERRED",
2662
2711
  * // ScanTypeConversionMode: "INTERLACED" || "INTERLACED_OPTIMIZE",
2663
2712
  * // SceneChangeDetect: "DISABLED" || "ENABLED" || "TRANSITION_DETECTION",
2664
2713
  * // Slices: Number("int"),
@@ -94,7 +94,7 @@ declare const CreateJobTemplateCommand_base: {
94
94
  * },
95
95
  * AudioSelectors: { // __mapOfAudioSelector
96
96
  * "<keys>": { // AudioSelector
97
- * AudioDurationCorrection: "DISABLED" || "AUTO" || "TRACK" || "FRAME",
97
+ * AudioDurationCorrection: "DISABLED" || "AUTO" || "TRACK" || "FRAME" || "FORCE",
98
98
  * CustomLanguageCode: "STRING_VALUE",
99
99
  * DefaultSelection: "DEFAULT" || "NOT_DEFAULT",
100
100
  * ExternalAudioFileInput: "STRING_VALUE",
@@ -153,6 +153,7 @@ declare const CreateJobTemplateCommand_base: {
153
153
  * TerminateCaptions: "END_OF_INPUT" || "DISABLED",
154
154
  * },
155
155
  * FileSourceSettings: { // FileSourceSettings
156
+ * ByteRateLimit: "ENABLED" || "DISABLED",
156
157
  * Convert608To708: "UPCONVERT" || "DISABLED",
157
158
  * ConvertPaintToPop: "ENABLED" || "DISABLED",
158
159
  * Framerate: { // CaptionSourceFramerate
@@ -227,6 +228,13 @@ declare const CreateJobTemplateCommand_base: {
227
228
  * VideoOverlays: [ // __listOfVideoOverlay
228
229
  * { // VideoOverlay
229
230
  * EndTimecode: "STRING_VALUE",
231
+ * InitialPosition: { // VideoOverlayPosition
232
+ * Height: Number("int"),
233
+ * Unit: "PIXELS" || "PERCENTAGE",
234
+ * Width: Number("int"),
235
+ * XPosition: Number("int"),
236
+ * YPosition: Number("int"),
237
+ * },
230
238
  * Input: { // VideoOverlayInput
231
239
  * FileInput: "STRING_VALUE",
232
240
  * InputClippings: [ // __listOfVideoOverlayInputClipping
@@ -238,7 +246,21 @@ declare const CreateJobTemplateCommand_base: {
238
246
  * TimecodeSource: "EMBEDDED" || "ZEROBASED" || "SPECIFIEDSTART",
239
247
  * TimecodeStart: "STRING_VALUE",
240
248
  * },
249
+ * Playback: "ONCE" || "REPEAT",
241
250
  * StartTimecode: "STRING_VALUE",
251
+ * Transitions: [ // __listOfVideoOverlayTransition
252
+ * { // VideoOverlayTransition
253
+ * EndPosition: {
254
+ * Height: Number("int"),
255
+ * Unit: "PIXELS" || "PERCENTAGE",
256
+ * Width: Number("int"),
257
+ * XPosition: Number("int"),
258
+ * YPosition: Number("int"),
259
+ * },
260
+ * EndTimecode: "STRING_VALUE",
261
+ * StartTimecode: "STRING_VALUE",
262
+ * },
263
+ * ],
242
264
  * },
243
265
  * ],
244
266
  * VideoSelector: { // VideoSelector
@@ -903,7 +925,7 @@ declare const CreateJobTemplateCommand_base: {
903
925
  * TimedMetadataSchemeIdUri: "STRING_VALUE",
904
926
  * TimedMetadataValue: "STRING_VALUE",
905
927
  * },
906
- * Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "WEBM" || "RAW" || "Y4M",
928
+ * Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "OGG" || "WEBM" || "RAW" || "Y4M",
907
929
  * F4vSettings: { // F4vSettings
908
930
  * MoovPlacement: "PROGRESSIVE_DOWNLOAD" || "NORMAL",
909
931
  * },
@@ -1129,6 +1151,7 @@ declare const CreateJobTemplateCommand_base: {
1129
1151
  * },
1130
1152
  * RateControlMode: "VBR" || "CBR" || "QVBR",
1131
1153
  * RepeatPps: "DISABLED" || "ENABLED",
1154
+ * SaliencyAwareEncoding: "DISABLED" || "PREFERRED",
1132
1155
  * ScanTypeConversionMode: "INTERLACED" || "INTERLACED_OPTIMIZE",
1133
1156
  * SceneChangeDetect: "DISABLED" || "ENABLED" || "TRANSITION_DETECTION",
1134
1157
  * Slices: Number("int"),
@@ -1550,7 +1573,7 @@ declare const CreateJobTemplateCommand_base: {
1550
1573
  * // },
1551
1574
  * // AudioSelectors: { // __mapOfAudioSelector
1552
1575
  * // "<keys>": { // AudioSelector
1553
- * // AudioDurationCorrection: "DISABLED" || "AUTO" || "TRACK" || "FRAME",
1576
+ * // AudioDurationCorrection: "DISABLED" || "AUTO" || "TRACK" || "FRAME" || "FORCE",
1554
1577
  * // CustomLanguageCode: "STRING_VALUE",
1555
1578
  * // DefaultSelection: "DEFAULT" || "NOT_DEFAULT",
1556
1579
  * // ExternalAudioFileInput: "STRING_VALUE",
@@ -1609,6 +1632,7 @@ declare const CreateJobTemplateCommand_base: {
1609
1632
  * // TerminateCaptions: "END_OF_INPUT" || "DISABLED",
1610
1633
  * // },
1611
1634
  * // FileSourceSettings: { // FileSourceSettings
1635
+ * // ByteRateLimit: "ENABLED" || "DISABLED",
1612
1636
  * // Convert608To708: "UPCONVERT" || "DISABLED",
1613
1637
  * // ConvertPaintToPop: "ENABLED" || "DISABLED",
1614
1638
  * // Framerate: { // CaptionSourceFramerate
@@ -1683,6 +1707,13 @@ declare const CreateJobTemplateCommand_base: {
1683
1707
  * // VideoOverlays: [ // __listOfVideoOverlay
1684
1708
  * // { // VideoOverlay
1685
1709
  * // EndTimecode: "STRING_VALUE",
1710
+ * // InitialPosition: { // VideoOverlayPosition
1711
+ * // Height: Number("int"),
1712
+ * // Unit: "PIXELS" || "PERCENTAGE",
1713
+ * // Width: Number("int"),
1714
+ * // XPosition: Number("int"),
1715
+ * // YPosition: Number("int"),
1716
+ * // },
1686
1717
  * // Input: { // VideoOverlayInput
1687
1718
  * // FileInput: "STRING_VALUE",
1688
1719
  * // InputClippings: [ // __listOfVideoOverlayInputClipping
@@ -1694,7 +1725,21 @@ declare const CreateJobTemplateCommand_base: {
1694
1725
  * // TimecodeSource: "EMBEDDED" || "ZEROBASED" || "SPECIFIEDSTART",
1695
1726
  * // TimecodeStart: "STRING_VALUE",
1696
1727
  * // },
1728
+ * // Playback: "ONCE" || "REPEAT",
1697
1729
  * // StartTimecode: "STRING_VALUE",
1730
+ * // Transitions: [ // __listOfVideoOverlayTransition
1731
+ * // { // VideoOverlayTransition
1732
+ * // EndPosition: {
1733
+ * // Height: Number("int"),
1734
+ * // Unit: "PIXELS" || "PERCENTAGE",
1735
+ * // Width: Number("int"),
1736
+ * // XPosition: Number("int"),
1737
+ * // YPosition: Number("int"),
1738
+ * // },
1739
+ * // EndTimecode: "STRING_VALUE",
1740
+ * // StartTimecode: "STRING_VALUE",
1741
+ * // },
1742
+ * // ],
1698
1743
  * // },
1699
1744
  * // ],
1700
1745
  * // VideoSelector: { // VideoSelector
@@ -2359,7 +2404,7 @@ declare const CreateJobTemplateCommand_base: {
2359
2404
  * // TimedMetadataSchemeIdUri: "STRING_VALUE",
2360
2405
  * // TimedMetadataValue: "STRING_VALUE",
2361
2406
  * // },
2362
- * // Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "WEBM" || "RAW" || "Y4M",
2407
+ * // Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "OGG" || "WEBM" || "RAW" || "Y4M",
2363
2408
  * // F4vSettings: { // F4vSettings
2364
2409
  * // MoovPlacement: "PROGRESSIVE_DOWNLOAD" || "NORMAL",
2365
2410
  * // },
@@ -2585,6 +2630,7 @@ declare const CreateJobTemplateCommand_base: {
2585
2630
  * // },
2586
2631
  * // RateControlMode: "VBR" || "CBR" || "QVBR",
2587
2632
  * // RepeatPps: "DISABLED" || "ENABLED",
2633
+ * // SaliencyAwareEncoding: "DISABLED" || "PREFERRED",
2588
2634
  * // ScanTypeConversionMode: "INTERLACED" || "INTERLACED_OPTIMIZE",
2589
2635
  * // SceneChangeDetect: "DISABLED" || "ENABLED" || "TRANSITION_DETECTION",
2590
2636
  * // Slices: Number("int"),
@@ -303,7 +303,7 @@ declare const CreatePresetCommand_base: {
303
303
  * TimedMetadataSchemeIdUri: "STRING_VALUE",
304
304
  * TimedMetadataValue: "STRING_VALUE",
305
305
  * },
306
- * Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "WEBM" || "RAW" || "Y4M",
306
+ * Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "OGG" || "WEBM" || "RAW" || "Y4M",
307
307
  * F4vSettings: { // F4vSettings
308
308
  * MoovPlacement: "PROGRESSIVE_DOWNLOAD" || "NORMAL",
309
309
  * },
@@ -515,6 +515,7 @@ declare const CreatePresetCommand_base: {
515
515
  * },
516
516
  * RateControlMode: "VBR" || "CBR" || "QVBR",
517
517
  * RepeatPps: "DISABLED" || "ENABLED",
518
+ * SaliencyAwareEncoding: "DISABLED" || "PREFERRED",
518
519
  * ScanTypeConversionMode: "INTERLACED" || "INTERLACED_OPTIMIZE",
519
520
  * SceneChangeDetect: "DISABLED" || "ENABLED" || "TRANSITION_DETECTION",
520
521
  * Slices: Number("int"),
@@ -1126,7 +1127,7 @@ declare const CreatePresetCommand_base: {
1126
1127
  * // TimedMetadataSchemeIdUri: "STRING_VALUE",
1127
1128
  * // TimedMetadataValue: "STRING_VALUE",
1128
1129
  * // },
1129
- * // Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "WEBM" || "RAW" || "Y4M",
1130
+ * // Container: "F4V" || "ISMV" || "M2TS" || "M3U8" || "CMFC" || "MOV" || "MP4" || "MPD" || "MXF" || "OGG" || "WEBM" || "RAW" || "Y4M",
1130
1131
  * // F4vSettings: { // F4vSettings
1131
1132
  * // MoovPlacement: "PROGRESSIVE_DOWNLOAD" || "NORMAL",
1132
1133
  * // },
@@ -1338,6 +1339,7 @@ declare const CreatePresetCommand_base: {
1338
1339
  * // },
1339
1340
  * // RateControlMode: "VBR" || "CBR" || "QVBR",
1340
1341
  * // RepeatPps: "DISABLED" || "ENABLED",
1342
+ * // SaliencyAwareEncoding: "DISABLED" || "PREFERRED",
1341
1343
  * // ScanTypeConversionMode: "INTERLACED" || "INTERLACED_OPTIMIZE",
1342
1344
  * // SceneChangeDetect: "DISABLED" || "ENABLED" || "TRANSITION_DETECTION",
1343
1345
  * // Slices: Number("int"),